Chemistry & Chemical Engineering Acids, Bases, Buffers & Titration IUPAC pH definition, Kw = 1.0e-14 at 25 degC

pH and pOH Calculator

Enter any one of pH, pOH, [H+], [OH], or the concentration of a strong acid or strong base, and this calculator returns all four along with the neutral pH at your temperature. It solves the strong-acid and strong-base cases exactly rather than by the usual shortcut, so a 1×10−8 M HCl solution correctly comes out slightly acidic at pH 6.98 instead of the impossible pH 8 the shortcut gives. Water's ion product changes with temperature, so the neutral point moves too — it is 7.00 only at 25 °C.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
What do you know?Pick the quantity you measured or were given; the other three are derived from it.Concentration of a strong acid
Strong acid or base concentrationThe formal (analytical) concentration of the acid or base as weighed out, not the ion concentration.0.01 M
Ionisable H+ or OH- per formula unitMultiplies the concentration to give normality; use 2 for Ba(OH)2 and for H2SO4 treated as fully diprotic.1 (HCl, HNO3, NaOH, KOH)
[H+]The equilibrium hydrogen ion concentration in mol/L, from a measurement or a previous equilibrium calculation.0.0001 M
[OH-]The equilibrium hydroxide concentration in mol/L.0.0001 M
pHThe meter reading or the value given in the problem; values below 0 and above 14 are possible in concentrated solutions.3.4
pOHEnter pOH if that is what your problem supplies; pH is recovered as pKw minus pOH.4.2
TemperatureSets the ion product of water; leave at 25 for standard textbook problems.25 °C

It returns

  • pH — Negative base-10 logarithm of the hydrogen ion concentration.
  • pOH
  • [H+]
  • [OH-]
  • Neutral pH at this temperature — pKw divided by 2 - the pH at which [H+] equals [OH-].
  • pKw of water at this temperature

The formula

pH=log10[H+],pH+pOH=pKw
[H+]=C+C2+4Kw2

In plain text: pH = -log10[H+], pOH = -log10[OH-], pH + pOH = pKw (14.00 at 25 degC)

  • [H+]Hydrogen (hydronium) ion activity, approximated by concentration (mol/L)
  • [OH-]Hydroxide ion concentration (mol/L)
  • KwIon product of water, [H+][OH-]; 1.0e-14 at 25 degC (mol^2/L^2)
  • pKw-log10 Kw; 14.00 at 25 degC, 12.26 at 100 degC (-)
  • CAnalytical concentration of a fully dissociated strong acid or base (mol/L)

pH is strictly defined on hydrogen ion activity, not concentration. The two agree closely in dilute solution and diverge above roughly 0.1 M.

Updated Category Acids, Bases, Buffers & Titration Verified against published test cases Reading time 11 min

What pH actually measures

pH is a logarithmic measure of how much hydrogen ion a solution contains: pH = −log10[H+]. The logarithm exists for a practical reason. Hydrogen ion concentrations in ordinary aqueous chemistry span from about 1 mol/L in strong acid down to 10−14 mol/L in strong base — fifteen orders of magnitude. Compressing that onto a scale running roughly 0 to 14 makes the numbers usable, at the cost of a fact people constantly forget: one pH unit is a factor of ten. A solution at pH 4 holds a hundred times more hydrogen ion than one at pH 6.

Every aqueous solution contains both H+ and OH, because water autoionises: 2 H2O ⇌ H3O+ + OH. The equilibrium constant for that reaction is the ion product Kw = [H+][OH], equal to 1.0×10−14 at 25 °C. Because the product is fixed, the two concentrations are locked together: push one up and the other falls. Take the negative logarithm of both sides and that relationship becomes the sum you already know, pH + pOH = 14.00 at 25 °C.

Strictly, the IUPAC definition of pH is built on hydrogen ion activity, not concentration. Activity accounts for the way ions screen one another in solution, and it drops below concentration as the solution gets more concentrated. In dilute work the difference is negligible; above roughly 0.1 mol/L it is not, which is why a calculated pH for a concentrated acid should be treated as an estimate and not as a substitute for a measurement.

The four conversions, and the one everybody gets wrong

Three of the four conversions this calculator performs are pure arithmetic. From pH you get [H+] = 10−pH. From [OH] you get pOH = −log10[OH] and then pH = pKw − pOH. None of these require you to know anything about the solute; they are properties of the numbers.

The fourth conversion is the one that hides a trap. Going from the concentration of a strong acid to pH looks equally trivial — HCl dissociates completely, so surely [H+] equals the concentration you weighed out. That works down to about 10−6 M and then fails, because you have ignored the hydrogen ion the water itself supplies. Apply the shortcut to 1×10−8 M HCl and you get pH 8: an acid that is somehow basic.

The honest treatment writes a charge balance, [H+] = [OH] + C, substitutes [OH] = Kw/[H+], and solves the resulting quadratic:

[H+]=C+C2+4Kw2

This calculator uses that exact form always. At 0.01 M the 4Kw term is forty billion times smaller than C2 and changes nothing; at 10−8 M it dominates, and the answer bends smoothly toward neutrality instead of crossing it. The same expression with C as the base concentration gives [OH] for a strong base.

