Every firework, from a backyard sparkler to a professional aerial shell, is a carefully layered package of fuel, oxidizer, color-producing metal compounds, and binding agents. The oldest and most fundamental ingredient is black powder, a mixture of potassium nitrate, charcoal, and sulfur that has been launching projectiles since at least the ninth century. But the brilliant colors, thunderous booms, whistles, and crackles that define a modern fireworks display come from dozens of additional chemicals, each chosen for a specific physical effect. Understanding what goes into a firework also means understanding what comes out of it, and that part of the story is less celebratory.
Black Powder and the Launch Charge
The backbone of nearly every firework is black powder, also called gunpowder. Its standard formulation is roughly 75% potassium nitrate, 15% charcoal, and 10% sulfur by weight.1Forensic Chemistry. Rapid forensic chemical classification of confiscated flash banger fireworks using capillary electrophoresis Potassium nitrate serves as the oxidizer, releasing oxygen when heated so the charcoal and sulfur can burn rapidly. This mixture does two jobs: a coarse-grained version acts as the lift charge that launches an aerial shell out of the mortar tube, while a finer-grained version can serve as a delay fuse or bursting charge inside the shell itself.
Researchers have also explored sulfur-free propellant formulations designed to reduce the choking smoke traditional black powder produces. One such formulation substitutes potassium perchlorate as the oxidizer alongside carbon, phenolic resin, and small amounts of ferrocene as a burn-rate catalyst.2Applied Thermal Engineering. Preparation and performance of environmental friendly Sulphur-Free propellant for fireworks These alternatives are not yet widespread in consumer fireworks, but they illustrate how even the most basic component of a firework is an active area of chemistry research.
How Fireworks Get Their Colors
Color is where pyrotechnic chemistry becomes genuinely beautiful. The vivid reds, greens, blues, and whites you see in the sky come from metal salts that emit light at specific wavelengths when heated. The key metals and their associated colors are well established:
- Red: Strontium compounds, especially strontium carbonate or strontium nitrate.
- Green: Barium compounds, typically barium chlorate or barium nitrate.
- Blue: Copper compounds, most commonly copper chloride.
- Yellow: Sodium compounds, such as sodium oxalate or cryolite (a sodium-aluminum fluoride).
- White or silver: Aluminum, magnesium, or titanium powder.
- Gold or orange: Iron filings or charcoal particles heated to incandescence.
The mechanism behind these colors is the same one at work in a simple flame test in a chemistry lab. When a metal compound is heated in a flame, the ions lose their surrounding molecules and eventually gain electrons in the gas phase, producing excited neutral atoms. Those atoms then release their extra energy as photons of specific colors. Research on flame-test chemistry has clarified that the light comes from these excited neutral atoms rather than from the ionic forms present in solution or in the original salt.3PubMed Central. Misconceptions and Insights about Flame Tests
Getting clean, saturated color from a firework is harder than it sounds. The flame temperature has to be high enough to excite the metal atoms but not so high that it washes out the color with too much white-hot incandescence. Chlorine donors play a surprisingly important role here, especially for red and green. An oxidizer like potassium chlorate or potassium perchlorate releases chlorine in the flame, which combines with the metal to form volatile chloride species (like strontium chloride for red) that are particularly strong emitters.4Zeitschrift für anorganische und allgemeine Chemie. A Spectrophotometric Study of Red Pyrotechnic Flame Properties Using Three Classical Oxidizers: Ammonium Perchlorate, Potassium Perchlorate, Potassium Chlorate Without chlorine in the mix, many colors would be dim and muddy.
Why Blue Is the Hardest Color
Ask any pyrotechnician which color gives them trouble, and the answer is always blue. Copper chloride (CuCl) is the standard blue emitter, but it breaks down at high temperatures, meaning the flame has to run cooler than ideal to preserve it. Push the temperature too high and the blue disappears into a washed-out white. This narrow operating window makes a deep, vivid blue the single most difficult color to achieve in a firework.
One line of research has explored copper bromide (CuBr) as an alternative blue emitter. Copper bromate can serve as both the oxidizer and the source of CuBr species in the flame, and pyrotechnic compositions using copper and potassium bromates have been optimized specifically for blue flame generation.5Chemistry – A European Journal. Copper(I) Bromide: An Alternative Emitter for Blue-Colored Flame Pyrotechnics Whether CuBr systems eventually replace CuCl in mainstream fireworks remains to be seen, but the quest for a better blue is one of the liveliest corners of pyrotechnic research.
Flash Powder and the Big Bang
The deep concussive boom of a firework report or a salute shell comes not from black powder but from flash powder, a much more energetic mixture. A typical flash powder consists of about 70% potassium perchlorate and 30% finely powdered aluminum.1Forensic Chemistry. Rapid forensic chemical classification of confiscated flash banger fireworks using capillary electrophoresis The aluminum acts as a metal fuel that burns extremely fast, producing an intense flash of light and a sharp pressure wave. Flash powder is what gives cherry bombs, firecrackers, and large aerial salutes their startling crack.
Flash powder is also one of the most dangerous components to handle. Unlike black powder, which burns progressively, flash powder can transition from burning to detonation if even a small amount is confined. Forensic researchers have used chemical profiling of flash powders to distinguish between commercial and counterfeit fireworks, since impurities like calcium and magnesium ions in the potassium perchlorate can fingerprint different manufacturing sources.1Forensic Chemistry. Rapid forensic chemical classification of confiscated flash banger fireworks using capillary electrophoresis
Whistles, Crackles, and Other Sound Effects
Not all firework sounds come from explosions. The eerie whistling that accompanies certain bottle rockets and aerial effects is produced by a completely different chemistry. Whistle compositions are based on aromatic organic compounds or their salts, mixed with an oxidizer and pressed tightly into a tube. When ignited, these mixtures burn in a pulsating, oscillatory pattern rather than steadily, and the rapid pressure fluctuations generate an audible whistling tone.6Propellants, Explosives, Pyrotechnics. Pyrotechnic whistles: An overview Sodium benzoate and potassium benzoate are among the classic whistle fuels, though the exact formulations vary widely.
Crackling effects, the sizzling, popping sound that trails behind certain stars as they fall through the sky, come from small granules of bismuth trioxide mixed with a metal fuel (often magnalium, an alloy of magnesium and aluminum). Each tiny granule detonates individually as it heats up, producing that characteristic sputtering sound. Glitter effects are a related family, using slower-burning compositions with antimony trisulfide or other metallic sulfides to create twinkling tails.
Daytime Smoke and Colored Effects
Colored smoke is chemically distinct from colored flame. Instead of metal salts heated to incandescence, smoke effects rely on organic dyes that sublimate (go directly from solid to vapor) in the heat of combustion and then recondense in the air as a visible cloud. These are the same anthraquinone dyes used in textiles and plastics, engineered into a pyrotechnic matrix that vaporizes them at the right rate. Research into the thermal breakdown products of these dyes has identified decomposed ingredients and new chlorinated side products forming at lower concentrations alongside the intended intact dye.7PubMed Central. Detection and toxicity modeling of anthraquinone dyes and chlorinated side products from a colored smoke pyrotechnic reaction Those side products raise questions about the toxicity of standing in or near colored smoke, something participants at color runs and gender-reveal events might want to consider.
Why Moisture Is Dangerous for Stored Fireworks
You might assume that getting a firework wet simply ruins it, like a soggy match. The reality can be worse. Certain pyrotechnic mixtures become more chemically unstable when exposed to moisture, not less. Research on water-contaminated pyrotechnic compositions found that the onset temperature for thermal decomposition dropped dramatically in the presence of water. A dry sample began self-heating at about 170 °C, while a wet sample started exothermic reactions as low as 40 °C, with full thermal runaway beginning around 96 °C and generating a substantial pressure rise.8Journal of Loss Prevention in the Process Industries. Water induced thermal decomposition of pyrotechnic mixtures – Thermo kinetics and explosion pathway In practical terms, a firework that got wet and was left in a hot garage could become significantly more hazardous than a fresh, dry one. This is one reason professional pyrotechnicians are meticulous about storage conditions and why consumer fireworks packaging warns so urgently against moisture.
What Fireworks Leave in the Air
A fireworks display is, from an atmospheric chemistry standpoint, a large open-air combustion event releasing metal-laden particles directly into the air people breathe. Measurements across hundreds of U.S. monitoring stations show that fine particulate matter (PM2.5) concentrations on the evening of July 4th spike sharply, with the national average increase peaking at about 21 micrograms per cubic meter between 9 and 10 p.m. Average concentrations over the 24-hour period starting at 8 p.m. on July 4th run about 42% higher than on control days. At monitoring sites immediately adjacent to fireworks launches, hourly readings can climb to roughly 500 micrograms per cubic meter, a level comparable to a severe wildfire smoke event.9Atmospheric Environment. Effects of Independence Day fireworks on atmospheric concentrations of fine particulate matter in the United States
These particles are not just soot. Analyses of fine and coarse particles collected during firework displays have found concentrations of metals like magnesium, potassium, lead, and strontium at ten times or more their normal ambient levels.10Atmospheric Environment. Influences of fireworks on chemical characteristics of atmospheric fine and coarse particles during Taiwan’s Lantern Festival Those are the same metals that produce the colors, now aerosolized at breathable particle sizes.
In vitro and animal studies have explored the toxicity of these particles directly. Firework-derived PM10 samples with the highest concentrations of lead and copper (roughly 40,000 and 12,000 parts per million, respectively) triggered the greatest oxidative stress response in human lung cells and the most inflammation in mouse lungs.11PubMed Central. Toxicity of particles emitted by fireworks The composition of the particles matters, not just their size. Research tracking toxic metals in PM2.5 during festival periods found that even after local authorities shifted from restricting to outright prohibiting fireworks, chromium(VI) and barium remained concerning contributors to estimated cancer and non-cancer health risks, respectively.12PubMed. Levels and health risks of PM(2.5)-bound toxic metals from firework/firecracker burning during festival periods in response to management strategies
Perchlorate and Water Contamination
The oxidizers that make fireworks work, especially potassium perchlorate, do not all burn up in the explosion. A significant fraction falls to the ground as unburned residue, and perchlorate is extremely soluble in water. Studies at a reflecting pond in Albany, New York, found that perchlorate concentrations in the water jumped to 30 to 1,480 times baseline levels immediately after a fireworks display, rising from around 0.11 micrograms per liter to as high as 519 micrograms per liter. Perchlorate levels took an average of about 29 days to decline by half.13Environmental Toxicology and Chemistry. Fate of perchlorate in a man‐made reflecting pond following a fireworks display in Albany, New York, USA
The problem extends beyond surface water. Research in Malta, which has an unusually dense fireworks tradition for its size, tested whether ground-deposited perchlorate migrates into groundwater and eventually into tap water. About 44% of groundwater samples contained detectable perchlorate, and runoff collected during rainstorms carried mean concentrations of roughly 51 micrograms per liter, with spikes up to 129 micrograms per liter, far exceeding what could be explained by atmospheric deposition alone. Between 42% and 89% of tap water samples across three sampling campaigns also contained detectable perchlorate.14PubMed. Contamination of water resources of a small island state by fireworks-derived perchlorate: A case study from Malta Perchlorate is a concern because it interferes with thyroid function, competing with iodide uptake, and long-term low-level exposure is an active area of public health research.15PubMed. Environmental impacts of perchlorate with special reference to fireworks–a review
The Push Toward Greener Fireworks
Given the environmental and health concerns around traditional formulations, a growing branch of pyrotechnic research is trying to reformulate fireworks from the ground up. The most ambitious efforts aim to eliminate perchlorate entirely. Researchers have developed perchlorate-free red and green illuminants using 5-aminotetrazole, a high-nitrogen organic compound, as both fuel and gas generator. Prototype testing for the U.S. Army’s handheld signal flares showed that these perchlorate-free formulations matched or exceeded the performance of their perchlorate-containing counterparts while demonstrating excellent stability against accidental ignition.16PubMed. High-nitrogen-based pyrotechnics: perchlorate-free red- and green-light illuminants based on 5-aminotetrazole The researchers noted that these formulations are relevant to both military signals and civilian fireworks.
More recently, work on metal-free pyrotechnic compositions has pushed even further, attempting to remove not just perchlorate but the heavy metals responsible for color. These novel compositions, also built around tetrazole-based chemistry, aim to produce visible effects through organic combustion rather than metal emission.17Propellants, Explosives, Pyrotechnics. Performance Study of Eco‐Friendly and Safe Pyrotechnics for Fireworks The palette available from purely organic combustion is still limited compared to what strontium, barium, and copper can do, so these formulations are not yet ready to replace a full professional display. But they point toward a future where at least some of the spectacle could come without the environmental cost.
What Stays Behind After the Show
One of the less discussed aspects of fireworks chemistry is what accumulates in the soil. The fallout zone for a professional display can extend hundreds of meters from the launch site, depositing a mix of unburned metals, perchlorate, and ash. Launch sites that host annual displays year after year can build up measurable concentrations of strontium, barium, copper, and lead in the topsoil. For a single show at a public park, the quantities are small enough that natural weathering and dilution handle them over time. For sites with intensive, repeated use, the accumulation becomes a legitimate environmental concern, particularly if the site sits near agricultural land or a watershed.
The chemistry of fireworks, in other words, does not end when the last shell bursts. Every color, every boom, every whistle is a chemical reaction designed to happen in midair, and many of the reaction products keep reacting with the environment long after the crowd goes home. Whether that reality changes how you feel about watching a display probably depends on the display’s scale and how many times it happens in the same place. A single backyard sparkler is one thing. Thousands of shells over a harbor every weekend for a festival season is something else entirely.