pH Calculator
Enter a hydrogen ion concentration to find the pH, or enter a pH to find the concentration.
What pH actually measures
pH is the negative base-10 logarithm of the hydrogen ion concentration in moles per litre. It compresses a range that spans fourteen orders of magnitude into a number between roughly 0 and 14, and this calculator converts in either direction, returning pH, pOH and the concentration behind them.
The minus sign exists only to make the numbers positive. A hydrogen ion concentration of 10−7 mol/L is a logarithm of −7, and flipping the sign gives the familiar 7. Without the flip, every neutral solution would be quoted as a negative number.
Invert the relation by raising ten to the negative pH: [H⁺] = 10−pH. That single step is all you need to go from a meter reading back to a concentration you can put into a rate law or an equilibrium expression.
Reading the scale without a calculator
Each whole pH unit is a factor of ten in concentration. Moving from pH 5 to pH 4 multiplies [H⁺] by 10, and moving from 5 to 3 multiplies it by 100. This is why a solution at pH 3 is not 40% more acidic than one at pH 5, it is a hundred times more acidic.
Fractional units follow the same rule: 0.3 of a pH unit is a factor of about 2, because 100.3 = 2.00. So pH 7.0 and pH 7.3 differ by a factor of two in hydrogen ion concentration, and that is exactly the width of the healthy blood range.
A useful check on any answer: a concentration written in scientific notation with exponent −n has a pH close to n, adjusted by the mantissa. 5.0 × 10−4 mol/L sits at pH 3.3, one third of a unit below 4.
Worked example at the defaults
The defaults are a hydrogen ion concentration of 10−7 mol/L. The logarithm is −7, the negative of that is pH 7, and pOH = 14 − 7 = 7 as well. Pure water at 25 °C sits exactly here, with equal hydrogen and hydroxide concentrations of 10−7 mol/L.
Run it the other way. Enter pH 3.3 and the calculator returns [H⁺] = 10−3.3 = 5.01 × 10−4 mol/L, or 0.501 mmol/L, with pOH 10.7. That concentration is high enough to attack carbon steel at a visible rate, unlike the 0.1 µmol/L of neutral water.
At pH 11.5 the concentration falls to 3.16 × 10−12 mol/L and pOH drops to 2.5, meaning [OH−] = 3.16 × 10−3 mol/L. The pair always multiplies to 10−14 at 25 °C, which is the only reason the pOH column is free.
pH values of familiar solutions
| Solution | pH | Hydrogen ion concentration |
|---|---|---|
| Stomach acid | 1.5 | 3.2 × 10−2 mol/L |
| Lemon juice | 2.0 | 1.0 × 10−2 mol/L |
| Black coffee | 5.0 | 1.0 × 10−5 mol/L |
| Milk | 6.7 | 2.0 × 10−7 mol/L |
| Pure water | 7.0 | 1.0 × 10−7 mol/L |
| Seawater | 8.1 | 7.9 × 10−9 mol/L |
| Baking soda solution | 8.3 | 5.0 × 10−9 mol/L |
| Ammonia cleaner | 11.5 | 3.2 × 10−12 mol/L |
The span from stomach acid to ammonia cleaner is ten orders of magnitude in concentration, and the pH column expresses that as a range of ten. This is exactly why the log scale exists: a linear axis from 0.032 to 0.0000000000032 mol/L would be unreadable.
pOH and the number 14
Water self-ionises: H2O ⇌ H⁺ + OH−, with Kw = [H⁺][OH−] = 10−14 at 25 °C. Taking logs of both sides gives pH + pOH = 14, which is where the pOH output comes from and why it costs nothing to compute.
The 14 is a property of water at one temperature, not a law of nature. Ionisation is endothermic, so Kw rises as the water warms and pKw falls. At body temperature the sum is 13.62, which puts neutral pH at 6.81 rather than 7.00.
| Temperature | pKw | Neutral pH |
|---|---|---|
| 0 °C | 14.94 | 7.47 |
| 25 °C | 14.00 | 7.00 |
| 37 °C | 13.62 | 6.81 |
| 50 °C | 13.26 | 6.63 |
| 100 °C | 12.27 | 6.14 |
This matters for anyone measuring hot process water. A boiler sample reading pH 6.5 at 100 °C is not acidic at all; it is slightly basic relative to the local neutral point of 6.14. Reporting it against the 25 °C neutral value of 7 would call it corrosive when it is not.
Where pH measurements drift
- Calibration: a glass electrode drifts by 0.05–0.1 pH units per day, which is a 12–26% concentration error if you use the reading quantitatively.
- Temperature compensation: most meters correct the electrode slope but not the sample chemistry, so a buffer checked at 25 °C is still wrong at 60 °C.
- Low ionic strength: pure water and distilled samples give unstable readings because the electrode needs ions to complete the circuit, often off by 0.3 units or more.
- Sodium error: above pH 12 the glass membrane responds to Na+ as well as H⁺, and readings come out low by 0.1–0.5 units.
- Stirring and response time: a still sample takes 30–60 s to equilibrate, and reading early biases every value toward the previous solution.
The mistakes that produce a wrong pH
- Assuming a 0.1 M acid gives pH 1: that holds for HCl, which is fully dissociated, but 0.1 M acetic acid sits at pH 2.88 because only about 1.3% of it ionises.
- Using concentration where activity belongs: at 0.1 M the activity coefficient of H⁺ is about 0.80, so the true pH of 0.1 M HCl is 1.10, not 1.00.
- Forgetting that pH is defined per litre of solution, not per litre of water, so adding 20% ethanol shifts the reading without changing the acid.
- Treating pH as linear when comparing two samples, which turns a factor of 2 into an apparent 0.3.
Strong and weak acids diverge fast
A 0.01 M HCl solution gives pH 2.00 exactly. A 0.01 M acetic acid solution gives pH 3.38, because [H⁺] = √(KaC) = √(1.75 × 10−5 × 0.01) = 4.18 × 10−4. Same nominal concentration, 1.4 pH units apart, a 24-fold difference in hydrogen ion concentration.
Dilution does not move pH in proportion
Dilute a strong acid tenfold and pH rises by exactly 1. Dilute a weak acid tenfold and pH rises by only 0.5, because the fraction ionised increases as the solution gets more dilute. Push either one past about 10−6 M and the water’s own 10−7 contribution takes over, and pH approaches 7 from below without ever crossing it.
Frequently asked questions
How do you calculate pH from concentration?
Take the negative base-10 log of the hydrogen ion concentration. At the default 10−7 mol/L the log is −7 and the pH is 7.
What does a pH of 7 mean?
Neutral at 25 °C, where [H⁺] = [OH−] = 10−7 mol/L. At 37 °C the neutral point moves to 6.81.
Is a lower pH more acidic?
Yes. pH 3 is a hundred times more acidic than pH 5, because each unit is a factor of ten in hydrogen ion concentration.
What is the pH of 0.1 M HCl?
1.00 by concentration, since HCl is fully dissociated. Correcting for activity at that ionic strength gives about 1.10.
What is the pH of 0.1 M acetic acid?
2.88. With Ka = 1.75 × 10−5 only about 1.3% ionises, giving [H⁺] = 1.32 × 10−3 mol/L, far from the 1.00 of a strong acid.
How much does temperature change pH?
Neutral pH falls from 7.00 at 25 °C to 6.14 at 100 °C. A buffer’s pH also drifts, Tris by about 0.028 per °C.
What is pOH?
The negative log of the hydroxide concentration. At 25 °C, pH + pOH = 14, so pH 7 gives pOH 7 and pH 11.5 gives pOH 2.5.
How do I go from pH to concentration?
Raise ten to the negative pH. pH 3.3 gives 10−3.3 = 5.01 × 10−4 mol/L, and pH 8.1 gives 7.9 × 10−9 mol/L.
Why is my pH meter reading 7 in distilled water?
Pure water has almost no ions to carry the electrode current, so readings are unstable and often biased toward 7. Adding a drop of KCl to raise conductivity gives a truer value.
Method and sources
- pH definition: pH = −log₁₀[H⁺].