Chemistry

Equilibrium Calculator

Solve chemical equilibrium with Kc/Kp, reaction quotient Q, ICE tables, and equilibrium amounts.

ICE equilibrium solver
SpeciesCoeffRoleInitial (M)In K

Uncheck “In K” for pure solids/liquids (activity ≈ 1). Kp = Kc (RT)^Δn uses R = 0.082057 L·atm/(mol·K) and Δn from species included in K. Concentrations or partial pressures are treated as activity approximations.

Reaction quotient Q

0

Kc

4

Kp

4

Δn = 0

Extent x

0.66667

Forward progress

Direction

Q < K — net reaction proceeds forward (reactants → products).

Kc = ([C] · [D]) / ([A] · [B])

SpeciesICE
1A1-0.666670.33333 M
1B1-0.666670.33333 M
1C0+0.666670.66667 M
1D0+0.666670.66667 M

What is the Equilibrium Calculator?

Chemical equilibrium occurs when a reversible reaction reaches a state where the forward and reverse reaction rates are equal, so macroscopic concentrations and partial pressures no longer change with time. This does not mean the reaction has stopped—molecules continue to react in both directions, but the net change is zero. The equilibrium state is described mathematically by the equilibrium constant K, which relates the concentrations or partial pressures of products and reactants at equilibrium.

For a general reaction aA + bB ⇌ cC + dD, the concentration-based equilibrium constant Kc is defined as the ratio of product concentrations raised to their stoichiometric powers divided by reactant concentrations raised to their powers, each evaluated at equilibrium. A related constant Kp uses partial pressures instead of molar concentrations and applies especially to gas-phase equilibria. The reaction quotient Q has the same mathematical form as K but uses current (not necessarily equilibrium) concentrations, telling you which direction the net reaction will proceed.

The ICE table method—Initial, Change, Equilibrium—is the standard classroom technique for organizing equilibrium algebra. You record initial concentrations, express changes in terms of a single variable x representing the extent of reaction, and write equilibrium expressions. Substituting equilibrium values into the K expression yields an equation in x that you solve to find final concentrations. This method appears on virtually every general chemistry exam covering equilibria.

Equilibrium calculations appear in contexts ranging from acid–base buffer design to industrial Haber process optimization. In the laboratory, students use ICE tables to predict how dilution, temperature change, or addition of a reactant shifts a system according to Le Chatelier's principle. The Equilibrium Calculator on Online Science Tools constructs the ICE table automatically, evaluates Q relative to K, and solves for equilibrium concentrations numerically, letting you verify your handwritten algebra.

Understanding equilibrium is also essential for advanced topics such as solubility product constants (Ksp), formation constants of complex ions, and coupled equilibria in analytical chemistry. The same Q-versus-K logic applies: if Q is less than K, the forward reaction dominates until equilibrium is restored; if Q exceeds K, the reverse reaction proceeds. These principles govern everything from blood CO₂ buffering to the chemistry of ocean acidification.

  • Kc uses molar concentrations; Kp uses partial pressures (atm)
  • Q < K means net forward reaction; Q > K means net reverse reaction
  • ICE tables track how each species changes by ±ν·x from initial values
  • Kp = Kc(RT)^Δn relates the two constants for ideal gases

Mathematical / chemical formulas

The equilibrium constant and reaction quotient share the same functional form. For the reaction aA + bB ⇌ cC + dD, concentrations are expressed in mol/L and partial pressures in atm.

Kc = [C]^c [D]^d / ([A]^a [B]^b)     (at equilibrium)

Q  = [C]^c [D]^d / ([A]^a [B]^b)     (at any instant)

Direction:
  Q < K  →  net forward (→)
  Q > K  →  net reverse (←)
  Q = K  →  at equilibrium

ICE table (extent x):
  A:  [A]₀ − a·x
  B:  [B]₀ − b·x
  C:  [C]₀ + c·x
  D:  [D]₀ + d·x

Kp and Kc relationship (ideal gases):
  Kp = Kc (RT)^Δn
  Δn = (c + d) − (a + b)   (change in gas moles)
  • Pure solids and liquids are omitted from K expressions because their activities are approximately constant.
  • The extent x must keep all equilibrium concentrations non-negative: 0 ≤ x ≤ [reactant]₀/ν for each limiting reactant.
  • When K is very large or very small, the small-x or large-x approximation may simplify the algebra before numerical solution.

Step-by-step example: ICE Table for the Haber Equilibrium

For N₂(g) + 3H₂(g) ⇌ 2NH₃(g), Kc = 0.50 at a certain temperature. If 1.00 M N₂ and 3.00 M H₂ are mixed with no initial NH₃, find the equilibrium concentrations.

  1. Set up the ICE table with initial values: [N₂]₀ = 1.00, [H₂]₀ = 3.00, [NH₃]₀ = 0 M.
  2. Define changes: N₂ loses x, H₂ loses 3x, NH₃ gains 2x.
  3. Write equilibrium expressions: [N₂] = 1.00 − x, [H₂] = 3.00 − 3x = 3(1 − x), [NH₃] = 2x.
  4. Substitute into Kc: 0.50 = (2x)² / [(1 − x)(3(1 − x))³] = 4x² / [27(1 − x)⁴].
  5. Rearrange: 4x² = 13.5(1 − x)⁴. Solve numerically on 0 ≤ x ≤ 1.
  6. The physical root is x ≈ 0.486 M.
  7. Equilibrium concentrations: [N₂] ≈ 0.514 M, [H₂] ≈ 1.54 M, [NH₃] ≈ 0.972 M.

