Chemistry & Chemical Engineering Chemical Equilibrium & Solubility IUPAC Green Book (3rd ed.) equilibrium conventions

Equilibrium Constant Calculator (Kc)

This calculator works the equilibrium problem in both directions. Give it the measured equilibrium concentrations of a reaction aA + bB ⇌ cC + dD and it returns Kc. Give it Kc and your starting concentrations instead, and it solves the ICE table numerically for the extent of reaction and every equilibrium concentration — including cases the usual quadratic shortcut cannot handle, such as cubic exponents, a mixture that starts with product present, or a reaction that has to run backwards to reach equilibrium.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
What do you want to findChoose the direction. In the second mode the concentration boxes below are read as equilibrium values, not starting values.Equilibrium concentrations, from Kc
Coefficient a (reactant A)The stoichiometric number in front of A in the balanced equation. Enter 0 if there is no second reactant to use this slot.1
Coefficient b (reactant B)Set to 0 for a reaction with only one reactant, such as N2O4 ⇌ 2 NO2.1
Coefficient c (product C)The stoichiometric number in front of the first product. It becomes the exponent on [C].1
Coefficient d (product D)Set to 0 for a reaction with only one product, such as H2 + I2 ⇌ 2 HI.1
Concentration of AStarting concentration of A in solve mode, or its measured equilibrium concentration in Kc mode.1 M
Concentration of BLeave at any value if coefficient b is 0 — a species with a zero coefficient is ignored entirely.1 M
Concentration of CEnter 0 in solve mode if you start with no product, or the amount present if you are pushing the reaction backwards.0 M
Concentration of DConcentration of the second product. Ignored when coefficient d is 0.0 M
Equilibrium constant KcUsed only in solve mode. Take it from a data table at the temperature of your experiment — Kc changes with temperature.4

It returns

  • Equilibrium constant Kc — Dimensionless by convention: each concentration is divided by the 1 M standard state before the powers are taken.
  • Equilibrium [A] — Shows a dash when coefficient a is 0, because A is then not part of the reaction.
  • Equilibrium [B]
  • Equilibrium [C]
  • Equilibrium [D]

The formula

Kc=[C]c[D]d[A]a[B]b
[A]=[A]0ax,[C]=[C]0+cx

In plain text: Kc = ([C]^c · [D]^d) / ([A]^a · [B]^b)

  • KcEquilibrium constant written in concentrations (dimensionless)
  • [X]Molar concentration of species X at equilibrium (mol/L)
  • a, bStoichiometric coefficients of the reactants (—)
  • c, dStoichiometric coefficients of the products (—)
  • xExtent of reaction: moles per litre of reaction advance (mol/L)

Pure solids and pure liquids are omitted from the expression because their activities are 1. Kc is temperature-dependent, so quote the temperature with every value.

Updated Category Chemical Equilibrium & Solubility Verified against published test cases Reading time 12 min

What the equilibrium constant actually tells you

Kc is a single number that fixes the composition a reversible reaction settles at, no matter which side you start from. Mix hydrogen and iodine, or start with pure hydrogen iodide and let it decompose; at the same temperature both mixtures end up obeying the same ratio of concentrations. That is the content of the law of mass action, and it is why one constant is worth more to you than a shelf of individual experiments.

Two things follow immediately. First, Kc tells you where the reaction stops, not how fast it gets there. A reaction with Kc = 1030 may still take geological time if its activation energy is large; that is a question for the Arrhenius equation, not for equilibrium. Second, Kc is a function of temperature only. Changing concentrations, adding a catalyst, or changing the volume shifts the position of equilibrium but leaves the constant alone. Change the temperature and the constant itself moves.

By modern convention Kc is dimensionless. Each concentration in the expression is really a ratio to the 1 mol/L standard state, so the units cancel even when the exponents do not balance. The IUPAC Green Book sets out this activity-based definition; the practical consequence is that you never write units after a K value, and that a K of 4 means the same thing whichever way the exponents fall.

How the expression is built, term by term

