Key facts
- pH = −log₁₀[H⁺]. A solution with [H⁺] = 0.001 mol/L has pH 3.
- At 25 °C, pH + pOH = 14 and [H⁺] × [OH⁻] = 1.0 × 10⁻¹⁴.
- pH below 7 is acidic, 7 is neutral and above 7 is basic (alkaline).
- Each pH unit is a tenfold change in [H⁺]: pH 3 is 10 times more acidic than pH 4.
What is pH?
pH is a logarithmic scale for the concentration of hydrogen ions (more precisely, hydronium ions, H₃O⁺) in a solution. Danish chemist Søren Sørensen introduced it in 1909 to describe acidity in beer brewing. Because it is logarithmic, small changes in pH mean big changes in acidity. Pure water at 25 °C has [H⁺] = 1 × 10⁻⁷ mol/L, so its pH is 7.
How to use the pH calculator
- Choose what you know: pH, pOH, [H⁺] or [OH⁻].
- Enter the value. Concentrations are in mol/L; you can type 0.001 or 1e-3.
- Read the pH, pOH and both ion concentrations, plus where the solution sits on the scale.
pH formulas
pH = −log₁₀[H⁺] [H⁺] = 10^(−pH)pOH = −log₁₀[OH⁻] [OH⁻] = 10^(−pOH)pH + pOH = 14 (at 25 °C)[H⁺] × [OH⁻] = Kw = 1.0 × 10⁻¹⁴ (at 25 °C)| Symbol | Meaning |
|---|---|
| [H⁺] | Hydrogen-ion (hydronium) concentration, mol/L |
| [OH⁻] | Hydroxide-ion concentration, mol/L |
| pOH | Negative log of [OH⁻] |
| Kw | Ion product of water |
Worked examples: pH
Example 1: strong acid
0.001 M hydrochloric acid ionises completely, so [H⁺] = 0.001 = 10⁻³ mol/L and pH = 3. pOH = 11.
Example 2: strong base
0.01 M sodium hydroxide gives [OH⁻] = 10⁻² mol/L, so pOH = 2 and pH = 12.
Example 3: blood
Blood has a pH of about 7.4. [H⁺] = 10⁻⁷·⁴ ≈ 3.98 × 10⁻⁸ mol/L. A drop to 7.1 roughly doubles the hydrogen-ion concentration, a serious condition called acidosis.
The pH scale: everyday examples
| pH | Example | Type |
|---|---|---|
| 0 to 1 | Battery acid | Strongly acidic |
| 1.5 to 3.5 | Stomach acid | Strongly acidic |
| 2 | Lemon juice | Acidic |
| 2.5 to 3 | Vinegar, cola | Acidic |
| 4 to 5 | Tomato juice, black coffee (about 5) | Weakly acidic |
| 5.6 | Clean rain | Weakly acidic |
| 7 | Pure water at 25 °C | Neutral |
| 7.35 to 7.45 | Human blood | Weakly basic |
| 8.1 | Seawater | Weakly basic |
| 8.3 | Baking soda solution | Weakly basic |
| 11 to 12 | Household ammonia | Basic |
| 12.5 to 13 | Bleach | Strongly basic |
| 14 | Drain cleaner (sodium hydroxide) | Strongly basic |
Strong and weak acids
For strong acids and bases, such as HCl, HNO₃ and NaOH, the concentration of the acid equals [H⁺] or [OH⁻], as in the examples above. Weak acids, such as acetic acid in vinegar, only partly ionise, so you need the acid dissociation constant Ka: for a weak acid, [H⁺] ≈ √(Ka × C). For 0.1 M acetic acid (Ka = 1.8 × 10⁻⁵), [H⁺] ≈ 1.34 × 10⁻³ and pH ≈ 2.87.
Temperature matters
Kw changes with temperature, so neutral pH is only exactly 7 at 25 °C. At 37 °C (body temperature), neutral water has a pH of about 6.8, and at 0 °C about 7.5. This calculator assumes 25 °C.
Mistakes to avoid with pH
- Forgetting the minus sign. pH = −log[H⁺], so [H⁺] = 10⁻⁴ gives pH 4, not −4.
- Treating pH as linear. pH 2 is 100 times more acidic than pH 4, not twice.
- Using pH + pOH = 14 at other temperatures.
- Assuming weak acids fully dissociate.
The origin of pH and where it matters
The pH scale was introduced in 1909 by the Danish chemist Søren Sørensen at the Carlsberg Laboratory in Copenhagen, who needed a precise way to describe acidity while studying proteins and brewing. In 1934 Arnold Beckman invented the first commercial pH meter to help the California citrus industry measure lemon juice acidity, founding Beckman Instruments. At 25 °C, pure water has a pH of 7 because the ionic product of water Kw is 10⁻¹⁴; at body temperature neutral pH is closer to 6.8.
pH matters well beyond the lab. Human blood is kept between 7.35 and 7.45, and small changes are medical emergencies. The US Environmental Protection Agency recommends drinking water between pH 6.5 and 8.5 as a secondary standard for taste and pipe corrosion. Surface ocean pH has fallen from about 8.2 before the industrial era to about 8.05 to 8.1 today as seawater absorbs carbon dioxide, a change NOAA describes as ocean acidification; because pH is logarithmic, that drop means about 30% more hydrogen ions. Swimming pools are kept at about 7.2 to 7.8. For the logarithms behind the scale, use the log calculator; for solution strength, the molarity calculator; and for diluting an acid, the dilution calculator.
Related: log calculator and molarity calculator.
How this calculator works
- pH = −log₁₀[H⁺]; pOH = −log₁₀[OH⁻]; at 25 °C, pH + pOH = 14.
- From [H⁺] or [OH⁻] in mol/L, or from a given pH or pOH, all four values are calculated.
- The result is labelled strongly or weakly acidic, neutral, or weakly or strongly basic.
- Assumes 25 °C and treats concentration as activity, which is accurate for dilute solutions.
Frequently asked questions
How do I calculate pH?
Take the negative base-10 logarithm of the hydrogen-ion concentration: pH = −log₁₀[H⁺]. For [H⁺] = 2.5 × 10⁻⁴ mol/L, pH ≈ 3.60.
How do I calculate pH from pOH?
At 25 °C, pH = 14 − pOH. A pOH of 4.5 means a pH of 9.5.
How do I find [H⁺] from pH?
Raise 10 to the power of minus the pH: [H⁺] = 10^(−pH). pH 5 means [H⁺] = 10⁻⁵ mol/L.
What pH is neutral?
7 at 25 °C, where [H⁺] = [OH⁻] = 10⁻⁷ mol/L.
Can pH be negative or above 14?
Yes, for very concentrated strong acids or bases. 10 M HCl has a theoretical pH of −1, although real solutions behave less ideally at such strengths.
What is the pH of 0.1 M HCl?
pH = 1, because HCl is a strong acid and fully ionises to give [H⁺] = 0.1 mol/L.
What is the pH of 0.1 M NaOH?
pOH = 1, so pH = 13 at 25 °C.
Why is the pH scale logarithmic?
Hydrogen-ion concentrations span many powers of ten, from about 1 to 10⁻¹⁴ mol/L. A logarithm turns that range into a convenient 0 to 14 scale.