Gunpowder

Gunpowder, also known as black powder to distinguish it from modern, is the earliest known chemical. It consists of a mixture of (S),  (C), and  (, KNO3). The sulfur and charcoal act as s while the saltpeter is an. Because of its incendiary properties and the amount of heat and gas volume that it generates, gunpowder has been widely used as a in s,, s, and , and as a blasting powder in ing, , and.

Gunpowder was invented in 9th-century as one of the, and spread throughout most parts of Eurasia by the end of the 13th century. Originally developed by the s for medicinal purposes, gunpowder was first used for warfare about 904 AD.

Gunpowder is classified as a because of its relatively slow decomposition rate and consequently low. Low explosives (i.e., burn) at subsonic speeds, whereas   producing a supersonic.

Ignition of gunpowder packed behind a generates enough pressure to force the shot from the muzzle at high speed, but usually not enough force to rupture the. Gunpowder thus makes a good propellant, but is less suitable for shattering rock or fortifications with its low-yield explosive power. However, by transferring enough energy (from the burning gunpowder to the mass of the cannonball, and then from the cannonball to the opposing fortifications by way of the impacting ammunition) eventually a may wear down an opponent's fortified defenses.

Gunpowder was widely used to fill fused artillery shells (and used in and  projects) until the second half of the 19th century, when the first  were put into use. Gunpowder is no longer used in modern weapons, nor is it used for industrial purposes, due to its relatively inefficient cost compared to newer alternatives such as and. Today gunpowder firearms are limited primarily to hunting, target shooting, and bulletless historical reenactments.

China
The first confirmed reference to what can be considered gunpowder in China occurred in the 9th century AD during the, first in a formula contained in the Taishang Shengzu Jindan Mijue (太上聖祖金丹秘訣) in 808, and then about 50 years later in a Taoist text known as the  (真元妙道要略). Based on a 9th-century Taoist text, the invention of gunpowder by Chinese alchemists was likely an accidental byproduct from experiments seeking to create the. This origin of gunpowder is reflected in its Chinese name huoyao, which means "fire medicine". The first military applications of gunpowder were developed around 904 AD. The earliest chemical formula for gunpowder appeared in the 11th century text, , however gunpowder had already been used for  since at least the 10th century. In the following centuries various gunpowder weapons such as s,, and the appeared in China.

was known to the Chinese by the mid-1st century AD and was primarily produced in the provinces of, , and. There is strong evidence of the use of saltpeter and sulfur in various combinations. A Chinese alchemical text dated 492 noted saltpeter burnt with a purple flame, providing a practical and reliable means of distinguishing it from other inorganic salts, thus enabling alchemists to evaluate and compare purification techniques; the earliest Latin accounts of saltpeter purification are dated after 1200.

The first reference to the incendiary properties of such mixtures is the passage of the Zhenyuan miaodao yaolüe, a text tentatively dated to the mid-9th century: "Some have heated together sulfur,  and saltpeter with ; smoke and flames result, so that their hands and faces have been burnt, and even the whole house where they were working burned down." The Chinese word for "gunpowder" is, which literally means "Fire Medicine"; however this name only came into use some centuries after the mixture's discovery. In the following centuries a variety of gunpowder weapons such as rockets, bombs, and land mines appeared before the first metal barrel firearms were invented. Explosive weapons such as bombs have been discovered in a shipwreck off the shore of Japan dated from 1281, during the Mongol invasions of Japan.

The Chinese  (Complete Essentials from the Military Classics), written by between 1040 and 1044, provides encyclopedia references to a variety of mixtures that included petrochemicals—as well as garlic and honey. A slow match for flame throwing mechanisms using the siphon principle and for fireworks and rockets is mentioned. The mixture formulas in this book do not contain enough saltpeter to create an explosive however; being limited to at most 50% saltpeter, they produce an. The Essentials was however written by a court bureaucrat, and there is little evidence that it had any immediate impact on warfare; there is no mention of gunpowder use in the chronicles of the wars against the  in the 11th century, and China was otherwise mostly at peace during this century.

However, by 1083 the Song court was producing hundreds of thousands of fire arrows for their garrisons. Bombs and the first proto-guns, known as "fire lances", became prominent during the 12th century and were used by the Song during the. Fire lances were first recorded to have been used at the in 1132 by Song forces against the. In the early 13th century the Jin utilized iron-casing bombs. Projectiles were added to fire lances, and re-usable fire lance barrels were developed, first out of hardened paper, and then metal. By 1257 some fire lances were firing wads of bullets. In the late 13th century metal fire lances became 'eruptors', proto-cannons firing co-viative projectiles (mixed with the propellant, rather than seated over it with a wad), and by 1287 at the latest, had become true guns, the.

Middle East
The s acquired knowledge of gunpowder some time between 1240 and 1280, by which point the Syrian had written, in Arabic, recipes for gunpowder, instructions for the purification of saltpeter, and descriptions of gunpowder incendiaries. It is implied by al-Rammah's usage of "terms that suggested he derived his knowledge from Chinese sources" and his references to saltpeter as "Chinese snow" (ثلج الصين thalj al-ṣīn), fireworks as "Chinese flowers" and rockets as "Chinese arrows" that knowledge of gunpowder arrived from China. However, because al-Rammah attributes his material to "his father and forefathers", argues that gunpowder became prevalent in Syria and Egypt by "the end of the twelfth century or the beginning of the thirteenth". In Persia saltpeter was known as "Chinese salt" namak-i chīnī) or "salt from Chinese salt marshes" (نمک شوره چینی namak-i shūra-yi chīnī).

