EN

pH Calculator: Strong and Weak Acids and Bases

Malt vinegar on chips is not a titration, and it does not need to be. The bottle is about 5 % acetic acid; the pH sits near 2.4. Rain falling on the same street is already at 5.6, from dissolved carbon dioxide alone. Two everyday liquids, two rungs on one logarithmic scale.

One pH unit lower means ten times more hydronium. The calculator covers the three bench cases: a strong acid or base that dissociates completely, a weak acid or base fixed by its pKa, and a straight conversion among pH, pOH and concentrations. The strong-acid path includes the autodissociation of water; the weak-acid path solves the full quadratic. Figures are at 25 °C.

Mode and data

Type of calculation

Change mode, then run the calculation again to update the fields.

Strong acid or base — complete dissociation

Strong acids include HCl, HNO₃, H₂SO₄ (first proton). Strong bases: NaOH, KOH.

Result

  • pH of the solution 2.00
Concentration supplied C 1.00 × 10⁻² mol/L (0.01000)
pH 2.00
pOH 12.00
Hydronium concentration [H₃O⁺] 1.00 × 10⁻² mol/L
Hydroxide concentration [OH⁻] 10.00 × 10⁻¹³ mol/L
Check: pH + pOH 14.00 (= pKw = 14.00 at 25 °C)
Nature of the solution strongly acidic in practice
Usual approximation pH ≈ −log C = 2.00

pH = −log[H₃O⁺] with [H₃O⁺] = (C + √(C² + 4·Kw)) / 2

Starred symbols are spelled out in the glossary at the foot of the page.

Kw, hydronium, and why acidity is a log

Pure water is never empty of ions. At 25 °C a handful of molecules hand a proton to a neighbour, leaving hydronium* H₃O⁺ and hydroxide OH⁻. Their concentration product, Kw*, is 1.0 × 10⁻¹⁴ mol²/L². Fix one concentration and the other is fixed. A second scale would be redundant.

So pH* is simply −log[H₃O⁺], and pOH* is −log[OH⁻]. At 25 °C the two add to 14.00.

pH = −log[H₃O⁺]  ·  [H₃O⁺] = 10−pH  ·  [H₃O⁺][OH⁻] = Kw = 10⁻¹⁴  ·  pH + pOH = 14 (25 °C)

Below 7 the solution is acidic. At 7, [H₃O⁺] equals [OH⁻] and the water is neutral. Above 7 it is basic (or alkaline — both words are used). Dropping one pH unit is not a nudge. It is a tenfold rise in hydronium. Lemon juice near 2 versus black coffee near 5 is not “three steps”; it is a thousandfold in [H₃O⁺].

The scale does not stop at 0 and 14. Concentrated hydrochloric acid has a negative pH. Concentrated sodium hydroxide sits above 14. Those textbook rails are a teaching convenience.

Strong acid, weak acid: two different calculations

A strong acid* donates every proton the moment it meets water. HCl, HNO₃, the first proton of H₂SO₄: [H₃O⁺] = C and pH = −log C, provided water itself is not a comparable source of hydronium. A strong base (NaOH, KOH) does the same on the hydroxide side.

A weak acid* stops halfway. Only a fraction ionises. The equilibrium HA + H₂O ⇌ A⁻ + H₃O⁺ is set by Ka*, the acidity constant, more often quoted as pKa* = −log Ka. The smaller the pKa, the more willing the proton.

HA + H₂O ⇌ A⁻ + H₃O⁺  ·  Ka = [A⁻][H₃O⁺]/[HA]  ·  pKa = −log Ka

Take 0.01 mol/L. Hydrochloric acid: pH 2.00, fully split. Acetic acid, pKa 4.76: pH 3.39, under 5 % ionised. Same analytical concentration, not the same sting. Strength is how far the proton goes. pH is how many hydronium ions are left in the beaker.

For a weak base the input is the pKa of the conjugate pair (9.25 for NH₄⁺/NH₃). Kb follows from Kb = Kw / Ka. One table, not two.