Enter N2 + 3H2 ⇌ 2NH3 with Kc = 0.50 and initials 1.00 M N₂, 3.00 M H₂, 0 M NH₃ in the Equilibrium Calculator. Initial Q = 0 (Q < K), so the net reaction is forward. Compare the solved equilibrium concentrations with about 0.514, 1.54, and 0.972 M.

Frequently asked questions

What is the difference between Kc and Kp?

Kc is expressed in terms of molar concentrations (mol/L), while Kp uses partial pressures (typically in atm). They describe the same equilibrium but in different units. For gas-phase reactions involving ideal gases, Kp = Kc(RT)^Δn, where Δn is the change in the number of moles of gas from reactants to products. Use Kc when working with concentration data and Kp when working with pressure data, but never mix units within a single expression.

How do I know which direction the reaction will shift?

Calculate the reaction quotient Q using the current concentrations and the same formula as K. If Q is less than K, the system has too many reactants relative to products and the net reaction proceeds forward. If Q exceeds K, there are too many products and the net reaction runs in reverse. At equilibrium, Q equals K exactly. Le Chatelier's principle provides a qualitative shortcut: adding reactant or removing product shifts the equilibrium toward products.

Why can equilibrium concentrations never be negative?

Concentrations are physical quantities representing moles of solute per liter of solution. A negative value has no chemical meaning. When solving the ICE table equation for x, you must reject any root that would make a reactant concentration negative. The valid range for x is bounded by the stoichiometric limit of the scarcest reactant. This constraint is why equilibrium problems sometimes have only one physically meaningful root among several mathematical solutions.

Does changing temperature change the equilibrium constant?

Yes. Unlike concentration or pressure changes, which alter Q and shift the equilibrium position without changing K, a temperature change modifies K itself. Exothermic reactions have K decrease with increasing temperature; endothermic reactions have K increase. This follows from the van't Hoff equation. In the classroom, you often compare K values at different temperatures rather than applying Le Chatelier's to temperature as if it were a concentration change.

When should I use the small-x approximation?

Use the small-x approximation when K is very small (≪ 1), so little product forms and x is tiny compared with the initial reactant concentrations. Then you may replace terms like (1.00 − x) with 1.00 to simplify the algebra. Always check afterward that x is under about 5% of the initial concentration; if not, solve the full equation. Large K means the opposite situation — the reaction goes nearly to completion — so small-x is the wrong tool; use the Equilibrium Calculator for a numerical root instead.

Keep learning with more calculators and study guides on Online Science Tools.

Practice problems & worked examples

Practice alongside the equilibrium calculator above. Each problem includes a full worked solution so you can check your reasoning step by step.

Practice problem 1

Kc for the Haber reaction

For N₂ + 3H₂ ⇌ 2NH₃ at equilibrium, [N₂] = 0.40 M, [H₂] = 1.20 M, [NH₃] = 0.20 M. Calculate Kc.

Show solution

Worked solution

  1. Kc = [NH₃]² / ([N₂][H₂]³).
  2. Numerator = (0.20)² = 0.040.
  3. Denominator = (0.40)(1.20)³ = (0.40)(1.728) = 0.6912.
  4. Kc = 0.040 / 0.6912 ≈ 0.0579.

Answer: Kc ≈ 0.0579

Practice problem 2

Compare Q and K

A mixture has Q = 0.010 for a reaction with Kc = 0.060. In which direction does the net reaction proceed?

Show solution

Worked solution

  1. Compare Q with K: 0.010 < 0.060.
  2. When Q < K, products are too low relative to equilibrium.
  3. Net reaction proceeds forward (reactants → products) until Q = K.

Answer: Forward (toward products)

Practice problem 3

ICE table for A ⇌ 2B

Start with [A]₀ = 1.00 M, [B]₀ = 0, and Kc = 0.36. Find equilibrium concentrations.

Show solution

Worked solution

  1. ICE: A: 1.00 − x; B: 0 + 2x.
  2. Kc = (2x)² / (1 − x) = 0.36 ⇒ 4x² = 0.36(1 − x).
  3. 4x² + 0.36x − 0.36 = 0 ⇒ x = [−0.36 + √(0.1296 + 5.76)] / 8 ≈ 0.258.
  4. [A]eq ≈ 0.742 M; [B]eq ≈ 0.517 M. Check: (0.517)² / 0.742 ≈ 0.36.

Answer: [A] ≈ 0.742 M, [B] ≈ 0.517 M

Practice problem 4

Kp vs Kc

For N₂ + 3H₂ ⇌ 2NH₃, Δn = −2. If Kc = 0.060 at 500 K, estimate Kp using R = 0.0821 L·atm/(mol·K).

Show solution

Worked solution

  1. Kp = Kc(RT)^Δn.
  2. RT = (0.0821)(500) = 41.05.
  3. Kp = 0.060 / (41.05)² ≈ 0.060 / 1685 ≈ 3.56 × 10⁻⁵.

Answer: Kp ≈ 3.6 × 10⁻⁵

Related tools