How does it work?
Metallic bonding
Metal atoms have few valence electrons and give them up easily. In a piece of metal these electrons don't belong to any single atom — they form a shared “sea of electrons” that holds together the lattice of positive ions. Hence electrical and thermal conductivity (electrons can flow and carry energy), metallic luster, and malleability and ductility.
Reduction: how to take oxygen away from ore
Most metals occur in nature as oxides or sulfides. To get the metal, it has to be reduced. In a blast furnace the reducing agent is carbon monoxide from coke:
More reactive metals — aluminum, magnesium, sodium — hold on to oxygen too strongly for carbon to take it. They need electricity. Faraday's law tells us how much metal a given charge produces:
Steel: iron plus a pinch of carbon
Pig iron from a blast furnace has about 4% carbon and is brittle. In a converter, oxygen burns out most of the carbon, usually leaving 0.05–1%. With slow cooling, the carbon forms plates of hard cementite Fe₃C in pearlite. With rapid cooling (quenching) it gets trapped in the iron lattice — forming very hard and brittle martensite. Tempering, i.e. reheating to 150–650 °C, reduces hardness and brittleness.
Alloys and karats
Simplifications: all the simulations are models with approximate numbers. The sea of electrons is the classical Drude model (real electrons in a metal are described by quantum mechanics). The blast furnace has a simplified heat balance, the microstructures are for slowly cooled carbon steel, and the blacksmith game is based on typical charts for steel with about 1% C. The year of the data is given next to numbers that change over time.