Elixirs and accidents
Gunpowder was not invented by someone trying to make a weapon. In Tang dynasty China, alchemists experimented with minerals in search of elixirs that might prolong life. Saltpetre, or potassium nitrate, and sulphur were both used in medicine. A Taoist text usually dated to the mid-ninth century warns that some people who heated sulphur, realgar and saltpetre with honey saw the mixture flare up, burning their hands and faces and even their houses. That caution is the earliest clear hint of the reaction. It took a period of experiment before people learned which proportions burned fastest, and which uses made the fire worth the risk.
How the mixture works
Gunpowder, also called black powder, is a mixture of three ingredients. Charcoal and sulphur are the fuels. Saltpetre is the key: when heated it releases oxygen, so the mixture does not need air to burn. Everything therefore burns at once, producing hot gases that expand very rapidly. In the open this makes a fierce flash; inside a closed container it builds pressure until the container bursts or a projectile is pushed out. Later recipes settled on roughly three-quarters saltpetre, with the rest split between charcoal and sulphur. Getting pure saltpetre was the hardest step, which made refining it a valuable skill everywhere gunpowder spread.
From fire arrows to guns
The Wujing Zongyao, a military compendium completed in 1044, gives three gunpowder formulas and describes weapons using them, including incendiary bombs thrown by catapult. Early gunpowder burned rather than exploded, so it was valued as a better fire weapon. Fire arrows carried small packets of it. By the twelfth century the fire lance appeared: a bamboo or paper tube on a spear that shot out flames and sometimes fragments. In wars between the Song, Jin and Mongols, bombs with iron casings that burst with real explosive force were used. Small metal guns followed, and one excavated in north-east China is dated to around 1288.
Fireworks and celebration
Gunpowder also found peaceful uses. Long before it existed, people in China threw sections of green bamboo into fires, where they burst with a loud crack to scare away evil spirits. Packing bamboo or paper tubes with gunpowder made far louder firecrackers, and by the Song dynasty displays of fireworks were part of festivals and court entertainment. Rockets, made by leaving one end of a tube open so the escaping gas pushed it forward, may have developed from these fireworks, as well as being used as weapons. Firecrackers remain central to Lunar New Year celebrations, carrying on a tradition that is many centuries old.
Spreading west
Knowledge of gunpowder travelled along the trade and war routes of the thirteenth century, when the Mongol Empire connected China with Central Asia, Persia and the edges of Europe. In the Arab world saltpetre was sometimes called 'Chinese snow'. In Syria, around 1280, Hasan al-Rammah wrote a treatise on horsemanship and war that included detailed recipes and methods for purifying saltpetre. The English friar Roger Bacon described the explosive effect in the 1260s. By the 1320s European manuscripts show early cannon, and within two centuries guns and artillery were common in the armies of Europe, the Ottomans, Safavid Persia and Mughal India.
A world remade
Gunpowder changed warfare slowly, then decisively. Early guns were inaccurate and slow to load, and bows remained competitive for a long time. But artillery could break walls that had resisted siege for generations, and states that could afford cannon, saltpetre works and trained gunners gained an advantage over local lords. Historians link this to the rise of large, centralised states between the fifteenth and eighteenth centuries. Black powder also blasted tunnels, mines and canals until safer explosives such as dynamite replaced it in the late nineteenth century. Its story is a reminder that discoveries often escape the purposes of the people who made them.
Sources & further reading
Figures are rounded and widely published; check the linked organisations for the latest editions. These organisations do not endorse this website.



