pH Calculator

pH measures acidity: pH = −log₁₀[H⁺]. A solution with [H⁺] = 0.001 mol/L has pH 3, pOH 11 and [OH⁻] = 10⁻¹¹ mol/L, so it is acidic. At 25 °C, pH + pOH = 14.

Last updated · By · Runs in your browser, nothing is uploaded

Result

Step-by-Step Solution

Enter your values above to see the full working.

What Is pH?

pH is a scale that tells you how acidic or basic (alkaline) a water-based solution is. It is a logarithmic measure of the hydrogen ion concentration, [H⁺]. A low pH means lots of hydrogen ions and a strongly acidic solution, a pH of 7 is neutral, and a high pH means very few hydrogen ions and a basic solution.

Because the scale is logarithmic, each whole pH unit is a tenfold change in acidity. A solution with pH 3 is ten times more acidic than one with pH 4 and 10,000 times more acidic than neutral water at pH 7. That is why small pH differences matter so much in blood chemistry, swimming pools and soil.

pH of Common Substances

SubstanceApproximate pH[H⁺] in mol/L
Battery acid01
Lemon juice210⁻²
Vinegar2.5–3≈ 10⁻³
Coffee510⁻⁵
Pure water710⁻⁷
Human blood7.35–7.45≈ 4 × 10⁻⁸
Sea water≈ 8.1≈ 8 × 10⁻⁹
Baking soda solution≈ 8.3≈ 5 × 10⁻⁹
Household ammonia≈ 1110⁻¹¹
Bleach≈ 12.53 × 10⁻¹³

pH, pOH and Ion Concentration Formulas

pH = −log₁₀ [H⁺] [H⁺] = 10^(−pH) pOH = −log₁₀ [OH⁻] [OH⁻] = 10^(−pOH) pH + pOH = 14 [H⁺] × [OH⁻] = 10⁻¹⁴ (at 25 °C)
  • [H⁺] is the concentration of hydrogen ions in mol/L, also written [H₃O⁺].
  • [OH⁻] is the hydroxide ion concentration in mol/L.
  • Pure water has [H⁺] = [OH⁻] = 10⁻⁷ at 25 °C, so its pH is 7.
  • The sum pH + pOH = 14 applies at 25 °C. At other temperatures the neutral point changes slightly.

The calculation relies on logarithms. See the logarithm calculator for more on base-10 logs.

How Is It Calculated? Worked Examples

[H⁺] = 0.001 mol/L

  1. pH = −log₁₀(10⁻³) = 3.
  2. pOH = 14 − 3 = 11.
  3. [OH⁻] = 10⁻¹¹ mol/L.
  4. pH is below 7, so the solution is acidic.

Blood at pH 7.4

[H⁺] = 10⁻⁷·⁴ = 3.98 × 10⁻⁸ mol/L and pOH = 6.6, so [OH⁻] = 2.51 × 10⁻⁷ mol/L. Blood is slightly basic, and the body keeps its pH within a tiny range of 7.35 to 7.45.

Starting from [OH⁻] = 0.001 mol/L

pOH = 3, so pH = 14 − 3 = 11 and [H⁺] = 10⁻¹¹ mol/L. This is a basic solution, such as dilute sodium hydroxide.

Comparing Acidity

ComparisonFactor
pH 3 vs pH 410 times more acidic
pH 3 vs pH 5100 times more acidic
pH 3 vs pH 710,000 times more acidic
pH 2 (lemon juice) vs pH 7 (water)100,000 times more acidic

Strong vs Weak Acids

A 0.01 M solution of the strong acid HCl has [H⁺] = 0.01 and pH 2. A 0.1 M solution of the weak acid acetic acid ionises only slightly (K_a = 1.8 × 10⁻⁵), giving [H⁺] ≈ √(K_a × C) = 1.34 × 10⁻³ and a pH of about 2.87, even though it is ten times more concentrated.

Buffers: the Henderson–Hasselbalch Equation

A buffer resists pH change. pH = pKa + log([A⁻] ÷ [HA]). For an acetate buffer, pKa = 4.76, so equal amounts of acetate and acetic acid give pH 4.76, and a 10 : 1 ratio gives 5.76. Rain is naturally slightly acidic, about pH 5.6, because it dissolves carbon dioxide.

How to Use This pH Calculator

  1. Choose your input: [H⁺] concentration, a pH value or [OH⁻] concentration.
  2. Enter the value. Concentrations are in mol/L and can use scientific notation such as 1e-3.
  3. Read the pH, pOH, [H⁺], [OH⁻] and whether the solution is acidic, neutral or basic.

Where pH Is Used

  • Chemistry and laboratories: titrations, buffers and reaction control.
  • Medicine and biology: blood and cellular pH, and enzyme activity.
  • Agriculture and gardening: soil pH affects nutrient availability.
  • Water treatment and pools: keeping water safe and comfortable.
  • Food and brewing: pH influences taste, preservation and fermentation.
  • Environmental science: acid rain (pH below 5.6) and ocean acidification.

Measuring pH

pH can be estimated with indicators such as litmus paper and universal indicator, or measured precisely with a pH meter, which is calibrated against buffer solutions of known pH, commonly 4.00, 7.00 and 10.00. Swimming pools are usually kept at pH 7.2 to 7.8 so that the water is comfortable and the disinfectant works effectively.

What Are the Most Common Mistakes With the pH Calculator?

  • Forgetting the minus sign. pH = −log[H⁺], so high concentration means low pH.
  • Thinking the scale is linear. Each pH unit is a factor of 10.
  • Assuming pH cannot go below 0 or above 14. Very concentrated acids and bases can go beyond that range.
  • Using the formulas for non-aqueous solutions. pH applies to water-based solutions.
  • Applying 14 at all temperatures. The pH + pOH = 14 rule is for 25 °C.
  • Confusing strong and concentrated. A weak acid at high concentration can have a higher pH than a dilute strong acid.

Where Can You Verify These Formulas?

The definitions and formulas on this page follow standard references. Check them against these sources:

Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.

Frequently Asked Questions

What is the formula for pH?

pH = −log₁₀[H⁺], where [H⁺] is the hydrogen ion concentration in mol/L.

What is the pH of 0.001 M hydrochloric acid?

pH 3, because HCl is a strong acid that fully ionises, so [H⁺] = 0.001 mol/L.

How do I convert pH to hydrogen ion concentration?

[H⁺] = 10^(−pH). For pH 7.4 that is 3.98 × 10⁻⁸ mol/L.

What is pOH?

pOH = −log₁₀[OH⁻]. At 25 °C, pH + pOH = 14.

What does pH 7 mean?

A neutral solution at 25 °C, with equal concentrations of H⁺ and OH⁻ (10⁻⁷ mol/L each).

How much more acidic is pH 3 than pH 5?

100 times, because the scale is logarithmic and the difference is two pH units.