Acid Base Calculator
Calculate pH, pOH, concentration of acids and bases. Supports strong/weak acids, bases, buffers, titration curves, and polyprotic systems.
Analyte (in flask)
Titrant (from burette)
About
Miscalculating pH by even 0.5 units represents a tenfold error in hydrogen ion concentration. In pharmaceutical compounding, wastewater treatment, or analytical chemistry, that magnitude of error causes batch rejection, regulatory violation, or equipment corrosion. This calculator solves the equilibrium expressions for strong acids, strong bases, weak acids (via the quadratic form of the Ka expression), weak bases, polyprotic systems with sequential dissociation constants, and buffer solutions using the Henderson-Hasselbalch equation. Temperature dependence is handled through the van't Hoff relationship applied to Kw, which shifts from 1.01 Γ 10β14 at 25Β°C to 2.92 Γ 10β14 at 37Β°C. The tool assumes ideal dilute solutions and does not correct for ionic strength above 0.1 M. Results should be cross-checked against experimental measurement for critical applications.
Formulas
For a strong acid with concentration C, complete dissociation yields:
For a weak acid with acid dissociation constant Ka, the equilibrium expression Ka = x2 Γ· (C β x) is solved via the quadratic formula:
Where x = [H+], and pH = βlog10(x).
The Henderson-Hasselbalch equation for buffer solutions:
Where pKa = βlog10(Ka), [Aβ] is conjugate base concentration, [HA] is weak acid concentration.
The relationship between pH and pOH depends on temperature through the ion product of water:
Where Kw at temperature T is computed from Kw(25Β°C) = 1.01 Γ 10β14 using the van't Hoff approximation with ΞH = 55.8 kJ/mol.
Reference Data
| Substance | Formula | Type | Ka or Kb | pKa or pKb |
|---|---|---|---|---|
| Hydrochloric Acid | HCl | Strong Acid | ~107 | β7 |
| Sulfuric Acid | H2SO4 | Strong Acid (1st) | ~103 | β3 |
| Nitric Acid | HNO3 | Strong Acid | ~101 | β1.4 |
| Acetic Acid | CH3COOH | Weak Acid | 1.76 Γ 10β5 | 4.754 |
| Formic Acid | HCOOH | Weak Acid | 1.77 Γ 10β4 | 3.752 |
| Hydrofluoric Acid | HF | Weak Acid | 6.76 Γ 10β4 | 3.17 |
| Benzoic Acid | C6H5COOH | Weak Acid | 6.46 Γ 10β5 | 4.19 |
| Carbonic Acid (1st) | H2CO3 | Weak Polyprotic | 4.3 Γ 10β7 | 6.37 |
| Carbonic Acid (2nd) | H2CO3 | Weak Polyprotic | 4.7 Γ 10β11 | 10.33 |
| Phosphoric Acid (1st) | H3PO4 | Weak Polyprotic | 7.11 Γ 10β3 | 2.148 |
| Phosphoric Acid (2nd) | H3PO4 | Weak Polyprotic | 6.32 Γ 10β8 | 7.199 |
| Phosphoric Acid (3rd) | H3PO4 | Weak Polyprotic | 4.49 Γ 10β13 | 12.35 |
| Citric Acid (1st) | C6H8O7 | Weak Polyprotic | 7.4 Γ 10β4 | 3.13 |
| Citric Acid (2nd) | C6H8O7 | Weak Polyprotic | 1.7 Γ 10β5 | 4.76 |
| Citric Acid (3rd) | C6H8O7 | Weak Polyprotic | 4.0 Γ 10β7 | 6.40 |
| Oxalic Acid (1st) | H2C2O4 | Weak Polyprotic | 5.9 Γ 10β2 | 1.23 |
| Oxalic Acid (2nd) | H2C2O4 | Weak Polyprotic | 6.4 Γ 10β5 | 4.19 |
| Ascorbic Acid (1st) | C6H8O6 | Weak Acid | 7.9 Γ 10β5 | 4.10 |
| Hypochlorous Acid | HOCl | Weak Acid | 2.9 Γ 10β8 | 7.54 |
| Boric Acid | H3BO3 | Weak Acid | 5.8 Γ 10β10 | 9.24 |
| Sodium Hydroxide | NaOH | Strong Base | ~1014 | β14 |
| Potassium Hydroxide | KOH | Strong Base | ~1014 | β14 |
| Calcium Hydroxide | Ca(OH)2 | Strong Base | ~1014 | β14 |
| Barium Hydroxide | Ba(OH)2 | Strong Base | ~1014 | β14 |
| Ammonia | NH3 | Weak Base | 1.76 Γ 10β5 | 4.754 |
| Methylamine | CH3NH2 | Weak Base | 4.38 Γ 10β4 | 3.358 |
| Ethylamine | C2H5NH2 | Weak Base | 5.6 Γ 10β4 | 3.25 |
| Dimethylamine | (CH3)2NH | Weak Base | 5.4 Γ 10β4 | 3.27 |
| Pyridine | C5H5N | Weak Base | 1.7 Γ 10β9 | 8.77 |
| Aniline | C6H5NH2 | Weak Base | 4.3 Γ 10β10 | 9.37 |