For a weak acid or weak base the dissociation is partial and the concentration alone is not enough — you need the equilibrium constant. Use the weak acid pH calculator or the weak base pH calculator for those.

Worked example: pH of 0.0050 M Ba(OH)2 and of 1e-8 M HCl

Case 1: a strong base with two hydroxides. Barium hydroxide dissociates completely and releases two OH per formula unit.

  1. Convert the formal concentration to hydroxide normality: 0.0050 mol/L × 2 = 0.010 mol/L OH.
  2. Because 0.010 is far above 10−6, the water term is negligible: [OH] = 0.010 M.
  3. pOH = −log10(0.010) = 2.00.
  4. pH = 14.00 − 2.00 = 12.00.
  5. Check [H+] = Kw/[OH] = 1.0×10−14 ÷ 0.010 = 1.0×10−12 M, and −log of that is 12.00. The two routes agree.

Case 2: hydrochloric acid at 1×10−8 M. Now the shortcut breaks, so use the quadratic.

  1. C2 = (1×10−8)2 = 1×10−16.
  2. 4Kw = 4 × 1.0×10−14 = 4.0×10−14. Notice it is 400 times larger than C2 — the water is supplying most of the hydrogen ion.
  3. Sum: 4.01×10−14. Square root: 2.0025×10−7.
  4. Add C and halve: (1×10−8 + 2.0025×10−7) ÷ 2 = 1.0512×10−7 M.
  5. pH = −log10(1.0512×10−7) = 6.98.

The answer is acidic, as it must be, but only just: adding that much HCl to a litre of water moves the pH by 0.02 units. The shortcut would have told you pH 8.00, an error of a full order of magnitude in the wrong direction.

Reading the result: what counts as acidic

Compare your pH against the neutral pH at your temperature, not against 7. Neutrality means [H+] = [OH], which happens at pKw/2. That equals 7.00 at 25 °C and nowhere else. Water at 50 °C has pKw = 13.26, so neutral water is pH 6.63 — it is not acidic, it is neutral at a different number. Boiling water at 100 °C is neutral at pH 6.13 by the same arithmetic. This calculator reports the neutral point alongside your pH for exactly this reason.

Two further habits separate a careful answer from a sloppy one. First, significant figures in pH live only after the decimal point. The digits before the point encode the exponent, so 0.010 M HCl (two significant figures) gives pH 2.00, not pH 2.0000. A pH reported to three decimal places implies a hydrogen ion concentration known to about 0.2%, which no field electrode delivers. Second, a routine glass electrode calibrated with two buffers is good to roughly ±0.02 pH units at best, and drifts with temperature, junction potential and sodium error at high pH. Treat calculated and measured values as agreeing when they are within a few hundredths.

If your solution is a mixture of a weak acid and its conjugate base, none of the strong-electrolyte reasoning above applies — the pH is set by the ratio of the two species and barely moves when you add acid. That is the domain of the Henderson-Hasselbalch buffer calculator.

Reference: pKw, neutral pH and the pH scale

Ion product of water against temperature, and the neutral pH derived from it as pKw / 2.
Temperature (°C)pKwKwNeutral pH
014.941.1×10−157.47
1014.532.9×10−157.27
2014.176.8×10−157.08
2514.001.0×10−147.00
3713.622.4×10−146.81
5013.265.5×10−146.63
7512.702.0×10−136.35
10012.265.5×10−136.13

pKw values are tabulated data for pure water (CRC Handbook); Kw and neutral pH in this table are derived from them as 10^-pKw and pKw/2. The calculator interpolates linearly between these anchors.

Mistakes that produce a wrong pH

  • Treating a weak acid as strong. 0.10 M acetic acid is not pH 1.00; with Ka = 1.8×10−5 it works out to pH 2.88, because only about 1.3% of it dissociates. Concentration alone never gives the pH of a weak acid.
  • Forgetting the second hydroxide or proton. Ba(OH)2 and Ca(OH)2 deliver two OH per formula unit, so 0.0050 M gives pOH 2.00, not 2.30.
  • Using the shortcut below 10−6 M. It produces an acid with a basic pH. Keep the water term, as this calculator does.
  • Assuming neutral is always 7.00. Neutral is pKw/2. At body temperature it is 6.81, and blood at pH 7.40 is therefore more basic relative to neutral than the number 7.40 alone suggests.
  • Reporting too many significant figures. Only the mantissa of a pH carries significant figures; the integer part is an exponent.
  • Ignoring activity in concentrated solutions. Above about 0.1 M the measured pH departs from the concentration-based value, and by 1 M the gap is large enough to matter for any quantitative claim.
  • Diluting and expecting a proportional change. Ten-fold dilution of a strong acid moves the pH by exactly one unit, but only until the water term takes over, after which further dilution barely moves it at all.

Where pH sits among the other acid-base calculations

This calculator handles the strong-electrolyte and pure-conversion cases. Three other calculations pick up where it stops.