Write the balanced equation first, because every exponent comes from it. For aA + bB ⇌ cC + dD the constant is the product concentrations raised to their coefficients, divided by the reactant concentrations raised to theirs. Products go on top; that is a convention, and it is the reason a large K means a product-rich mixture.

The exponents are not decoration. Doubling the coefficient of a species squares its influence. In H2 + I2 ⇌ 2 HI the HI term is [HI]2, so halving the HI concentration cuts the quotient by a factor of four, not two. This is also why a reaction written backwards has constant 1/K, and why a reaction multiplied through by 2 has constant K2.

Leave out pure solids and pure liquids. Their activity is 1 whatever quantity is present, so CaCO3(s) ⇌ CaO(s) + CO2(g) has Kc = [CO2] alone. The same logic makes water disappear from equilibrium expressions in dilute aqueous solution, which is why the ion-product Kw used in the pH calculator contains only [H+] and [OH].

To go the other way — from Kc and a set of starting amounts to the final composition — you introduce the extent of reaction x, in moles per litre. Every reactant falls by its coefficient times x; every product rises by its coefficient times x. Substituting those expressions into the quotient gives one equation in one unknown. For simple stoichiometry it is a quadratic; for 2 HI or for A + 3B it is a cubic or quartic, and that is where hand algebra becomes painful. This calculator solves it numerically by bisection on ln Q, which is monotonic in x and therefore always has exactly one root in the physically allowed window.

Worked example: H₂ + I₂ ⇌ 2 HI with Kc = 54.3

Charge a vessel with 0.500 M H2 and 0.500 M I2 at 430 °C, where Kc = 54.3, and start with no HI.

  1. Set up the ICE table. [H2] = 0.500 − x, [I2] = 0.500 − x, [HI] = 0 + 2x.
  2. Write the quotient. Kc = (2x)2 / [(0.500 − x)(0.500 − x)] = 54.3.
  3. Exploit the perfect square. Both sides are squares, so take the square root: 2x / (0.500 − x) = √54.3 = 7.36885.
  4. Clear the fraction. 2x = 3.684427 − 7.36885x, so 9.36885x = 3.684427.
  5. Solve. x = 3.684427 ÷ 9.36885 = 0.393267 M.
  6. Back-substitute. [H2] = [I2] = 0.500 − 0.393267 = 0.106733 M; [HI] = 2 × 0.393267 = 0.786535 M.
  7. Check. (0.786535)2 ÷ (0.106733)2 = 0.618637 ÷ 0.011392 = 54.30. The constant is reproduced, so the arithmetic holds.

Note what the answer means: 78.65% of the hydrogen has been converted. A Kc of 54.3 sounds large, yet more than a fifth of each reactant survives. That gap between "K is big" and "the reaction goes to completion" is where most exam marks are lost.

Now run it backwards to see the other half of the claim. Start instead with 1.000 M HI and nothing else. The same constant gives 2y/(1.000 − 2y) … more directly, [HI]/[H2] must again be 7.36885 at equilibrium, and the calculator returns [HI] = 0.786535 M with [H2] = [I2] = 0.106733 M — the identical mixture, reached from the opposite side.

How to read the number you get

Use magnitude first. A Kc above about 104 means the equilibrium mixture is overwhelmingly product, and modelling the reaction as complete costs you less than a percent. A Kc below about 10−4 means almost nothing happens on its own; if you need the product, you will have to remove it as it forms or couple the step to a downstream reaction. Between those bounds you are in genuine equilibrium territory, where both sides are present in workable amounts and where the ICE table earns its keep.

Read the extent x next. Its sign tells you which way the mixture had to move: positive means the net change ran left to right, negative means products were in excess of what equilibrium allows and the reaction ran backwards. Compare x with the largest value stoichiometry permits — the smallest ratio of a reactant's starting concentration to its coefficient — and you have the fractional conversion. In the worked example the ceiling is 0.500 M and x reached 0.393 M, so conversion is 78.65%.

Finally, sanity-check against thermodynamics. The relation ΔG° = −RT ln K ties the constant to the standard free energy change, so a K of 1 corresponds to ΔG° = 0 and a K of 100 at 298.15 K corresponds to −8.314462618 × 298.15 × ln 100 = −11,416 J/mol, or −11.4 kJ/mol. If a measured K and a tabulated ΔG° disagree badly, one of them is at the wrong temperature. The Gibbs free energy calculator handles that conversion directly.