When ½(pKa − log C) is good enough — and when it is not

Undergraduate notes lean on a short cut. If ionisation is modest (x ≪ C), [HA] ≈ C and [A⁻] ≈ [H₃O⁺], so [H₃O⁺]² ≈ Ka·C, and:

pH ≈ ½ (pKa − log C)

For a weak base, at 25 °C: pH ≈ 7 + ½ (pKa + log C).

The short cut holds while the degree of dissociation α = x/C stays below about 5–10 %, and while C is not so low that water’s own ions matter. Dilute too far, or pick a pKa that is already small, and x is no longer a rounding error against C. The quadratic x² + Ka·x − Ka·C = 0 is then the honest route.

This page solves that quadratic. When α exceeds 10 %, a note flags it. The short-cut value is printed alongside, so the gap is visible. Formic acid (pKa 3.75) at 0.001 mol/L is already outside the shy-ionisation regime. Acetic acid at 0.1 mol/L is comfortably inside: α near 1.3 %, and the two pH values agree to a hundredth.

Autodissociation and the 10⁻⁸ mol/L trap

Diluting an acid does not turn it alkaline. A bare −log(10⁻⁸) would nevertheless return 8. A basic pH for an acid: the stock howler of a first-year problem set.

Water already supplies 1.0 × 10⁻⁷ mol/L of H₃O⁺ at 25 °C, by autodissociation*. Once the analytical concentration of a strong acid falls toward 10⁻⁶ mol/L and below, that background is no longer a rounding error. Charge balance plus Kw give x² − C·x − Kw = 0, with x = [H₃O⁺].

[H₃O⁺] = (C + √(C² + 4·Kw)) / 2  ·  C = 10⁻⁸ mol/L → pH = 6.98 (not 8)

Barely acidic, but acidic. Drop the water term and the calculation invents an acid that would turn litmus blue. The strong-acid mode on this page uses the quadratic. Below 10⁻⁶ mol/L a remark appears. Above that, pH ≈ −log C is excellent again: at 10⁻⁴ mol/L the difference vanishes in the second decimal. The same trap waits on the basic side. −log(10⁻⁸) as pOH would give pH 6. Water pulls the figure back to 7.02.

Tabulated pKa values at 25 °C

The pairs below are the same list as the form. They belong to 25 °C, dilute aqueous solution. A handbook value measured at 0 °C, or in aqueous ethanol, is a different number.

Acid / base pairpKa
Hydrochloric acid HCl / Cl⁻strong (pKa ≈ −7)
Sulfuric acid H2SO4 (first proton)strong
Oxalic acid H2C2O4 / HC2O4⁻1.25
Phosphoric acid H3PO4 / H2PO4⁻2.15
Hydrofluoric acid HF / F⁻3.17
Formic acid HCOOH / HCOO⁻3.75
Benzoic acid C6H5COOH / C6H5COO⁻4.20
Acetic acid CH3COOH / CH3COO⁻4.76
Carbonic acid CO2,H2O / HCO3⁻6.35
Dihydrogen phosphate H2PO4⁻ / HPO4²⁻7.20
Ammonium NH4⁺ / ammonia NH39.25
Hydrogen carbonate HCO3⁻ / CO3²⁻10.33

HCl and the first proton of sulfuric acid are marked strong: Ka so large that pKa is negative, and dissociation is complete at bench concentrations. Acetic acid at 4.76 is the workhorse of teaching labs. Ammonium at 9.25 opens the basic half of the table. Carbonate, 6.35 then 10.33, ties rainwater to physiological buffers.

The figures move with temperature and with dissolved salt. Pasting a 25 °C pKa into a 37 °C incubation is already a small error — a tenth of a unit, sometimes more. Tris is notorious on that score.

Vinegar, ammonia cleaner, rain at 5.6

