The Times Australia
The Times World News

.

How do fireworks work? A pyrotechnics chemist explains the science behind the brilliant colors and sounds

  • Written by Paul E. Smith, Lecture Demonstrator for Chemistry, Purdue University
How do fireworks work? A pyrotechnics chemist explains the science behind the brilliant colors and sounds

For many people around the world, the very first moments of the new year will be filled with the sounds and colorful light shows of fireworks. From loud bangs to long whistles, bright reds to pale blues, there are thousands of variations of fireworks and an entire branch of chemistry that explores these fun explosions.

I’m a chemist and president of the Pyrotechnics Guild International[1], an organization that promotes the safe use of fireworks and their use to celebrate holidays like the New Year.

There are hundreds of chemical formulas – or as I like to think of them, pyrotechnic recipes – for fireworks. These recipes are still based off an ancient mixture of chemicals that produces the quintessential bang, but modern fireworks use all sorts of chemical magic to put on the incredible shows of today.

A pile of shiny black powder and a jar.
Black powder, or gunpowder, is the main ingredient of all fireworks. Lord Mountbatten, CC BY-SA[2][3]

It all starts with black powder

The first ingredient of any firework is the ancient explosive black powder. It was discovered by Chinese alchemists more than a thousand years ago[4], and the recipe has been virtually unchanged in the centuries since. To make black powder, all you need to do is mix 75% potassium nitrate, 15% charcoal and 10% sulfur. To make a basic firework or fire cracker, you just put this powder in a container, usually made of thick cardboard or paper.

A parchment of Chinese characters. The oldest recorded recipe for black powder is from A.D. 1044 China. PericlesofAthens/WikimediaCommons[5]

Black powder is used to launch the firework in the air as well as ignite and propel the effects – like color – into a pattern in the sky. So how does it work?

Once lit with a fuse or spark, the sulfur melts first[6] at 235 F (112.8 C). The sulfur flows over the potassium nitrate and charcoal, which then burn. This combustion reaction quickly produces a large amount of energy and gas – in other words, an explosion. If there is a small hole for the gas to escape, the reaction launches the firework into the air. In a very confined space, it blasts the components of the firework apart and ignites everything nearby.

In addition to changing how confined the black powder is, changing the size of the granules of powder can change how fast it burns, too. Think about a campfire. When you add a large tree limb the flames burn longer and slower. If you toss a handful of sawdust into the flame it burns hot and fast. Black powder works similarly, and this makes it easy to control how much and how fast energy is released.

A mix of red, yellow and green firework explosions. Adding different elements to a mixture can produce different colored fireworks. Dennis Wong/WikimediaCommons, CC BY[7][8]

Different chemicals for different colors

If you put very fine black powder powder in a confined space it explodes in a cloud of heat, gas and noise. So where do the colors and bright light come from?

When you heat up any material, what you’re really doing is putting energy into the electrons of that material’s atoms. If you excite the electrons enough, when they fall back to their normal energy levels they release that excess energy as light.

There are a number of different elements that, when added to a firework and heated, release different wavelengths of light[9] that appear as different colors. Strontium makes red. Barium produces green. Copper burns blue, and so on.

[The Conversation’s science, health and technology editors pick their favorite stories. Weekly on Wednesdays[10].]

Making fireworks that produce blues has long been a challenge for fireworks chemists[11]. Deep blues are too dark and can’t be seen against the night sky. But if the blue is too light, it appears white. So the wavelength of the “perfect blue” has to be very precise. This is hard to achieve because blue light has a shorter wavelength – meaning the distance between the peaks and valleys of the wave of light are very close together.

Certain elements produce different colors, but what about sparkles and flashes? To make these effects, various metals can be added to the pyrotechnic formulas. Aluminum, magnesium and titanium all produce white sparks. By adding iron you get gold sparks. Mixing in various types of charcoal can produce red and orange sparks. Each of these elements burns at a different speed and in a different way and so produces varying colors and intensities of light.

Special formulas and rocket shapes can produce sound effects like whistles.

Making a whistle or a boom

The final piece of a good firework is an exciting sound effect.

To add sound effects to fireworks you need a formula that produces a large amount of gas very quickly. If a firework has a small opening for the gas to exit through it will produce a whistling sound. The velocity of the gas and size of the opening will vary the pitch and sound of a whistle.

