pH Calculator (Strong and Weak Acids and Bases)

pH measures acidity on a logarithmic scale: each unit is a tenfold change in hydrogen-ion concentration. This calculator finds the pH of strong and weak acids and bases from their concentration and dissociation constant, solving the equilibrium exactly instead of relying on the usual square-root shortcut, and converts between pH, pOH and concentrations.

Inputs

Advanced options (1)

Results

pH
2.881
pOH
11.12
[H⁺]
0.001314
[OH⁻]
7.609e-12
Percent ionization
1.314
%

    RefCHM-EQU-001
    MethodpH = −log[H⁺]; weak acid [H⁺] = Ka·C/([H⁺] + Ka) + Kw/[H⁺]
    UnitsSI
    Date2026-11-24

    Working

    Calculated in SI base units; inputs are converted from the units you choose.

    1. Charge balance (exact)[H⁺] = Ka·C/([H⁺] + Ka) + Kw/[H⁺]solved numerically: [H⁺] = 0.001314 M
    2. Usual approximation for comparison[H⁺] ≈ √(Ka·C)√(1.750e-5 × 0.1) = 0.001323 M
    3. pH and pOHpH = −log[H⁺], pOH = pKw − pHpH = 2.881, pOH = 11.12

    Exact rather than approximate

    The textbook shortcut for a weak acid, [H⁺] ≈ √(Ka·C), assumes the acid barely ionizes and ignores the water. Both assumptions fail for dilute or fairly strong weak acids. This calculator solves the full charge balance, so it also gives the right answer for very dilute strong acids: 1 × 10⁻⁸ M HCl has a pH of 6.98, not 8. Dissociation constants are CRC Handbook values at 25 °C; Kw changes with temperature (pKw is about 14.0 at 25 °C but 13.5 at 50 °C).

    Assumptions and limits

    • Ideal solutions (activities equal to concentrations), reasonable below about 0.1 M.
    • Monoprotic weak acids and bases; for polyprotic acids only the first step is used.
    • Temperature 25 °C unless Kw is changed.

    References

    • Rumble, J. R. (ed.), CRC Handbook of Chemistry and Physics, CRC Press: Dissociation Constants of Inorganic Acids and Bases, and of Organic Acids and Bases.
    • Harris, D. C. and Lucy, C. A., Quantitative Chemical Analysis, 10th ed., W. H. Freeman, 2020, chapters on acids and bases and systematic treatment of equilibrium.

    Questions

    What is the pH of 0.10 M acetic acid?
    2.881, with 1.314 % of the acid ionized (Ka = 1.75 × 10⁻⁵).
    What is the pH of 1 × 10⁻⁸ M HCl?
    6.978. The water itself supplies more H⁺ than the acid at this dilution.

    This calculator is a design aid. Check results against the governing code or standard and have critical work verified by a qualified engineer. Read the disclaimer.