pH Assist Pro
Multi-component pH modelling for pharmaceutical solutions

Model verification

The engine is checked against the NIST / IUPAC primary pH reference buffers — the most accurately known pH values that exist, and multi-component, salt-containing solutions of the same kind you will model. These numbers are computed live by the same code that runs your systems.

Primary standards reproduced
7 / 7
within ±0.02 pH
Largest deviation
0.016
Davies model, in-scope standards
Without activity correction
0.20
mean error, ideal model
Build gate
58 checks
run before every deployment

Primary pH standards at 25 °C

certified values: IUPAC Recommendations 2002
StandardCompositionCertifiedpH Assist ProΔIdeal modelΔ ideal
Potassium tetroxalate0.05 mol/kg KH3(C2O4)21.6791.666-0.0131.657-0.022pass
Potassium hydrogen tartrate (sat.)0.0341 mol/kg KHC4H4O63.5573.555-0.0023.709+0.152pass
Potassium hydrogen phthalate0.05 mol/kg KHC8H4O44.0054.021+0.0164.193+0.188pass
Equimolal phosphate0.025 mol/kg KH2PO4 + 0.025 mol/kg Na2HPO46.8656.876+0.0117.198+0.333pass
Phosphate 1 : 3.50.008695 mol/kg KH2PO4 + 0.03043 mol/kg Na2HPO47.4137.420+0.0077.742+0.329pass
Disodium tetraborate0.01 mol/kg Na2B4O7 (= 0.02 B(OH)3 + 0.02 NaB(OH)4)9.1809.176-0.0049.236+0.056pass
Sodium bicarbonate / carbonate0.025 mol/kg NaHCO3 + 0.025 mol/kg Na2CO310.01210.003-0.00910.322+0.310pass
Calcium hydroxide (sat.)0.0203 mol/kg Ca(OH)212.45412.512+0.05812.603+0.149limitation
Calcium hydroxide (sat.). Shown on purpose: Ca2+ forms the CaOH+ ion pair, which the model does not include, so it over-predicts by about 0.06. This is the size of error to expect when ion pairing matters.
The ideal (Henderson–Hasselbalch, concentration-only) column shows why activities are not optional: ignoring them is wrong by up to 0.3 pH in an ordinary 0.1 M phosphate buffer.

What is solved

Mass balance: Ci = Σj [Hn−jAi]
Acid–base: Ka,k = aH · γk[k] / (γk−1[k−1])
Water: Kw(T) = aH · aOH
Charge balance: [H⁺] − [OH⁻] + Σ Ci z̄i + Σ counter-ions = 0
Davies: log γ = −A(T) z² (√I / (1 + √I) − 0.3 I)
pH = −log aH (activity scale, what a glass electrode reads)
  • The charge balance is strictly monotonic in pH and is solved by bisection to 10⁻¹¹ pH — it always converges, to the only root.
  • Ionic strength is iterated to self-consistency (relative change < 10⁻⁹).
  • pKa(T) = pKa(25 °C) + (dpKa/dT)(T − 25); pKw(T) from Harned & Owen; A(T) from the permittivity of water (Malmberg & Maryott).
  • Buffer capacity β = dCbase/dpH is the derivative of the charge balance.

What is not modelled

  • Ion pairing and metal complexation (CaHPO₄, CaOH⁺, metal–EDTA, metal–citrate). Expect errors of the size shown for calcium hydroxide.
  • Precipitation: everything is assumed dissolved. The solubility check flags where that assumption fails.
  • Organic co-solvents: they change pKa values and the pH scale itself (swpH). Model the aqueous phase, or enter pKa values measured in your solvent.
  • Ionic strength above ≈ 0.5 M, where the Davies equation is no longer reliable.
  • Microscopic (tautomeric) protonation: macroscopic pKa values are used, which is what determines pH.
pH Assist Pro supports — it does not replace — experimental measurement. It is not a validated computerised system.