Making a boom is much easier. Simply put an energetic formula in a confined space with nowhere for the gas to go. When ignited, the pressure will build and the firework will explode, producing a sudden boom or bang.

As you watch the fireworks this New Year’s Eve or launch some of your own in the backyard, you’ll now know how they work. Fireworks are a lot of fun, but the explosions and burning chemicals are dangerous – even if they do come in colorful packaging. If you can legally launch consumer fireworks in your town, please handle them properly[12].

References

  1. ^ Pyrotechnics Guild International (www.pgi.org)
  2. ^ Lord Mountbatten (commons.wikimedia.org)
  3. ^ CC BY-SA (creativecommons.org)
  4. ^ discovered by Chinese alchemists more than a thousand years ago (www.cambridge.org)
  5. ^ PericlesofAthens/WikimediaCommons (commons.wikimedia.org)
  6. ^ sulfur melts first (dx.doi.org)
  7. ^ Dennis Wong/WikimediaCommons (commons.wikimedia.org)
  8. ^ CC BY (creativecommons.org)
  9. ^ release different wavelengths of light (dx.doi.org)
  10. ^ Weekly on Wednesdays (theconversation.com)
  11. ^ long been a challenge for fireworks chemists (theconversation.com)
  12. ^ handle them properly (www.celebratesafely.org)

Read more https://theconversation.com/how-do-fireworks-work-a-pyrotechnics-chemist-explains-the-science-behind-the-brilliant-colors-and-sounds-173576

Times Magazine

Headless CMS in Digital Twins and 3D Product Experiences

Image by freepik As the metaverse becomes more advanced and accessible, it's clear that multiple sectors will use digital twins and 3D product experiences to visualize, connect, and streamline efforts better. A digital twin is a virtual replica of ...

The Decline of Hyper-Casual: How Mid-Core Mobile Games Took Over in 2025

In recent years, the mobile gaming landscape has undergone a significant transformation, with mid-core mobile games emerging as the dominant force in app stores by 2025. This shift is underpinned by changing user habits and evolving monetization tr...

Understanding ITIL 4 and PRINCE2 Project Management Synergy

Key Highlights ITIL 4 focuses on IT service management, emphasising continual improvement and value creation through modern digital transformation approaches. PRINCE2 project management supports systematic planning and execution of projects wit...

What AI Adoption Means for the Future of Workplace Risk Management

Image by freepik As industrial operations become more complex and fast-paced, the risks faced by workers and employers alike continue to grow. Traditional safety models—reliant on manual oversight, reactive investigations, and standardised checklist...

From Beach Bops to Alpine Anthems: Your Sonos Survival Guide for a Long Weekend Escape

Alright, fellow adventurers and relaxation enthusiasts! So, you've packed your bags, charged your devices, and mentally prepared for that glorious King's Birthday long weekend. But hold on, are you really ready? Because a true long weekend warrior kn...

Effective Commercial Pest Control Solutions for a Safer Workplace

Keeping a workplace clean, safe, and free from pests is essential for maintaining productivity, protecting employee health, and upholding a company's reputation. Pests pose health risks, can cause structural damage, and can lead to serious legal an...

The Times Features

The Role of Your GP in Creating a Chronic Disease Management Plan That Works

Living with a long-term condition, whether that is diabetes, asthma, arthritis or heart disease, means making hundreds of small decisions every day. You plan your diet against m...

Troubleshooting Flickering Lights: A Comprehensive Guide for Homeowners

Image by rawpixel.com on Freepik Effectively addressing flickering lights in your home is more than just a matter of convenience; it's a pivotal aspect of both home safety and en...

My shins hurt after running. Could it be shin splints?

If you’ve started running for the first time, started again after a break, or your workout is more intense, you might have felt it. A dull, nagging ache down your shins after...

Metal Roof Replacement Cost Per Square Metre in 2025: A Comprehensive Guide for Australian Homeowners

In recent years, the trend of installing metal roofs has surged across Australia. With their reputation for being both robust and visually appealing, it's easy to understand thei...

Why You’re Always Adjusting Your Bra — and What to Do Instead

Image by freepik It starts with a gentle tug, then a subtle shift, and before you know it, you're adjusting your bra again — in the middle of work, at dinner, even on the couch. I...

How to Tell If Your Eyes Are Working Harder Than They Should Be

Image by freepik Most of us take our vision for granted—until it starts to let us down. Whether it's squinting at your phone, rubbing your eyes at the end of the day, or feeling ...