CalculateItNow home

pH Calculator

pH from [H⁺], [H⁺] from pH, pH from pOH, or the pH of a strong acid or base from its concentration — with [OH⁻], the log steps and a temperature-aware Kw.

pH Calculator: with the default inputs, ph is 2.

mol/L
mol/L
Try an example
pH
2
Solution is
Strongly acidic
pOH
12
[H⁺] (mol/L)
1.000 × 10⁻² mol/L
[OH⁻] (mol/L)
1.000 × 10⁻¹² mol/L
Assumptions
  • Ideal (activity = concentration) behaviour — accurate for dilute solutions.
  • Strong acids and bases dissociate completely; H₂SO₄'s second proton is treated as fully released.
  • pKw = 14.00 (25 °C) unless you change it under More options.
Where this sample sits on the pH scale
051002030507090Strongly acidicAcidicAlkalineStrongly alkalinepH 2Water temperature (°C)pHWhere this sample sits on the pH scale
pH of everyday things
SubstanceTypical pHNote
Battery acid0.0Concentrated sulfuric acid
Stomach acid1.5 – 3.5Hydrochloric acid, roughly 0.03–0.1 M
Lemon juice2.0 – 2.6Citric acid
Vinegar2.4 – 3.4Acetic acid, 5% household
Cola2.5Phosphoric + carbonic acid
Orange juice3.3 – 4.2
Tomato juice4.1 – 4.6
Black coffee4.8 – 5.1
Clean rain5.6Carbonic acid from atmospheric CO₂
Milk6.5 – 6.7
Pure water at 25 °C7.00Neutral by definition: pKw ÷ 2
Human blood7.35 – 7.45Tightly buffered; outside this range is a medical emergency
Seawater8.1Down from 8.2 pre-industrial — ocean acidification
Baking soda solution8.3
Milk of magnesia10.5
Household ammonia11.0 – 11.5
Bleach12.5Sodium hypochlorite
Drain cleaner13 – 14Concentrated sodium hydroxide

Each step down the scale is ten times more hydrogen ions, so lemon juice at pH 2.3 is roughly 50,000 times more acidic than milk at pH 6.6. Your sample is pH 2 — strongly acidic.

Neutral pH is only 7.00 at 25 °C
Water temperature (°C)pKwNeutral pH
014.957.48
1014.537.27
2014.177.09
25147
3013.836.92
4013.536.77
5013.266.63
6013.026.51
7012.86.4
8012.66.3
9012.426.21
10012.256.13

Water ionizes more readily as it warms, so pure water at 100 °C has pH 6.13 and is still perfectly neutral — it has exactly as much H⁺ as OH⁻. Enter the matching pKw under More options to work at another temperature.

Math verified by automated testsUpdated 2026-09-082 sources cited

How this is worked out

The formula

pH = −log₁₀[H⁺]        [H⁺] = 10^(−pH)
pOH = −log₁₀[OH⁻]
pH + pOH = pKw = 14.00 at 25 °C
Kw = [H⁺][OH⁻] = 1.0 × 10⁻¹⁴ at 25 °C

