Skip to content
Omnikalc

pH calculator: from concentration, strong and weak acids and bases

Calculate the pH and pOH of a solution from the hydrogen or hydroxide ion concentration, or from the concentration of a strong or weak acid or base.

Updated on
Your inputs

Value out of range

H⁺ or OH⁻ released per molecule

Value out of range

Results

pH

2.42

Strongly acidic Like lemon juice (about 2) or stomach acid (1 to 2). Handle with care.
pOH
11.58
Hydrogen ion concentration [H⁺]
3.7892
Hydroxide ion concentration [OH⁻]
0.0000
[H⁺] compared with neutral water (×)
37,891.82
Share of the weak acid dissociated
0.46%

pH for other concentrations

pH[H⁺] compared with neutral water (×)
0.00 M current4.47338.94
0.00 M current3.911,234.23
0.01 M current3.394,082.71
0.10 M current2.8813,095.96
0.50 M current2.5329,390.35
1 M current2.3841,600.14
2 M current2.2358,867.41

What pH measures

pH expresses how acidic or basic a water solution is, through the concentration of hydrogen ions: pH = −log10[H⁺]. Because the scale is logarithmic, each unit is a factor of ten. A solution at pH 3 has ten times more hydrogen ions than one at pH 4 and ten thousand times more than pure water at pH 7.

The formulas

  • pH = −log10[H⁺] and pOH = −log10[OH⁻]
  • pH + pOH = 14 at 25 °C, since [H⁺] × [OH⁻] = 10⁻¹⁴
  • Strong acid (HCl, HNO3): fully dissociated, [H⁺] ≈ concentration × number of H⁺ per molecule
  • Strong base (NaOH, KOH): [OH⁻] ≈ concentration × number of OH⁻, then pH = 14 − pOH
  • Weak acid: solve Ka = [H⁺]² ÷ (C − [H⁺]), with Ka = 10^−pKa

The calculator also includes water’s own ions, so very dilute solutions correctly approach pH 7.

Worked example: vinegar

Household vinegar contains about 5% acetic acid, around 0.83 M, with a pKa of 4.76.

  1. Ka = 10^−4.76 = 1.74 × 10⁻⁵.
  2. Solving the equation gives [H⁺] ≈ 0.0038 M.
  3. pH = −log10(0.0038) = 2.42.
  4. Only about 0.46% of the acetic acid molecules are dissociated, which is what makes it a weak acid.

pH of everyday substances

Substance Typical pH
Stomach acid 1 to 2
Lemon juice about 2
Vinegar about 2.4
Coffee about 5
Rain about 5.6
Pure water (25 °C) 7.0
Blood 7.35 to 7.45
Seawater about 8.1
Baking soda in water about 8.3
Household ammonia about 11.5
Bleach 12 to 13

Strong versus weak

A strong acid such as hydrochloric acid gives up all its protons: 0.01 M HCl has a pH of 2. A weak acid at the same concentration gives up only a small share: 0.01 M acetic acid has a pH of about 3.4. The lower the pKa, the stronger the acid.

Limits of the calculation

  • Activity: above about 0.1 M, ions interact and the real pH differs from the concentration-based value.
  • Temperature: pure water is pH 7 only at 25 °C; at 37 °C it is about 6.8.
  • Polyprotic acids such as phosphoric or citric acid release a second proton at higher pH. The calculator uses the first step, which sets the pH of their solutions in most cases.
  • Safety: concentrated acids and bases cause burns. Always add acid to water, not water to acid.

Frequently asked questions

How do you calculate pH?

pH = −log10[H⁺], with the hydrogen ion concentration in mol/L. A solution with [H⁺] = 0.001 M has a pH of 3.

What is the pH of a 0.01 M HCl solution?

2. Hydrochloric acid is a strong acid that dissociates completely, so [H⁺] = 0.01 M and pH = −log10(0.01) = 2.

How do you find the pH of a weak acid?

Solve Ka = x² ÷ (C − x) for x = [H⁺], where Ka = 10^−pKa. For 0.1 M acetic acid (pKa 4.76), [H⁺] is about 0.0013 M and the pH is 2.88.

What is the relationship between pH and pOH?

pH + pOH = 14 at 25 °C, because water's ion product [H⁺] × [OH⁻] equals 10⁻¹⁴. A pH of 3 means a pOH of 11.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.