Equilibrium Calculator
Enter product and reactant concentrations with their coefficients to calculate the reaction quotient Q. Optionally provide Keq to determine reaction direction.
Format: concentration:coefficient separated by commas. Example: 0.5:2, 0.3:1
Chemical equilibrium
A reversible reaction reaches equilibrium when the forward and reverse rates match and concentrations stop changing. The equilibrium constant Keq captures the ratio of product to reactant activities at that point, with each species raised to its stoichiometric coefficient. For the generic reaction aA + bB reversibly forming cC + dD, Keq equals [C]^c[D]^d divided by [A]^a[B]^b. Pure solids and pure liquids drop out of the expression because their activities are defined as 1.
This calculator handles the three problem types you encounter with that expression: computing Keq from measured equilibrium concentrations, computing Q from current concentrations to predict reaction direction, and solving for equilibrium concentrations when you know Keq and starting amounts. The third case is where the ICE-table algebra lives — Initial, Change, Equilibrium rows scaled by coefficients, plugged into the Keq expression, then solved for the change variable x.
What the calculator does
The widget runs three modes. To find Q, enter current concentrations and it computes the mass-action ratio and compares it to Keq — Q below Keq means net forward reaction, Q above means net reverse. To find Keq, enter equilibrium concentrations and it reads off the constant. To find equilibrium concentrations, enter Keq plus initial concentrations and it builds the ICE table, sets up the polynomial in x, and solves it. The small-x approximation kicks in when Keq is small enough to justify it; otherwise the full quadratic (or higher) is solved.
Worked examples
Calculating Keq. For N2 + 3H2 reversibly forming 2NH3 with [N2] = 0.50 M, [H2] = 0.30 M, [NH3] = 0.20 M:
- Keq = (0.20)^2 / (0.50 × (0.30)^3) = 0.040 / 0.0135 = 2.96
Comparing Q to Keq. Same reaction, Keq = 2.96. Current state [N2] = 1.0, [H2] = 1.0, [NH3] = 0.50:
- Q = 0.25 / 1.0 = 0.25 < Keq, so the system shifts forward toward more NH3.
ICE table for weak-acid dissociation. HA reversibly dissociating to H+ and A-, Ka = 1.8 × 10^-5, [HA]_0 = 0.10 M.
| HA | H+ | A- | |
|---|---|---|---|
| I | 0.10 | 0 | 0 |
| C | -x | +x | +x |
| E | 0.10 - x | x | x |
- Ka = x^2 / (0.10 - x) = 1.8 × 10^-5
- Small-x approximation valid (Ka × 100 << initial concentration): x^2 ≈ 1.8 × 10^-6
- x = [H+] = 1.34 × 10^-3 M, pH = 2.87
Kp from Kc. For 2SO3 reversibly forming 2SO2 + O2 at 1000 K, Kc = 4.08 × 10^-3:
- Δn = (2 + 1) - 2 = 1
- Kp = Kc(RT)^Δn = 4.08 × 10^-3 × 82.06 = 0.335
Le Chatelier and the direction of shift
Stress the system and it shifts to partially undo the stress. Add reactant or remove product → forward shift. Compress a gas-phase reaction → shift toward the side with fewer moles of gas. Heat an exothermic reaction → shift backward (treating heat as a “product”). Catalysts change neither Keq nor the equilibrium position; they only shorten the time to reach it.
Where the math shows up
Acid–base chemistry (Ka, Kb, Kw), solubility (Ksp), gas-phase industrial reactions (Haber, contact process), enzyme–substrate binding, and the carbonate equilibria that drive ocean acidification all use the same Keq machinery. The expression and the ICE-table method don’t change; only the species and the value of K do.