Hasan al-Rammah included 107 gunpowder recipes in his text al-Furusiyyah wa al-Manasib al-Harbiyya (The Book of Military Horsemanship and Ingenious War Devices), 22 of which are for rockets. If one takes the median of 17 of these 22 compositions for rockets (75% nitrates, 9.06% sulfur, and 15.94% charcoal), it is nearly identical to the modern reported ideal gunpowder recipe of 75% potassium nitrate, 10% sulfur, and 15% charcoal.

Al-Hassan claims that in the of 1260, the  used against the Mongols in "the first cannon in history" gunpowder formula with near-identical ideal composition ratios for explosive gunpowder. Other historians urge caution regarding claims of Islamic firearms use in the 1204–1324 period as late medieval Arabic texts used the same word for gunpowder, naft, that they used for an earlier incendiary, naphtha.

Khan claims that it was invading Mongols who introduced gunpowder to the Islamic world and cites antagonism towards early musketeers in their infantry as an example of how gunpowder weapons were not always met with open acceptance in the Middle East. Similarly, the refusal of their forces to use firearms contributed to the  rout at  in 1514.

The first appeared in the  at some point between 1394 and the early 15th century. The arquebus was later used in substantial numbers by the of the  by the mid-15th century. The arquebus was first used by the  corps of the  in the first half of the 15th century, possibly as early as 1394 but certainly by the 1440s.

The first appeared in the Ottoman Empire by 1465. In 1598, Chinese writer Zhao Shizhen described Turkish muskets as being superior to European muskets. The Chinese military book  (1621) later described Turkish muskets that used a mechanism, which was not known to have been used in European or Chinese firearms at the time.

The state-controlled manufacture of gunpowder by the Ottoman Empire through early s to obtain nitre, sulfur and high-quality charcoal from oaks in contributed significantly to its expansion between the 15th and 18th century. It was not until later in the 19th century when the syndicalist production of Turkish gunpowder was greatly reduced, which coincided with the decline of its military might.

Mainland Europe
The earliest Western accounts of gunpowder appear in texts written by English philosopher in the 13th century. Several sources mention Chinese firearms and gunpowder weapons being deployed by the Mongols against European forces at the in 1241. Professor Kenneth Warren Chase credits the Mongols for introducing into Europe gunpowder and its associated weaponry. However, there is no clear route of transmission, and while the Mongols are often pointed to as the likeliest vector, Timothy May points out that "there is no concrete evidence that the Mongols used gunpowder weapons on a regular basis outside of China." However, Timothy May also points out "However... the Mongols used the gunpowder weapon in their wars against the Jin, the Song and in their invasions of Japan."

In Europe, one of the first mentions of gunpowder use appears in a found in Roger Bacon's  of 1267 and Opus Tertium in what has been interpreted as being s. The most telling passage reads: "We have an example of these things (that act on the senses) in [the sound and fire of] that children's toy which is made in many [diverse] parts of the world; i.e., a device no bigger than one's thumb. From the violence of that salt called saltpeter [together with sulfur and willow charcoal, combined into a powder] so horrible a sound is made by the bursting of a thing so small, no more than a bit of parchment [containing it], that we find [the ear assaulted by a noise] exceeding the roar of strong thunder, and a flash brighter than the most brilliant lightning." In the early 20th century, British artillery officer Henry William Lovett Hime proposed that, Epistola de Secretis Operibus Artis et Naturae, et de Nullitate Magiae contained an encrypted formula for gunpowder. This claim has been disputed by historians of science including, and  and by Bacon's editor , both in terms of authenticity of the work, and with respect to the decryption method. In any case, the formula claimed to have been decrypted (7:5:5 saltpeter:charcoal:sulfur) is not useful for firearms use or even firecrackers, burning slowly and producing mostly smoke. However, if Bacon's recipe is taken as measurements by volume rather than weight, a far more potent and serviceable explosive powder is created suitable for firing hand-cannons, albeit less consistent due to the inherent inaccuracies of measurements by volume. One example of this composition resulted in 100 parts saltpeter, 27 parts charcoal, and 45 parts sulfur, by weight.

The , or Book of Fires, attributed to Marcus Graecus, is a collection of incendiary recipes, including some gunpowder recipes. Partington dates the gunpowder recipes to approximately 1300. One recipe for "flying fire" (ignis volatilis) involves saltpeter, sulfur, and, which, when inserted into a reed or hollow wood, "flies away suddenly and burns up everything." Another recipe, for artificial "thunder", specifies a mixture of one pound native sulfur, two pounds linden or willow charcoal, and six pounds of saltpeter. Another specifies a 1:3:9 ratio.

Some of the gunpowder recipes of De Mirabilibus Mundi of are identical to the recipes of the Liber Ignium, and according to Partington, "may have been taken from that work, rather than conversely." Partington suggests that some of the book may have been compiled by Albert's students, "but since it is found in thirteenth century manuscripts, it may well be by Albert." Albertus Magnus died in 1280.

A major advance in manufacturing began in Europe in the late 14th century when the safety and thoroughness of incorporation was improved by wet grinding; liquid, such as distilled spirits was added during the grinding-together of the ingredients and the moist paste dried afterwards. The principle of wet mixing to prevent the separation of dry ingredients, invented for gunpowder, is used today in the pharmaceutical industry.

