Skip to content

Methods and checksMethods

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

Methods and checks pages

Neutral pH of pure liquid water on the molality basis, half of pKw, version 1.0.1

calc-water-neutral-ph@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; Half of pKw, molality basis, pure water only; not a pH an electrode reads in air-exposed water or a solution. 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.

Not fully recorded, and not independently reviewed. Items marked "Not recorded" are missing from this project's records for the version named. Apart from any worked example shown, the cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed these methods or checks.

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

Version 1.0.1

Level: Checked against a reference; Half of pKw, molality basis, pure water only; not a pH an electrode reads in air-exposed water or a solution. 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-neutral-ph@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.

The neutral pH of pure liquid water on the molality basis, half of the full-precision pKw (unit activity coefficients, negligible at pure water's ionic strength; Drybench's ruling).

  • How results are reported: none: full double precision
  • Uncertainty: Exact given pKw; it carries pKw's uncertainty halved (R11-24 §5).
  • Reference, as its record states it: halved in the same second implementations; pKw's checks
  • Computes through: calc-water-pkw@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

The pH of air-exposed water (dissolved carbon dioxide) or of any solution; activity corrections.

Definition or model

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

Equations

pH_n = ½·pKw, halving the full-precision pKw
Symbol Meaning and unit
pH_n neutral pH of pure water, molality basis
pKw ionic product, molality basis (calc-water-pkw)

Ruling of this project: 11 November 2026, section "Rulings". Not yet published; its effect is stated on this page. A choice this project made, not a value from the literature.

Constants

Constants: none used.

Worked example

Worked example: one case of calc-water-neutral-ph@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 a rule this method's record does not list as an equation; gives waterPKwMolal.
  4. ph = 6.9668331, from pkw; by the equation above; 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.

Flags and notes a reply may carry

A note a reply may carry:

  • NEUTRAL_PH_PURE_WATER: Neutral pH of pure water on the molality basis, half of pKw. Not the pH of air-exposed water or of a solution.

Changes

No correction is logged for calc-water-neutral-ph@1.0.1.

Tools that use it

Cite this version

Neutral pH of pure liquid water on the molality basis, half of pKw. Drybench; calc-water-neutral-ph@1.0.1; https://www.drybench.com/methods/m/calc-water-neutral-ph/1.0.1 (accessed [date]).