Chemistry · Acids, Bases and pH
Weak acid calculator icon showing an acid molecule partly split into H⁺ and its conjugate base

Weak acid calculator

This weak acid calculator finds the pH, [H⁺] and percent ionization of a weak acid solution from its concentration and Ka or pKa, solving the equilibrium exactly and showing the x ≪ C shortcut with its 5 % check. It also works backwards, finding Ka and pKa from a measured pH.

Concentrations in the weak acid calculator are in mol/L by default. All constants are for 25 °C (Kw = 1.0 × 10⁻¹⁴). For strong acids such as HCl use the pH calculator instead.

Weak acid calculator: pH and percent ionization

Choose how you will give the acid strength, then enter the initial (formal) concentration of the acid.
The concentration you made up, before any ionization.
Scientific notation is fine: 1.8e-5 means 1.8 × 10⁻⁵.
Ka at 25 °C. For polyprotic acids only the first step is used (see below).

Ka and pKa converter

Convert between Ka and pKa. For Kb and pKb of the conjugate base (Ka · Kb = Kw), use the Kb from Ka panel of the weak base calculator.

How to use the weak acid calculator

In the first panel, choose how you know the strength of the acid: as Ka, as pKa, or by picking it from the list of common acids. Enter the initial concentration (the molarity you made up) and the weak acid calculator returns the pH, [H⁺], the percent ionization and the equilibrium concentrations of HA and A⁻. It also shows the pH from the quick x ≪ C shortcut and whether that shortcut passes the 5 % test, so you can see which method your exam expects. Switch to “Find Ka and pKa from a measured pH” to work backwards from a pH meter reading. The second panel converts Ka to pKa and back; for Kb and pKb of the conjugate base (Ka · Kb = Kw), use the Kb from Ka panel of the Weak Base Calculator.

What makes an acid weak?

A weak acid HA transfers its proton to water only partly: HA + H₂O ⇌ H₃O⁺ + A⁻. The position of that equilibrium is measured by the acid dissociation constant Ka; the smaller Ka (the larger pKa), the weaker the acid. Acetic acid, the acid in vinegar, has Ka = 1.8 × 10⁻⁵, so in a 0.10 M solution only about 1.3 % of the molecules are ionized at any moment. Strong acids such as HCl are 100 % ionized, which is why the pH Calculator can take their pH straight from concentration, while a weak acid calculator has to solve an equilibrium.

Ka = [H⁺]·[A⁻] / [HA] · pKa = −log Ka · Ka = 10⁻ᵖᴷᵃ

The ICE table and the quadratic formula

Start with C mol/L of HA. If x mol/L ionizes, the equilibrium concentrations are [HA] = C − x and [H⁺] = [A⁻] = x (ignoring the tiny 10⁻⁷ M from water). Substituting into Ka gives Ka = x²/(C − x), which rearranges into a quadratic:

x² + Ka·x − Ka·C = 0 → x = [H⁺] = ( −Ka + √(Ka² + 4·Ka·C) ) / 2

Only the positive root has physical meaning. When x is small compared with C you may drop it from the denominator: Ka ≈ x²/C, so x ≈ √(Ka·C). Textbooks accept this shortcut when the resulting x is less than 5 % of C; the weak acid calculator applies that check for you and reports both answers. Finally, percent ionization = x/C × 100 and pH = −log x. For very dilute or very weak acids (for example 10⁻⁵ M HCN) the H⁺ from water is no longer negligible, so the weak acid calculator also solves the full charge balance [H⁺] = [A⁻] + Kw/[H⁺] numerically and uses that as its headline result.

Worked example: pH of 0.10 M acetic acid

The weak acid calculator opens with C = 0.10 M and Ka = 1.8 × 10⁻⁵. Shortcut: x = √(1.8 × 10⁻⁵ × 0.10) = 1.34 × 10⁻³ M, which is 1.3 % of C, so the 5 % test passes and pH = 2.87. Quadratic: x = (−1.8 × 10⁻⁵ + √(3.24 × 10⁻¹⁰ + 7.2 × 10⁻⁶))/2 = 1.33 × 10⁻³ M, pH = 2.88 (2.875), percent ionization 1.33 %. At equilibrium [HA] = 0.0987 M and [A⁻] = 1.33 × 10⁻³ M. Now dilute to 0.0010 M: the shortcut gives 13 % ionization and fails the test, while the quadratic gives [H⁺] = 1.25 × 10⁻⁴ M, pH 3.90 and 12.5 % ionization. Dilution increases the fraction ionized, which is Le Chatelier’s principle at work.

Finding Ka and pKa from a measured pH

