8 runs

pH Calculator

Compute exact pH, pOH, [H⁺], [OH⁻], and % ionization across strong/weak acids, bases, and ultra-dilute solutions.

Instructions:
How to Use
  1. Choose calculation mode: From [H⁺]/[OH⁻], Strong Acid, Strong Base, Weak Acid, or Weak Base.
  2. Enter concentration and Ka/pKa (or Kb/pKb) plus solution temperature in °C.
  3. Inspect the interactive pH spectrum bar, exact ion concentrations, and derivation steps.

Exact pH, [H⁺], & Weak/Strong Acid-Base Solver

Includes exact quadratic weak-acid equilibrium & water auto-ionization (Kw) for ultra-dilute solutions

Presets:
Exact Physics: Weak acids solve [H+]2 + Ka[H+] − KaC0 = 0 without relying solely on the 5% approximation. Strong acids include [H+] − Kw/[H+] = Ca so 10−8 M HCl yields pH ≈ 6.98!
Calculated pH (Acidic)
—
—
pOH
—
[H⁺] Concentration
—
[OH⁻] Concentration
—
Water pKw
—

Step-by-Step Solution

    How It Works & Quick Guide

    Finding pH is straightforward for a strong acid—until you hit a weak acid where the 5% shortcut breaks down, or a very dilute 10⁻⁸ M acid where water's own ions matter. This solver uses exact quadratic and charge-balance math so you get realistic, textbook-accurate pH values every time.

    How to Use the pH Calculator

    1. Choose calculation mode: From [H⁺]/[OH⁻], Strong Acid, Strong Base, Weak Acid, or Weak Base.
    2. Enter concentration and Ka/pKa (or Kb/pKb) plus solution temperature in °C.
    3. Inspect the interactive pH spectrum bar, exact ion concentrations, and derivation steps.

    The Formula Behind It

    pH = −log₁₀[H⁺]; weak acid exact quadratic: [H⁺]² + Ka[H⁺] − Ka·C₀ = 0; strong acid charge balance: [H⁺] − Kw/[H⁺] = Ca.

    Worked Example

    0.10 M acetic acid (Ka = 1.75×10⁻⁵) gives [H⁺] = 1.314×10⁻³ M, pH = 2.881, and 1.31% ionization.

    Good to Keep in Mind

    Avoids the common 5% approximation error by solving exact charge-balance and quadratic equations, including Kw auto-ionization for 10⁻⁸ M acids.

    pH Calculator - Frequently Asked Questions

    Why is the pH of 10⁻⁸ M HCl around 6.98 instead of 8?
    Water auto-ionization contributes ~10⁻⁷ M H⁺ at 25 °C; solving [H⁺]² − Ca[H⁺] − Kw = 0 keeps dilute acids below pH 7.
    Does this calculator use the 5% approximation for weak acids?
    No. It solves the exact quadratic equation so even moderately strong or very dilute weak acids remain accurate.
    Why does temperature affect pH?
    Water's auto-ionization constant Kw increases with temperature, shifting the neutral pH from 7.00 at 25 °C to 6.81 at 37 °C.
    Can I input pKa instead of Ka?
    Yes. Toggle the constant selector between Ka/Kb and pKa/pKb.