DensityX: A program for calculating the densities of magmatic liquids up to 1,627 °C and 30 kbar

Main Article Content

Kayla Iacovino
Christy B Till


Here we present a standalone program, DensityX, to calculate the densities of hydrous silicate melts (1000s of samples in a single model run) given pressures, temperatures, and major oxide compositions in wt.% in the 10-component system SiO2-TiO2-Al2O3-Fe2O3-FeO-MgO-CaO-Na2O-K2O-H2O. We use DensityX to analyze over 3,000 melt inclusions over a wide compositional range to visualize the distribution of natural silicate liquid densities in the Earth’s crust. The program is open-source, written in Python, and can be accessed and run via an online interface through a web browser at or by downloading and running the code from a github repository. A companion Excel spreadsheet can also be used to run density calculations identical to those in the Python script but only for one sample at a time. In another example application, we demonstrate how DensityX can be used to constrain density-driven convective cycling in the phonolitic lava lake of Erebus volcano, Antarctica.


Download data is not yet available.

Article Details

How to Cite
Iacovino, K. and Till, C. B. (2019) “DensityX: A program for calculating the densities of magmatic liquids up to 1,627 °C and 30 kbar”, Volcanica, 2(1), pp. 1–10. doi: 10.30909/vol.02.01.0110.
Citation information
This article has citations in Scopus
Link to article page on Google Scholar
Connected papers
Received 2018-05-29
Accepted 2019-02-07
Published 2019-02-11
Alternative metrics via Dimensions and altmetric


Smart Citations via scite_