If you measure the pH of a solution of known concentration, the weak acid calculator turns the pH back into [H⁺] = 10⁻ᵖᴴ, which equals [A⁻]. Then Ka = [H⁺]²/(C − [H⁺]). For 0.10 M acetic acid with a measured pH of 2.89 (the default of the inverse mode), [H⁺] = 1.29 × 10⁻³ M, Ka = 1.68 × 10⁻⁵, pKa = 4.77 and the acid is 1.3 % ionized, which matches the answer to the “check your learning” problem in OpenStax Chemistry 2e, section 14.3. Likewise 0.125 M HNO₂ at pH 2.09 is 6.5 % ionized. Because Ka depends on the square of [H⁺], a pH error of ±0.01 changes Ka by about ±5 %, so report Ka to two significant figures. In the lab, a more reliable route is the pH at the half-equivalence point of a titration, where pH = pKa (see the Titration Calculator).

Ka and pKa of common weak acids at 25 °C

Values from LibreTexts Table E1, Acid Dissociation Constants at 25 °C (data from the CRC Handbook). Textbooks often round acetic acid to 1.8 × 10⁻⁵; the weak acid calculator default uses that value.

AcidFormulaKapKa
Oxalic acid (1st)H₂C₂O₄5.6 × 10⁻²1.25
Phosphoric acid (1st)H₃PO₄6.9 × 10⁻³2.16
Citric acid (1st)C₆H₈O₇7.4 × 10⁻⁴3.13
Hydrofluoric acidHF6.3 × 10⁻⁴3.20
Nitrous acidHNO₂5.6 × 10⁻⁴3.25
Formic acidHCOOH1.8 × 10⁻⁴3.75
Benzoic acidC₆H₅COOH6.25 × 10⁻⁵4.20
Acetic acidCH₃COOH1.75 × 10⁻⁵4.756
Carbonic acid (1st)H₂CO₃ (CO₂ + H₂O)4.5 × 10⁻⁷6.35
Hydrogen sulfide (1st)H₂S8.9 × 10⁻⁸7.05
Hypochlorous acidHOCl4.0 × 10⁻⁸7.40
Ammonium ionNH₄⁺5.6 × 10⁻¹⁰9.25
Hydrocyanic acidHCN6.2 × 10⁻¹⁰9.21
Boric acidH₃BO₃5.4 × 10⁻¹⁰9.27

Polyprotic acids in the weak acid calculator

Acids such as H₂CO₃, H₃PO₄, H₂S and citric acid can lose more than one proton, each step with its own constant (Ka₁ > Ka₂ > Ka₃). The steps usually differ by a factor of 10⁴ or more (phosphoric acid: 6.9 × 10⁻³, 6.2 × 10⁻⁸, 4.8 × 10⁻¹³), so almost all the H⁺ comes from the first step. That is why the weak acid calculator lists polyprotic acids by their first Ka: treat them as monoprotic to get the pH, and then [A²⁻] ≈ Ka₂ (for the diprotic case). If two Ka values are within about a factor of 100, as for citric acid, the first-step answer is only approximate. Sulfuric acid is the exception with a strong first step; its pH is handled in the pH Calculator.

Common mistakes the weak acid calculator helps you avoid

Using pH = −log C. That is for strong acids only; 0.10 M acetic acid has pH 2.87, not 1.00. Applying the shortcut without checking. At low concentration or high Ka, x ≈ √(Ka·C) can be badly wrong; the weak acid calculator flags this. Mixing up Ka and pKa. A pKa of 4.76 is a Ka of 1.7 × 10⁻⁵, not 4.76. Forgetting that salts change things. If the solution also contains the conjugate base (for example sodium acetate), it is a buffer: use the Buffer Calculator (Henderson-Hasselbalch). Ignoring temperature. Ka values in tables are for 25 °C; most change by a few percent per 10 °C.

Related calculators

For bases such as ammonia use the Weak Base Calculator; for a weak acid mixed with its salt use the buffer calculator, and to follow a weak acid through a neutralization use the titration calculator. The ICE Table Calculator solves other equilibria the same way.

Frequently asked questions

How do you calculate the pH of a weak acid?

Write Ka = x²/(C − x), solve the quadratic for x = [H⁺] and take pH = −log x. If x turns out below 5 % of C, the shortcut x = √(Ka·C) gives the same answer. The weak acid calculator shows both.

What is the 5 % rule?

It is the test that justifies dropping x from C − x. If the ionized amount x is less than 5 % of the starting concentration, the error in [H⁺] is small (about 2.5 % or less) and the square-root shortcut is accepted.

How do I convert pKa to Ka?

Ka = 10 to the power of minus pKa. A pKa of 4.76 gives Ka = 10⁻⁴·⁷⁶ = 1.74 × 10⁻⁵. Use the Ka and pKa converter panel of the weak acid calculator.

Why does percent ionization increase on dilution?

Ka = x²/(C − x) stays constant, so when C falls the fraction x/C must rise. For acetic acid it is 1.3 % at 0.10 M and 12.5 % at 0.0010 M.

Is this weak acid calculator free?

Yes. The weak acid calculator runs in your browser, needs no sign-up and does not store the values you enter.

Results are for study, homework and lab preparation; check important results against your own data, and follow your lab’s safety rules. Back to chemistry calculators or CalcSwiftly home.

Reviewed by: CalcSwiftly · Last reviewed: