Structure & Transformations · Phase diagrams
Phase diagram calculator
Pick 2, 3 or 4 elements and set how much of each your alloy has. The page works out which phases are stable at each temperature, how much of each there is, and what each one is made of. It calculates in your browser from published thermodynamic data.
The idea in one picture: the lowest Gibbs energy wins
At each temperature every phase has a curve of Gibbs energy against composition. The alloy takes the lowest energy it can reach. Where one curve is lowest, the alloy is that phase alone. Where a straight line touching two curves lies below both, the alloy splits into two phases with the compositions of the two touching points. Doing this at every temperature draws the phase diagram. Drawn for two metals A and B that mix ideally.
Sources. Porter, Easterling and Sherif, Phase Transformations in Metals and Alloys, 3rd ed., CRC Press (2009), chapter 1. Hillert, Phase Equilibria, Phase Diagrams and Phase Transformations, 2nd ed., Cambridge University Press (2008).
1. Pick 2 to 4 elements
Grey dashed elements have no published data with the elements you picked.
2. Set the amount of each
The grey element is the balance: it makes up the rest. Click another element's symbol to make it the balance.
| Phase | Share | Made of |
|---|
Key temperatures for your alloy
Try it: the page opens on 70/30 brass (Cu with 30 wt.% Zn). Drag the temperature to 930 °C: the alloy is part liquid, about 35% liquid and 65% FCC solid by mass. Then press the 7075 type example (Al with 5.6 Zn, 2.5 Mg and 1.6 Cu, in wt.%): the cooling chart shows MgZn2 (Laves C14, called η in aluminium alloys) forming below about 430 °C. The CrCoNi example (equal atoms, in at.%) is all FCC from 1417 °C down to about 810 °C in the MatCalc data, with σ below that.
How do you read a phase diagram?
A phase is a region of a material with one crystal structure (or the liquid) and one composition. A phase diagram shows which phases are stable for each composition and temperature, after the alloy has had time to reach equilibrium (very slow cooling, or a long anneal).
Inside a one-phase region the whole alloy is that phase, with the alloy's own composition.
Inside a two-phase region the alloy splits into two phases. Draw a horizontal line (a tie-line) at your temperature to the two boundaries: their compositions are the compositions of the two phases. The lever rule gives the amounts: the closer your alloy sits to one boundary, the more of that phase there is. The blue line in the picture is that tie-line.
Horizontal lines are reactions where three phases meet at one temperature, for example a eutectic (liquid turns into two solids) or a peritectic (liquid and a solid make a new solid).
With three elements there is one more composition to set, so the page shows one temperature at a time as a triangle. Each corner is a pure element. Three-phase regions are triangles: inside one, the alloy is a mix of the three phases at its corners.
How does the calculator work?
Every phase has a Gibbs energy that depends on temperature and composition. The stable state is the mix of phases with the lowest total Gibbs energy. This is the CALPHAD method (CALculation of PHAse Diagrams): experts fit each phase's Gibbs energy to measured phase boundaries and heats, and publish the fitted terms as a database. The page reads those terms and finds the lowest-energy mix itself.
What can it not tell you?
Real cooling is faster than equilibrium. In a casting, the solid has no time to even out its composition, so the last liquid freezes at a lower temperature than the diagram says. The Scheil lab shows this.
Metastable phases are not shown. Phases such as the GP zones and θ′ in aged aluminium alloys, or martensite in steel, never have the lowest energy, so an equilibrium calculation never finds them.
Mixes of more elements are guesses where data are missing. If a pair of your elements was never assessed, the page warns you. The energy of that pair is then built from the pure elements alone, which can be far off.
There is no gas. The data have no gas phase, so boiling (Mg at 1090 °C, Zn at 907 °C) is not shown. Above roughly 3000 °C most data are extrapolated.
Questions people ask
What is a phase diagram?
A map of which phases are stable at each temperature and composition. For two elements it is a plot of temperature against composition. Reading across at one temperature tells you whether the alloy is liquid, solid, or a mix, and what each part is made of.
What is the difference between wt.% and at.%?
wt.% counts mass; at.% counts atoms. In Cu with 30 wt.% Zn, the Zn atoms are a little heavier than Cu atoms, so Zn is 29.4 at.%. With a light element in a heavy one the gap is large: Al with 1 wt.% Li is 3.8 at.% Li.
How do I use the lever rule?
In a two-phase region, take the tie-line at your temperature. If phase α has composition Cα, phase β has Cβ and the alloy has C0, then the share of β is (C0 − Cα)/(Cβ − Cα). The table on this page does it for you.
Which alloys can I calculate?
Any 2, 3 or 4 of the elements in the picker. Two elements need a published assessment of that pair. Three and four use the COST 507 light alloy data, except Co-Cr-Ni, which uses the MatCalc nickel data; the page names any pair that has no assessment so you know which results to doubt.
Can it calculate steels or nickel superalloys?
Only in part. Co-Cr-Ni and its pairs use the open MatCalc nickel database. Steels with their carbides, and superalloys with Al, Ti and the other elements that form γ′, are not on this page.
Why are Ni-Co-V and γ′ left out of the MatCalc data?
The MatCalc nickel database is built for many-element superalloys, and two of its parts give results that experiments do not show. Its Ni-V terms put the solidus of Ni with 5 at.% V near 1040 °C, about 400 °C below the COST 507 value, so Ni-Co-V is not offered and Ni-V uses COST 507. Its simple γ′ model predicts an ordered Ni3Co between about 570 and 850 °C, and γ′ next to liquid at 1450 °C. So γ′ is left out for Co, Cr and Ni. The pycalphad code gives the same results from the original file. mc_ni-LICENSE.txt lists the licence and every change made to the file.
Why does it not match the diagram in my textbook?
Most textbook diagrams are drawn from experiments; this page calculates from a fitted model. They usually agree within a few degrees and a few percent. Where they differ by more, the model or the experiments may be off: check the original assessment paper.
Related: Regular solution and Scheil lab (build a phase diagram from one interaction energy) · Hume-Rothery rules (when two metals mix) · Intermetallic structures · Order-disorder lab (the B2 and L12 ordering in this page's data) · Short-range order
References
Show the 20 references
- I. Ansara, A. T. Dinsdale and M. H. Rand (eds.), COST 507: Thermochemical Database for Light Metal Alloys, Vol. 2, European Commission, EUR 18499 (1998). The database file used here is the one distributed with pycalphad.
- A. T. Dinsdale, SGTE data for pure elements, Calphad 15, 317 to 425 (1991). doi:10.1016/0364-5916(91)90030-N
- N. Dupin, I. Ansara and B. Sundman, Thermodynamic re-assessment of the ternary system Al-Cr-Ni, Calphad 25, 279 to 298 (2001), Al-Ni part; also listed by the MatCalc data for Cr-Ni. doi:10.1016/S0364-5916(01)00049-9
- B. Sundman, S. G. Fries and W. A. Oates, A thermodynamic assessment of the Au-Cu system, Calphad 22, 335 to 354 (1998). doi:10.1016/S0364-5916(98)00034-0
- H. Q. Dong, X. M. Tao, T. Laurila, V. Vuorinen and M. Paulasto-Kröckel, Thermodynamic modeling of Au-Ce-Sn ternary system, Calphad 42, 38 to 50 (2013), Au-Sn part. doi:10.1016/j.calphad.2013.06.005
- Y. Zhong, K. Ozturk, J. O. Sofo and Z.-K. Liu, Contribution of first-principles energetics to the Ca-Mg thermodynamic modeling, Journal of Alloys and Compounds 420, 98 to 106 (2006). doi:10.1016/j.jallcom.2005.10.034
- N. Dupin and I. Ansara, Thermodynamic assessment of the Cr-Ta system, Journal of Phase Equilibria 14, 451 to 456 (1993). doi:10.1007/BF02671963
- C. Shi, B. Yang, B. Hu, Y. Du and S. Yao, Thermodynamic modeling of the Al-Te and Ga-Te systems, Journal of Phase Equilibria and Diffusion 40, 392 to 402 (2019). doi:10.1007/s11669-019-00733-0
- E. Povoden-Karadeniz (copyright holder and editor), MatCalc Ni database mc_ni, version 2.036, TU Wien (2024), https://www.matcalc.at. Made available under the Open Database License 1.0, with its contents under the Database Contents License 1.0. The derived files on this site are shared under the same licences; mc_ni-LICENSE.txt lists the changes. The database lists the next six papers for the pairs used here, but does not say which parameter comes from which paper.
- A. Kusoffsky and B. Jansson, A thermodynamic evaluation of the Co-Cr and the C-Co-Cr systems, Calphad 21, 321 to 333 (1997), Co-Cr. doi:10.1016/S0364-5916(97)00033-3
- A. Fernández Guillermet, Thermodynamic properties of the Fe-Co-Ni-C system, Zeitschrift für Metallkunde 79, 524 to 536 (1988), Co-Ni.
- S. Huang, L. Li, O. Van der Biest and J. Vleugels, Thermodynamic assessment of the Co-V and Co-V-C system, Journal of Alloys and Compounds 385, 114 to 118 (2004), Co-V.
- B.-J. Lee, On the stability of Cr carbides, Calphad 16, 121 to 149 (1992), Cr-Ni.
- M. Hillert and C. Qiu, A reassessment of the Cr-Fe-Ni system, Metallurgical Transactions A 21, 1673 to 1680 (1990), Cr-Ni. doi:10.1007/BF02672583
- P. E. A. Turchi, L. Kaufman and Z.-K. Liu, Modeling of Ni-Cr-Mo based alloys: Part I, phase stability, Calphad 30, 70 to 87 (2006), Cr-Ni. doi:10.1016/j.calphad.2005.10.003
- H. L. Lukas, S. G. Fries and B. Sundman, Computational Thermodynamics: The Calphad Method, Cambridge University Press (2007): the sublattice, Redlich-Kister, Muggianu and order-disorder models used here.
- M. Hillert and M. Jarl, A model for alloying effects in ferromagnetic metals, Calphad 2, 227 to 238 (1978). doi:10.1016/0364-5916(78)90011-1
- R. Otis and Z.-K. Liu, pycalphad: CALPHAD-based computational thermodynamics in Python, Journal of Open Research Software 5, 1 (2017). doi:10.5334/jors.140
- T. Prohaska et al., Standard atomic weights of the elements 2021 (IUPAC Technical Report), Pure and Applied Chemistry 94, 573 to 600 (2022): atomic weights for the wt.% to at.% conversion. doi:10.1515/pac-2019-0603
- D. A. Porter, K. E. Easterling and M. Y. Sherif, Phase Transformations in Metals and Alloys, 3rd ed., CRC Press (2009): chapter 1 (binary phase diagrams, the lever rule) and section 1.6 (ternary diagrams).
BibTeX
@misc{tripathy2026phasediagram,
author = {Tripathy, Manisha},
title = {Phase Diagram Calculator},
year = {2026},
howpublished = {\url{https://untetheredatom.com/phase-transformations/phase-diagram-calculator}},
note = {Interactive web tool}
}