It was also discovered that if the paste was rolled into balls before drying the resulting gunpowder absorbed less water from the air during storage and traveled better. The balls were then crushed in a mortar by the gunner immediately before use, with the old problem of uneven particle size and packing causing unpredictable results. If the right size particles were chosen, however, the result was a great improvement in power. Forming the damp paste into corn-sized clumps by hand or with the use of a sieve instead of larger balls produced a product after drying that loaded much better, as each tiny piece provided its own surrounding air space that allowed much more rapid combustion than a fine powder. This "corned" gunpowder was from 30% to 300% more powerful. An example is cited where 34 pounds of serpentine was needed to shoot a 47-pound ball, but only 18 pounds of corned powder. The optimum size of the grain depended on its use; larger for large cannon, finer for small arms. Larger cast cannons were easily muzzle-loaded with corned powder using a long-handled ladle. Corned powder also retained the advantage of low moisture absorption, as even tiny grains still had much less surface area to attract water than a floury powder.

During this time, European manufacturers also began regularly purifying saltpeter, using wood ashes containing to precipitate calcium from their dung liquor, and using ox blood,, and slices of  to clarify the solution.

During the Renaissance, two European schools of thought emerged, one in Italy and the other at Nuremberg, Germany. The German printer and publisher Christiaan Egenolff adapted an earlier work on pyrotechnics from manuscript to print form, publishing his Büchsenmeysterei in 1529 and reprinting it in 1531. Now extremely rare, the book discusses the manufacturing of gunpowder, the operation of artillery and the rules of conduct for the gunsmith.

In Italy,, born in 1480, was a member of the guild Fraternita di Santa Barbara but broke with the tradition of secrecy by setting down everything he knew in a book titled , written in vernacular. It was published posthumously in 1540, with 9 editions over 138 years, and also reprinted by in 1966.

By the mid-17th century fireworks were used for entertainment on an unprecedented scale in Europe, being popular even at resorts and public gardens. With the publication of Deutliche Anweisung zur Feuerwerkerey (1748), methods for creating fireworks were sufficiently well-known and well-described that "Firework making has become an exact science." In 1774 ascended to the throne of France at age 20. After he discovered that France was not self-sufficient in gunpowder, a Gunpowder Administration was established; to head it, the lawyer was appointed. Although from a bourgeois family, after his degree in law Lavoisier became wealthy from a company set up to collect taxes for the Crown; this allowed him to pursue experimental natural science as a hobby.

Without access to cheap saltpeter (controlled by the British), for hundreds of years France had relied on saltpetremen with royal warrants, the droit de fouille or "right to dig", to seize nitrous-containing soil and demolish walls of barnyards, without compensation to the owners. This caused farmers, the wealthy, or entire villages to bribe the petermen and the associated bureaucracy to leave their buildings alone and the saltpeter uncollected. Lavoisier instituted a crash program to increase saltpeter production, revised (and later eliminated) the droit de fouille, researched best refining and powder manufacturing methods, instituted management and record-keeping, and established pricing that encouraged private investment in works. Although saltpeter from new Prussian-style putrefaction works had not been produced yet (the process taking about 18 months), in only a year France had gunpowder to export. A chief beneficiary of this surplus was the. By careful testing and adjusting the proportions and grinding time, powder from mills such as at outside Paris became the best in the world by 1788, and inexpensive.

In the, the crown held a monopoly on gunpowder and the terms were set out during eighteenth-century.

Great Britain and Ireland
Gunpowder production in Britain appears to have started in the mid 14th century with the aim of supplying the. Records show that, in England, gunpowder was being made in 1346 at the ; a existed at the Tower in 1461; and in 1515 three King's gunpowder makers worked there. Gunpowder was also being made or stored at other Royal castles, such as. By the early 14th century, according to N.J.G. Pounds's study The Medieval Castle in England and Wales, many castles had been deserted and others were crumbling. Their military significance faded except on the borders. Gunpowder had made smaller castles useless.

was short of gunpowder when he invaded France in 1544 and England needed to import gunpowder via the port of in what is now.

The (1642–1645) led to an expansion of the gunpowder industry, with the repeal of the Royal Patent in August 1641.

One of the most notable uses of gunpowder in Great Britain was the of 1605: a failed assassination attempt on  The plot was foiled when  was found under the House of Lords with hidden barrels of gunpowder. All assailants who had a role in the plot escaped but were eventually caught. King James later decreed that 5 November become a day of celebration, which is a tradition that carries on today known as.

Two British physicists, and, worked to improve the properties of black powder during the late 19th century. This formed the basis for the Noble-Abel gas equation for.

The introduction of smokeless powder in the late 19th century led to a contraction of the gunpowder industry. After the end of, the majority of the United Kingdom gunpowder manufacturers merged into a single company, "Explosives Trades limited"; and a number of sites were closed down, including those in Ireland. This company became Nobel Industries Limited; and in 1926 became a founding member of. The removed gunpowder from its list of Permitted Explosives; and shortly afterwards, on 31 December 1931, the former 's  gunpowder factory at, in , closed down, and it was demolished by fire in 1932.

The last remaining gunpowder mill at the was damaged by a German  in 1941 and it never reopened. This was followed by the closure of the gunpowder section at the, , the section was closed and demolished at the end of ; and 's gunpowder factory, which closed in 1954.

