Gunpowder explodes because it contains everything it needs to burn in a single mixture: a fuel, an oxygen source, and a catalyst that makes the reaction start easily and spread fast. When ignited, the three solid ingredients rapidly convert into hot gases that expand to roughly 300 times the volume of the original powder. If that gas has nowhere to go (inside a bullet casing or a sealed tube, for example), the pressure spikes violently, producing what we experience as an explosion.
The Three Ingredients and What Each Does
Traditional black powder is a physical mixture of three components: potassium nitrate (saltpeter), charcoal, and sulfur. The standard ratio that emerged by roughly the 15th century is about 75% potassium nitrate, 10% sulfur, and 15% charcoal by weight. Each ingredient has a distinct job.
Potassium nitrate is the oxidizer. It supplies the oxygen atoms that the other two ingredients need to burn. This is the critical feature that separates gunpowder from something like a campfire. Wood needs to pull oxygen from the surrounding air, which limits how fast it can burn. Gunpowder carries its own oxygen locked inside the potassium nitrate crystals, so the reaction doesn’t depend on the atmosphere at all. It burns just as well in a sealed container or even underwater.
Charcoal is the primary fuel. When oxygen from the potassium nitrate reacts with the carbon in charcoal, it produces carbon dioxide and carbon monoxide, both gases. This solid-to-gas conversion is what generates the enormous volume expansion that drives the explosion. One gram of black powder produces around 330 cubic centimeters of gas at standard conditions, and at the extreme temperatures of combustion, that gas wants to occupy far more space.
Sulfur serves a subtler but important role. It melts at a relatively low temperature and, in its liquid state, lowers the energy needed to kick off the combustion reaction. Think of it as a chemical matchmaker: it helps the charcoal and potassium nitrate react more easily than they would on their own. Early gunpowder recipes (from the 1300s) used much more sulfur, sometimes 20% or higher, partly because the lower ignition temperature was practical when soldiers had to light cannons with a hot iron rod pressed into a small hole.
How the Reaction Unfolds
The simplified version of the reaction looks like this: potassium nitrate plus sulfur plus carbon yields potassium sulfide, nitrogen gas, and carbon dioxide gas. In reality, the combustion is messier. The products include a mix of carbon dioxide, nitrogen, carbon monoxide, hydrogen sulfide, water vapor, and trace amounts of methane and hydrogen. About 43% of the products by weight are gases. The rest is solid residue, mostly potassium carbonate and potassium sulfate, which is the white smoke and gritty residue you see after a firework goes off or a muzzleloader fires.
The reaction is self-sustaining once it starts. Heat from the initial ignition melts the sulfur, which helps neighboring grains of powder catch fire, which releases more heat, which ignites more powder. This chain reaction tears through the entire charge in milliseconds.
Deflagration, Not Detonation
Gunpowder doesn’t technically detonate. It deflagrates, meaning it burns very fast rather than producing a supersonic shockwave. The distinction matters. True detonation (what happens with TNT or C-4) involves a shockwave traveling through the material faster than the speed of sound, shattering everything nearby. Black powder’s burn front moves much slower. It is actually extremely difficult to make black powder detonate, even using a powerful booster charge designed to trigger detonation.
This is precisely why gunpowder works so well as a propellant. In a gun barrel, you want a fast, sustained push of expanding gas to accelerate a bullet, not an instantaneous blast that would rupture the barrel. The burn rate of black powder stays relatively stable even as pressure builds, which gives it a predictable, controllable push.
Why Confinement Matters
A line of gunpowder burned in the open air simply fizzles along like a sparkler fuse. The gases expand freely in all directions and the pressure never builds. Put that same powder inside a sealed container, and the gases have nowhere to go. Pressure skyrockets in milliseconds, and the container fails violently. This is the difference between a fuse and a firecracker: same chemistry, different confinement.
The ignition temperature of black powder falls between roughly 220°C and 250°C (about 430°F to 480°F). That’s low enough to be triggered by a spark, a flame, friction, or the impact of a firing pin striking a primer. Once a small portion reaches that temperature, the chain reaction handles the rest.
How Modern Powder Differs
Most modern firearms and ammunition use smokeless powder rather than black powder. The chemistry is fundamentally different. Instead of a physical mixture of separate ingredients, smokeless powder is built from nitrocellulose, a chemical compound made by treating cotton fibers with nitric acid. The oxygen atoms are bonded directly into the molecular structure of the fuel itself, making the reaction even more efficient and controllable.
Smokeless powder is classified by its formulation. Single-base powders use nitrocellulose alone. Double-base powders add nitroglycerin for more energy. Triple-base powders include a third energetic compound. All of them produce far less solid residue than black powder (hence “smokeless”), generate more gas per gram, and can be manufactured in precise grain shapes that fine-tune the burn rate for specific applications.
Smokeless powder is actually more sensitive to heat than black powder, with auto-ignition temperatures around 130°C to 140°C (roughly 265°F to 285°F), compared to black powder’s 220°C or higher. But it shares the same core principle: a fuel and an oxidizer packed together so tightly that the reaction needs no outside oxygen and produces a sudden, massive volume of hot gas.
Why the Ratio Matters
The proportions of the three ingredients determine how gunpowder performs. Medieval recipes varied wildly, and the differences were dramatic. Between the mid-1300s and mid-1400s, gunpowder makers gradually increased the percentage of potassium nitrate from around 50% to about 70%, while reducing charcoal and sulfur. This cut the total energy released per gram roughly in half (from about 10 kilojoules per gram down to around 5), but it made the powder far more practical as a propellant because more of that energy went into gas production rather than heat.
Too much fuel and not enough oxidizer means incomplete combustion: less gas, more residue, weaker performance. Too much oxidizer and not enough fuel means leftover potassium nitrate that contributes weight without contributing to the reaction. The 75/15/10 ratio that became standard by roughly 1500 sits close to the chemical sweet spot where most of the ingredients are fully consumed.

