Phase Diagrams & the Iron–Carbon System

Maps of what forms at each composition and temperature. Learn phases, components and equilibrium, the Gibbs phase rule, unary diagrams, binary isomorphous systems (Cu–Ni) with the tie line and lever rule, eutectic, eutectoid and peritectic reactions, microstructure development on cooling, and the iron–iron carbide diagram (ferrite, austenite, cementite, pearlite, hypo- and hypereutectoid steels, cast irons) — with Python applying the lever rule to find phase and microconstituent fractions in a 0.40% C steel.

Phase diagrams show which phases are stable for any alloy composition and temperature. They are the roadmap for casting, welding, heat treatment and alloy design.

The iron–carbon diagram is the most important in engineering: it explains why steels with slightly different carbon contents behave so differently.

An analogy

A phase diagram is like a weather map for alloys: at each 'location' (composition) and 'altitude' (temperature) it tells you whether you'll find liquid, one solid, or a mixture of two — and the lever rule tells you how much of each.

Phases and equilibrium

A phase is a region of uniform structure and composition (liquid, solid solution, compound). Components are the chemical species (Fe and C). Equilibrium phase diagrams assume slow cooling. Reading a diagram: locate the point (composition, temperature); if in a two-phase field, draw a horizontal tie line — its ends give phase compositions, and the lever rule gives phase amounts.

Binary diagram types

Common features:

The Fe–Fe₃C diagram

Phases: α-ferrite (BCC, ≤ 0.022% C, soft), γ-austenite (FCC, ≤ 2.14% C, only stable at high temperature in plain steels), Fe₃C cementite (6.70% C, hard and brittle), δ-ferrite at very high temperature. Steels < 2.14% C; cast irons > 2.14%. Hypoeutectoid steels (< 0.76% C): proeutectoid ferrite + pearlite; eutectoid (0.76%): 100% pearlite; hypereutectoid (> 0.76%): proeutectoid cementite on grain boundaries + pearlite.

Beyond equilibrium

Real processes are rarely at equilibrium: coring in castings, non-equilibrium eutectic, and — most importantly — rapid cooling of steel that bypasses the diagram entirely to form bainite or martensite (next lesson). Alloying elements shift the eutectoid composition and temperature (Ni, Mn lower A1; Cr, Mo, Si raise it). Ternary and multicomponent diagrams (stainless steels: Schaeffler diagram) and computational thermodynamics (CALPHAD, Thermo-Calc) are used for modern alloy design.

Formulas

Worked example: Degrees of freedom

Given: Binary alloy at the eutectic point (L + α + β), constant P

Find: F.

Answer: 0 — invariant point

Worked example: Pearlite in 0.20% C steel

Given: C₀ = 0.20

Find: W_p.

Answer: 0.24 (24% pearlite)

Worked example: Hypereutectoid steel

Given: 1.0% C just below 727 °C

Find: Proeutectoid cementite fraction.

Answer: 0.040 (4%)

Lever rule in a 0.40% C steel

# Fe-Fe3C lever rule: phases and microconstituents in a 0.40% C steel just below 727 C
C0 = 0.40
Ca, Cp, Cfe3c, Ce = 0.022, 0.76, 6.70, 0.76   # ferrite, pearlite (eutectoid), cementite, eutectoid
W_ferrite_total = (Cfe3c - C0) / (Cfe3c - Ca)
W_cementite = 1 - W_ferrite_total
W_pearlite = (C0 - Ca) / (Ce - Ca)
W_proeutectoid = 1 - W_pearlite
print(f"phases: ferrite {W_ferrite_total:.3f}, cementite {W_cementite:.3f}")
print(f"microconstituents: proeutectoid ferrite {W_proeutectoid:.3f}, pearlite {W_pearlite:.3f}")
# Estimated hardness by rule of mixtures (ferrite ~80 HB, pearlite ~240 HB)
print(f"estimated hardness ~ {W_proeutectoid*80 + W_pearlite*240:.0f} HB")
# phases: ferrite 0.943, cementite 0.057
# microconstituents: proeutectoid ferrite 0.488, pearlite 0.512
# estimated hardness ~ 162 HB

A 0.40% C steel (like EN8/C40) is 94% ferrite and 6% cementite as phases, but under the microscope you see about half proeutectoid ferrite grains and half pearlite colonies (fine layers of ferrite and cementite). More carbon → more pearlite → stronger and harder but less ductile; the rough hardness estimate matches typical normalised C40 (~160–200 HB).

Common mistakes

Applications

Key takeaways

Going further