Skip to content
ScienceQuest

pH Calculator

CalculatorUndergraduate Updated

Support ScienceQuest on Buy Me a Coffee (opens in a new tab)

Calculate pH, pOH and ion concentrations for strong or weak acids and bases. Solves the exact equilibrium rather than the square-root shortcut.

Calculator

What are you starting from?

pH
Strongly acidic
2
pOH
12
[H⁺]
1 × 10⁻² M
[OH⁻]
1 × 10⁻¹² M

Strongly acidic. pH 2 at 25 °C

Assumes complete dissociation and one proton (or hydroxide) per formula unit. For Ca(OH)₂, double the concentration first. For H₂SO₄, doubling gives only an upper limit, because its second proton is only partly released (pKa₂ about 2). The contribution from water itself is included, which is why a 10⁻⁸ M acid correctly comes out just below pH 7 rather than at pH 8.

Cite this tool

Citing this tool

Last updated . Add the date you accessed it as well, which a citation of a page that can change asks for. If a specific result matters, cite the permalink from the tool’s share row instead of this page: it reproduces the exact parameters.

On the syllabus: AP Chemistry, Unit 8: Acids and Bases; MCAT, 5A: Unique nature of water and its solutions.

Teaching with this? You can put it on a class page or LMS for free, with no ads inside the frame. Get the embed code.

The equation

pH=−log⁡10[H+]\mathrm{pH} = -\log_{10}[\mathrm{H^+}]

Sørensen (1909), definition of pH, as in OpenStax Chemistry 2e, section 14.2

The equation as an image to reuse
pH Calculator: the equation pH = -log₁₀[H⁺].
The equation the calculator is built on, with its source. Image © ScienceQuest, CC BY 4.0. Free to reuse with credit and a link to this page; how to reuse it. Download PNG

What is the pH formula?

The pH formula defines the acidity or alkalinity of an aqueous solution: pH = −log10[H+] (or −log10[H3O+]), where [H+] is the hydrogen ion molarity in mol/L. That is the dilute-solution form of the IUPAC definition, pH = −lg a(H+), which uses the hydrogen ion’s activity. In water at 25 °C, pH + pOH = 14, with pH 7 neutral, pH < 7 acidic, and pH > 7 basic.

A logarithmic scale suits the range: hydrogen ion concentrations in water span about fourteen orders of magnitude, from around 1 mol/L in 1 M strong acid to 10⁻¹⁴ mol/L in 1 M strong alkali. One pH unit is a tenfold change in concentration, so a solution at pH 3 has a hundred times the hydrogen ion concentration of one at pH 5.

The relation pH + pOH = 14 follows from the dissociation of water and holds only at 25 °C. The ion product of water rises with temperature, so at 100 °C pKw falls to about 12.25 and neutral water sits near pH 6.13. That water is still neutral, because hydrogen and hydroxide ions stay equal in concentration.

Worked example

A strong acid dissociates completely, so for 0.01 M HCl:

  • [H⁺] = 0.01 mol/L, giving pH = −log₁₀(0.01) = 2.00

A weak acid needs the equilibrium solved. For 0.1 M acetic acid with pKa 4.76, so Ka = 1.74 × 10⁻⁵:

  • Set up the quadratic: x² + Ka·x − Ka·C = 0
  • Substitute: x² + 1.74e-5·x − 1.74e-6 = 0
  • Solve: x = (−1.74e-5 + √6.9603e-6) / 2 = 1.31e-3 mol/L
  • Convert: pH = −log₁₀(1.31e-3) = 2.88

Only 1.31e-3 / 0.1 = 1.3% of the acid has dissociated, so its hydrogen ion concentration is about 76 times lower than that of hydrochloric acid at the same formal concentration, 0.1 M.

Where the shortcuts break down

The approximation [H⁺] = √(Ka·C) assumes dissociation is small enough to ignore in the mass balance. It reproduces the acetic acid answer above, but for chloroacetic acid (pKa 2.87) at 0.01 M it predicts pH 2.44 where the exact answer is 2.51, because about 31% of the acid has dissociated. Treat anything above about 5% dissociation as needing the full quadratic.

Very dilute strong acids break pH = −log C for a different reason: water’s own hydrogen ions become a significant share of the total. The shortcut puts a 10⁻⁸ M strong acid at pH 8, on the alkaline side. Including the hydrogen ions from water gives [H⁺] = 1.05e-7 and pH 6.98, slightly acidic. Below about 10⁻⁶ M, water is no longer a negligible source.

A very dilute weak acid fails the same way when water is left out: the quadratic above puts 10⁻⁸ M acetic acid at pH 8.00, where counting water’s own ions gives 6.98. This tool counts them for weak acids and bases too.

Reference pH values of common laboratory solutions (0.10 M, 25 °C)

Use these benchmarks to check your own working:

  • 0.10 M Hydrochloric acid (HCl): strong monoprotic acid, [H⁺] = 0.10 M, pH = 1.00.
  • 0.10 M Sulfuric acid (H₂SO₄): first proton dissociates completely and second has pKa₂ ≈ 1.99; [H⁺] ≈ 0.11 M, pH ≈ 0.96.
  • 0.10 M Acetic acid (CH₃COOH, the acid in vinegar): weak acid (pKa = 4.76, Ka = 1.74 × 10⁻⁵); pH = 2.88, pOH = 11.12.
  • 0.10 M Ammonia (NH₃, the base in household ammonia): weak base (pKb = 4.75, Kb = 1.78 × 10⁻⁵); pOH = 2.88, pH = 11.12.
  • 0.10 M Sodium hydroxide (NaOH): strong base, [OH⁻] = 0.10 M, pOH = 1.00, pH = 13.00.

Common mistakes

  • Forgetting the second proton. A diprotic acid such as sulfuric can release two protons, so full dissociation would double [H⁺]. Sulfuric acid releases its second proton only in part (pKa₂ about 2), so [H⁺] lies between the formal concentration and double it: about 0.11 M for 0.10 M acid.
  • Applying pH + pOH = 14 at any temperature. The sum equals pKw, which is 14.00 only at 25 °C.
  • Using −log C for very dilute acid. Below 10⁻⁷ M, leaving out water’s contribution puts an acid above pH 7.
  • Confusing pKa with pH. pKa is a property of the acid and does not change with dilution; pH describes the particular solution.

Sources

Common questions

Why is the pH of a very dilute strong acid not simply −log C?

Because water itself supplies hydrogen ions. Taking pH = −log C for a 10⁻⁸ M acid gives pH 8, which would make an acid basic. Including the water equilibrium gives about pH 6.98 instead, correctly just on the acidic side of neutral. This calculator always includes that term.

When does the [H⁺] ≈ √(Ka·C) approximation fail?

It fails for stronger weak acids and for dilute solutions, because it assumes the amount dissociated is negligible next to the starting concentration. At 0.01 M with a pKa of 2, the shortcut overestimates [H⁺] by about 60 percent, so this tool solves the equilibrium exactly instead, with water’s own ions included.

Does pH + pOH always equal 14?

Only at 25 °C. The sum equals pKw, which is temperature dependent. At 100 °C pKw falls to about 12.25, so neutral water is pH 6.13 rather than 7. All results here are quoted at 25 °C.