Binary Phase Diagram & Lever Rule Back
Materials Science

Binary Phase Diagram & Lever Rule Calculator

Real-time drawing of isomorphous, eutectic, and peritectic phase diagrams. Automatically calculates phase fractions and equilibrium compositions via the lever rule at any temperature and composition.

Parameters
Alloy Presets (composition)
Component A Melting Point T_mA
°C
Component B Melting Point T_mB
°C
Alloy Composition C₀ (mol%B)
%
Freezing-gap coefficient κ
Cooling Animation
Current Temperature T (scrub)
°C
Cooling rate
×
Results (live)
Current Temp. T
Present Phase(s)
Liquid Fraction f_L
Solid Fraction f_α
Liquid Comp. C_L
Solid Comp. C_α
Liquidus Temp. T_L
Solidus Temp. T_S
Cooling phase diagram (tie-line + lever)
Microstructure (solid grains growing in liquid)
Theory & Key Formulas

Phase fractions in the two-phase region (temperature T, alloy composition $C_0$) are set by the lever rule:

$$f_\alpha = \frac{C_0 - C_L}{C_\alpha - C_L}, \quad f_L = 1 - f_\alpha = \frac{C_\alpha - C_0}{C_\alpha - C_L}$$

$C_L$ is the liquidus composition at that temperature and $C_\alpha$ the solidus composition. The tie-line ends are $C_L,\,C_\alpha$ and the alloy composition $C_0$ is the fulcrum; each phase fraction equals the inverse ratio of the lever-arm lengths.

Equilibrium vs non-equilibrium solidification (Scheil):

$$C_S = k\,C_0\,(1-f_S)^{k-1}, \quad k = \frac{C_\alpha}{C_L}$$

$k$: partition coefficient. When $k<1$ the solute segregates to the liquid (inverse segregation).

What is a Binary Phase Diagram & Lever Rule?

🙋
What exactly is a binary phase diagram? I see the simulator cools an alloy down through one.
🎓
Basically, it's a map for two-element alloys. This tool uses an isomorphous system (like copper-nickel, where both metals dissolve fully). Press "Play" and the red marker for your alloy composition C₀ slides down the temperature axis: above the liquidus it's all liquid, once it crosses the liquidus solidification begins, and at the solidus it is fully solid. The band between liquidus and solidus is the two-phase L + α region.
🙋
Wait, really? While it's freezing in the two-phase region, how do I know how much liquid and how much solid is present?
🎓
That's where the lever rule comes in! Inside the two-phase region a horizontal tie-line is drawn at the marker's height; its ends give the liquid composition C_L and solid composition C_α. The alloy composition C₀ is the fulcrum of a seesaw, and each phase fraction is the inverse ratio of the lever-arm lengths. As the alloy cools you can watch f_L and f_α change live, both in the numbers and in the microstructure box where solid grains grow in the liquid. You can also drag the "Current Temperature T" slider to scrub manually.
🙋
That makes sense. But what's "segregation" mentioned in the theory? Is that related to the partition coefficient k in the formula?
🎓
Great question. Segregation is when the composition is not uniform as the alloy solidifies. The Scheil equation shown here is a reference expression only; this page does not run a Scheil simulation or provide a partition-coefficient k slider.

Physical Model & Key Equations

The lever rule calculates the mass or mole fractions of two coexisting phases (α and Liquid) at equilibrium for a given overall composition $x_0$ and temperature T. It's a mass balance derived from the phase diagram.

$$f_\alpha = \frac{x_0 - x_L}{x_\alpha - x_L}, \quad f_L = 1 - f_\alpha$$

$f_\alpha, f_L$: Fraction of α (solid) and Liquid phase.
$x_0$: Overall composition of the alloy (mol% B).
$x_L, x_\alpha$: Composition of the Liquid and α phase at the temperature T, read from the liquidus and solidus lines.

The Scheil equation models non-equilibrium solidification, where diffusion in the solid is negligible. It predicts how solute builds up in the remaining liquid, leading to segregation.

$$C_S = k\,C_0\,(1-f_S)^{k-1}, \quad k = \frac{x_\alpha}{x_L}$$

$C_S$: Composition of the solid forming at fraction $f_S$.
$C_0$: Initial liquid composition ($x_0$).
$k$: Partition coefficient. If $k\lt 1$, solute is rejected into the liquid, enriching it as solidification proceeds.

Frequently Asked Questions

