Equilibrium constant calculator
This equilibrium constant calculator finds Kc from equilibrium concentrations or Kp from partial pressures for a reaction aA + bB ⇌ cC + dD, computes the reaction quotient Q to tell you which way a mixture will shift, and converts between Kp and Kc with Kp = Kc(RT)^Δn.
Equilibrium constant calculator: Kc or Kp from equilibrium data
Reaction quotient calculator: Q versus K and the direction of shift
Kp to Kc converter: Kp = Kc(RT)^Δn
How to use the equilibrium constant calculator
Write the balanced equation in the form aA + bB ⇌ cC + dD and type each coefficient next to its species. Leave a species out by setting its coefficient to 0; that is how you handle reactions with only one reactant or one product, and how you drop pure solids, pure liquids and water as a solvent. In the first panel, enter equilibrium concentrations (for Kc) or equilibrium partial pressures (for Kp) and the equilibrium constant calculator writes the expression, substitutes the values and evaluates it. The second panel takes a mixture that is not at equilibrium, computes the reaction quotient Q and compares it with K. The third converts between Kp and Kc. If you only know the starting amounts and K, use the ICE Table Calculator to find the equilibrium composition.
The formula used by the equilibrium constant calculator
At equilibrium the forward and reverse reactions run at the same rate, and the ratio of product to reactant concentrations, each raised to its stoichiometric coefficient, takes a fixed value at a given temperature. This is the law of mass action. OpenStax Chemistry 2e, section 13.2 introduces it with the same notation.
Square brackets mean molar concentration at equilibrium (mol/L) and p means partial pressure (atm or bar). Strictly, K is a ratio of activities, so it has no unit: each concentration is divided by the 1 mol/L standard state and each pressure by the standard pressure. That is why the equilibrium constant calculator reports K as a pure number and gives the “units” row only for reference. The value does depend on the standard pressure chosen: Kp in bar and in atm differ by a factor of 1.01325Δn, which the calculator shows in Kp mode.
Worked example: Kc for 2SO₂ + O₂ ⇌ 2SO₃
An equilibrium mixture contains [SO₂] = 0.90 M, [O₂] = 0.35 M and [SO₃] = 1.1 M (OpenStax, Check Your Learning in section 13.2). Then Kc = [SO₃]² / ([SO₂]²[O₂]) = 1.1² / (0.90² × 0.35) = 1.21 / 0.2835 = 4.27, which the textbook rounds to 4.3. These are the default values of the first panel of the equilibrium constant calculator. With Δn = 2 − 3 = −1, Kc formally carries units of (mol/L)⁻¹ = L/mol.
Kp for ammonia synthesis. A mixture at 472 °C contains 7.38 atm H₂, 2.46 atm N₂ and 0.166 atm NH₃ at equilibrium. Kp = 0.166² / (2.46 × 7.38³) = 0.02756 / 988.8 = 2.79 × 10⁻⁵. Set A = N₂ (1), B = H₂ (3), C = NH₃ (2) and choose “Kp from partial pressures” in the equilibrium constant calculator to check it.
Reaction quotient Q: which way will the reaction go?
The reaction quotient has exactly the same form as K but uses the current amounts, whatever they are. Comparing the two tells you the direction of the net reaction:
| Comparison | What happens | Example |
|---|---|---|
| Q < K | Too few products: net forward reaction until Q = K | Only reactants present (Q = 0) |
| Q = K | At equilibrium: no net change | A mixture left long enough at constant T |
| Q > K | Too many products: net reverse reaction until Q = K | Product added to an equilibrium mixture |
Second panel defaults. For CO + H₂O ⇌ CO₂ + H₂ with Kc = 0.64, a mixture with [CO] = 0.10 M, [H₂O] = 0.20 M, [CO₂] = 0.050 M and [H₂] = 0.040 M has Q = (0.050 × 0.040)/(0.10 × 0.20) = 0.10. Q is smaller than K, so the mixture reacts forward and makes more CO₂ and H₂. In OpenStax Example 13.2, 0.10 mol NO₂ is put in an empty 1.0 L flask: with no N₂O₄ present Q = 0, and at equilibrium Kc = 0.042/0.016² = 1.6 × 10², a value the equilibrium constant calculator reproduces as 164 when you enter those two concentrations in the first panel.
Le Chatelier’s principle: predicting the shift
Le Chatelier’s principle says a system at equilibrium responds to a disturbance in the direction that partly undoes it. It is a qualitative rule; the quantitative version is the Q versus K comparison above, which is why there is no separate numerical “Le Chatelier calculator”: change the amounts in the second panel of the equilibrium constant calculator and Q tells you the direction.
| Disturbance | Effect on Q or K | Shift |
|---|---|---|
| Add a reactant / remove a product | Q falls below K | Forward (toward products) |
| Add a product / remove a reactant | Q rises above K | Reverse (toward reactants) |
| Compress a gas mixture (higher total P) | Q changes if Δn(gas) ≠ 0 | Toward the side with fewer gas moles |
| Add an inert gas at constant volume | No change in partial pressures | No shift |
| Raise the temperature | K changes (van ’t Hoff) | Toward the endothermic direction |
| Add a catalyst | Neither Q nor K changes | No shift; equilibrium is reached faster |
Temperature is the only common change that alters K itself: K increases with temperature for an endothermic reaction (ΔH° > 0) and decreases for an exothermic one. To put a number on it, use the Van’t Hoff Equation Calculator. K is also linked to the standard Gibbs energy by ΔG° = −RT ln K, which the Gibbs Free Energy Calculator evaluates.
Converting Kp and Kc with the equilibrium constant calculator
Here Δn is the change in moles of gas (gaseous products minus gaseous reactants), T is in kelvin, and R must match the pressure unit: 0.082057 L·atm/(mol·K) for Kp in atm or 0.083145 L·bar/(mol·K) for bar. The relation follows from p = (n/V)RT = [X]·RT for each gas. When Δn = 0, Kp = Kc. Third panel defaults: for N₂ + 3H₂ ⇌ 2NH₃ at 500 °C with Kc = 0.040, Δn = −2 and RT = 0.082057 × 773.15 = 63.44, so Kp = 0.040 / 63.44² = 9.9 × 10⁻⁶, the 1.0 × 10⁻⁵ found in the Purdue general chemistry practice problem.
Typical magnitudes of K
The note under the result of the equilibrium constant calculator uses these rough bands to describe where the equilibrium lies:
| Size of K | Position of equilibrium | Practical meaning |
|---|---|---|
| K > 10³ | Far to the right | Reaction goes essentially to completion |
| 10⁻³ < K < 10³ | Mixture of both | Significant reactants and products; use an ICE table |
| K < 10⁻³ | Far to the left | Very little product forms (e.g. Ksp of sparingly soluble salts) |
Common mistakes with an equilibrium constant calculator
Using initial instead of equilibrium values in K. K needs equilibrium amounts; initial amounts give Q. Including solids, pure liquids or the solvent. Their activity is 1, so CaCO₃(s), H₂O(l) and Hg(l) never appear. Forgetting the exponents. 2SO₃ means [SO₃]², not 2[SO₃]. Reversing or scaling the equation. Reversing the reaction gives 1/K; doubling every coefficient gives K². Always use the same balanced equation for K and Q. Celsius in Kp = Kc(RT)Δn. T must be in kelvin, and Δn counts only gases.
Related calculators
After the equilibrium constant calculator, find equilibrium concentrations from starting amounts with the ICE table calculator, handle sparingly soluble salts with the Solubility Product (Ksp) Calculator, and use partial pressures from the Partial Pressure Calculator (Dalton’s Law) as inputs for Kp.
- ICE Table Calculator
- Solubility Product (Ksp) Calculator
- Van’t Hoff Equation Calculator
- Gibbs Free Energy Calculator
- Partial Pressure Calculator (Dalton’s Law)
- All chemistry calculators
Frequently asked questions
How do you calculate an equilibrium constant?
Multiply the equilibrium concentrations of the products, each raised to its coefficient, and divide by the same product for the reactants. For 2SO₂ + O₂ ⇌ 2SO₃, Kc = [SO₃]²/([SO₂]²[O₂]). The equilibrium constant calculator does this for up to two reactants and two products.
What is the difference between Q and K?
Both have the same form, but K uses equilibrium amounts and is fixed at a given temperature, while Q uses the current amounts. If Q < K the reaction moves forward, if Q > K it moves in reverse, and if Q = K it is at equilibrium.
Does an equilibrium constant have units?
Thermodynamically, no: K is a ratio of activities (concentrations divided by 1 mol/L, pressures divided by 1 bar or 1 atm). Many textbooks still attach units such as (mol/L)Δn to Kc; the equilibrium constant calculator shows them for reference but reports K as a pure number.
How do you convert Kp to Kc?
Use Kc = Kp/(RT)Δn with R = 0.082057 L·atm/(mol·K) when pressures are in atm, T in kelvin and Δn = moles of gaseous products minus moles of gaseous reactants.
Does a catalyst change the equilibrium constant?
No. A catalyst speeds up the forward and reverse reactions equally, so equilibrium is reached faster but K and the equilibrium composition are unchanged. Only temperature changes K.
Is this equilibrium constant calculator free?
Yes. It runs in your browser, needs no sign-up and does not store or send the values you enter.