Skip to content

Methods and checksMethods

How every result is reached and what it was checked against, app by app.

Methods and checks pages

Ionic product of pure liquid water, pKw on the molality basis (IAPWS R11-24), at a stated temperature and pressure, version 1.0.1

calc-water-pkw@1.0.1: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.

What this page can and cannot show

Level: Checked against a reference; Matches R11-24 Table 3 (3 states) and Table 2 outside the window; molality basis; data deviate up to 0.05. Reference kind: a reference program this project wrote itself, stored reference values: IAPWS-95, SR1-86, R11-24 and R12-08 in Python decimal at 50 digits, typed from the releases by a separate agent, CPython 3.13.18, Python decimal, 50 digits; ln and exp at 50 digits; the density solved to a relative change of 1e-40; not an outside program; a reference program this project wrote itself, second implementation (Python 3.13), 2026-11-14, mpmath 1.4.1 at 50 digits on the exact rationals of the input doubles, the density solved to a relative 1e-45, rounded once; not an outside program; a reference program this project wrote itself, second implementation (Python 3.13), 2026-11-14, mpmath 1.4.1 at 50 digits on each state as W1 reads it, the density solved to a relative 1e-45, rounded once; not an outside program; a reference program this project wrote itself, second implementation (Python 3.13), 2026-11-14, mpmath at 60 digits on the exact rationals of the input values, the density root rounded once; not an outside program.

Checked by this project, not independently reviewed. Every method on this page has its equations, constants, sources and cases on record, and its cases agree with the stated reference within the stated tolerance. A reader can follow each method's worked example by hand; that shows the stated method gives the stated answer for one set of inputs, and does not test the code. The other cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed them.

Every version of this method · Every method · What the levels mean

Version 1.0.1

Level: Checked against a reference; Matches R11-24 Table 3 (3 states) and Table 2 outside the window; molality basis; data deviate up to 0.05. Reference kind: a reference program this project wrote itself, stored reference values: IAPWS-95, SR1-86, R11-24 and R12-08 in Python decimal at 50 digits, typed from the releases by a separate agent, CPython 3.13.18, Python decimal, 50 digits; ln and exp at 50 digits; the density solved to a relative change of 1e-40; not an outside program; a reference program this project wrote itself, second implementation (Python 3.13), 2026-11-14, mpmath 1.4.1 at 50 digits on the exact rationals of the input doubles, the density solved to a relative 1e-45, rounded once; not an outside program; a reference program this project wrote itself, second implementation (Python 3.13), 2026-11-14, mpmath 1.4.1 at 50 digits on each state as W1 reads it, the density solved to a relative 1e-45, rounded once; not an outside program; a reference program this project wrote itself, second implementation (Python 3.13), 2026-11-14, mpmath at 60 digits on the exact rationals of the input values, the density root rounded once; not an outside program. calc-water-pkw@1.0.1

Built, not hosted. Generated from a snapshot of the library's records taken on 2026-11-25, as committed on 2026-11-25. A later snapshot replaces this one, so these records and this page can change.

Verification statement: Matches R11-24 Table 3 at 0.1 MPa, three states, two printed decimals, and Table 2 at its printed digits outside the window; molality basis; data deviate up to 0.05.

pKw of pure liquid water on the molality basis (m° = 1 mol/kg) by IAPWS R11-24 Eqs. (2) to (4), from the temperature and the IAPWS-95 density at the stated pressure.

  • How results are reported: none: full double precision; the release prints pKw to two decimals
  • Uncertainty: R11-24 §5 states that experimental data in the moderate liquid region generally lie close to the calculated pKw; it gives no count or maximum.
  • Reference, as its record states it: R11-24 Tables 2 and 3 as printed; a second implementation in Python by a separate agent of the same model family at 50 digits and a fresh one at 60 digits, relative 1e-12
  • Computes through: calc-water-density@1.0.1
  • Level confirmed by this project's ruling of 14 November 2026

What this page can and cannot show

What was checked

167 cases in 4 files, linked by this exact version.