This left the sole United Kingdom gunpowder factory at ICI Nobel's site in ; it too closed in October 1976. Since then gunpowder has been imported into the United Kingdom. In the late 1970s/early 1980s gunpowder was bought from eastern Europe, particularly from what was then the and former.

India
Gunpowder and gunpowder weapons were transmitted to India through the. The Mongols were defeated by of the, and some of the Mongol soldiers remained in northern India after their conversion to Islam. It was written in the Tarikh-i Firishta (1606–1607) that the ruler of the Delhi Sultanate presented the envoy of the Mongol ruler  with a dazzling pyrotechnics display upon his arrival in  in 1258. Nasiruddin Mahmud tried to express his strength as a ruler and tried to ward off any attempt similar to the. Firearms known as top-o-tufak also existed in many Muslim kingdoms in India by as early as 1366. From then on the employment of in India was prevalent, with events such as the "Siege of " in 1473 by  Muhammad Shah Bahmani.

The shipwrecked Ottoman  is known to have introduced the earliest type of  weapons, which the Ottomans used against the  during the. After that, a diverse variety of firearms, large guns in particular, became visible in, , , and. Guns made of bronze were recovered from (1504)- the former capital of the s

The Mughal emperor mass-produced matchlocks for the. Akbar is personally known to have shot a leading commander during the. The began to use  rockets (mainly for signalling) and employ s: special units that undermined heavy stone fortifications to plant gunpowder charges.

The Mughal Emperor is known to have introduced much more advanced matchlocks, their designs were a combination of Ottoman and Mughal designs. Shah Jahan also countered the and other  in his province of, which supplied Europe saltpeter for use in gunpowder warfare during the 17th century. and participated in saltpeter production. The Dutch, French, Portuguese, and English used as a center of saltpeter refining.

Ever since the founding of the by Hyder Ali,  military officers were employed to train the Mysore Army. Hyder Ali and his son Tipu Sultan were the first to introduce modern cannons and s, their army was also the first in India to have official uniforms. During the Hyder Ali and his son  unleashed the Mysorean rockets at their British opponents effectively defeating them on various occasions. The Mysorean rockets inspired the development of the, which the British widely utilized during the and the.

Indonesia
The  Empire was arguably able to encompass much of modern-day  due to its unique mastery of bronze-smithing and use of a central  fed by a large number of cottage industries within the immediate region. Documentary and archeological evidence indicate that traders introduced gunpowder, gonnes, s, es, and cannons to the Javanese,, and  via long established commercial s around the early to mid 14th century. The resurgent Empire overtook  and later emerged as the Majapahit whose warfare featured the use of fire-arms and cannonade. Cannons were introduced to Majapahit when Chinese army under the leadership of Ike Mese  in 1293. mentioned that the Mongol used cannons (Chinese: ) against Daha forces. Javanese bronze breech-loaded swivel-guns, known as, or erroneously as , was used widely by the Majapahit navy as well as by pirates and rival lords. The demise of the Majapahit empire and the dispersal of disaffected skilled bronze cannon-smiths to, modern , and the  lead to widespread use, especially in the. It led to near universal use of the swivel-gun and cannons in the.

Portuguese and Spanish invaders were unpleasantly surprised and even outgunned on occasion. c. 1540, the Javanese, always alert for new weapons found the newly arrived Portuguese weaponry superior to that of the locally made variants. Majapahit-era cetbang cannons were further improved and used in the period during the Demak invasion of. During this period, the, for manufacturing Javanese cannons was imported from in northern. The material was known by Javanese as wesi kurasani (Khorasan iron). When the came to the archipelago, they referred to it as Berço, which was also used to refer to any breech-loading swivel gun, while the  call it Verso. By early 16th century, the Javanese already locally-producing large guns, some of them still survived until the present day and dubbed as "sacred cannon" or "holy cannon". These cannons varied between 180-260-pounders, weighing anywhere between 3–8 tons, length of them between 3–6 m.

Saltpeter harvesting was recorded by Dutch and German travelers as being common in even the smallest villages and was collected from the decomposition process of large dung hills specifically piled for the purpose. The Dutch punishment for possession of non-permitted gunpowder appears to have been amputation. Ownership and manufacture of gunpowder was later prohibited by the colonial occupiers. According to a colonel McKenzie quoted in Sir,  (1817), the purest sulfur was supplied from near the straits of.

Historiography
On the origins of gunpowder technology, historian Tonio Andrade remarked, "Scholars today overwhelmingly concur that the gun was invented in China." Gunpowder and the gun are widely believed by historians to have originated from China because there is a large body of evidence that documents the evolution of the gun from the Chinese to a metal gun and the evolution of gunpowder from a medicine to an incendiary and an explosive, whereas similar records do not exist in Europe. As Andrade explains, the large amount of variation in gunpowder recipes in China relative to Europe is "evidence of experimentation in China, where gunpowder was at first used as an incendiary and only later became an explosive and a propellant... in contrast, formulas in Europe diverged only very slightly from the ideal proportions for use as an explosive and a propellant, suggesting that gunpowder was introduced as a mature technology."