Equilibrium composition versus Kc for A + B ⇌ 2 C from 0.500 M each

Because the quotient is a perfect square here, x = 0.5√Kc / (2 + √Kc). Every row is reproducible with a calculator in two steps.
Kc√KcExtent x (M)[A] = [B] (M)[C] (M)Conversion
0.010.10.023810.476190.047624.76%
110.166670.333330.3333333.33%
420.250000.250000.5000050.00%
54.37.368850.393270.106730.7865378.65%
100100.416670.083330.8333383.33%
10⁴1000.490200.009800.9803998.04%
10⁶10000.499000.001000.9980099.80%

Conversion is x divided by the 0.500 M ceiling. Notice how slowly conversion approaches 100%: raising Kc from 100 to a million buys only the last 16 percentage points.

Mistakes that produce a wrong Kc

  • Using an unbalanced equation. Every exponent comes from a coefficient, so a balancing error propagates straight into the answer. Balance first with the equation balancer.
  • Putting initial concentrations into the expression. Kc takes equilibrium values only. Initial values give you Q, not K — a different quantity with a different meaning.
  • Including a pure solid or the solvent. Their activities are 1. Writing [CaCO3] or [H2O] into the quotient changes the numerical answer and makes it non-comparable with published values.
  • Mixing moles with molarity. The expression needs concentrations. Divide moles by the vessel volume first; the molarity calculator does it in one step.
  • Quoting K without a temperature. A constant with no temperature attached cannot be checked, compared, or reused.
  • Discarding the wrong root. A quadratic gives two roots and only one keeps every concentration positive. This calculator confines the search to the window where all species stay above zero, so the unphysical root cannot be returned.
  • Assuming x is small without checking. The 5% approximation is a shortcut, not a law. If x turns out to exceed 5% of the smallest initial concentration, the approximation has failed and you need the full solution.

What this calculator assumes

It treats concentrations as activities — that is, it assumes an ideal, dilute solution or an ideal gas mixture. In concentrated electrolytes, activity coefficients depart from 1 and a measured constant will drift from the one you compute; analytical chemists handle this with conditional constants at a fixed ionic strength.

It handles up to two reactants and two products. Reactions with more species can still be run by lumping, or by solving the polynomial directly. It also assumes a single equilibrium: coupled equilibria, such as a polyprotic acid or a metal with several ligand complexes, need simultaneous solution rather than one extent variable.

The solver is confined to the window in which every species with a non-zero coefficient stays above zero. If you enter starting amounts where no such window exists — zero on both sides, for instance — it returns a dash rather than a fabricated answer, and the ICE table drops the columns that cannot be filled.

For gas-phase reactions the same equilibrium is often written in partial pressures as Kp. The two are related by Kp = Kc(RT)Δn, where Δn is the change in the number of moles of gas; the Kp to Kc conversion calculator handles the arithmetic and the choice of R. When Δn is zero the two constants are numerically identical.

If your mixture is not yet at equilibrium, the same quotient evaluated at the current composition is the reaction quotient Q. Comparing Q with K predicts the direction of net change, which is what the reaction quotient calculator reports.

Several constants you already use are Kc in disguise. Ka and Kb are equilibrium constants for proton transfer, which is why the weak acid pH calculator is an ICE table with a special name. Ksp is the constant for a salt dissolving, with the solid omitted — see the solubility product calculator. Recognising them as one idea saves you learning four sets of rules.

Key terms

Law of mass action
The statement that at equilibrium the ratio of product concentrations to reactant concentrations, each raised to its stoichiometric coefficient, is a constant at fixed temperature.
ICE table
Initial, Change, Equilibrium — a three-row bookkeeping layout that expresses every equilibrium concentration in terms of one unknown extent.
Extent of reaction (x)
How far the reaction has advanced, in moles per litre of reaction as written. Positive means net forward; negative means net reverse.
Activity
The effective concentration that appears in a rigorous equilibrium expression: concentration divided by the standard state, corrected by an activity coefficient. Taken as 1 for pure solids and liquids.
Homogeneous vs heterogeneous equilibrium
Homogeneous equilibria have all species in one phase; heterogeneous ones involve more than one phase and therefore omit the pure condensed phases from the expression.

Frequently asked questions

Does Kc have units?

No, not under the modern convention. Each concentration in the expression is divided by the 1 mol/L standard state before the exponent is applied, so the units cancel and Kc is a pure number. Older textbooks sometimes attach units such as M−1 when the exponents do not balance; the numerical value is the same as long as every concentration is in mol/L. Always report the temperature instead of units, because that is what a reader actually needs.

What is the difference between Kc and Q?

They are the same algebraic expression evaluated at different times. Q uses whatever concentrations exist right now; Kc uses the concentrations at equilibrium. Q therefore changes as the reaction proceeds and stops changing when it equals K. Comparing them tells you the direction of net change, which is the job of the reaction quotient calculator.

Why does my ICE table give two answers?

Because substituting the extent into the quotient produces a polynomial, and polynomials have more than one root. Only one root keeps every concentration positive, and that is the physical answer. Discard any root that makes a reactant or product negative, or that pushes the extent beyond the stoichiometric ceiling. This calculator only searches inside the window where all species stay above zero, so it cannot return the spurious root.

When can I use the 5% approximation?

Use it when the extent is small compared with the smallest initial concentration — the usual test is that x is under 5% of it. That is typically true when K is smaller than about 10−4 and the initial concentrations are around 0.1 M or higher. Always check afterwards: compute x with the approximation, divide by the initial concentration, and if the ratio exceeds 5% redo the problem exactly. This calculator solves exactly, so you can use it to test how far the shortcut would have taken you.

How does temperature change Kc?

Through the van 't Hoff relation: ln K varies with −ΔH°/RT. For an exothermic reaction, raising the temperature lowers K, so the equilibrium mixture holds less product; for an endothermic reaction, raising the temperature raises K. Nothing else — not pressure, not a catalyst, not the starting amounts — changes the constant itself. They change only the position along the curve at which the mixture sits.

What if my reaction has three reactants?

Combine the two you are least interested in, or solve the polynomial directly. The two-plus-two layout here covers the majority of textbook and process cases. If a third species genuinely limits the reaction, note that the physically allowed window for the extent is set by whichever reactant runs out first, so you can often reduce the problem by treating the abundant species as effectively constant.

Why does a Kc of 54.3 still leave 21% of the reactants unconverted?

Because conversion depends on the square root of K when the stoichiometry is symmetric, not on K itself. With A + B ⇌ 2 C starting from equal concentrations, x = 0.5√K/(2 + √K). At K = 54.3 the square root is 7.37, giving 78.65% conversion. To reach 98% you need K near 104, and to reach 99.8% you need K near 106. Large constants buy the last few percent very slowly.

Should solids and water appear in the expression?

No. A pure solid or pure liquid has activity 1 regardless of how much is present, so it contributes a factor of 1 and drops out. That is why adding more solid CaCO3 to a decomposition equilibrium does not shift it, and why water is absent from Ka expressions in dilute aqueous solution. Water does appear when it is a reactant in a non-aqueous system or when the solution is concentrated enough that its activity is no longer near 1.

Can I use this for a reaction that starts with only products?

Yes. Enter zero for the reactants and the actual concentrations for the products, and the solver returns a negative extent, meaning the net change runs right to left. The third worked test on this page does exactly that for N2O4 ⇌ 2 NO2 starting from 0.0500 M NO2, and recovers 0.02017 M N2O4 with 0.00966 M NO2 remaining.

References

  • Quantities, Units and Symbols in Physical Chemistry (the Green Book), 3rd ed. — IUPAC / RSC Publishing
  • Physical Chemistry, 11th ed. — Atkins & de Paula, Oxford University Press
  • Chemistry, 13th ed. — Chang & Goldsby, McGraw-Hill
  • CODATA recommended value of the molar gas constant RNIST Reference on Constants, Units and Uncertainty