Partial dissociation. A weak acid only releases a fraction of its protons, set by Ka. Solving for that fraction is a quadratic in [H+], not a logarithm; see the weak acid pH calculator.

Mixtures that resist change. Combine a weak acid with its conjugate base and the pH is pinned near the pKa. That is what makes blood, seawater and every biochemical assay behave the way they do.

Reaction to an endpoint. If you are titrating rather than mixing, the quantity you want is the volume at equivalence and the pH along the way; the acid-base titration calculator builds the whole curve.

Two housekeeping tools sit underneath all of these. Getting the concentration right in the first place is the job of the molarity calculator, and moving from a stock solution to a working one is the job of the solution dilution calculator. A pH computed from a mis-stated molarity is wrong no matter how careful the logarithm was.

Key terms

Autoionisation of water
The reaction 2 H2O ⇌ H3O+ + OH, which occurs in every aqueous solution and sets the floor on how low either ion concentration can go.
Ion product Kw
The equilibrium constant [H+][OH] for water autoionisation. It depends on temperature only, not on what is dissolved.
Strong acid or base
One that dissociates essentially completely in water, so the ion concentration equals the formal concentration times the number of ionisable units.
Activity
Effective concentration after accounting for ion-ion interactions. The formal IUPAC definition of pH uses hydrogen ion activity; concentration is a dilute-solution approximation to it.
Normality
Concentration expressed in equivalents per litre. For a strong acid it is molarity times the number of ionisable protons, which is what the pH calculation needs.

Frequently asked questions

How do I convert pH to hydrogen ion concentration?

Raise 10 to the negative pH: [H+] = 10−pH. A pH of 3.40 gives 10−3.40 = 4.0×10−4 mol/L. On a calculator that is the 10^x key applied to −3.40, not the e^x key. To go the other way, take the base-10 logarithm and change the sign. Select pH as the known quantity above and both concentrations appear immediately.

Why does pH plus pOH equal 14?

Because the product [H+][OH] is fixed at 1.0×10−14 at 25 °C. Taking −log10 of a product turns it into a sum of the individual −log terms, so −log[H+] − log[OH] = −log(10−14) = 14. The 14 is not a universal constant: it is pKw, and it falls to 13.26 at 50 °C and 12.26 at 100 °C.

Can pH be negative or greater than 14?

Yes. A 2 M solution of a strong monoprotic acid has [H+] near 2 mol/L, and −log10(2) is −0.30. Concentrated NaOH goes above 14 by the same logic. The 0-to-14 range is a convention that covers ordinary dilute solutions, not a physical limit. What does break down at those concentrations is the assumption that activity equals concentration, so calculated values there are approximate and glass electrodes read unreliably.

What pH does 1e-8 M HCl have?

pH 6.98, not pH 8. At that dilution the hydrogen ion contributed by water autoionisation is larger than the amount contributed by the acid, so you must solve the charge balance [H+] = C + Kw/[H+] rather than setting [H+] = C. This calculator always uses the exact quadratic, so the very dilute case comes out right without any special handling on your part.

Does temperature change the pH of a solution?

It changes both the pH and the definition of neutral. Water autoionises more at higher temperature, so Kw rises and pKw falls: pure water at 100 °C has pH 6.13 and is still perfectly neutral because [H+] and [OH] remain equal. Set the temperature field to your working temperature and the calculator reports the matching neutral point. Buffer solutions also have their own temperature coefficients, which is why calibration standards quote pH at a stated temperature.

What is a normal pH for tap water, blood or soil?

Drinking water is typically supplied in the pH 6.5 to 8.5 window, which is the US EPA secondary (non-health, aesthetic) standard for public systems. Arterial blood is tightly held at 7.35 to 7.45 and a deviation of a few hundredths in either direction is clinically significant. Most agricultural soils fall between pH 5 and 8. Outside chemistry, the practical point is that these ranges are narrow because the systems are buffered, not because the numbers are naturally stable.

Why does my meter disagree with the calculated pH?

Four common reasons. The electrode may be out of calibration — recalibrate with two buffers that bracket your sample. The solution may be too concentrated for concentration to stand in for activity. Your sample may be absorbing atmospheric carbon dioxide, which acidifies unbuffered dilute solutions within minutes. Or the solute may not be as strong an acid as assumed. Agreement within about 0.02 to 0.05 pH units is the realistic target for routine work.

How do I handle sulfuric acid, which has two protons?

Set the ionisable units field to 2 if you are treating both protons as fully dissociated, which is the usual first approximation for dilute H2SO4. That is an upper bound on acidity: the first proton is strong, but the second ionises with a Ka2 of about 1.0×10−2, so in solutions more concentrated than roughly 0.01 M the second proton is only partly released and the true pH is slightly higher than this calculator returns.

How many decimal places should I report?

Match the significant figures of your concentration in the digits after the decimal point. A concentration known to two significant figures, such as 0.010 M, supports pH 2.00 — two decimals. The digits to the left of the point come from the power of ten and carry no precision information. Reporting pH 2.0000 from a two-figure concentration claims a precision that neither the input nor any pH meter can support.

References