How this equilibrium constant calculator works
Every reversible reaction settles into a balance point, and the equilibrium constant is the number that describes where that balance sits. This page builds the mass action expression from your balanced equation, one species at a time: give each reactant and product its coefficient and its equilibrium concentration, and the expression is assembled, substituted, and evaluated in front of you. Anything your reaction does not have, you simply leave blank, and it drops out of the expression the way it drops out of the chemistry.
This page computes K for any reaction from equilibrium concentrations. One specific equilibrium comes up so often it has earned its own tool: a sparingly soluble salt dissolving in water. That constant is called Ksp, and converting between it and molar solubility has its own moves, so it lives on our solubility calculator. General reaction here, dissolving salt there.
The formula
Kc = [C]c[D]d ÷ [A]a[B]b
The square brackets mean concentration in mol/L, measured at equilibrium, and the lowercase letters are the coefficients from the balanced equation, which become exponents. Products go on top, reactants on the bottom. Pure solids and pure liquids never appear at all, for a reason worth its own section below. The concentrations must come from a system that has stopped changing: feed this expression starting concentrations and you get Q, a different and also useful number, not K.
Worked example
Hydrogen and iodine make hydrogen iodide: H2 + I2 ⇌ 2 HI. A hot flask of the three gases settles down, and the equilibrium concentrations are measured as [HI] = 0.156 M, [H2] = 0.0220 M, [I2] = 0.0220 M.
Kc = [HI]2 ÷ ([H2][I2]) = (0.156)2 ÷ (0.0220 × 0.0220) = 0.02434 ÷ 0.000484 = 50.28
The coefficient 2 on HI shows up as the exponent 2, and nowhere else. K is about 50, comfortably above 1, so at this temperature the products are favored: when this system comes to rest, most of what is in the flask is HI. This is the classic general chemistry example, and the measured value near 450 degrees C really is close to 50.
The rule everyone loses points on: pure solids and liquids
If a species in your reaction is a pure solid or a pure liquid, it does not go into the expression. Not with its concentration, not with a placeholder: it is simply absent. The reason is that a pure phase has an activity of 1. Its effective concentration is a property of the substance itself (solid calcium carbonate is exactly as dense as solid calcium carbonate) and it does not change as the reaction proceeds. A term that cannot change cannot tell you anything about where the equilibrium sits, so it multiplies through as 1 and vanishes.
The classic case is limestone decomposing in a hot kiln: CaCO3(s) ⇌ CaO(s) + CO2(g). Two of the three species are solids, so the whole expression collapses to K = [CO2]. At a given temperature the CO2 concentration above the solids is fixed, and it does not matter whether the kiln holds a pebble of limestone or a tonne. Mark a species as a pure solid or liquid above and this page removes it the same way, with the reason written into the steps. Water gets the same treatment when it is the solvent: in a dilute aqueous reaction, water is effectively a pure liquid at about 55.5 M, and that number no more belongs in K than the limestone does.
Q against K: which way does it run
Take the same expression and feed it concentrations that are not at equilibrium. The number that comes out is called the reaction quotient, Q, and comparing it to K answers the most practical question in the subject: which way does this mixture move?
Q less than K: the fraction is too small, so there is too little product. The reaction runs forward. Q greater than K: too much product, and the reaction runs in reverse. Q equal to K: the mixture is already at equilibrium and nothing net happens. For the HI reaction with K near 50.3, a fresh mixture with all three gases at 0.100 M has Q = (0.100)2 ÷ (0.100 × 0.100) = 1, far below 50.3, so the reaction makes more HI. Switch the calculator to Q mode, enter a known K, and it renders this comparison for your own numbers.
Where equilibrium concentrations come from: the ICE table
Most homework does not hand you equilibrium concentrations; it hands you starting ones and a K, and the bridge between them is the ICE table: Initial, Change, Equilibrium. Write the initial concentrations, express every change in terms of one unknown x scaled by the coefficients, add the rows, and substitute the equilibrium line into the K expression.
A quick one, using the reaction above. Start with 0.500 M each of H2 and I2 and no HI, with K = 50.28. The changes are -x, -x, and +2x, so at equilibrium the concentrations are (0.500 - x), (0.500 - x), and 2x. Then K = (2x)2 ÷ (0.500 - x)2, and because both sides are perfect squares you can take the square root of the whole equation: 2x ÷ (0.500 - x) = 7.09, which gives x = 0.390. The equilibrium concentrations are [H2] = [I2] = 0.110 M and [HI] = 0.780 M, and feeding those three numbers into the calculator above returns exactly the K we started from, which is the check that the algebra behaved. This calculator takes the equilibrium values, the E row; the ICE table is how you earn them.
What K does and does not tell you
Reading the size of K is a skill worth having. K far above 1 (thousands and up): the reaction goes essentially to completion, and at equilibrium you would need good instruments to find any reactant. K far below 1 (thousandths and down): the reaction barely starts. K near 1: both sides are present in force, and this is the regime where equilibrium calculations earn their keep, because intuition alone will not tell you the mix.
Three honest boundaries. First, K is formally dimensionless: it is defined through activities, which are ratios against a standard state, though textbooks often carry mol/L units through informally and this page will not scold anyone for that. Second, K says nothing about speed. Diamond converting to graphite has K greater than 1 at room conditions and takes geological time; a large K is a destination, not a schedule. Third, for gas reactions there is a sibling constant built from partial pressures: Kp = Kc(RT)Δn, where Δn is the change in moles of gas; this page works in concentrations, and our gas law calculator handles the pressure side of that conversion. And if your concentrations started life as a mass in a flask, our molarity calculator turns grams and volumes into the mol/L this page eats.