Strong acid:  [H⁺] = n × C        Strong base:  [OH⁻] = n × C
(n = protons or hydroxides per formula unit; below ~10⁻⁶ M include water's own ions)

Open How it’s calculated above to see this worked through with your own numbers.

What you enter

What do you know?
Choose one of 4 options.[H⁺] concentration → pH · pH → [H⁺] and [OH⁻] · pOH → pH · Strong acid or base concentration → pH
Hydrogen-ion concentration [H⁺]
Used in the [H⁺] → pH mode. Enter 1e-7 for 0.0000001.0 or more · defaults to 0.01
pH
Used in the pH → [H⁺] mode.from -2 to 16 · defaults to 7
pOH
Used in the pOH → pH mode.from -2 to 16 · defaults to 3
Acid or base concentration
Used in the strong acid/base mode.0 or more · defaults to 0.01
Strong acid or base
Choose one of 4 options.Monoprotic strong acid (HCl, HNO₃, HBr, HClO₄) — 1 H⁺ · Sulfuric acid H₂SO₄ — 2 H⁺ (approximation) · Strong base with 1 OH⁻ (NaOH, KOH) · Strong base with 2 OH⁻ (Ca(OH)₂, Ba(OH)₂)
pKw (water's ionization constant)(under More options)
14.00 at 25 °C. 14.95 at 0 °C, 13.26 at 50 °C, 12.25 at 100 °C (Bandura & Lvov 2006).from 10 to 16 · defaults to 14

What you get back

pHmain answer
Solution is
pOH
[H⁺] (mol/L)
[OH⁻] (mol/L)

What this assumes

  • Ideal (activity = concentration) behaviour — accurate for dilute solutions.
  • Strong acids and bases dissociate completely; H₂SO₄'s second proton is treated as fully released.
  • pKw = 14.00 (25 °C) unless you change it under More options.

About this calculator

pH is a logarithmic scale for hydrogen-ion concentration: pH = −log₁₀[H⁺]. Each step down the scale is ten times more acidic, so lemon juice at pH 2 has 100,000 times the [H⁺] of pure water at 7. This calculator moves in every direction between pH, pOH, [H⁺] and [OH⁻], computes the pH of a strong acid or base straight from its molarity, and shows the logarithm steps so you can reproduce them on an exam.

How to use it

Pick what you know. For strong acids (HCl, HNO₃, HBr, HI, HClO₄) and strong bases (NaOH, KOH, Ca(OH)₂), dissociation is complete, so [H⁺] or [OH⁻] equals the concentration times the number of ions per formula unit; the calculator handles the factor of two for Ca(OH)₂ and — approximately — for H₂SO₄. Weak acids and bases (acetic acid, ammonia) only partly dissociate and need their Ka or Kb; this calculator does not treat them.

Reading the results

  • pH 7 is neutral only at 25 °C. Water's ionization constant grows with temperature, so neutral is pH 6.63 at 50 °C and 6.14 at 100 °C. Open More options to set pKw for your temperature; the neutral point and the "acidic/basic" verdict follow it.
  • [H⁺] and [OH⁻] always multiply to Kw. Knowing one gives the other.
  • Negative pH and pH above 14 are legitimate for concentrated solutions (12 M HCl has a nominal pH of −1.1), though activity effects make the measured value differ.

The dilute-acid trap

The naive rule pH = −log C says 10⁻⁸ M HCl has pH 8 — an acid that is basic, which is absurd. Water's own 10⁻⁷ M of H⁺ can't be ignored at that dilution. The calculator solves the full charge balance, giving pH 6.98, and shows the extra step whenever it matters.

Common mistakes

  • Forgetting the factor for polyprotic species: 0.01 M Ca(OH)₂ gives 0.02 M OH⁻ and pH 12.3, not 12.0.
  • Rounding pH to one decimal and then back-computing concentration; a 0.1 pH error is a 26% concentration error.
  • Treating a weak acid as strong. 0.1 M acetic acid has pH 2.9, not 1.0.

Significant figures

Digits before the decimal point in a pH are the exponent, so they don't count. [H⁺] = 1.2 × 10⁻³ (two significant figures) gives pH 2.92 (two decimals).

Frequently asked questions

How do I calculate pH from concentration?

For a strong acid, pH = −log₁₀ of the H⁺ concentration in mol/L. 0.01 M HCl gives −log(0.01) = 2. For a strong base, find pOH = −log[OH⁻] and subtract from 14.

How do I find [H⁺] from pH?

Raise 10 to the negative pH: [H⁺] = 10^(−pH). pH 3 is 10⁻³ = 0.001 mol/L; pH 7.4 is 10^(−7.4) = 4.0 × 10⁻⁸ mol/L.

What is the relationship between pH and pOH?

They add up to pKw, which is 14.00 at 25 °C. So pOH 3 means pH 11. At other temperatures the sum changes — 13.26 at 50 °C.

Can pH be negative or greater than 14?

Yes. The 0–14 range is just where dilute aqueous solutions fall. 10 M HCl has a nominal pH of −1, and saturated NaOH is above 15, although activity effects make measured values differ from the ideal formula.

Why isn't the pH of 10⁻⁸ M HCl equal to 8?

Because water itself supplies 10⁻⁷ M of H⁺, more than the acid does. Solving the full balance gives pH 6.98 — slightly acidic, as an acid solution must be. The calculator includes this correction automatically.

Put this calculator on your own site

A working ph, free for any site, with no ads and no sign-up. It resizes to fit wherever you paste it and updates itself as this page improves.

Paste this anywhere. It works on any site, carries no ads, never expires, and always shows the current version.

pH Calculator by CalculateItNow

The page's own title. The clearest description of what the link leads to.

The credit line sits outside the widget on purpose, so it is a real link on your page rather than one buried in a frame. Please keep it — it is what pays for CalculateItNow staying free and ad-free. The script only resizes the widget to fit its contents; drop it and the widget still works.

Browse every calculator widget·How to add it to WordPress, Squarespace or Wix

The questions people ask next to a ph.

All science calculators·Browse everything