The mechanical engineering behind fireworks

June 29, 2026
Fireworks will light up the sky this Fourth of July and the city will be aglow with the products of mechanical engineering.
Many people鈥檚 experience with fireworks will never go beyond lighting a fuse and staring in awe as it explodes high above them, but behind every jaw-dropping display is engineering and chemistry, with mechanical engineering contributing to areas such as propulsion, packaging, combustion, and flight stability.
鈥淵ou鈥檝e got to understand mechanical engineering is very broad. It鈥檚 one of the broadest of the engineering disciplines. When people think about mechanical engineering, their minds often go to gears and mechanisms. But underneath mechanical, there are many overlaps and subdisciplines. Aerospace engineering, for instance, has a huge overlap with mechanical engineering. It鈥檚 almost like a subdiscipline,鈥 said Dr. Jeff Marchetta, professor and undergraduate coordinator at the Herff College of Engineering鈥檚 Department of Mechanical Engineering.
Marchetta teaches courses such as thermodynamics and aerospace propulsion at the University of 蜜桃导航. But, in layman鈥檚 terms, he鈥檚 an expert in making things go boom.
鈥淭o start off with something that I think people are familiar with, I like to think about a rocket. You know what makes a rocket go? It involves a chemical reaction, which we call combustion. You have a fuel. You have oxygen and you get a controlled combustion process that produces high-pressure gases for thrust,鈥 Marchetta said.
The engineering principles behind modern fireworks can be traced back to ancient China, where alchemists first created black powder by combining potassium nitrate, sulfur, and charcoal between the seventh and ninth centuries.
鈥淐arbon is really the thing that is the fuel, just like when I burn wood in a fireplace, what鈥檚 really burning there is the carbon in the wood,鈥 Marchetta said. 鈥淎nd then the potassium nitrate, which has oxygen. What ingredients do I need to create a fire? I need fuel and I need oxygen. And then the last part is sulfur. What it does is it鈥檚 actually also a fuel, so you can react it with oxygen as well and it will release energy, but its primary purpose in the black powder formula is to lower the ignition temperature and improve the combustion characteristics of black powder.鈥
For traditional firecrackers, that鈥檚 about as far in the process as you need to go. But to make the firework fly high into the sky, you need to direct the high pressure gases produced from the chemical reaction, downward through a nozzle, producing upward thrust.". Once fireworks leave the ground, a time-delay fuse, ignited during launch, burns while the shell ascends before igniting the burst charge. A longer fuse means fireworks take longer to explode and have a chance to fly higher before they do.
鈥淚f it has an ending where it鈥檚 going to go 鈥楶op,鈥 that鈥檚 got to be a second reaction,鈥 Marchetta said. 鈥淭he fuse itself has properties so that you can light one end of it and the fuse shortens and shortens and shortens as it burns until it gets to the charge, to the black powder.鈥
Of course, there has to a container, or shell, to carry the fuse and chemical reaction to the point of explosion. It could be made out of thin paper; even cardboard would do. It just needs to be strong enough to survive the initial propulsion. Shells are designed to burst symmetrically. Directional effects come from star placement, burst design, spin, angled launch, or specialized effects.
But a great fireworks display is nothing without the pretty colors. For that, we need certain elements.
鈥淚t turns out when we apply heat to different elements, like sodium or calcium, they emit different colors,鈥 Marchetta said. 鈥淎nybody who ever took high school chemistry probably did a flame test where they took copper wire and put it over a Bunsen burner. You could see that it would produce a greenish-blue flame. When you get into the chemistry of it, it basically deals with the excitation of electrons. So, these elements, which are packaged as metal salts, when they鈥檙e heated, give off light in different colors and in different wavelengths.鈥
When you understand the mechanical engineering behind fireworks, it sounds simple enough. But Marchetta emphasized that, even if you have a background in combustion, it鈥檚 better to leave the light show to the professionals.
鈥淭here鈥檚 a lot of danger involved because these explosives are very energetic,鈥 Marchetta said. 鈥淵ou can have a lot of physical injuries if they鈥檙e not handled properly and one ignites. As I mentioned, adding sulfur lowers the ignition point. That means that it doesn鈥檛 take as much heat to cause these things to go, 鈥楤oom!鈥 So, there are hazards that come along with working with fireworks. You have to be careful because people can get seriously injured dealing with explosives.鈥
So, enjoy a professional fireworks show this Fourth of July, but keep in mind the engineering that made the dazzling display possible.
