Skip to main content

CALPHAD tools for designing thermodynamic models, calculating phase diagrams and investigating phase equilibria.

Project description

Join the chat at Test Coverage Build Status Development Status Latest version Supported Python versions License

Note: Unsolicited pull requests are _happily_ accepted!

pycalphad is a free and open-source Python library for designing thermodynamic models, calculating phase diagrams and investigating phase equilibria within the CALPHAD method. It provides routines for reading Thermo-Calc TDB files and for solving the multi-component, multi-phase Gibbs energy minimization problem.

The purpose of this project is to provide any interested people the ability to tinker with and improve the nuts and bolts of CALPHAD modeling without having to be a computer scientist or expert programmer.

For assistance in setting up your Python environment and/or collaboration opportunities, please contact the author by e-mail or using the issue tracker on GitHub.

pycalphad is licensed under the MIT License. See LICENSE.txt for details.

Required Dependencies:

  • Python 3.7+

  • matplotlib, numpy, scipy, symengine, xarray, pyparsing, tinydb


See Installation Instructions.


Jupyter notebooks with examples are available on NBViewer and


See the documentation on

Getting Help

Questions about installing and using pycalphad can be addressed in the pycalphad Google Group. Technical issues and bugs should be reported on on GitHub. A public chat channel is available on Gitter.


If you use pycalphad in your research, please consider citing the following work:

Otis, R. & Liu, Z.-K., (2017). pycalphad: CALPHAD-based Computational Thermodynamics in Python. Journal of Open Research Software. 5(1), p.1. DOI:


Development has been made possible in part through NASA Space Technology Research Fellowship (NSTRF) grant NNX14AL43H, and is supervised by Prof. Zi-Kui Liu in the Department of Materials Science and Engineering at the Pennsylvania State University. We would also like to acknowledge technical assistance on array computations from Denis Lisov.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycalphad-0.10.2.tar.gz (2.2 MB view hashes)

Uploaded source

Built Distributions

pycalphad-0.10.2-cp311-cp311-win_amd64.whl (726.4 kB view hashes)

Uploaded cp311

pycalphad-0.10.2-cp310-cp310-win_amd64.whl (730.1 kB view hashes)

Uploaded cp310

pycalphad-0.10.2-cp39-cp39-win_amd64.whl (736.4 kB view hashes)

Uploaded cp39

pycalphad-0.10.2-cp38-cp38-win_amd64.whl (738.4 kB view hashes)

Uploaded cp38

pycalphad-0.10.2-cp37-cp37m-win_amd64.whl (725.7 kB view hashes)

Uploaded cp37

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page