Skip to content
Omnikalc

Equilibrium constant: Kc, Kp and Q from concentrations

For a reaction aA + bB ⇌ cC + dD, compute Kc or the reaction quotient Q from molar concentrations, convert it to Kp, find ΔG° and see which way the reaction shifts.

Updated on
Your inputs
mol/L

Value out of range

Value out of range

mol/L

Value out of range

Value out of range

mol/L

Value out of range

Value out of range

mol/L

Value out of range

Value out of range

K

Value out of range

Value out of range

Results

Kc (or Q if the mixture is not at equilibrium)

0.09481

K between 0.001 and 1,000: significant amounts of reactants and products at equilibrium
Kp for a gas-phase reaction, in atm
0.0001584
Δn, moles of gas change
-2
Standard Gibbs energy ΔG° = −RT ln K
5.84 kJ/mol
log10 K
-1.023

The law of mass action

For a reversible reaction at equilibrium

aA + bB ⇌ cC + dD

the ratio of product and reactant concentrations, each raised to the power of its coefficient, is constant at a given temperature. This is the law of mass action, stated by Guldberg and Waage in 1864:

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

Concentrations are in mol/L. Pure solids, pure liquids and the solvent, such as water in a dilute solution, are left out of the expression. Enter a coefficient of 0 for a species that does not exist in your reaction.

Reaction quotient Q

The same expression calculated with concentrations that are not at equilibrium is the reaction quotient Q. Comparing Q with K tells you which way the reaction will move:

  • Q < K: too few products; the reaction goes forward.
  • Q > K: too many products; the reaction goes in reverse.
  • Q = K: the system is at equilibrium.

Example: ammonia synthesis

For N2 + 3H2 ⇌ 2NH3, with [N2] = 0.25, [H2] = 0.75 and [NH3] = 0.1 mol/L:

Kc = 0.1² / (0.25 × 0.75³) = 0.01 / 0.1055 ≈ 0.0948

From Kc to Kp

For gases, the constant can also be written with partial pressures. The two are linked by:

Kp = Kc × (RT)^Δn

where R = 0.08206 L·atm/(mol·K), T is in kelvin and Δn is the change in moles of gas, (c + d) − (a + b). For ammonia, Δn = 2 − 4 = −2, so at 298.15 K Kp ≈ 0.0948 × 24.47⁻² ≈ 1.6 × 10⁻⁴.

ΔG° = −RT ln K, with R = 8.314 J/(mol·K). A K above 1 gives a negative ΔG°: products are favored. A K below 1 gives a positive ΔG°. For the example, ΔG° ≈ +5.8 kJ/mol.

What changes K, and what does not

  • Temperature changes K. For an exothermic reaction like ammonia synthesis, K falls as temperature rises.
  • Concentration, pressure and catalysts do not change K. They change Q or the speed at which equilibrium is reached. Le Chatelier’s principle describes how the system shifts back toward equilibrium.

Strictly, K uses activities rather than concentrations, so this calculation is most accurate for dilute solutions and ideal gases.

Frequently asked questions

How do you calculate the equilibrium constant?

Kc = [C]^c[D]^d / ([A]^a[B]^b), with equilibrium concentrations in mol/L raised to their stoichiometric coefficients.

What is the difference between Q and K?

Q has the same formula but uses concentrations at any moment. If Q < K the reaction moves forward; if Q > K it moves in reverse.

How do you convert Kc to Kp?

Kp = Kc × (RT)^Δn, with R = 0.08206 L·atm/(mol·K), T in kelvin and Δn the change in moles of gas.

Are solids and water included in K?

No. Pure solids, pure liquids and the solvent of a dilute solution are left out of the expression.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.