None of these is weighed on an analytical balance. All three sit on the same model, once C and pKa are entered rather than a marketing line on the label.

  • 5 % vinegar — acetic acid near 0.8 mol/L, pKa 4.76, calculated pH 2.4. The tongue agrees. It stings; it does not etch enamel the way hydrochloric acid at the same concentration would. Weak, and concentrated.
  • Household ammonia — many cleaners are near 0.1 mol/L NH₃, pair pKa 9.25, pH around 11.1. Goggles earn their keep. So does ventilation.
  • Rain — dissolved CO₂, first pKa of carbonic acid 6.35, equilibrium with today’s air near pH 5.6. Unpolluted rain is already acidic. “Acid rain” is reserved for sulfur and nitrogen fallout that pushes the value below 5, sometimes below 4.

Black coffee, about 5. Soap, 9 to 10. Bleach, past 12. pH is not a hazard label by itself — bleach is dangerous mainly as an oxidant — but it does say which ion is in charge, hydronium or hydroxide.

Neutrality slides with temperature

Kw is not a universal constant. Water’s autodissociation is endothermic, so heat pushes it forward. At 0 °C, Kw is about 1.1 × 10⁻¹⁵ and neutrality sits near 7.5. At 25 °C it is 1.0 × 10⁻¹⁴ and pH 7.00. At 60 °C, Kw approaches 10⁻¹³ and the neutral point falls to 6.5.

Hot water has not “gone acidic”. [H₃O⁺] and [OH⁻] have risen together. Neutral pH has drifted, pOH with it, and their sum is no longer 14. A water bath at 60 °C reading 6.7 on a meter may be slightly basic. Treating 7 as a sacred threshold, independent of temperature, is a misread of the thermometer.

This page stays at 25 °C. For a hot loop — sterilisation, cooling water, a thermal spring — Kw has to be taken at the real temperature. Solute pKa values move as well, sometimes more than Kw itself.

Activities above about 1 mol/L

Every formula here is written in concentrations, mol/L. In dilute solution that is a fair stand-in for activity*, the thermodynamic quantity that actually belongs in Ka and Kw. Past a few tenths of a mole per litre, ions no longer ignore one another. The activity coefficient γ leaves 1. Above about 1 mol/L, writing pH = −log C is a habit, not thermodynamics.

Commercial concentrated hydrochloric acid, 37 % by mass, is close to 12 mol/L. Its pH is not −1.08. Activity tables, or a measurement, are the honest options. The same holds for 50 % sodium hydroxide.

Even at 0.1 mol/L a few hundredths of a pH unit between the calculation and a meter surprise nobody. Debye–Hückel, Davies, Pitzer: each is a correction this page does not apply. The omission is stated, not hidden.

Polyprotic acids, one proton at a time

H₂SO₄, H₃PO₄ and H₂CO₃ do not have a pKa. They have several. The first proton of sulfuric acid is strong; the second, pKa near 2, is already an equilibrium. Phosphoric acid steps 2.15, 7.20, 12.32. Carbonic acid, 6.35 and 10.33.

This page treats one acidity at a time. Around pH 7 a phosphate system is the H₂PO₄⁻/HPO₄²⁻ pair, pKa 7.20. The other two protons are spectators, more or less. Folding all three into a single −log C is meaningless.

When successive pKa values are more than about three units apart, the steps can be handled one after another. When they sit closer — oxalic acid 1.25 then ~4.3 — the two equilibria talk to each other. A one-pair model then understates the mess. The first acidity can still be run here; the mixture of both forms belongs on the buffer page.

pH is not acid strength

A very dilute strong acid has a higher pH than a concentrated weak one. Vinegar (weak, 0.8 mol/L) bites harder than 10⁻⁵ mol/L HCl (strong, and barely there). Strength is the fraction ionised, Ka. pH is the hydronium actually present. Two knobs.

Labels blur the two. “Strong acid” is not a synonym for “hazardous”, and “pH 6” is not “almost nothing” if the volume is a river. Rain at 5.6 does not sting skin. A buffered solution at 5.6 can swallow a spike of acid without moving — a different problem, treated elsewhere.