However, the history of gunpowder is not without controversy. A major problem confronting the study of early gunpowder history is ready access to sources close to the events described. Often the first records potentially describing use of gunpowder in warfare were written several centuries after the fact, and may well have been colored by the contemporary experiences of the chronicler. Translation difficulties have led to errors or loose interpretations bordering on. Ambiguous language can make it difficult to distinguish gunpowder weapons from similar technologies that do not rely on gunpowder. A commonly cited example is a report of the in Eastern Europe that mentions a "long lance" sending forth "evil-smelling vapors and smoke", which has been variously interpreted by different historians as the "first-gas attack upon European soil" using gunpowder, "the first use of cannon in Europe", or merely a "toxic gas" with no evidence of gunpowder. It is difficult to accurately translate original Chinese alchemical texts, which tend to explain phenomena through metaphor, into modern scientific language with rigidly defined terminology in English. Early texts potentially mentioning gunpowder are sometimes marked by a linguistic process where occurred. For instance, the Arabic word naft transitioned from denoting to denoting gunpowder, and the Chinese word pào changed in meaning from catapult to referring to a cannon. This has led to arguments on the exact origins of gunpowder based on etymological foundations. Science and technology historian Bert S. Hall makes the observation that, "It goes without saying, however, that historians bent on special pleading, or simply with axes of their own to grind, can find rich material in these terminological thickets."

Another major area of contention in modern studies of the history of gunpowder is regarding the transmission of gunpowder. While the literary and archaeological evidence supports a Chinese origin for gunpowder and guns, the manner in which gunpowder technology was transferred from China to the West is still under debate. It is unknown why the rapid spread of gunpowder technology across Eurasia took place over several decades whereas other technologies such as paper, the compass, and printing did not reach Europe until centuries after they were invented in China.

Manufacturing technology
For the most powerful black powder,, a charcoal, is used. The best wood for the purpose is Pacific, but others such as or  can be used. In Great Britain between the 15th and 19th centuries charcoal from was greatly prized for gunpowder manufacture;  was used by the American. The ingredients are reduced in particle size and mixed as intimately as possible. Originally, this was with a mortar-and-pestle or a similarly operating stamping-mill, using copper, bronze or other non-sparking materials, until supplanted by the rotating principle with non-sparking  or. Historically, a marble or edge runner mill, running on a limestone bed, was used in Great Britain; however, by the mid 19th century this had changed to either an iron-shod stone wheel or a  wheel running on an iron bed. The mix was dampened with or water during grinding to prevent accidental ignition. This also helps the extremely soluble saltpeter to mix into the microscopic nooks and crannies of the very high surface-area charcoal.

Around the late 14th century, European powdermakers first began adding liquid during grinding to improve mixing, reduce dust, and with it the risk of explosion. The powder-makers would then shape the resulting paste of dampened gunpowder, known as mill cake, into corns, or grains, to dry. Not only did corned powder keep better because of its reduced surface area, gunners also found that it was more powerful and easier to load into guns. Before long, powder-makers standardized the process by forcing mill cake through sieves instead of corning powder by hand.

The improvement was based on reducing the surface area of a higher density composition. At the beginning of the 19th century, makers increased density further by static pressing. They shoveled damp mill cake into a two-foot square box, placed this beneath a screw press and reduced it to $1/2$ its volume. "Press cake" had the hardness of. They broke the dried slabs with hammers or rollers, and sorted the granules with sieves into different grades. In the United States,, who had learned the trade from Lavoisier, tumbled the dried grains in rotating barrels to round the edges and increase durability during shipping and handling. (Sharp grains rounded off in transport, producing fine "meal dust" that changed the burning properties.)

Another advance was the manufacture of kiln charcoal by distilling wood in heated iron retorts instead of burning it in earthen pits. Controlling the temperature influenced the power and consistency of the finished gunpowder. In 1863, in response to high prices for Indian saltpeter, chemists developed a process using  or mined  to convert plentiful an sodium nitrate to potassium nitrate.

The following year (1864) the Gatebeck Low Gunpowder Works in Cumbria (Great Britain) started a plant to manufacture potassium nitrate by essentially the same chemical process. This is nowadays called the 'Wakefield Process', after the owners of the company. It would have used potassium chloride from the Staßfurt mines, near Magdeburg, Germany, which had recently become available in industrial quantities.

During the 18th century, gunpowder factories became increasingly dependent on mechanical energy. Despite mechanization, production difficulties related to humidity control, especially during the pressing, were still present in the late 19th century. A paper from 1885 laments that "Gunpowder is such a nervous and sensitive spirit, that in almost every process of manufacture it changes under our hands as the weather changes." Pressing times to the desired density could vary by a factor of three depending on the atmospheric humidity.

Composition and characteristics
The term black powder was coined in the late 19th century, primarily in the, to distinguish prior gunpowder formulations from the new smokeless powders and semi-smokeless powders. Semi-smokeless powders featured bulk volume properties that approximated black powder, but had significantly reduced amounts of smoke and combustion products. Smokeless powder has different burning properties (pressure vs. time) and can generate higher pressures and work per gram. This can rupture older weapons designed for black powder. Smokeless powders ranged in color from brownish tan to yellow to white. Most of the bulk semi-smokeless powders ceased to be manufactured in the 1920s.

Black powder is a granular mixture of Potassium nitrate is the most important ingredient in terms of both bulk and function because the combustion process releases oxygen from the potassium nitrate, promoting the rapid burning of the other ingredients. To reduce the likelihood of accidental ignition by, the granules of modern black powder are typically coated with , which prevents the build-up of electrostatic charge.
 * a, typically potassium nitrate (KNO3), which supplies oxygen for the reaction;
 * , which provides carbon and other fuel for the reaction, simplified as carbon (C);
 * (S), which, while also serving as a fuel, lowers the temperature required to ignite the mixture, thereby increasing the rate of.

Charcoal does not consist of pure carbon; rather, it consists of partially, in which the wood is not completely decomposed. differs from ordinary. Whereas charcoal's autoignition temperature is relatively low, carbon's is much greater. Thus, a black powder composition containing pure carbon would burn similarly to a match head, at best.

The current standard composition for the black powders that are manufactured by pyrotechnicians was adopted as long ago as 1780. Proportions by weight are 75% potassium nitrate (known as saltpeter or saltpetre), 15% softwood charcoal, and 10% sulfur. These ratios have varied over the centuries and by country, and can be altered somewhat depending on the purpose of the powder. For instance, power grades of black powder, unsuitable for use in firearms but adequate for blasting rock in quarrying operations, are called blasting powder rather than gunpowder with standard proportions of 70% nitrate, 14% charcoal, and 16% sulfur; blasting powder may be made with the cheaper substituted for potassium nitrate and proportions may be as low as 40% nitrate, 30% charcoal, and 30% sulfur. In 1857, Lammot du Pont solved the main problem of using cheaper sodium nitrate formulations when he patented DuPont "B" blasting powder. After manufacturing grains from press-cake in the usual way, his process tumbled the powder with graphite dust for 12 hours. This formed a graphite coating on each grain that reduced its ability to absorb moisture.

Neither the use of graphite nor sodium nitrate was new. Glossing gunpowder corns with graphite was already an accepted technique in 1839, and sodium nitrate-based blasting powder had been made in Peru for many years using the sodium nitrate mined at (now in Chile). Also, in 1846, two plants were built in south-west England to make blasting powder using this sodium nitrate. The idea may well have been brought from Peru by Cornish miners returning home after completing their contracts. Another suggestion is that it was, the planthunter, who recognised the possibilities of sodium nitrate during his travels in South America. Lammot du Pont would have known about the use of graphite and probably also knew about the plants in south-west England. In his patent he was careful to state that his claim was for the combination of graphite with sodium nitrate-based powder, rather than for either of the two individual technologies.

French war powder in 1879 used the ratio 75% saltpeter, 12.5% charcoal, 12.5% sulfur. English war powder in 1879 used the ratio 75% saltpeter, 15% charcoal, 10% sulfur. The British Congreve rockets used 62.4% saltpeter, 23.2% charcoal and 14.4% sulfur, but the British Mark VII gunpowder was changed to 65% saltpeter, 20% charcoal and 15% sulfur. The explanation for the wide variety in formulation relates to usage. Powder used for rocketry can use a slower burn rate since it accelerates the projectile for a much longer time—whereas powders for weapons such as flintlocks, cap-locks, or matchlocks need a higher burn rate to accelerate the projectile in a much shorter distance. Cannons usually used lower burn rate powders, because most would burst with higher burn rate powders.

In the First Opium war, the mixture for Qing China gunpowder contained a high ratio of charcoal which gave it a high stability and longer shelf life but generated less kinetic energy when ignited, decreasing the range and accuracy. In comparison, the mixture for British Gunpowder contained a higher ratio of sulfur, allowing the powder to burn faster and thus generate more kinetic energy.

Serpentine
The original dry-compounded powder used in 15th-century Europe was known as "Serpentine", either a reference to Satan or to a common artillery piece that used it. The ingredients were ground together with a mortar and pestle, perhaps for 24 hours, resulting in a fine flour. Vibration during transportation could cause the components to separate again, requiring remixing in the field. Also if the quality of the saltpeter was low (for instance if it was contaminated with highly ), or if the powder was simply old (due to the mildly hygroscopic nature of potassium nitrate), in humid weather it would need to be re-dried. The dust from "repairing" powder in the field was a major hazard.

Loading cannons or before the powder-making advances of the Renaissance was a skilled art. Fine powder loaded haphazardly or too tightly would burn incompletely or too slowly. Typically, the breech-loading powder chamber in the rear of the piece was filled only about half full, the serpentine powder neither too compressed nor too loose, a wooden bung pounded in to seal the chamber from the barrel when assembled, and the projectile placed on. A carefully determined empty space was necessary for the charge to burn effectively. When the cannon was fired through the touchhole, turbulence from the initial surface combustion caused the rest of the powder to be rapidly exposed to the flame.

The advent of much more powerful and easy to use corned powder changed this procedure, but serpentine was used with older guns into the 17th century.

Corning
For propellants to oxidize and burn rapidly and effectively, the combustible ingredients must be reduced to the smallest possible particle sizes, and be as thoroughly mixed as possible. Once mixed, however, for better results in a gun, makers discovered that the final product should be in the form of individual dense grains that spread the fire quickly from grain to grain, much as or s catch fire more quickly than a pile of.

Because the dry powdered ingredients must be mixed and bonded together for extrusion and cutting into grains to maintain the blend, size reduction and mixing is done while the ingredients are damp, usually with water. After 1800, instead of forming grains by hand or with sieves, the damp mill-cake was pressed in molds to increase its density and extract the liquid, forming press-cake. The pressing took varying amounts of time, depending on conditions such as atmospheric humidity. The hard, dense product was broken again into tiny pieces, which were separated with sieves to produce a uniform product for each purpose: coarse powders for cannons, finer grained powders for muskets, and the finest for small hand guns and priming. Inappropriately fine-grained powder often caused cannons to burst before the projectile could move down the barrel, due to the high initial spike in pressure. Mammoth powder with large grains, made for, reduced the pressure to only 20 percent as high as ordinary cannon powder would have produced.

