CHNOSZ: Thermodynamic Calculations and Diagrams for Geochemistry

An integrated set of tools for thermodynamic calculations in aqueous geochemistry and geobiochemistry. Functions are provided for writing balanced reactions to form species from user-selected basis species and for calculating the standard molal properties of species and reactions, including the standard Gibbs energy and equilibrium constant. Calculations of the non-equilibrium chemical affinity and equilibrium chemical activity of species can be portrayed on diagrams as a function of temperature, pressure, or activity of basis species; in two dimensions, this gives a maximum affinity or predominance diagram. The diagrams have formatted chemical formulas and axis labels, and water stability limits can be added to Eh-pH, oxygen fugacity- temperature, and other diagrams with a redox variable. The package has been developed to handle common calculations in aqueous geochemistry, such as solubility due to complexation of metal ions, mineral buffers of redox or pH, and changing the basis species across a diagram ("mosaic diagrams"). CHNOSZ also implements a group additivity algorithm for the standard thermodynamic properties of proteins.

Version: 2.1.0
Depends: R (≥ 3.1.0)
Imports: grDevices, graphics, stats, utils
Suggests: tinytest, knitr, rmarkdown, tufte
Published: 2024-02-11
DOI: 10.32614/CRAN.package.CHNOSZ
Author: Jeffrey Dick ORCID iD [aut, cre]
Maintainer: Jeffrey Dick <j3ffdick at>
License: GPL-3
NeedsCompilation: yes
Citation: CHNOSZ citation info
Materials: README NEWS
In views: ChemPhys
CRAN checks: CHNOSZ results


Reference manual: CHNOSZ.pdf
Vignettes: CHNOSZ FAQ
OBIGT thermodynamic database
An Introduction to CHNOSZ
Customizing the thermodynamic database
Regressing thermodynamic data
Equilibrium in CHNOSZ
Diagrams with multiple metals


Package source: CHNOSZ_2.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): CHNOSZ_2.1.0.tgz, r-oldrel (arm64): CHNOSZ_2.1.0.tgz, r-release (x86_64): CHNOSZ_2.1.0.tgz, r-oldrel (x86_64): CHNOSZ_2.1.0.tgz
Old sources: CHNOSZ archive

Reverse dependencies:

Reverse imports: accucor, ecipex, LipidMS
Reverse suggests: canprot


Please use the canonical form to link to this page.