The Times Australia
Fisher and Paykel Appliances
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

A backlash against AI imagery in ads may have begun as brands promote ‘human-made’

In a wave of new ads, brands like Heineken, Polaroid and Cadbury have started hating on artifici...

Home batteries now four times the size as new installers enter the market

Australians are investing in larger home battery set ups than ever before with data showing the ...

Q&A with Freya Alexander – the young artist transforming co-working spaces into creative galleries

As the current Artist in Residence at Hub Australia, Freya Alexander is bringing colour and creativi...

This Christmas, Give the Navman Gift That Never Stops Giving – Safety

Protect your loved one’s drives with a Navman Dash Cam.  This Christmas don’t just give – prote...

Yoto now available in Kmart and The Memo, bringing screen-free storytelling to Australian families

Yoto, the kids’ audio platform inspiring creativity and imagination around the world, has launched i...

Kool Car Hire

Turn Your Four-Wheeled Showstopper into Profit (and Stardom) Have you ever found yourself stand...

The Times Features

Transforming Addiction Treatment Marketing Across Australasia & Southeast Asia

In a competitive and highly regulated space like addiction treatment, standing out online is no sm...

Aiper Scuba X1 Robotic Pool Cleaner Review: Powerful Cleaning, Smart Design

If you’re anything like me, the dream is a pool that always looks swimmable without you having to ha...

YepAI Emerges as AI Dark Horse, Launches V3 SuperAgent to Revolutionize E-commerce

November 24, 2025 – YepAI today announced the launch of its V3 SuperAgent, an enhanced AI platf...

What SMEs Should Look For When Choosing a Shared Office in 2026

Small and medium-sized enterprises remain the backbone of Australia’s economy. As of mid-2024, sma...

Anthony Albanese Probably Won’t Lead Labor Into the Next Federal Election — So Who Will?

As Australia edges closer to the next federal election, a quiet but unmistakable shift is rippli...

Top doctors tip into AI medtech capital raise a second time as Aussie start up expands globally

Medow Health AI, an Australian start up developing AI native tools for specialist doctors to  auto...

Record-breaking prize home draw offers Aussies a shot at luxury living

With home ownership slipping out of reach for many Australians, a growing number are snapping up...

Andrew Hastie is one of the few Liberal figures who clearly wants to lead his party

He’s said so himself in a podcast appearance earlier this year, stressing that he has “a desire ...

5 Ways to Protect an Aircraft

Keeping aircraft safe from environmental damage and operational hazards isn't just good practice...