In the mid-19th century, measurements were made determining that the burning rate within a grain of black powder (or a tightly packed mass) is about 6 cm/s (0.20 feet/s), while the rate of ignition propagation from grain to grain is around 9 m/s (30 feet/s), over two orders of magnitude faster.

Modern types
Modern corning first compresses the fine black powder meal into blocks with a fixed density (1.7 g/cm³). In the United States, gunpowder grains were designated F (for fine) or C (for coarse). Grain diameter decreased with a larger number of Fs and increased with a larger number of Cs, ranging from about 2 mm for 7F to 15 mm for 7C. Even larger grains were produced for artillery bore diameters greater than about 17 cm. The standard DuPont Mammoth powder developed by Thomas Rodman and for use during the  had grains averaging 0.6 in in diameter with edges rounded in a glazing barrel. Other versions had grains the size of golf and tennis balls for use in 20 in s. In 1875 DuPont introduced Hexagonal powder for large artillery, which was pressed using shaped plates with a small center core—about 1.5 in diameter, like a wagon wheel nut, the center hole widened as the grain burned. By 1882 German makers also produced hexagonal grained powders of a similar size for artillery.

By the late 19th century manufacturing focused on standard grades of black powder from Fg used in large bore rifles and shotguns, through FFg (medium and small-bore arms such as muskets and fusils), FFFg (small-bore rifles and pistols), and FFFFg (extreme small bore, short pistols and most commonly for priming s). A coarser grade for use in military artillery was designated A-1. These grades were sorted on a system of screens with oversize retained on a mesh of 6 wires per inch, A-1 retained on 10 wires per inch, Fg retained on 14, FFg on 24, FFFg on 46, and FFFFg on 60. Fines designated FFFFFg were usually reprocessed to minimize explosive dust hazards. In the, the main service gunpowders were classified RFG (rifle grained fine) with diameter of one or two millimeters and RLG (rifle grained large) for grain diameters between two and six millimeters. Gunpowder grains can alternatively be categorized by mesh size: the BSS, being the smallest mesh size, which retains no grains. Recognized grain sizes are Gunpowder G 7, G 20, G 40, and G 90.

Owing to the large market of antique and replica black-powder firearms in the US, like, Triple Seven and Black Mag3 pellets have been developed since the 1970s. These products, which should not be confused with smokeless powders, aim to produce less fouling (solid residue), while maintaining the traditional volumetric measurement system for charges. Claims of less corrosiveness of these products have been controversial however. New cleaning products for black-powder guns have also been developed for this market.

Other types of gunpowder
Besides black powder, there are other historically important types of gunpowder. "Brown gunpowder" is cited as composed of 79% nitre, 3% sulfur, and 18% charcoal per 100 of dry powder, with about 2% moisture. is a large-grained product the Company introduced in 1884 in Germany, which was adopted by the British Royal Navy shortly thereafter. The French navy adopted a fine, 3.1 millimeter, not prismatic grained product called Slow Burning Cocoa (SBC) or "cocoa powder". These brown powders reduced burning rate even further by using as little as 2 percent sulfur and using charcoal made from straw that had not been completely charred, hence the brown color.

Lesmok powder was a product developed by DuPont in 1911, one of several semi-smokeless products in the industry containing a mixture of black and nitrocellulose powder. It was sold to and others primarily for .22 and .32 small calibers. Its advantage was that it was believed at the time to be less corrosive than smokeless powders then in use. It was not understood in the U.S. until the 1920s that the actual source of corrosion was the potassium chloride residue from potassium chlorate sensitized primers. The bulkier black powder fouling better disperses primer residue. Failure to mitigate primer corrosion by dispersion caused the false impression that nitrocellulose-based powder caused corrosion. Lesmok had some of the bulk of black powder for dispersing primer residue, but somewhat less total bulk than straight black powder, thus requiring less frequent bore cleaning. It was last sold by Winchester in 1947.

Sulfur-free gunpowder
The development of smokeless powders, such as cordite, in the late 19th century created the need for a spark-sensitive, such as gunpowder. However, the sulfur content of traditional gunpowders caused problems with Cordite Mk I and this led to the introduction of a range of sulfur-free gunpowders, of varying grain sizes. They typically contain 70.5 parts of saltpeter and 29.5 parts of charcoal. Like black powder, they were produced in different grain sizes. In the United Kingdom, the finest grain was known as sulfur-free mealed powder (SMP). Coarser grains were numbered as sulfur-free gunpowder (SFG n): 'SFG 12', 'SFG 20', 'SFG 40' and 'SFG 90', for example; where the number represents the smallest BSS sieve mesh size, which retained no grains.

Sulfur's main role in gunpowder is to decrease the ignition temperature. A sample reaction for sulfur-free gunpowder would be


 * 6 KNO3 + C7H4O → 3 K2CO3 + 4 CO2 + 2 H2O + 3 N2

