Skip to main content
Mathovia

Science / Chemistry

pH Calculator

Enter the hydrogen ion concentration [H⁺] in mol/L to calculate pH, or enter a pH value to find the corresponding H⁺ concentration.

pH
3.0000
pOH
11.0000
[H⁺] from pH input
1.0000000000e-7 mol/L
[OH⁻] Concentration
1.0000000000e-11 mol/L
Strongly acidicWeakly acidicNeutralWeakly basicStrongly basic3
Where your solution sits on the 0–14 pH scale. Seven is neutral; each step is a tenfold change in hydrogen-ion concentration.

pH = -log₁₀[H⁺]. pOH = 14 - pH (at 25°C). [H⁺] = 10^(-pH).

Written by
MPhil in Mathematics, Founder of Mathovia
Updated

Mathematics verification: Mathematical formulas, calculations, worked examples and solutions are reviewed for accuracy before publication. How we check our work

pH Calculator formula
The pH formula

What pH really is

pH is a compressed way of writing the hydrogen ion concentration of a solution. Those concentrations range over more than fourteen orders of magnitude — from about 1 mol/L in a strong acid down to in a strong base — which is impossible to plot or compare directly. Taking the negative base-10 logarithm folds that huge span onto the familiar 0-to-14 scale, and the minus sign makes acidic solutions the low numbers.

Because the scale is logarithmic, the differences aren’t linear. A drop of one pH unit is a tenfold rise in acidity; a drop of three units is a thousandfold. This is why neutralizing a strongly acidic waste stream takes so much base, and why small pH shifts in blood or seawater are a big deal.

This calculator runs both ways: a hydrogen ion concentration in, pH and pOH out; or a pH in, and the matching [H⁺] and [OH⁻] out.

The pH formulas

The pH + pOH = 14 relationship holds at 25°C, where water’s ion product .

Worked example

The calculator’s default is [H⁺] = 0.001 mol/L.

Running the reverse default, pH = 7:

which is exactly neutral — [H⁺] equals [OH⁻].

pH Calculator worked example diagram
A visual read of the worked example above — the same numbers the calculator returns for its default inputs.

The pH scale in context

pH[H⁺] (mol/L)Example
01battery acid
20.01lemon juice, stomach acid
30.001vinegar, cola
5.53 × 10⁻⁶clean rain
710⁻⁷pure water
7.44 × 10⁻⁸human blood
8.35 × 10⁻⁹seawater, baking soda solution
1210⁻¹²bleach, ammonia
1410⁻¹⁴drain cleaner

Where pH calculations are used

  • Titration analysis — converting an endpoint [H⁺] to a reported pH, or predicting a titration curve.
  • Buffer design — the Henderson–Hasselbalch equation gives pH from a weak acid’s pKa and its conjugate base ratio.
  • Water treatment and aquariums — dosing acid or base to hit a target pH, where the log scale sets how much is needed.
  • Biology and medicine — enzyme activity, blood gas analysis, and soil chemistry all track pH.

Common mistakes

  • Treating the scale as linear. pH 4 to pH 2 is a hundredfold change, not “twice as acidic.”
  • Assuming neutral is always pH 7. It shifts with temperature.
  • Using concentration instead of activity for very concentrated solutions, where the two diverge.

For solution concentrations feeding into a pH calculation, see the molarity calculator; for buffer work, the buffer solution calculator.

pH of strong acids and bases

Strong acids and bases dissociate completely, so the concentration you mixed is the ion concentration you use.

  • 0.025 M HCl: , so .
  • 0.010 M NaOH: , so and .
  • 0.005 M Ca(OH)₂: each formula unit releases two hydroxide ions, so and the pH is again 12.00.

The third case is the one people miss. Count how many H⁺ or OH⁻ ions each formula unit releases before taking the log. Weak acids such as acetic acid only partly dissociate, so they need the acid’s and won’t give the right answer from this shortcut.

Going from pH back to concentration

Use the key. For a sample at pH 4.7:

Significant figures in pH

The digits after the decimal point in a pH match the significant figures in the concentration. 0.0025 M has two significant figures, so its pH is written 2.60, not 2.6 or 2.602. The whole-number part of the pH only sets the power of ten, so it doesn’t count.

About the formula: pH = -log₁₀[H⁺]. pOH = 14 - pH (at 25°C). [H⁺] = 10^(-pH).

Frequently Asked Questions

What does pH measure?+

How acidic or basic a solution is, on a logarithmic scale where 7 is neutral, below 7 is acidic, and above 7 is basic. Each whole unit is a tenfold change in hydrogen ion concentration.

What is the pH of a 0.001 M H⁺ solution?+

pH = −log₁₀(0.001) = 3.00, a moderately strong acid — roughly the acidity of orange juice or a cola.

Why is pH a negative logarithm?+

Hydrogen ion concentrations in water span many orders of magnitude and are usually tiny numbers like 0.0000001 M. Taking the negative log compresses that range into a readable 0–14 scale and flips the sign so acidic solutions get low numbers.

How much more acidic is pH 3 than pH 5?+

One hundred times. Each pH unit is a factor of ten in H⁺, so two units is 10 × 10 = 100.

Can pH go below 0 or above 14?+

Yes. Concentrated strong acids can reach negative pH and concentrated strong bases can exceed 14. The 0–14 range just covers most everyday aqueous solutions at 25°C.

Does pH 7 always mean neutral?+

Only at 25°C. Water's self-ionization increases with temperature, so neutral pH drops slightly when hot — about 6.14 at 100°C — even though the water is still neutral.

Related calculators