Part 8 · Chemistry
Ammonia
Ammonia is the form of nitrogen that plants, fertiliser works and refrigerating machines all need. Distil it from stale urine with lime, or from bones, horn and coal; then, with steel, compressors and an iron catalyst, make it from the air itself by the Haber–Bosch process — the invention that feeds half the world.
- Difficulty
- ●●●●●
- Time
- Weeks to collect and age urine, a day to distil it; the Haber–Bosch process is a multi-year industrial project for a skilled team
- Steps from zero
- 29 prerequisites →
The full path from nothing — 29 steps before this one
- Fire
- Cordage and Rope
- Stone Tools
- Finding and Preparing Clay
- Finding and Identifying Ores
- Hunting and Trapping
- Basic Woodworking
- Charcoal
- Pottery
- The Kiln
- Hides and Leather
- Salt
- Lime
- Fermentation
- Lye and Potash
- The Wheel and Axle
- Glass
- Bellows
- The Lathe
- Copper Smelting
- Iron (the Bloomery)
- Laboratory Glassware
- Blacksmithing
- The Battery
- Steel
- The Steam Engine
- Electrolysis
- Hydrogen, Oxygen and Gases
- Machine Tools
- Ammonia
Do them roughly in this order. See it on the tech tree →
Why it matters
Every protein in every living thing contains nitrogen. The air is four-fifths nitrogen, but it is locked up as a gas that plants cannot use; they can take it only as ammonia or nitrate from the soil. For all of history, the amount of food the world could grow was limited by how much usable nitrogen farmers could scrape together — from dung, urine, legumes, guano and Saltpeter (see Compost and Manure). Around 1900 scientists warned that the world was about to run out.
Ammonia (a gas made of one nitrogen and three hydrogen atoms, NH₃) is the answer:
- Fertiliser. Ammonia and the salts made from it — ammonium sulfate, urea, and others — are the nitrogen in Chemical Fertilisers. Since the 1910s, nitrogen pulled from the air as ammonia has roughly doubled the food the world can grow. About half the nitrogen in the bodies of people alive today passed through an ammonia factory.
- Refrigeration. Liquid ammonia boils at −33 °C and absorbs a great deal of heat as it does so. It was the working fluid of the first great ice factories and cold stores, and is still used in big ones (Ice and Refrigeration).
- Chemistry. Ammonia is used to make Soda Ash and Baking Soda by the Solvay process, to dissolve copper compounds, in dyeing (Dyes and Mordants), and as a household cleaner and smelling salts.
This chapter climbs from the easy route — ammonia from urine, which anyone with a pot still can do this year — to the hard one: making ammonia from air and water at high pressure, a job for a workshop with Machine Tools, good Steel and a power supply.
How it works
Ammonia from decay. Fresh urine contains about 2% urea, a compound of nitrogen. Bacteria in the air turn urea into ammonium carbonate within days — that is the sharp smell of an old latrine or stable. Ammonium carbonate breaks up into ammonia gas and carbon dioxide when warmed above about 60 °C. Heating bones, horn, hoof, leather scraps or coal without air (as in making Charcoal) also breaks their nitrogen compounds down, and ammonia comes off with the smoke.
Lime sets it free. Ammonia that has combined with an acid (as ammonium sulfate or chloride) will not boil off. Adding an alkali stronger than ammonia — slaked Lime or Lye and Potash — pushes it out again as gas.
Ammonia loves water. One litre of water at room temperature dissolves about 700 litres of ammonia gas, and ice-cold water even more; warm it, and the gas comes out again. The solution, ammonia water, is the usual way to store and use it. Strong ammonia water is about 25–35% ammonia. Ammonia combines with any acid to make a stable white ammonium salt: with Sulfuric Acid, ammonium sulfate (a fertiliser); with Hydrochloric Acid, ammonium chloride (sal ammoniac).
Ammonia from air (Haber–Bosch). Nitrogen and hydrogen gases will combine:
nitrogen + 3 hydrogen ⇌ 2 ammonia (and heat)
But nitrogen is one of the most unreactive substances there is. The reaction needs three things at once:
- High pressure (150–300 times atmospheric). Four volumes of gas become two volumes of ammonia, so squeezing pushes the balance towards ammonia.
- A catalyst — specially prepared porous iron — which lets the reaction run fast enough at about 400–500 °C.
- A loop. Even so, only about 15% of the gas turns into ammonia on each pass. The ammonia is condensed out as a liquid by cooling, and the unreacted gas is pumped round again with fresh gas.
What you need
| For | Item | Notes |
|---|---|---|
| Urine ammonia | Stale urine | 10–20 litres, aged 2–4 weeks |
| Slaked lime | 30–50 g per litre of urine (Lime) | |
| A pot still | Clay or copper-free metal pot with a tight lid and a pipe (Distillation). Glass or glazed retorts are better (Laboratory Glassware). Ammonia attacks copper and brass. | |
| Receiver | Glass or glazed jar with cold water, or dilute sulfuric acid | |
| Funnel | Glass or glazed clay, to stop suck-back (below) | |
| Bone ammonia | Bones, horn, hoof | 10–20 kg, broken up |
| Iron retort | A closed iron pot or pipe with an outlet tube; see The Blast Furnace and Cast Iron | |
| Haber–Bosch | Hydrogen | From electrolysis of water (Electrolysis, Hydrogen, Oxygen and Gases) or from coke and steam (Coal and Coke) |
| Nitrogen | From air, by burning out its oxygen | |
| Compressor | Multi-stage piston compressor to 200 bar (Bellows to Air Compressors) | |
| Converter | A thick, forged steel pressure vessel (Steel, Alloy and Stainless Steels, Pressure Vessels and Valves) | |
| Catalyst | Magnetite with a little alumina and potash, fused | |
| Power | Tens to hundreds of kilowatts (Water Turbines and Hydroelectric Power, The Generator) |
Where to find it
- Urine — the best raw material you have, renewed every day. An adult makes about 1.5 litres a day. Set covered collection pots by every latrine and stable, as for Saltpeter.
- Bones, antler, horn and hoof — from butchering (Keeping Animals). Horn and hoof hold about three times as much nitrogen as bone.
- Coal — when coal is heated in closed ovens to make coke or town gas, about a fifth of its nitrogen comes off as ammonia, which dissolves in the water condensed from the gas ("gas liquor"). See Coal and Coke.
- Magnetite — black, heavy iron ore that is attracted to a lodestone (Finding and Identifying Ores). The purest you can find, for catalyst.
- Sal ammoniac occurs naturally in small white crusts around volcanic vents and burning coal seams.
Method 1: Ammonia water from stale urine
- Age the urine. Collect 10–20 litres in a covered clay pot and leave it 2–4 weeks in a warm place. It is ready when it smells strongly of ammonia and a scum or white crust has formed. A splash on red cabbage juice turns it green (see Acids, Bases and Testing).
- Add lime. Stir in 30–50 g of slaked lime per litre. This frees ammonia held as salts and holds back carbon dioxide, which otherwise forms crystals of ammonium carbonate that block the pipe.
- Set up the still outdoors, upwind of you. Fill the pot no more than two thirds. Seal the lid with clay. Lead the pipe down into the receiver.
- Prepare the receiver. Put about ½ litre of cold water in a jar standing in a tub of cold water. Fix a glass or clay funnel, mouth down, to the end of the pipe, so the rim just touches the water surface. (Ammonia dissolves so fast that water can rush back up a pipe dipped deep in the water, into the hot pot, and crack it — suck-back. The wide funnel prevents this.)
- Heat gently. Ammonia and carbon dioxide come off first, well before the urine boils. Then raise the heat to a gentle boil. Stop after about one fifth of the urine has boiled away: nearly all the ammonia comes over in that first part.
- Take the receiver away before you stop heating, or the liquid will be sucked back as the pot cools.
From 10 litres of good stale urine expect roughly 50–100 g of ammonia, enough to make the receiver water about 10–15% ammonia water. Redistil it into less water for a stronger solution. Store it in a stoppered glass or glazed bottle, cool, and labelled.
Tip Keep it as a solid. Ammonia water loses strength every time it is opened. For fertiliser, put dilute sulfuric acid in the receiver instead of water — about 1 part strong acid to 5 parts water (always pour acid into water, never the reverse; see Sulfuric Acid). Stop when a drop of the receiver liquid turns red cabbage juice from red to purple. Boil it down: white crystals of ammonium sulfate form, which keep indefinitely. See Chemical Fertilisers.
Method 2: Ammonia from bones, horn and coal
Heating animal matter in a closed iron vessel was the main source of ammonia — "spirit of hartshorn", from deer antler — for centuries.
- Pack broken bones, horn, hoof or leather scraps into an iron retort or a closed iron pot with an outlet pipe. Seal the lid with clay.
- Heat it in a furnace to a dull red heat (about 600–700 °C), over several hours. Lead the vapours through a long pipe cooled with wet cloths into a receiver.
- You collect a stinking brown watery liquid (ammonia liquor) with a black tar floating on it (bone oil). Separate the tar. Burn the leftover gas at the outlet — it is flammable and foul.
- To get clean ammonia, add lime to the liquor and distil it as in Method 1, or catch it in acid to make ammonium sulfate.
- The black residue in the retort is bone char — keep it for pigment (Pigments, Paints and Varnish), sugar refining (Sugar) and, burnt white, fertiliser (Chemical Fertilisers).
Only a fraction of the nitrogen comes out as ammonia: perhaps 1 kg of ammonium sulfate from 10–20 kg of bones, several times more from horn and hoof. A coke oven or town-gas works yields about 10–12 kg of ammonium sulfate per tonne of coal, and in the 1800s this was the world's main source of manufactured ammonia.
Method 3: Ammonia from air — the Haber–Bosch process
Be honest about what this is: a chemical plant, not a workshop project. Its demands are high-pressure steel vessels, gas-tight compressors, very pure gases and a lot of energy. Fritz Haber's first working laboratory apparatus in 1909 made about 80 g of ammonia an hour; it took Carl Bosch and a team of hundreds at BASF four years to turn that into a factory. With this book you are better placed than they were — you know it works and what goes wrong — but you still need the industrial base of the later chapters. What follows is the outline you need to plan it.
1. Hydrogen
- By electrolysis of water — the simplest and cleanest, if you have abundant electricity from water power (Water Turbines and Hydroelectric Power, Electrolysis). Water with a little lye is split between iron or nickel plates; hydrogen comes off one side, oxygen the other. Norway, Iceland, Egypt and India all ran ammonia plants this way. It takes about 10–12 megawatt-hours of electricity per tonne of ammonia.
- From coke and steam ("water gas"): steam blown through white-hot coke (Coal and Coke) at about 1,000 °C gives hydrogen and carbon monoxide. Mixed with more steam over hot iron oxide at about 400–450 °C ("shift"), the carbon monoxide turns into more hydrogen and carbon dioxide. The carbon dioxide is washed out with water under pressure. This is cheaper in fuel but needs more equipment and very careful purification.
2. Nitrogen
Air is 78% nitrogen and 21% oxygen. Burn hydrogen in a measured amount of air (or blow air through hot coke) and the oxygen is used up, leaving nitrogen (with about 1% argon). A larger works takes it from liquefied air instead (Liquid Air, Nitrogen and the Noble Gases). Mix with hydrogen in the ratio 3 volumes of hydrogen to 1 of nitrogen.
3. Purification
The catalyst is poisoned by tiny amounts of oxygen, water, carbon monoxide, carbon dioxide, sulfur, chlorine and arsenic. Gas from electrolysis needs only drying and removal of traces of oxygen (pass it over hot copper or iron, then through lime or strong lye). Gas from coke needs much more cleaning. Bad gas is the commonest reason a plant fails.
4. Catalyst
Melt pure magnetite with about 2–3% alumina (from clay or bauxite — Aluminium) and about 1% potash (Lye and Potash), in an The Electric Arc Furnace or a crucible in a very hot furnace. Cool it, crush it to pea-size pieces (6–10 mm) and load it into the converter. When warm hydrogen is passed over it, the oxide is reduced to a sponge of iron, propped open by the alumina and made more active by the potash. A good charge lasts many years if the gas is clean.
5. Compression
Compress the mixed gas in three to five stages, cooling it between stages with water, to 150–300 bar (Bosch's first plant at Oppau, 1913, ran at about 200 bar). Every joint, valve and gland must be tight: hydrogen leaks through gaps that hold air.
6. The converter
The heart of the plant is a tall, thick-walled forged steel cylinder packed with catalyst, with a heat exchanger inside it: incoming cold gas is warmed by the hot gas leaving, so once started the reaction keeps itself at 400–500 °C with its own heat. An electric heater starts it up.
Warning Hydrogen eats ordinary steel. At high temperature and pressure, hydrogen soaks into carbon steel, reacts with its carbon, and makes it brittle; Bosch's first converter tubes split after a few days. His solution: an inner lining of soft, almost carbon-free iron, to hold the hot gas, inside a strong outer steel shell drilled with small holes to let any hydrogen that seeped through escape harmlessly. Later plants used chromium–molybdenum steels (Alloy and Stainless Steels).
7. Condensing and recycling
Cool the gas leaving the converter with water (and, better, with an ammonia refrigeration coil — Ice and Refrigeration). At 200 bar much of the ammonia condenses to a liquid and is drawn off through a valve. The unreacted gas is pumped back to the converter with fresh gas. A little is bled off now and then so that argon does not build up.
How big? To fertilise one hectare of grain with 100 kg of nitrogen needs about 120 kg of ammonia, which by electrolysis takes roughly 1.3 MWh — about five days' output of a 10-kilowatt water turbine. A village-scale plant is a real possibility once you have the machine shop; a country needs factories.
A middle route: lime nitrogen
Between bones and Haber–Bosch there is an easier step that needs no high pressure. Heat calcium carbide (Calcium Carbide and Acetylene) to about 1,000–1,100 °C in a stream of nitrogen, and it absorbs nitrogen to become calcium cyanamide ("lime nitrogen", about 20% nitrogen). Spread on fields, it slowly releases ammonia into the soil; treated with steam under pressure, it releases ammonia gas. It was made from 1905 and was an important fertiliser for decades (Calcium Cyanamide, Dicyandiamide and Melamine). Cyanamide dust is toxic: wear a cloth mask, and avoid alcohol for a day after handling it (together they cause violent sickness).
Liquid ammonia
Under pressure, ammonia is stored as a liquid, which is how it is used in Ice and Refrigeration. Its pressure rises with temperature: about 8.5 bar at 20 °C, 11.7 bar at 30 °C and 15.5 bar at 40 °C. Store it in welded or forged steel cylinders (Welding) tested with water to at least twice the highest pressure they will meet, and never fill a cylinder more than about 80% full: liquid ammonia expands as it warms and will burst a full cylinder. Never use copper, brass or zinc fittings with ammonia — it corrodes them.
How to tell it worked
- Smell: unmistakable, sharp and eye-watering, even from a few drops.
- Indicator: ammonia water turns red cabbage juice green and red litmus blue (Acids, Bases and Testing).
- White smoke: hold a rag damp with Hydrochloric Acid (or strong vinegar, more weakly) near the bottle neck; a white cloud of ammonium chloride forms. This also finds leaks in refrigeration pipes.
- Ammonium sulfate: white, salty-bitter crystals that give off the smell of ammonia when mixed with lime and a drop of water.
- Haber–Bosch: the condenser collects a clear, colourless liquid that boils off fiercely into ammonia gas when a sample is let out.
Note Troubleshooting. Little ammonia from the urine → not aged long enough, or the pot was left open and the ammonia escaped. Keep collection pots covered; wait until the smell is strong. White crust blocks the pipe → ammonium carbonate. Add more lime; warm the pipe; use a wider pipe. Water rushed back into the hot pot → suck-back. Use the funnel just touching the surface; lift the receiver away before you stop heating. Bone liquor is weak and tarry → retort not hot enough or not sealed. Bring it to a full dull-red heat; separate the tar and redistil with lime. Haber catalyst stops working → poisoned gas: oxygen, water, carbon monoxide or sulfur got through. Improve purification; the catalyst may recover in pure hydrogen.
Dangers
Danger Ammonia gas burns eyes and lungs. You can smell it at tiny amounts; a strong whiff makes eyes stream and the throat close, and a large leak in a closed room can kill in minutes. Work outdoors or with good ventilation; set up stills and receivers so you are upwind. In a leak, get out and upwind — ammonia is lighter than air and rises, so keep low and leave. Rinse splashed eyes with clean water for at least 20 minutes; ammonia in the eye causes blindness. Liquid ammonia at −33 °C freezes skin instantly.
Danger Never mix ammonia or urine with bleach. Together they release chloramine gas, which is as poisonous as chlorine. See Chlorine and Bleach.
Danger High pressure and hydrogen. A burst pressure vessel releases its energy like a bomb and throws steel fragments; hydrogen leaks burn with an almost invisible flame and explode when mixed with air. Haber–Bosch equipment must be tested with water (which does not store energy) at 1½–2 times working pressure before gas is ever admitted, and run behind thick walls. Ammonia itself burns in air at 15–28% concentration in a closed space.
- Ammonia and some metal salts — of silver, gold, mercury and iodine — form unstable, shock-sensitive deposits when left to dry. Never store ammonia water in contact with them, and wash out any vessel that has held them.
- Bone retorts give off foul, flammable gases. Burn them off at the outlet, work outdoors, and keep the furnace away from buildings.
- Strong ammonia water blisters skin. Wear something over your eyes, and gloves, when handling it.
What this unlocks
Ammonia is the nitrogen half of Chemical Fertilisers — ammonium sulfate, and later Urea made from ammonia and carbon dioxide — which can double or triple harvests. Burnt with air over platinum gauze, ammonia also becomes Nitric Acid, and through it nitrate fertilisers. It is the refrigerant of large ice works and cold stores (Ice and Refrigeration), which keep food, milk and medicines. It is needed for the Solvay process for Soda Ash and Baking Soda, used in dyeing and cleaning, and is the starting point for many nitrogen chemicals used in medicine (Sulfa Drugs) and Rayon and Nylon such as nylon.
How it was first done
Ancient travellers collected a salt from the soot of camel-dung fires near the temple of the god Amun in the Libyan desert; the Romans called it sal ammoniacus, "salt of Amun", which gave ammonia its name. Medieval Arab and European chemists made it from soot, urine and hair, and "spirit of hartshorn" from distilled antler was sold as smelling salts. The English chemist Joseph Priestley first collected ammonia gas over mercury in 1774, and the Frenchman Claude Louis Berthollet showed in 1785 that it was made of nitrogen and hydrogen. Through the 1800s the gas works' liquor and Chilean nitrate were the world's nitrogen supply, until in 1898 the chemist William Crookes warned that wheat yields could not keep up with population. In 1909 Fritz Haber and Robert Le Rossignol made ammonia from its elements at high pressure in Karlsruhe; Carl Bosch of BASF, with Alwin Mittasch, who tested thousands of catalysts and settled on promoted iron, scaled it up, and the first plant opened at Oppau in Germany in 1913. Both men received Nobel Prizes. Today ammonia factories use around 1–2% of the world's energy, and most of the food on Earth is grown with their nitrogen.
Source: content/entries/chemistry/ammonia.md