Every reversible reaction settles at a point where the forward and reverse rates are equal. At that point the ratio of product to reactant amounts, each raised to the power of its coefficient, takes a fixed value at a given temperature: the equilibrium constant . A large means the mixture is mostly products; a small one means the reaction hardly goes.
This equilibrium constant calculator covers the four questions you meet in a chemistry course. K builds the law-of-mass-action expression from the balanced equation and your equilibrium concentrations (Kc) or partial pressures (Kp). Q vs K computes the reaction quotient for any mixture and tells you which way the reaction will shift to reach equilibrium. Kp ↔ Kc converts between the two constants with . ΔG° ↔ K links the constant to the standard Gibbs energy change, .
Constants are computed in logarithms, so values such as or display correctly, and each result comes with the written expression, the reaction and the arithmetic.
How to use this calculator
- Choose a mode: K, Q vs K, Kp ↔ Kc or ΔG° ↔ K.
- For K or Q, list each gas or dissolved species of the balanced equation: its formula, whether it is a reactant or a product, its coefficient and its concentration in mol/L (or partial pressure). Leave out pure solids, pure liquids and water as solvent.
- Pick concentrations (Kc) or partial pressures (Kp), and for Kp the pressure unit (atm or bar).
- For Q, type the known equilibrium constant K. For a conversion, enter K and Δn. For ΔG°, enter K or ΔG° in kJ/mol.
- Set the temperature — it matters for Kp ↔ Kc, ΔG° and K itself — and read the result and steps.
The formula
For , the law of mass action gives
with amounts at equilibrium. The reaction quotient has the same form with the amounts present at any moment. If the reaction moves forward; if it moves backward; if it is at equilibrium.
For gases, , where is the moles of gaseous products minus gaseous reactants and L·atm/(mol·K) (or 0.083145 L·bar/(mol·K)).
The constant is tied to thermodynamics by
with J/(mol·K) and in kelvin.
Worked example
Kc from concentrations. For at equilibrium, = 0.016 M and = 0.042 M. = 164.06, about .
Which way will it go? For , . A mixture with 0.020 M CO and H2O and 0.0040 M CO2 and H2 has = 0.04 < K: it moves forward. With 0.011 M CO, 0.0011 M H2O, 0.037 M CO2 and 0.046 M H2, = 140.7 > K: it moves backward. With 0.0094, 0.0025, 0.0015 and 0.0076 M, = 0.4851, still below 0.64: forward.
Kp from pressures. With = 0.70 atm and = 0.30 atm at equilibrium, = 0.12857.
Kc to Kp. For , at 900 °C (1173.15 K) and . = 96.27, so = 3.021 × 10⁻⁵.
K from ΔG°. Dissolving silver chloride has = 55.7 kJ/mol at 25 °C. = −55,700 / (8.3145 × 298.15) = -22.47, so = 1.745 × 10⁻¹⁰.
What the size of K tells you
| K | Composition at equilibrium | ΔG° |
|---|---|---|
| almost all products | strongly negative | |
| significant amounts of both | near zero | |
| almost all reactants | strongly positive |
K depends only on temperature. Adding a reactant, removing a product or changing the volume changes Q, not K; the system then shifts until Q equals K again — this is Le Chatelier’s principle in numbers. Heating an exothermic reaction lowers K; heating an endothermic one raises it.
Two practical rules: reversing an equation inverts K (), and multiplying all coefficients by raises it to the power . That is why the coefficients you enter must match the equation the constant refers to. For acid and base constants in water, the pH calculator solves the equilibrium for you.
Frequently asked questions
What is an equilibrium constant?
It is the value that the ratio of products to reactants, each raised to its stoichiometric coefficient, reaches when a reversible reaction stops changing at a given temperature. It is written Kc with concentrations and Kp with partial pressures, and it is dimensionless when each amount is divided by its standard value (1 mol/L or 1 bar).
Why are solids and pure liquids left out of K?
Their activity is 1: the concentration of a pure solid or liquid does not change as the reaction proceeds. For CaCO3(s) ⇌ CaO(s) + CO2(g), K is simply the pressure of CO2. Water as the solvent of a dilute solution is treated the same way.
What is the difference between Q and K?
Both use the same expression, but K uses the amounts at equilibrium while Q uses the amounts at any moment. Comparing them predicts the direction: Q smaller than K means more products will form; Q larger than K means products will turn back into reactants.
When are Kp and Kc equal?
When Δn = 0, that is when the reaction has the same number of moles of gas on both sides, as in H2 + I2 ⇌ 2 HI. Otherwise Kp = Kc(RT)^Δn, and the two can differ by orders of magnitude at high temperature.
How do I get K from the Gibbs free energy?
Use K = exp(−ΔG°/RT), with ΔG° in J/mol, R = 8.314 J/(mol·K) and T in kelvin. Each 5.7 kJ/mol of ΔG° at 25 °C changes K by a factor of ten: ΔG° = 0 gives K = 1, ΔG° = −5.7 kJ/mol gives K ≈ 10.
Sources
- OpenStax Chemistry 2e — 13.2 Equilibrium Constants (Kc, Kp, Q)
- OpenStax Chemistry 2e — 13.3 Shifting Equilibria: Le Châtelier’s Principle
- OpenStax Chemistry 2e — 16.4 Free Energy (ΔG° = −RT ln K)
- NIST CODATA — molar gas constant R
Last updated: