ICE table calculator
This ICE table calculator solves equilibrium problems for a reaction aA + bB ⇌ cC + dD: give the initial concentrations (or partial pressures) and the equilibrium constant, and it finds x, fills in the Initial, Change and Equilibrium rows, and reports the equilibrium amounts and the percent conversion.
ICE table calculator: equilibrium amounts from initial amounts and K
How to use the ICE table calculator
Write the balanced equation as aA + bB ⇌ cC + dD. Type each species formula (used only as a label) and its coefficient, then the starting concentration in mol/L, or the starting partial pressure in atm if you choose the Kp basis. Species that are absent at the start get 0; species that do not appear in the equilibrium expression (pure solids, pure liquids, the solvent) get a coefficient of 0. Enter K and the ICE table calculator does the rest: it decides the direction from Q, writes the equilibrium expression in terms of x, solves it exactly and prints the completed ICE table under the results. Open “Show the working” to see every line.
What an ICE table is and how the ICE table calculator uses it
ICE stands for Initial, Change, Equilibrium. It is a bookkeeping table with one column per species and three rows. The Initial row holds the starting amounts. The Change row expresses every change with one unknown, x, multiplied by the stoichiometric coefficient: reactants change by −a·x and −b·x, products by +c·x and +d·x (signs flip if the reaction runs backward). The Equilibrium row is the sum of the first two. Substituting the equilibrium row into the expression for K gives one equation in x. OpenStax Chemistry 2e, section 13.4 works through the method in detail.
For simple cases the equation is a quadratic, but with coefficients such as 2 or 3 it becomes a cubic or higher polynomial. The ICE table calculator does not expand it: it takes logarithms and bisects on x inside the only physically meaningful range (no concentration may become negative), where the function is strictly increasing, so exactly one root exists and it is always found. Very large or very small K values are handled without losing precision in the nearly used-up species.
Worked example: H₂ + I₂ ⇌ 2HI
A mixture of 0.500 mol H₂ and 0.500 mol I₂ is placed in a 1.00 L flask at 430 °C, where Kc = 54.3 (a classic textbook example from Chang’s Chemistry). These are the default values of the ICE table calculator.
| Row | [H₂] (M) | [I₂] (M) | [HI] (M) |
|---|---|---|---|
| Initial | 0.500 | 0.500 | 0 |
| Change | −x | −x | +2x |
| Equilibrium | 0.500 − x | 0.500 − x | 2x |
Then 54.3 = (2x)² / (0.500 − x)². Taking the square root of both sides, 7.369 = 2x / (0.500 − x), so x = 3.684 / 9.369 = 0.393 M. At equilibrium [H₂] = [I₂] = 0.500 − 0.393 = 0.107 M and [HI] = 2 × 0.3933 = 0.787 M (the textbook rounds to 0.786 M), and 78.7 % of each reactant has reacted. The ICE table calculator shows the same table with x = 0.39326 M. The change is far more than 5 % of the starting amounts, so the “x is small” shortcut would have failed badly here.
Starting with products present. In a second version, the initial concentrations are [H₂] = 0.00623 M, [I₂] = 0.00414 M and [HI] = 0.0224 M. Q = 0.0224² / (0.00623 × 0.00414) = 19.5, which is less than 54.3, so the reaction moves forward. The ICE table calculator gives x = 0.00156 M and equilibrium values [H₂] = 0.00467 M, [I₂] = 0.00258 M and [HI] = 0.0255 M, matching the textbook answer.
Decomposition (OpenStax Example 13.9). For PCl₅ ⇌ PCl₃ + Cl₂ with Kc = 0.0211 and 1.00 M PCl₅ at the start, set A = PCl₅ (1), B coefficient 0, C = PCl₃ (1), D = Cl₂ (1). The ICE table calculator returns x = 0.135 M: [PCl₃] = [Cl₂] = 0.135 M and [PCl₅] = 0.865 M (0.87 M in the textbook). Because x is 13.5 % of the initial amount, the quadratic, not the approximation, is required.
Three more worked examples to check with the ICE table calculator
The three problems below are the types that appear most often in homework and exams: a weak acid, a gas-phase Kc problem that needs the quadratic formula, and a Kp problem in partial pressures. Each one can be checked by entering the same numbers in the ICE table calculator.
Example A: pH of 0.10 M acetic acid (Ka = 1.8 × 10⁻⁵)
Acetic acid ionizes as CH₃COOH ⇌ H⁺ + CH₃COO⁻. Water is the solvent, so it is left out of the table and the K expression.
| Row | [CH₃COOH] (M) | [H⁺] (M) | [CH₃COO⁻] (M) |
|---|---|---|---|
| Initial | 0.10 | 0 | 0 |
| Change | −x | +x | +x |
| Equilibrium | 0.10 − x | x | x |
Step 1, write Ka: 1.8 × 10⁻⁵ = x² / (0.10 − x). Step 2, assume x is small: because Ka is tiny, 0.10 − x ≈ 0.10, so x² = 1.8 × 10⁻⁶ and x = 1.34 × 10⁻³ M. Step 3, check the 5 % rule: (1.34 × 10⁻³ / 0.10) × 100 = 1.3 %, which is below 5 %, so the approximation is valid. Step 4, find pH: pH = −log(1.34 × 10⁻³) = 2.87. Solving the quadratic x² + 1.8 × 10⁻⁵ x − 1.8 × 10⁻⁶ = 0 exactly gives x = 1.33 × 10⁻³ M and pH = 2.88, so the shortcut changes the pH by only 0.003. At equilibrium [CH₃COOH] = 0.0987 M and the acid is 1.3 % ionized.
Example B: H₂ + I₂ ⇌ 2HI with unequal amounts, solved with the quadratic
At 430 °C, Kc = 54.3. A 1.00 L flask starts with 0.200 M H₂ and 0.100 M I₂ and no HI. Q = 0, so the reaction runs forward.
| Row | [H₂] (M) | [I₂] (M) | [HI] (M) |
|---|---|---|---|
| Initial | 0.200 | 0.100 | 0 |
| Change | −x | −x | +2x |
| Equilibrium | 0.200 − x | 0.100 − x | 2x |
Step 1: 54.3 = (2x)² / [(0.200 − x)(0.100 − x)]. The square-root trick from the first example does not work because the two denominators differ. Step 2, expand: 4x² = 54.3 × (0.0200 − 0.300x + x²) = 1.086 − 16.29x + 54.3x². Step 3, collect terms: 50.3x² − 16.29x + 1.086 = 0. Step 4, quadratic formula: the discriminant is 16.29² − 4 × 50.3 × 1.086 = 46.86, its square root is 6.846, and x = (16.29 ± 6.846) / 100.6, giving x = 0.0939 M or x = 0.230 M. Step 5, reject the impossible root: x = 0.230 M would make [I₂] = 0.100 − 0.230 negative, so x = 0.0939 M. Step 6, equilibrium values: [H₂] = 0.106 M, [I₂] = 0.0061 M and [HI] = 0.188 M. Check: 0.1878² / (0.1061 × 0.00612) = 54.3. Entering 0.200, 0.100 and 0 with K = 54.3 in the ICE table calculator gives the same x. The limiting reactant I₂ is 93.9 % converted.
Example C: Kp problem, N₂O₄ ⇌ 2NO₂
Take Kp = 0.15 at 25 °C (a typical textbook value) and pure N₂O₄ at an initial partial pressure of 1.00 atm in a rigid container. In a Kp problem every entry in the table is a partial pressure in atm; choose the “Partial pressures (atm) and Kp” basis in the ICE table calculator.
| Row | p(N₂O₄) (atm) | p(NO₂) (atm) |
|---|---|---|
| Initial | 1.00 | 0 |
| Change | −x | +2x |
| Equilibrium | 1.00 − x | 2x |
Step 1: 0.15 = (2x)² / (1.00 − x). Step 2, test the shortcut: dropping x gives x = √(0.15 / 4) = 0.194 atm, which is 19 % of 1.00 atm, so the 5 % rule fails and the quadratic is needed. Step 3: 4x² + 0.15x − 0.15 = 0, so x = (−0.15 + √2.4225) / 8 = (−0.15 + 1.556) / 8 = 0.176 atm (the negative root is rejected). Step 4: p(N₂O₄) = 0.824 atm, p(NO₂) = 0.352 atm and the total pressure rises from 1.00 to 1.18 atm because one molecule becomes two. To work in concentrations instead, convert with Kc = Kp / (RT)Δn; here Δn = +1 and RT = 0.08206 × 298.15 = 24.47 L·atm/mol, so Kc = 0.15 / 24.47 = 6.1 × 10⁻³.
The “x is small” approximation and the 5 % rule
When K is small and the starting concentrations are large, x is tiny compared with the initial amounts, and textbooks drop it from terms like (0.500 − x). The simplified equation can be solved without the quadratic formula. The approximation is accepted when x is less than 5 % of each starting concentration it was subtracted from. The ICE table calculator always solves exactly, then tells you in the note whether the approximation would have passed the 5 % test, which is useful for checking hand calculations and exam answers. Weak-acid problems are the most common case; the Weak Acid Calculator applies the same ICE method to HA ⇌ H⁺ + A⁻.
Which direction does the reaction go? Reverse reactions in the ICE table calculator
| Starting situation | Q compared with K | Sign of x | Change row |
|---|---|---|---|
| Only reactants present | Q = 0 < K | x > 0 (forward) | Reactants −, products + |
| Only products present | Q = ∞ > K | x < 0 (reverse) | Reactants +, products − |
| Both present, Q < K | Q < K | x > 0 (forward) | Reactants −, products + |
| Both present, Q > K | Q > K | x < 0 (reverse) | Reactants +, products − |
You do not need to choose the direction yourself: the ICE table calculator keeps the same Change row (−a·x for reactants, +c·x for products) and simply returns a negative x when the reaction runs backward. To compute Q and K without solving for the equilibrium composition, use the Equilibrium Constant Calculator.
Tips for setting up an ICE table by hand
Whether you work on paper or with the ICE table calculator, the same rules apply. Use concentrations, not moles, unless the volume is exactly 1 L: divide moles by the volume first. For gas-phase reactions with Kp, use partial pressures throughout. Balance the equation first; the coefficients become the multipliers of x and the exponents in K. Leave out solids and liquids, since their activity is 1. Match K to the equation as written: if the equation is reversed, K becomes 1/K; if it is doubled, K becomes K². Check the answer by putting the equilibrium values back into the K expression; the ICE table calculator does this in the last step of the working.
Common mistakes in ICE table problems
Forgetting the coefficient in the Change row. In 2HI the change is 2x, and the term is squared: (2x)², not 2x². Picking the wrong quadratic root. Only the root that keeps every concentration positive is physical; the ICE table calculator searches only that range. Using the approximation when K is not small. With K = 54.3 the approximation is meaningless. Mixing Kc and Kp. Convert with Kp = Kc(RT)Δn before using pressures.
Related calculators
Get K from measured equilibrium amounts with the equilibrium constant calculator, handle dissolution equilibria with the Solubility Product (Ksp) Calculator, and shift K to another temperature with the Van’t Hoff Equation Calculator.
- Equilibrium Constant Calculator
- Solubility Product (Ksp) Calculator
- Weak Acid Calculator
- Van’t Hoff Equation Calculator
- Partial Pressure Calculator (Dalton’s Law)
- All chemistry calculators
Frequently asked questions
What does ICE stand for in chemistry?
Initial, Change, Equilibrium: the three rows of the table used to organize an equilibrium calculation. The Change row is written in terms of one unknown, x, times each stoichiometric coefficient.
How do I solve for x in an ICE table?
Substitute the Equilibrium row into the K expression and solve the resulting equation. Simple cases give a quadratic; take the root that keeps every concentration positive. The ICE table calculator solves the equation exactly for any coefficients.
When can I use the small-x approximation?
Use it when K is small compared with the starting concentrations; a common guide is that the initial concentration divided by K is above about 400. Drop x where it is subtracted from an initial amount, solve, then check that x is less than 5 % of that amount. For 0.10 M acetic acid x is 1.3 % of 0.10 M, so the shortcut is fine; for N₂O₄ with Kp = 0.15 it is 19 %, so you must use the quadratic.
Can x be negative in an ICE table?
Yes. A negative x means the reaction runs from products to reactants, which happens when the initial Q is larger than K, for example when only products are present at the start.
Can I use moles instead of concentrations?
Only when the volume is 1 L or when Δn = 0, because then the volume cancels. Otherwise divide each amount by the volume first, or use partial pressures with Kp.
Is this ICE table calculator free?
Yes. It runs in your browser, needs no sign-up and does not store or send the values you enter.