About the pH Calculator
This free tool computes pH, pOH, [H+] and [OH-] for strong and weak acids and bases. You can enter a hydrogen or hydroxide concentration, pH or pOH, a strong acid or base concentration, or a weak acid/base with Ka or Kb. The page runs entirely in your browser and nothing is uploaded to a server. Results update instantly as you type and you can copy results or share a link that reopens with your numbers. The calculator solves the exact quadratic for weak acids and weak bases, and it applies full ion counts for multi‑ion formulas like H2SO4 or Ca(OH)2. It assumes dilute solutions at 25 °C. Very dilute strong acids below about 1.0e-6 M need the water auto‑ionization term and are not handled exactly here.
How to use it
- 1Select what you know: [H+], [OH-], pH, pOH, strong acid/base, or weak acid/base with Ka or Kb.
- 2Enter the numeric value and set H+ or OH- released per formula unit if needed.
- 3If using a weak acid or base, enter Ka or Kb.
- 4Read pH, pOH, [H+], [OH-] and the solution state; copy results or share the link.
Worked example
Input: Strong acid HCl, concentration 0.01 M, H+ per formula = 1. Result: [H+] = 1.00e-2 M, pH = 2.00, [OH-] = 1.00e-12 M, pOH = 12.00, Solution is acidic.
The formula
pH = -log10[H+] and pOH = -log10[OH-], with pH + pOH = 14 at 25 °C (Kw = 1.0 x 10^-14)Strong acids and bases ionise fully, so [H+] or [OH-] = concentration x ions releasedWeak acid: [H+] = (-Ka + square root of (Ka^2 + 4 x Ka x C)) / 2, from Ka = x^2 / (C - x); weak bases use Kb the same way for [OH-]Assumes dilute solutions at 25 °CVery dilute strong acids (under about 1e-6 M) also need the water's own H+ and are not handled exactlySource: IUPAC Gold Book pH definitionOpenStax Chemistry: pH and pOH. Last checked 6 November 2026.
What it is good for
- Instant results as you type in your browser; no upload required.
- Solves the exact quadratic for weak acids and weak bases.
- Accepts Ka or Kb and ions per formula unit for multi‑ion species.
- Assumes ideal, dilute solutions at 25 °C; no activity or ionic strength corrections.
- Very dilute strong acids below about 1.0e-6 M are not handled exactly because water auto‑ionization is not fully included.
Questions people ask
What inputs can I give the calculator?
You can enter [H+] or [OH-], pH or pOH, a strong acid or base concentration, or a weak acid/base with Ka or Kb. Set the number of H+ or OH- released per formula unit if required.
How does the tool treat strong acids and bases?
The tool assumes full ionisation for strong acids and bases. It multiplies the concentration by the ions released to get [H+] or [OH-], then computes pH or pOH using pH = -log10[H+].
How does the calculator handle weak acids or weak bases?
For weak species the tool solves the quadratic from Ka = x^2/(C - x) or Kb similarly. It uses the exact root x = (-Ka + sqrt(Ka^2 + 4 Ka C)) / 2 for [H+] or [OH-].
Can this tool handle very dilute strong acids like 1e-8 M HCl?
The page warns that very dilute strong acids under about 1.0e-6 M need water auto‑ionization included. This tool does not include that water term exactly, so results can be approximate for those cases.
Does the calculator send my data to a server?
No. Calculations run in your browser and nothing is uploaded. You can copy results or create a share link that stores the numbers in the page URL.
Does the tool correct for temperature or ionic strength?
No. The calculator uses Kw = 1.0 x 10^-14 and assumes 25 °C. It does not apply activity or ionic strength corrections.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.