Chemical reaction
Gunpowder does not burn as a single reaction, so the byproducts are not easily predicted. One study showed that it produced (in order of descending quantities) 55.91% solid products: potassium carbonate,, , sulfur, potassium nitrate, , carbon, and 42.98% gaseous products: , , , , , , 1.11% water.

However, simplified equations have been cited.

A simple, commonly cited, for the combustion of black powder is
 * 2 +  + 3  →  +  + 3.

A balanced, but still simplified, equation is
 * 10 + 3  + 8  → 2  + 3  + 6  + 5.

Black powder made with less-expensive and more plentiful sodium nitrate (in appropriate proportions) works just as well, and previous equations apply, with sodium instead of potassium. However, it is more hygroscopic than powders made from potassium nitrate—popularly known as saltpeter. Because corned black powder grains made with saltpeter are less affected by moisture in the air, they can be stored unsealed without degradation by humidity. s have been known to fire after hanging on a wall for decades in a loaded state, provided they remained dry. By contrast, black powder made with sodium nitrate must be kept sealed to remain stable.

The musket or pistol (an early gun ignition system), as well as the  would often be unusable in wet weather, due to powder in the pan being exposed and dampened.

Energy
Gunpowder releases 3 per  and contains its own oxidant. This is lower than (4.7 per kilogram), or  (47.2 megajoules per kilogram, but gasoline requires an oxidant, so an optimized gasoline and O2 mixture contains 10.4 megajoules per kilogram). Black powder also has a low compared to modern "smokeless" powders, and thus to achieve high energy loadings, large amounts of black powder are needed with heavy projectiles.

Effects
Gunpowder is a, that is, it does not but rather  (burns quickly). This is an advantage in a propellant device, where one does not desire a shock that would shatter the gun and potentially harm the operator, however it is a drawback when some explosion is wanted. In that case, gunpowder (and most importantly, gases produced by its burning) must be confined. Since it contains its own oxidizer and additionally burns faster under pressure, its combustion is capable of bursting containers such as shell, grenade, or improvised "pipe bomb" or "pressure cooker" casings to form.

In quarrying, high explosives are generally preferred for shattering rock. However, because of its low, black powder causes fewer fractures and results in more usable stone compared to other explosives, making black powder useful for blasting , which is fragile, or monumental stone such as and. Black powder is well suited for s, s, s, and rescue-line launches. Black powder is also used in fireworks for lifting shells, in rockets as fuel, and in certain s.

As seen above, combustion converts less than half the mass of black powder to gas, most of it turns into particulate matter. Some of it is ejected, wasting propelling power, fouling the air, and generally being a nuisance (giving away a soldier's position, generating fog that hinders vision, etc.). Some of it ends up as a thick layer of inside the barrel, where it also is a nuisance for subsequent shots, and a cause of jamming an automatic weapon. Moreover, this residue is, and with the addition of moisture absorbed from the air forms a. The soot contains or  that turns into, or , which corrodes  or  gun barrels. Black powder arms must therefore be well cleaned after use, both inside and out, to remove the residue.

Transportation regulations
The Model Regulations on the Transportation of  and national transportation authorities, such as, have classified gunpowder (black powder) as a Group A: Primary explosive substance for shipment because it ignites so easily. Complete manufactured devices containing black powder are usually classified as Group D: Secondary detonating substance, or black powder, or article containing secondary detonating substance, such as firework, class D engine, etc., for shipment because they are harder to ignite than loose powder. As explosives, they all fall into the category of Class 1.

Mining and industrial uses
Besides its use as a propellant in firearms and artillery, black powder's other main use has been as a blasting powder in quarrying, mining, and road construction (including railroad construction). During the 19th century, outside of war emergencies such as the Crimean War or the American Civil War, more black powder was used in these industrial uses than in firearms and artillery. But gradually replaced it for those uses. Today industrial explosives for such uses are still a huge market, but most of the market is in newer explosives rather than black powder.

Beginning in the 1930s, gunpowder or smokeless powder was used in s, for animals, cable splicers and other industrial construction tools. The "stud gun" drove nails or screws into solid concrete, a function not possible with hydraulic tools. Today s are still an important part of various industries, but the cartridges usually use smokeless powders. Industrial s have been used to eliminate persistent material rings in operating rotary kilns (such as those for cement, lime, phosphate, etc.) and clinker in operating furnaces, and commercial tools make the method more reliable.

Other uses
Gunpowder has occasionally been employed for other purposes besides weapons, mining, and construction:
 * After the (1809), the surgeon of the Napoleonic Army, lacking salt, seasoned a   for the wounded under his care with gunpowder. It was also used for sterilization in ships when there was no alcohol.
 * British sailors used gunpowder to create s when ink wasn't available, by pricking the skin and rubbing the powder into the wound in a method known as traumatic tattooing.
 * experimented with gunpowder in 1673 in an early attempt to build an, but he did not succeed. Modern attempts to recreate his invention were similarly unsuccessful.
 * Near London in 1853, Captain Shrapnel demonstrated a use of black powder in a method for crushing gold-bearing ores by firing them from a cannon into an iron chamber, and "much satisfaction was expressed by all present". He hoped it would be useful on the  of  and . Nothing came of the invention, as continuously-operating crushing machines that achieved more reliable  were already coming into use.
 * Fireworks use gunpowder as lifting and burst charges, although sometimes other more powerful compositions are added to the burst charge to improve performance in small shells or provide a louder report. Most modern firecrackers no longer contain black powder.