No, manual input is not required for the presets. This tool incorporates isomorphous and eutectic diagrams, while peritectic mode is a simplified placeholder. Moving the temperature slider calculates the equilibrium composition and lever-rule phase fractions for the displayed model.
The lever rule provides phase fractions under equilibrium conditions, which hold true under ideal conditions where the cooling rate is sufficiently slow and diffusion is complete. For non-equilibrium solidification, such as in actual casting, different models like the Scheil equation are required. This tool primarily performs equilibrium calculations; the Scheil equation is shown as a reference expression only.
When the overall composition crosses a boundary between a single-phase region and a two-phase coexistence region (such as the liquidus or solidus line), the types of phases present change, causing a discontinuous change in the phase fractions. This is the correct behavior when the composition crosses a phase boundary on the phase diagram, and the tool automatically detects these boundaries and switches the calculations accordingly.
Currently, there is no function to save graph images, but you can manually copy the numerical values of the phase fractions and compositions displayed at the bottom of the screen for your use. Additionally, since changes can be observed in real time when varying the temperature or overall composition, it is ideal for educational materials or demonstration purposes to understand phenomena.

Real-World Applications

Alloy Design & Processing: Engineers use these diagrams to select heat treatment temperatures (like for annealing or homogenization) and to predict the melting range of an alloy, which is critical for casting and welding processes.

Casting & Solidification Simulation: The lever rule and Scheil equation are foundational inputs for CAE software that simulates casting. They help predict where shrinkage porosity or severe segregation (like "centerline segregation" in steel ingots) might occur, guiding the design of risers and chills.

Welding Metallurgy: The rapid heating and cooling in a weld's Heat-Affected Zone (HAZ) can be approximated using phase diagrams. Predicting the phases that form helps assess the risk of cracking or corrosion, crucial for welding aerospace or pipeline components.

Foundation for CALPHAD: Binary systems are the building blocks for the CALPHAD method used in sophisticated materials design software. It computationally extrapolates these principles to complex, multi-component alloys used in jet engines or battery materials.

Common Misconceptions and Points to Note

When you start using this tool, there are a few common pitfalls to watch out for. First, be mindful of whether the overall composition is given in weight percent (wt%) or atomic percent (at%). The simulator input is typically mole fraction (similar to at%), but material specification sheets in practice are often written in wt%. For example, the eutectic point of an Al-Si alloy is about 12.6 wt% Si, but it's about 18.6 at% Si. Confusing these units will cause you to completely misplace the point on the phase diagram, so be careful.

Second, remember that the lever rule calculates for "equilibrium conditions". In actual casting, the cooling rate is fast, so the composition of the liquid and solid phases does not become uniform as calculated. Treat the equilibrium calculation result from the tool as an "ideal limit value." The trick is to compare it with the Scheil equation shown as a reference to intuitively grasp how much reality deviates. For instance, for an alloy with a partition coefficient k=0.5 at a solid fraction $f_S$ of 0.5, the solid composition $C_S$ returns to $C_0$ under equilibrium. However, under non-equilibrium (Scheil equation), it remains significantly lower at $C_S = 0.5 C_0 (1-0.5)^{-0.5} \approx 0.707 C_0$. This is the essence of segregation.

Third, understand the limitations of "binary systems". Most practical alloys, like Fe-Cr-Ni, are ternary or more complex. The principles you learn with this tool are foundational, but in reality, the presence of a third element can significantly shift liquidus lines and eutectic temperatures. It's risky to directly apply binary system calculation results to practical work; think of this strictly as a "training tool for understanding phase equilibrium concepts."

How to Use

  1. Select the Cu-Ni, Pb-Sn, Ag-Cu, or Al-Si preset, or enter melting points for components A and B.
  2. For eutectic systems, set eutectic temperature TE and composition xE in wt%.
  3. Set the target temperature and alloy composition, then read phase fractions from the lever rule.
  4. Use peritectic mode only as a simplified placeholder, not as a peritectic reaction model.

Worked Example

For the Pb-Sn eutectic preset at xB=40 wt% Sn and T=200°C, the model is in the liquid + α region. The liquid composition is about 54.6 wt% Sn and the α composition is about 5.5 wt% Sn; the lever rule gives about 70.3% liquid and 29.7% α phase.

Practical Notes

🎬 Watch it in motion

Phase Transitions of Matter Explained | Melting, Boiling and Sublimation Visualized
Phase Transitions of Matter Explained | Melting, Boiling and Sublimation Visualized