Run through the tool at build against a reference program this project wrote itself, stored reference values: IAPWS-95, SR1-86, R11-24 and R12-08 in Python decimal at 50 digits, typed from the releases by a separate agent, CPython 3.13.18, Python decimal, 50 digits; ln and exp at 50 digits; the density solved to a relative change of 1e-40; not an outside program; a reference program this project wrote itself, second implementation (Python 3.13), 2026-11-14, mpmath 1.4.1 at 50 digits on the exact rationals of the input doubles, the density solved to a relative 1e-45, rounded once; not an outside program; a reference program this project wrote itself, second implementation (Python 3.13), 2026-11-14, mpmath 1.4.1 at 50 digits on each state as W1 reads it, the density solved to a relative 1e-45, rounded once; not an outside program; a reference program this project wrote itself, second implementation (Python 3.13), 2026-11-14, mpmath at 60 digits on the exact rationals of the input values, the density root rounded once; not an outside program: 138 agree within the tolerance the file states, 29 refuse as the case expects, 0 differ, 0 were not run.

  • File 1, 20 cases

    • Where the expected values came from: an outside program, stored reference values: IAPWS-95, SR1-86, R11-24 and R12-08 in Python decimal at 50 digits, typed from the releases by a separate agent CPython 3.13.18
    • Recorded on: 2026-11-11
    • Reference: stored reference values: IAPWS-95, SR1-86, R11-24 and R12-08 in Python decimal at 50 digits, typed from the releases by a separate agent, CPython 3.13.18; licence PSF-2.0
    • Tolerance as the file states it: relative 1e-11 on every number (the density solve stops at a relative change of 1e-10, its error far smaller); statuses, codes and units exact
  • File 2, 44 cases

    • Where the expected values came from: an outside program, second implementation (Python 3.13) 2026-11-14
    • Recorded on: 2026-11-14
    • Reference: second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
    • Tolerance as the file states it: every number relative 1e-12 (absolute 1e-15 below 1e-3, in each value's unit); strings, notes, statuses and codes exact
  • File 3, 7 cases

    • Where the expected values came from: an outside program, second implementation (Python 3.13) 2026-11-14
    • Recorded on: 2026-11-14
    • Reference: second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
    • Tolerance as the file states it: every number relative 1e-12 (absolute 1e-15 below 1e-3, in each value's unit); strings, notes, statuses and codes exact
  • File 4, 96 cases

    • Where the expected values came from: an outside program, second implementation (Python 3.13) 2026-11-14
    • Recorded on: 2026-11-14
    • Reference: second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
    • Tolerance as the file states it: every number relative 1e-12 (absolute 1e-15 below 1e-3, in each value's unit); strings, notes, statuses and codes exact

Apart from the worked example, the cases and their values are not printed here. This shows agreement with this project's recorded cases. It does not show that a method suits your work, and it is not a qualification.

What was not checked

pKw on the molarity or mole-fraction basis; activity corrections for solutions; states outside the window.

Definition or model

A closed form: the result follows from the inputs by the equations alone.

A model of nature: it describes how a system behaves, and can be wrong about it.

Prediction error: none available.

Equations

Equation 1

pKw = −2n·[log10(1 + Q) − Q/(Q + 1)·ρw·(β0 + β1/T + β2·ρw)] + pKw^G + 2·log10(Mw/1000), Q = ρw·exp(α0 + α1/T + (α2/T²)·ρw^(2/3)), ρw in g/cm³ = ρ in kg/m³ ÷ 1000
Symbol Meaning and unit
pKw −log10 of the ionic product on the molality basis
ρw density of the water (calc-water-density), g/mL
T temperature (ITS-90), K
Q the release's auxiliary quantity

Source: IAPWS R11-24, Revised Release on the Ionization Constant of H2O (June 2024), equation Eqs. (2) and (3), Table 1, §3, the June 2024 revision, replacing R11-19; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 7e0dc09f7ed9. Free to read (Publication in whole or in part allowed in all countries with attribution to IAPWS (the release's own statement); reproduction terms held for the General Counsel), checked 2026-11-11. No erratum found (searched the release page on iapws.org, the IAPWS release index), 2026-11-11.

Equation 2

pKw^G = γ0 + γ1/T + γ2/T² + γ3/T³ (γ0…γ3 as printed in Eq. (4))
Symbol Meaning and unit
pKw^G pKw of the ideal-gas state
T temperature (ITS-90), K

Source: IAPWS R11-24, Revised Release on the Ionization Constant of H2O (June 2024), equation Eq. (4), the June 2024 revision, replacing R11-19; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 7e0dc09f7ed9. Free to read (Publication in whole or in part allowed in all countries with attribution to IAPWS (the release's own statement); reproduction terms held for the General Counsel), checked 2026-11-11. No erratum found (searched the release page on iapws.org, the IAPWS release index), 2026-11-11.

Constants

Constant Value and unit Source Date read
R11-24's Table 1 α and β, the γ printed in Eq. (4), n and the molar mass of water (n, Mw, α, β, γ) a table of values, part of the method IAPWS R11-24, Revised Release on the Ionization Constant of H2O (June 2024), equation Table 1, α0–α2 and β0–β2; Eq. (4), γ0–γ3; §3, n = 6; the nomenclature, Mw = 18.015268 g/mol 2026-11-11

Worked example

Worked example: one case of calc-water-pkw@1.0.1, 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

  • temperature = 300 K
  • absolutePressure = 99241.8352 Pa

Steps

  1. rho = 996.556 kg/m³, from temperature, absolutePressure; by a rule this method's record does not list as an equation; gives waterDensity.
  2. psat = 3.5367176 kPa, from temperature; by a rule this method's record does not list as an equation; gives waterSaturationVapourPressure.
  3. pkw = 13.933666, from temperature, rho; by equation 1; gives waterPKwMolal.
  4. ph = 6.9668331, from pkw; by a rule this method's record does not list as an equation; gives waterNeutralPhMolal.

The working, as the case writes it:

T = 300 K, p = 99241.8352 Pa: IAPWS-95 solved for ρ = 996.556 kg/m³
SR1-86 Eq. (1) p_sat = 3.536717587 kPa
R11-24 with ρw = ρ/1000 g/cm³ gives pKw = 13.93366611, and the neutral pH is half of it, 6.966833054.

Answer

  • waterDensity = 996.556 kg/m³
  • waterSaturationVapourPressure = 3.5367176 kPa
  • waterPKwMolal = 13.933666
  • waterNeutralPhMolal = 6.9668331

Where these values came from: an outside program, stored reference values: IAPWS-95, SR1-86, R11-24 and R12-08 in Python decimal at 50 digits, typed from the releases by a separate agent CPython 3.13.18; stored reference values in 50-digit decimals, against the release's printed value.

At build the tool returned this answer within the tolerance the file states: waterDensity at the release's printed figures (996.5560 kg/m^3, half a unit in the last place); relative 1e-11 on every other number; statuses, codes and units exact.

Who worked this case: not recorded.

Changes

No correction is logged for calc-water-pkw@1.0.1.

Tools that use it

Cite this version

Ionic product of pure liquid water, pKw on the molality basis (IAPWS R11-24), at a stated temperature and pressure. Drybench; calc-water-pkw@1.0.1; https://www.drybench.com/methods/m/calc-water-pkw/1.0.1 (accessed [date]).