pH calculator
Work out the pH of a solution for chemistry homework, lab prep or water treatment. Convert between pH, pOH and hydrogen or hydroxide ion concentration, or calculate the pH of a strong acid or base from its molarity, including acids that release two protons. For weak acids and bases, enter the concentration and Ka or Kb and the calculator solves the equilibrium exactly rather than with the usual approximation. For buffers, it uses the Henderson–Hasselbalch equation with the pKa and the concentrations of the base and acid forms.
Calculate
Type
Scientific notation such as 1.8e-5 or 1.8×10^-5 works.
Enter the values for the calculation.
At 25 °C, where pH + pOH = 14.
How to use the pH Calculator
- 1
Choose the calculation
From concentration, from pH, strong, weak or buffer.
- 2
Choose acid or base
Where it applies.
- 3
Enter the values
Concentrations in mol/L; scientific notation like 1.8e-5 works.
- 4
Read pH and pOH
With [H+] and [OH−].
Formulas used
Weak acids use the exact solution of Ka = x² ÷ (C − x). Very dilute strong acids include water’s own ions, so 10⁻⁸ M HCl gives pH 6.98, not 8.
- pH = −log₁₀[H⁺]
- pH + pOH = 14 (25 °C)
- [H⁺] = (−Ka + √(Ka² + 4·Ka·C)) ÷ 2
- pH = pKa + log₁₀([A⁻] ÷ [HA])
When to use it
- Check homework answers for acid–base problems.
- Prepare a buffer of a target pH.
- Estimate the pH of a diluted cleaning acid.
Limits
- Assumes 25 °C and ideal (dilute) solutions; activity effects matter above about 0.1 M.
- Polyprotic weak acids are treated by their first dissociation only.
Privacy
Everything is calculated in your browser. Nothing you enter is sent anywhere or stored.
Frequently asked questions
What is pH?
The negative base-10 logarithm of the hydrogen ion concentration. Each unit is a tenfold change.
Why isn’t 10⁻⁸ M HCl pH 8?
Water itself provides about 10⁻⁷ M H⁺, so a very dilute acid is still slightly acidic.
What is Ka?
The acid dissociation constant; larger Ka means a stronger acid. pKa = −log₁₀ Ka.
When is Henderson–Hasselbalch accurate?
For buffers where both forms are present at similar, not too dilute, concentrations.
Does temperature matter?
Yes. pKw is 14.00 at 25 °C but changes with temperature, so neutral pH is lower when hot.
Related tools
- Molarity CalculatorMass to weigh out, molar concentration or volume, from the molar mass.
- Dilution CalculatorStock volume, final volume or concentration from C1V1 = C2V2, with the diluent to add.
- Scientific Notation ConverterScientific, engineering, E and decimal notation, with rounding to significant figures.
People also use
- GPA CalculatorSemester GPA, CGPA and degree class with editable grade points.
- Typing Speed TestWords per minute and accuracy with live highlighting.
- Citation GeneratorCite from a URL, DOI or ISBN in APA, MLA, Harvard, Chicago, IEEE, Vancouver and AMA.
- Periodic TableAll 118 elements with masses, categories and a molar mass calculator.
Last updated November 23, 2026 · How we build and test our tools