Free tool
Enter Ka or Kb and the starting concentration of a weak acid or weak base. The solver fills in the Initial, Change and Equilibrium rows, solves the quadratic for x, and gives the equilibrium concentrations, pH and percent ionization. It also tells you whether the "x is small" 5% shortcut would have been allowed.
Built for General Chemistry IIScientific notation works: 1.8e-5. The starting concentrations of the two products are taken as zero, and pH + pOH = 14.00 (25 °C).
Enter K and the initial concentration.
ICE tables run through every equilibrium and acid-base exam in Gen Chem II. Encodr turns the setup steps, the 5% check and the Ka and Kb expressions into spaced-repetition practice so they hold until the final.
ICE stands for Initial, Change, Equilibrium. You write the starting concentration of each species, let the reaction shift by an unknown amount x according to the coefficients, and add the two rows to get the equilibrium row. Putting that row into the equilibrium expression leaves one equation in x.
For a weak acid HA ⇌ H+ + A- that starts at concentration C, the rows are C, 0, 0 (initial),
-x, +x, +x (change) and C - x, x, x (equilibrium). So Ka = x^2 / (C - x), which rearranges to
x^2 + Ka x - Ka C = 0. The positive root is x = (-Ka + sqrt(Ka^2 + 4 Ka C)) / 2. Then
[H+] = x, pH = -log x, and percent ionization = x / C x 100. A weak base
B + H2O ⇌ BH+ + OH- works the same way with Kb: x is [OH-], pOH = -log x and pH = 14.00 - pOH.
Water is a pure liquid, so it does not appear in the table or in Kb.
When K is small, x is tiny next to C and C - x is close to C. Dropping the x gives x = sqrt(K x C)
with no quadratic. The shortcut is a guess that has to be checked: it is allowed when that x is under 5% of C.
The calculator shows both answers so you can see how far apart they are.
Worked example: 0.10 M acetic acid, Ka = 1.8 x 10^-5. The shortcut gives x = sqrt(1.8 x 10^-5 x 0.10) = 1.34 x 10^-3 M, which is 1.3% of 0.10, so it is allowed, and pH = 2.87. The quadratic gives x = 1.33 x 10^-3 M, pH 2.88 and 1.3% ionization. Now try Ka = 7.5 x 10^-3 at 0.10 M: the shortcut x is 0.0274 M, which is 27% of C, so the 5% check fails. The quadratic gives x = 0.0239 M and pH 1.62; the shortcut would have said 1.56.
It solves one weak acid or one weak base in water with no product present at the start. Buffers (some A- already present) are handled by the Henderson-Hasselbalch calculator, and strong acids and bases by the pH calculator. For gas-phase and other equilibria with different coefficients, the setup is the same but the algebra changes with the reaction; ICE tables for equilibrium, step by step walks through those by hand. The whole course is in the free General Chemistry II deck.
How to set up and solve an ICE table: finding K from data, finding equilibrium concentrations, the 5% approximation and when you need the quadratic.
Strong acid, strong base and weak acid pH step by step, including the 5% approximation, when it fails, and the exact quadratic answer.
How buffers resist pH change, the Henderson-Hasselbalch equation with worked examples, adding strong acid or base, and the 1:10 to 10:1 buffer range.
A unit-by-unit map of General Chemistry II, from solutions and kinetics to equilibrium, acids and bases, thermodynamics, electrochemistry and nuclear.
Solve C1V1 = C2V2 for any one value in M or mM and L or mL, and see how much solvent to add to reach the final volume.
Open tool →First-order decay: find the amount remaining, the time elapsed or the half-life, plus the rate constant k, with the working shown.
Open tool →Find a buffer's pH from pKa (or Ka) and the base-to-acid ratio, or the ratio you need for a target pH, with a buffer-range check.
Open tool →Solve PV = nRT for pressure, volume, moles or temperature in atm, kPa, mmHg, L, mL, K or degrees C, with the steps shown.
Open tool →Molar mass of any formula, including parentheses and hydrates, with each element's count, mass contribution and mass percent.
Open tool →Convert between [H3O+], [OH-], pH and pOH, or find the pH of a strong acid, strong base or weak acid with the exact quadratic shown.
Open tool →