pH Calculator

Science

Calculate pH from concentration

pH is the standard scale chemists use to describe how acidic or basic a solution is, and it's built on a deceptively simple formula: the negative base-10 logarithm of the hydrogen ion concentration. That logarithm is exactly why pH calculations trip students up — logs aren't intuitive, and going from a concentration like 0.00001 mol/L to a clean pH value (or back the other way) requires a calculator with a log function.

Our pH calculator handles both directions instantly. Enter the hydrogen ion concentration [H⁺] in mol/L to get the pH, or enter a pH value to find the corresponding [H⁺] and [OH⁻] concentrations plus the pOH. The pH scale runs from 0 to 14: values below 7 are acidic, 7 is neutral (pure water at 25°C), and values above 7 are basic (alkaline).

Whether you're finishing a titration lab, checking water quality, or verifying a chemistry worksheet answer, this calculator gives fast, precise results without needing a scientific calculator's log button.

Why pH Calculator Matters

pH is one of the most frequently used measurements in all of chemistry and biology, appearing in every acid-base unit from middle school science through graduate biochemistry. Titration labs require you to calculate pH at multiple points along a curve, equilibrium problems ask you to find pH from a weak acid's dissociation constant (Ka), and buffer calculations depend on accurately converting between concentration and pH using the Henderson-Hasselbalch equation, which itself builds on the basic pH formula. Because pH is logarithmic, a change of just 1 pH unit represents a tenfold change in hydrogen ion concentration — a concept many students initially find counterintuitive and that calculators make concrete.

Beyond the classroom, pH measurement drives real-world decisions in medicine, agriculture, and environmental science. Human blood must stay within a narrow pH range (about 7.35–7.45) or serious medical complications occur, which is why clinical labs monitor it precisely. Farmers test soil pH to determine which crops will thrive and whether lime needs to be added to raise it. Environmental agencies like the EPA monitor the pH of rivers, lakes, and drinking water because pH outside the safe range (roughly 6.5–8.5 for drinking water) can indicate contamination or harm aquatic life. In every one of these cases, the underlying math is the same pH = -log₁₀[H⁺] formula taught in introductory chemistry.

The pH Calculator Formula, Explained

pH = -log₁₀[H⁺] and pOH = 14 - pH

Where: pH = the measure of acidity or basicity on the standard 0–14 scale, and [H⁺] = the concentration of hydrogen ions (technically hydronium, H₃O⁺) in the solution, measured in moles per liter (mol/L).

Because the formula uses a negative logarithm, a higher [H⁺] concentration produces a lower pH (more acidic), while a lower [H⁺] concentration produces a higher pH (more basic). To reverse the formula and find [H⁺] from a known pH, use [H⁺] = 10^(-pH).

pOH works the same way but measures hydroxide ion concentration: pOH = -log₁₀[OH⁻]. Since water's ion product Kw = [H⁺][OH⁻] = 1.0×10⁻¹⁴ at 25°C, pH and pOH always add up to 14 at that temperature: pH + pOH = 14. This lets you find pOH directly from pH without needing the hydroxide concentration.

How to Use the pH Calculator: Step by Step

  1. Decide your starting value

    Determine whether you have a hydrogen ion concentration [H+] in mol/L (use pH = -log10[H+]) or an existing pH value you want to convert back to concentration.

  2. Enter [H+] to find pH

    Input the hydrogen ion concentration in mol/L, often written in scientific notation (e.g., 1 × 10⁻³). The calculator applies the negative log to return the pH value.

  3. Or enter pH to find [H+] and [OH-]

    Input a known pH value between 0 and 14 to reverse-calculate the hydrogen ion concentration [H+] = 10^(-pH), plus the pOH and hydroxide ion concentration [OH-].

  4. Interpret the result

    Compare the pH to the 0–14 scale: below 7 is acidic, exactly 7 is neutral, above 7 is basic. The further from 7, the stronger the acid or base.

pH Calculator Examples: Real-World Scenarios

1

pH of a Strong Acid Solution

A solution has a hydrogen ion concentration of 1×10⁻³ mol/L. What is its pH?

[H+]:1 × 10⁻³ mol/L

Calculation

pH = -log₁₀(1×10⁻³) = -(-3)

Result

pH = 3.0 — a strongly acidic solution, similar in acidity to gastric (stomach) acid diluted somewhat, or concentrated vinegar.

2

pH of Lemon Juice

Lemon juice has a hydrogen ion concentration of about 5.0×10⁻³ mol/L. Find its pH.

[H+]:5.0 × 10⁻³ mol/L

Calculation

pH = -log₁₀(5.0×10⁻³) = -(-2.301)

Result

pH ≈ 2.30, consistent with lemon juice's known pH range of about 2–2.6, making it one of the more acidic common foods.

3

Finding [H+] and pOH from a Known pH (Seawater)

Seawater has a pH of about 8.5. Find its hydrogen ion concentration, pOH, and hydroxide ion concentration.

pH:8.5

Calculation

[H+] = 10^(-8.5); pOH = 14 - 8.5 = 5.5; [OH-] = 10^(-5.5)

Result

[H+] ≈ 3.16×10⁻⁹ mol/L, pOH = 5.5, [OH-] ≈ 3.16×10⁻⁶ mol/L. Because pOH (5.5) is less than pH (8.5), the solution is basic, matching seawater's known slight alkalinity.

Common Mistakes to Avoid

  • Forgetting the negative sign in pH = -log₁₀[H⁺] — log₁₀ of a small decimal concentration is negative, so the formula's leading minus sign is required to get a positive pH value.
  • Treating pH as a linear scale — it's logarithmic, so a solution with pH 3 is not 'twice as acidic' as pH 6; it actually has 1,000 times the hydrogen ion concentration (a difference of 3 pH units = 10³).
  • Assuming pH + pOH = 14 always holds — this relationship is only valid at 25°C, since Kw (and therefore the pH+pOH sum) changes slightly with temperature.

Tips & Tricks

  • As a quick sanity check, remember pure water is pH 7 at 25°C, household bleach is around pH 12–13, and battery acid is near pH 0–1 — use these landmarks to judge whether a calculated pH is reasonable.
  • When converting [H+] to pH, express the concentration in proper scientific notation (a × 10^b) before taking the log; this avoids calculator entry errors that are common with very small decimal numbers.

The pH scale distills a wide range of hydrogen ion concentrations into a simple, comparable number, but the underlying logarithmic math is easy to fumble by hand. Use this calculator to check titration results, homework, or water quality readings quickly and accurately. Pair it with our molarity calculator to work out concentrations before converting them to pH.

pH Calculator — Frequently Asked Questions

Related Calculators

Authoritative References

External links open in a new tab. OmniCalc.us is not affiliated with these organisations.

Related Calculators