How Fireworks Work!

As you can see above, I attempted a fun experiment in honor of the fourth and this post. Making a black snake. When baking soda and powdered sugar react with heat, they create carbon dioxide and a cool black snake. It smells like burned marshmallows!

I used kerosine and it gets, uh, hot! I decided against posting the ingredients after I ended up with a huge scorch mark on our deck. You can purchase a safer version! Here’s what is should look like when it’s under control.

So how do fireworks work, exactly? Fireworks are just chemical reactions!

A firework requires three key components: an oxidizer, a fuel, and a chemical mixture to produce the color. The oxidizer breaks the chemical bonds in the fuel, releasing all the potential energy that’s stored in those bonds. To ignite this chemical reaction, all you need is a bit of fire, in the form of a fuse or a direct flame.


Each firework is made of tube that contains gun power and dozens of pods. Inside the pods are packs of chemicals. It’s the metal salts and metal oxides which create the color! Each pod inside one of the tubes creates a dot of color in the fireworks explosion. Imagine how many pods there are!

How did people come up with fireworks in the first place?

According to the American Pyrotechnics Safety and Education Foundation, around 800 A.D., Chinese alchemists mixed together saltpeter, sulfur, and charcoal and created gunpowder. They were actually looking for a recipe for eternal life, but they still changed the world with their invention! They used it to scare away evil spirits. So they were more focused on the noise factor.

The Smithsonian website states that Europeans were introduced to gun power during the Crusades in the 13th century, not by Marco Polo. (although he usually gets credited with this) I thought so, too. Good thing I looked this up before our next Trivia Night!

Marco Polo

It seems obvious that heat sets off the fireworks. Heat is also what starts the chemical reaction of the substances inside the tubes.

Heat excites the electrons of the metal salts and metal oxides and causes them to jump to a higher energy level. When the electrons go back to their original state, they release excess energy as wavelengths of light.

The different elements in the chemical compounds release different amounts of energy. To us, that means different colors!

giphy of burning elements

For red, add lithium. (Li)

For yellow, add sodium (Na) compounds.

For blue, add copper chloride compounds.

For green, you actually add barium. (not listed above)

For purple, add a mixture of blue-producing copper and red-producing strontium. (Sr)

For orange, add calcium salts. (CaCl2)

For white and silver, add aluminium, magnesium or titanium. 

chemical oxidation colors

 This type of light is called luminescence.

Luminescence is light that is given off when electrons in elements move around. This happens at lower temperatures than incandescence. hence the term ‘cold light.’

This can happen via a chemical reaction, stress on crystal structures, an electric current passing through certain substance, or if energy such as UV light passes through a substance.

Incandescence is light produced when objects are hot enough to glow. So it is also called ‘hot light.’ Example candle glowing, or match.

burning candle
periodic table of fireworks

In case you’re interested, I colored in a periodic table with the elements that have electrons which excite and jump levels, producing colors.


If you want instructions or advice about the black worm, use the ‘contact me’ page. I had several fails so I’ve got ideas about how to succeed with this one. I promise I’ll get back to you!

Don’t think the black worm going to make it into the book though….. 

Here’s to clear skies! Enjoy the fireworks! 

10 thoughts on “How Fireworks Work!”

  1. Hi Sue,
    I wish my grandkids and I could have joined you for your “hot” experiment. (And I hope the damage to your deck isn’t too bad.)
    I’ll be thinking about your post as I’m enjoying the fireworks and feeling secure knowing the evil spirits will be far away.
    Happy Fourth of July.

    • I’m sure they would have loved the danger factor! I am doing many experiments for my chemistry book. It often takes me several attempts. (My boys are great at telling me what I did wrong. HA!) I have a new appreciation for inventors!

  2. This is fascinating! Love the history mixed in with the science – this post will be on my kids reading list today!


Leave a Reply