🔬
🔬 Science & engineering

Equilibrium Constant & Kp ⇄ Kc Calculator

Results update as you type.

Your numbers

Understanding the equilibrium constant calculator — concept and principle

The equilibrium constant tells you how far a reversible reaction proceeds before forward and reverse rates balance. For gas-phase reactions it can be written with molar concentrations (Kc) or with partial pressures (Kp). This calculator converts Kc to Kp at a given temperature and also turns Kc into the standard Gibbs energy change ΔG°.

Converting Kc to Kp with the change in gas molesN2 + 3H2 to 2NH3 loses two gas moles, so Kp = 0.5 × 57.44^-2 = 1.52 × 10^-4 at 700 K; ΔG° is +51.34 kJ/mol for a 1 bar standard state and +4.03 kJ/mol for 1 mol/L.Kp = Kc × (RT)^Δn⇌N₂ + 3H₂ : 4 mol gas2NH₃ : 2 mol gasΔn = 2 − 4 = −20.5Kc×(57.44)⁻²RT = 0.08206 × 700=1.52×10⁻⁴KpΔG° (1 bar) = +51.34 kJ/molfrom Kc (1 mol/L): +4.03 kJ/mol
Losing two gas moles (Δn = −2) makes Kp far smaller than Kc = 0.5 at 700 K.

How it is calculated

The principle

For an ideal gas, partial pressure and concentration are linked by p = (n/V)RT = cRT. Every pressure term in Kp is therefore a concentration multiplied by RT. The RT factors of products (numerator) and reactants (denominator) cancel except for the surplus Δn, leaving (RT)^Δn. When Δn = 0 the two constants are equal.

The link to ΔG° comes from thermodynamics: at equilibrium ΔG = 0, so ΔG° = −RT ln K. A K above 1 means a negative ΔG° (products favoured); a K below 1 means a positive ΔG°. The value depends on the standard state: Kp in bar gives ΔG° for 1 bar, Kc gives ΔG° for 1 mol/L, and they differ whenever Δn ≠ 0.

Worked example

  1. Inputs: Kc = 0.5, Δn = −2 (for example a reaction like N₂ + 3H₂ ⇌ 2NH₃), T = 700 K.
  2. RT = 0.0820574 × 700 = 57.440 L·atm/mol.
  3. (RT)^−2 = 1 ÷ 57.440² = 3.031 × 10⁻⁴.
  4. Kp = 0.5 × 3.031 × 10⁻⁴ = 0.0001515.
  5. ΔG° (1 bar): Kp in bar = 0.5 × (0.0831446 × 700)⁻² = 1.476 × 10⁻⁴, so ΔG° = −8.314462618 × 700 × ln(1.476 × 10⁻⁴) ÷ 1000 = +51.34 kJ/mol.
  6. ΔG° (1 mol/L): −8.314462618 × 700 × ln 0.5 ÷ 1000 = +4.034 kJ/mol.
How Kp (atm) changes with Δn (moles gas products − reactants)How Kp changes with Δn00.020.040.060.08-0.5-1-1.5-2-2.5-3-4Example: 0.0001515439Δn (moles gas products − reactants)
Each point is the calculator re-run with only “Δn (moles gas products − reactants)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Δn (moles gas products − reactants)Kp (atm)
-0.50.0659723734
-10.0087047081
-1.50.0011485405
-20.0001515439
-2.50.0000199954
-30.0000026383
-44.59311e-8

How to read the result

K much larger than 1 (say above 10³) means the mixture lies far toward products; much smaller than 10⁻³ means it lies toward reactants; values in between mean appreciable amounts of both. A negative Δn makes Kp smaller than Kc at high temperature, because the products occupy fewer gas moles.

Common mistakes

Keep in mind: The conversion assumes ideal gases. At high pressure or with strongly interacting gases, fugacities and activities replace pressures and concentrations, and the simple relation becomes an approximation.

Frequently asked questions

When are Kp and Kc equal?

When Δn = 0, meaning the balanced equation has the same number of gas moles on both sides, such as H₂ + I₂ ⇌ 2HI.

Do I use atm or bar for Kp?

The Kp shown uses R in L·atm, so it is on an atm basis; the 1 bar ΔG° row uses R = 0.0831446 L·bar/(mol·K). The two Kp values differ slightly when Δn ≠ 0.

Sources: Atkins, P. and de Paula, J., Atkins' Physical Chemistry (Oxford University Press), chapter on chemical equilibrium · IUPAC Compendium of Chemical Terminology (Gold Book), "equilibrium constant" · CODATA recommended value of the molar gas constant, NIST

Checked 8 Nov 2026. Standard textbook formulas in SI units, computed in your browser. For learning and estimates — real designs must follow your local codes and be checked by a qualified engineer.

🔬 All science & engineering tools →🌍 Calculators by country →