Paper strip, glass electrode, this page

Indicator paper is ±0.5 unit, sometimes a whole unit. Fine for telling a drain from a rinse. Useless for a titration.

A glass-electrode pH meter, calibrated on two buffers (4 and 7, or 7 and 10), can read ±0.02 in kind conditions. In practice the electrode has to settle, the temperature has to be entered, the bulb has to be rinsed — and alkaline error waits at high pH, where Na⁺ is counted a little as H⁺ and the displayed value runs low.

This page is a model. No airborne CO₂ creeping into an uncovered dilute alkali. No borosilicate leaching ions. No 28 °C teaching lab. A 0.2 gap between the calculated figure and the meter is not always a coding fault. It is often the room.

Ionic strength, the salt nobody weighed

Adding KCl to pin the ionic strength* at 0.15 mol/L — blood, seawater — shifts the apparent pKa. Biochemists do it on purpose. Teaching labs forget, and the calculated pH parts from the meter by 0.1 or 0.2.

Ionic strength I = ½ Σ cᵢ zᵢ². NaCl at 0.1 mol/L gives I = 0.1. CaCl₂ at 0.1 mol/L gives I = 0.3. Charge is squared. A phosphate buffer, already charged, feels the salt more than an acetic pair.

I is ignored here. For a 0.01 mol/L teaching solution the skip is harmless. For a physiological medium, less so.

When the same couple becomes a buffer

A weak acid on its own is this page. The same acid plus a comparable amount of its conjugate base is a buffer: pH parks near the pKa and shrugs at small additions. Henderson–Hasselbalch is Ka rearranged, pH = pKa + log([A⁻]/[HA]).

The step is a short one. The buffer calculator keeps the same pair and the same pKa, and asks what happens once both forms are present. Diluting a weak acid, by contrast, changes C and therefore pH — a different lever.

Mixing a pinch of sodium acetate into acetic acid is not a guess. The ratio of the two forms sets the pH; the total concentration sets how much abuse the mixture can take. Two controls, not one.

Glossary

pH
Minus the common logarithm of the hydronium concentration: pH = −log[H₃O⁺]. One unit down, ten times more H₃O⁺.
pOH
The basic counterpart: pOH = −log[OH⁻]. At 25 °C, pH + pOH = 14.
pKa
Minus the logarithm of the acidity constant: pKa = −log Ka. The smaller the number, the more readily the acid donates its proton. This is the figure listed in tables.
Ka
Acidity constant of the HA/A⁻ pair, in mol/L: Ka = [A⁻][H₃O⁺]/[HA]. Large for a strong acid, small for a weak one.
Kw
Ionic product of water: Kw = [H₃O⁺][OH⁻]. Equal to 1.0 × 10⁻¹⁴ at 25 °C. French sources often write Ke.
Strong acid
An acid that dissociates completely in water at ordinary bench concentrations (HCl, HNO₃, first proton of H₂SO₄). [H₃O⁺] = C, unless water itself is a comparable source of hydronium.
Weak acid
An acid that remains only partly dissociated at equilibrium. pH then depends on both C and Ka (or pKa).
Hydronium, H₃O⁺
A proton H⁺ bound to a water molecule. pH counts this ion, not a bare H⁺.
Autodissociation
Water reacting with itself: 2 H₂O ⇌ H₃O⁺ + OH⁻. Also called self-ionisation. It sets a 10⁻⁷ mol/L background of each ion at 25 °C, which becomes visible once the solute is more dilute than that.
Activity
The thermodynamic quantity aᵢ = γᵢ·cᵢ/c° that replaces concentration in true equilibrium constants. γ ≈ 1 in dilute solution; above about 1 mol/L, γ leaves 1 in earnest.
Ionic strength
I = ½ Σ cᵢ zᵢ². A measure of how charged the medium is. It shifts apparent pKa values and activity coefficients, even when “only salt” was added.

Related calculators