Do Fireworks Have Gunpowder? How Black Powder Works

Yes, fireworks contain gunpowder. Specifically, they use black powder, the oldest form of gunpowder, made from the same three ingredients mixed in the same ratio for over a thousand years: 75% potassium nitrate (saltpeter), 15% charcoal, and 10% sulfur. Black powder serves as the engine behind nearly every stage of a firework’s performance, from launch to explosion.

What Black Powder Does Inside a Firework

A firework shell uses black powder in at least two distinct ways. The first is the lift charge, a measured amount of black powder packed beneath the shell inside a launch tube (called a mortar). When ignited, the powder combusts rapidly, producing nitrogen and carbon dioxide gases that expand with enough force to shoot the shell hundreds of feet into the air. The speed and height of the launch depend on the grain size of the powder, how tightly it’s packed, and the exact ratio of ingredients.

The second use is the burst charge, located at the center of the shell itself. Once the firework reaches its target altitude, a timed fuse ignites this internal charge. The burst charge detonates and scatters the small pellets packed around it, called “stars,” which are the source of the colors and effects you see. Without black powder driving both the launch and the mid-air explosion, a firework wouldn’t get off the ground or produce any visible display.

How Gunpowder Creates Colors

Black powder itself doesn’t produce the vivid reds, blues, and greens of a fireworks show. Its job is purely mechanical: create the explosion that heats and scatters other materials. The colors come from metal salts mixed into the star pellets. When the burst charge detonates and superheats these salts, their atoms absorb energy and release it as visible light at specific wavelengths. Strontium compounds produce red, copper produces blue, sodium gives off yellow, and calcium creates orange. Magnesium burns white-hot and is responsible for the bright silver flashes. The firework is essentially a delivery system: black powder provides the force, and metal salts provide the spectacle.

Black Powder vs. Other Explosives

You might wonder whether modern fireworks have moved on to newer, more powerful explosives. For the most part, they haven’t. Smokeless powder, the type used in modern firearms and ammunition, is not used in fireworks at all. Smokeless powders are based on nitrocellulose (and sometimes nitroglycerin), and they behave very differently from black powder. They burn in a sustained, progressive way that’s ideal for pushing a bullet down a barrel but poorly suited for the sudden burst a firework needs.

Some fireworks do use flash powder, a different composition that burns faster and louder than black powder. Flash powder is what creates the sharp bang in firecrackers and the bright strobe effects in certain aerial shells. But black powder remains the standard for lift charges and burst charges. Black powder substitutes exist on the market, primarily for muzzle-loading firearms, but they see only occasional use in the fireworks industry. The original recipe still dominates.

How Much Powder Is in Consumer Fireworks

The Consumer Product Safety Commission tightly regulates the amount of explosive material in fireworks sold to the public. Any firework designed to produce a loud bang is limited to just 130 milligrams (2 grains) of pyrotechnic composition. Firecrackers face an even stricter cap of 50 milligrams, and party poppers are limited to about 16 milligrams. These are tiny amounts, roughly the weight of a few grains of rice.

Professional display fireworks used in public shows operate under different regulations and can contain significantly more pyrotechnic material. The shells used in large municipal displays can be several inches in diameter, packed with enough black powder and star material to produce effects visible from miles away. This is one reason professional shows require licensed pyrotechnicians and extensive safety perimeters.

What Happens When It Burns

When black powder combusts, only about 43% of the material converts to gas. The rest, roughly 56%, remains as solid residue, with a small fraction left as water vapor. The gases produced are carbon dioxide, carbon monoxide, and nitrogen. The solid residue is a mix of potassium carbonate, potassium sulfate, and potassium sulfide. This is the same type of residue (historically called “fouling”) that coats the inside of gun barrels after firing. In fireworks, this residue is what creates the smoke you see drifting after an explosion, along with whatever particulates the metal colorants leave behind.

A Thousand-Year-Old Recipe

The connection between fireworks and gunpowder goes back to their shared origin. Around 800 AD, a Chinese alchemist mixed sulfur, charcoal, and potassium nitrate, possibly searching for an elixir of immortality, and accidentally created an explosive mixture. When this powder was packed into bamboo tubes and lit, the first fireworks were born. Early versions were nothing like modern aerial displays. They were thrown onto fires to create noise, used to ward off evil spirits or celebrate weddings and births. It took until roughly 1200 AD for the Chinese to develop rocket-propelled devices, and the technology eventually spread westward through diplomats and missionaries visiting China. The three-ingredient recipe from that era is chemically identical to what sits inside the fireworks you can buy today.