Density of a glycerol and water mixture (viscosity not yet given)
calc_glycerol_water_properties
Works out the density of a glycerol and water mixture from its glycerol mass fraction and temperature.
- Runs
- On the server
- Level
- Its calculation passed Drybench's full check: source read, a separately written implementation, edge and refusal cases, and an outside comparison where one exists. It stays below the top level because no measured prediction error is available for the model. Calculation fully checked; model error not measured
What it is
Returns the density of a glycerol and water mixture from its glycerol mass fraction and temperature. The model is Volk and Kähler's of 2018. Use when index-matching, making a density gradient or a flow phantom, with the glycerol content as % w/w. Validated between 15 and 30 °C, where its authors report a maximum deviation under 0.07 % from Bosart and Snoddy's measured densities, not recomputed here; outside that range it refuses. Viscosity is not given in this version. Not for molarity: use `calc_concentration_forms` with the density returned.
Field: Solutions and bench arithmetic.
What it does
You give
glycerolMassFraction(required): Glycerol mass fraction (% w/w); a volume fraction is not accepted. Must be at least 0 and at most 1.temperature(required): Temperature of the mixture. Must be above 0 K.
No request is recorded for this tool.
Limits
- Bench arithmetic on solutions you describe.
- Research and education software: it does not look up densities, check that a label is right, or assess hazards.
- The density of a glycerol and water mixture from Volk and Kähler's empirical model, which they report deviates less than 0.07 % from measured densities between 15 and 30 °C at glycerol mass fractions from 0 to 100 %; outside that temperature range it is refused, never extrapolated.
- The glycerol content is a mass fraction, not a volume fraction.
- Viscosity is not given.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
It will not answer when
- the temperature is outside the range the model was validated in; it is never extrapolated.
Every input, with its units2 inputs
glycerolMassFraction(required): Glycerol mass fraction (% w/w); a volume fraction is not accepted. Must be at least 0 and at most 1.temperature(required): Temperature of the mixture. Must be above 0 K.
Every refusal, with its code1 refusal
| Code | When |
|---|---|
TEMPERATURE_OUTSIDE_VALIDATION | the temperature is outside the range the model was validated in; it is never extrapolated. |
The calculation
The method's equations, constants and worked example.
Equation 1
| Symbol | Meaning |
|---|---|
ρ0 | density of pure water, the paper's own term, kg/m^3 |
T | temperature, in degrees Celsius as the paper writes it (the input in K less 273.15), degC |
Source 1.
Equation 2
| Symbol | Meaning |
|---|---|
ρg | density of pure glycerol, kg/m^3 |
T | temperature, in degrees Celsius as the paper writes it (the input in K less 273.15), degC |
Source 1.
Equation 3
κ = 1 + A·sin(w^1.31·π)^0.81 with A = 1.78×10⁻⁶·T² − 1.82×10⁻⁴·T + 1.41×10⁻²
κ = 1 for a pure liquid
| Symbol | Meaning |
|---|---|
κ | volume contraction coefficient |
w | glycerol mass fraction |
A | temperature-dependent coefficient |
T | temperature, in degrees Celsius as the paper writes it (the input in K less 273.15), degC |
Source 1.
Equation 4
ρs = ρ0 at w = 0
given in g/mL, ρs in kg/m³ ÷ 1000
| Symbol | Meaning |
|---|---|
ρs | density of the solution, kg/m^3 |
ρ0 | density of pure water, kg/m^3 |
ρg | density of pure glycerol, kg/m^3 |
w | glycerol mass fraction |
Source 1.
A model of nature: it predicts a measurement and can be wrong for your sample. No prediction error is available.
Worked example
Worked example: one case of calc-glycerol-water-density@2.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- glycerolMassFraction = 0.5
- temperature = 20 degC
Steps
- rho0 = 0.99804568 g/mL, from temperature; by equation 1.
- rhog = 1.26076 g/mL, from temperature; by equation 2.
- kappa = 1.010756, from temperature, glycerolMassFraction; by equation 3.
- rho = 1.1261086 g/mL, from rho0, rhog, kappa, glycerolMassFraction; by equation 4; gives mixtureDensity.
The working, as the case writes it:
ρ0 = 1000(1 − |16.02/615|^1.71) = 998.04568 kg/m³
ρg = 1273 − 0.612 × 20 = 1260.76 kg/m³
A = 1.78e-6 × 400 − 1.82e-4 × 20 + 1.41e-2 = 0.011172
κ = 1 + A·sin(0.5^1.31·π)^0.81 = 1.010756
Eq. (5) at w = 0.5, where 1/w − 1 = 1: ρs = κ[ρ0 + (ρg − ρ0)/(1 + ρg/ρ0)] = 1126.1086 kg/m³ = 1.1261086 g/mL.
Answer
mixtureDensity = 1.1261086 g/mL
Where these values came from: our own exact-arithmetic script and a hand-worked case; Volk and Kähler 2018, Eqs. (5) to (9), at 50 digits here.
At build the tool returned this answer within the tolerance the file states: relative 1e-12 on the density (absolute 1e-312 below 1e-300 g/mL), stated before the run; the mass fraction relative 1e-15; statuses, codes, notes and units exact; the CoolProp checks within relative 2e-3.
Sources
Volk A, Kähler CJ. Density model for aqueous glycerol solutions. Exp Fluids 59:75 (2018)
Used for: Density of an aqueous glycerol solution from its glycerol mass fraction and temperature (Volk and Kähler 2018). At: equation Eq. (6), page 2; equation Eq. (7), page 2; equation Eqs. (8) and (9), page 2; equation Eq. (5), page 2.
Read in full, 11 November 2026
How it is checked
- Level
Calculation fully checked; model error not measured.
- Checked against
Our own exact-arithmetic script and a hand-worked case.
- Cases
No case set is linked to this version.
- Not checked
The model against Bosart and Snoddy's measured table (not read: no measured prediction error is printed until an independent dataset is read and the deviation recomputed; CoolProp's MGL, a fit to Melinder 2010, agrees within relative 2e-3 up to w = 0.6); viscosity (waits for Cheng 2008); the inverse, a mass fraction for a target density (held for 1.1.0); ternary mixtures; temperatures outside the validated range.
Changes to its methods1 change
- 24 November 2026, calc-glycerol-water-density@2.0.0: In 2.0.0 the note reads, in the CSO's words: "An empirical fit to measured densities (Volk and Kähler 2018), valid only in the temperature range the limits line states; its authors' stated deviation was not recomputed here, so no measured prediction error is reported." The description says the authors report a maximum deviation under 0.07 % from Bosart and Snoddy's measured densities, not recomputed here.