Boom, Whistle, and Blue: How chemistry creates your favorite fireworks

INDIANA – Every Fourth of July, audiences look to the sky to witness a spectacular symphony of science. Dr. Marcy Towns, a chemistry professor and the associate dean for the College of Science at Purdue University, regularly breaks down the exact chemical formulas and physical properties that give fireworks their vibrant colors, mesmerizing sparkles, and dramatic sound effects.

Dr. Marcy Towns

1. The Anatomy of the Explosion

Before the visual effects can begin, the structural anatomy of the firework must dictate its path. Dr. Towns explains that a typical aerial firework relies on a multi-stage ignition process:

  • The Launch: The shell is placed inside a tube. Once the initial fuse is ignited and burns down, it hits a black powder charge (a precise chemical mix of potassium nitrate, charcoal, and sulfur). This rapid, heat-releasing reaction creates expanding gases that propel the firework high into the sky.
  • The Burst: As the firework climbs, an internal timing fuse burns down. At peak altitude, it reaches the core “bursting charge,” exploding outward and transferring intense heat to the small chemical pellets inside—known in pyrotechnics as “stars.”

2. Color Chemistry: The Element Breakdown

The dazzling array of colors is entirely dependent on the specific chemical compounds and metal salts packed inside those internal stars. When the explosion heats these elements, their electrons become “excited.” As those electrons cool back down, they release energy in the form of visible light (a process called atomic emission).

Different elements create completely different wavelengths of color:

ColorChemical Element UsedDr. Towns’ Insight
RedStrontiumProduces a vivid, clean, and highly visible red light.
YellowSodiumIncredibly bright, highly common, and easy to produce consistently.
GreenBariumGenerates a stark, vibrant green hue.
BlueCopperThe hardest color to make. Copper compounds are highly temperature-sensitive; if the firework burns too hot, the blue color completely washes out into a generic white.

3. Sparkles: Controlling the Particle Size

Those glowing trails that drift downward after a massive burst are a matter of surface area and metallurgical burning rates. Dr. Towns notes that sparkles are created using fine flakes of aluminum, titanium, or magnesium.

The duration of the sparkle is controlled purely by engineering the size of the metal particles:

  • Flashes: Extremely fine, powdery particles have immense surface area, causing them to ignite and burn up almost instantly in a brief flash of light.
  • Drifting Sparkles: Slightly larger metal particles take longer to fully combust, allowing them to visibly glitter and sparkle as gravity pulls them back toward the earth.

4. Audio Effects: Booms, Whistles, and Crackles

The acoustic profile of a firework show is just as carefully calculated as the visual display, relying on how different chemical configurations release gas:

  • The Big Booms: Created by tightly packing a powdery substance that burns rapidly. The sudden, violent release of highly compressed gas creates a shockwave that our ears perceive as a massive boom.
  • The Whistles: Pyrotechnicians pack a specialized chemical material into a narrow, restricted tube. As it combusts, the escaping gas is forced rapidly out of the tiny opening, creating a high-pitched whistling sound—much like air blowing across the top of an open bottle.
  • The Crackles: To get a distinct snapping or crackling effect, larger, coarser chemical chunks made primarily of bismuth are utilized. These larger clusters explode in sequence as they fall through the air, creating a popcorn-like crackling effect.