Equilibrium Constant Kp and Kc Calculator

Convert Kc to Kp or Kp to Kc using the change in moles of gas, or get both constants from the standard Gibbs energy.

⇌ Equilibrium Constant Kp and Kc Calculator
Direction
Known equilibrium constant
Pressure unit for R
Gaseous product moles
Gaseous reactant moles
Temperature (T)
K
Standard Gibbs energy (dG0)
kJ/mol
Temperature (T)
K
Gaseous product moles
Gaseous reactant moles
Kp (converted)
—
Kc
—
Kp
—
dn (gas moles)
—
R T
—
Factor (RT)^dn
—

Kp (1 bar standard state)
—
Kc (1 mol/L standard state)
—
ln Kp
—
log10 Kp
—
dn (gas moles)
—
R T
—

⇌ What is the Relationship Between Kp and Kc?

For a reaction between gases, the equilibrium position can be written in two ways. Kc uses molar concentrations in mol/L, and Kp uses partial pressures in atm or bar. They describe the same equilibrium, so they must be related, and the link is the ideal gas law. Because the partial pressure of a gas equals its concentration times RT, substituting into the Kp expression gives Kp = Kc (RT)dn, where dn is the number of moles of gaseous products minus the number of moles of gaseous reactants in the balanced equation.

Students meet the conversion in general chemistry, and process engineers use it when kinetic or lab data are reported in concentrations but a reactor model works in pressures. It also matters for ammonia and methanol synthesis, the water-gas shift reaction, the decomposition of dinitrogen tetroxide, and any equilibrium in a gas-phase vessel. If the reaction produces more gas moles than it consumes, dn is positive and Kp exceeds Kc whenever RT is above 1; if it consumes more, dn is negative and the reverse holds.

Two details trip people up. First, only gases count: solids and liquids are excluded from dn and from both expressions. Second, the value of R must match the pressure unit, 0.082057 L atm/(mol K) for atm or 0.083145 L bar/(mol K) for bar, so a Kp quoted in atm is not numerically the same as one quoted in bar unless dn is zero. Many textbooks also quote Kp and Kc without units, but the numerical conversion still depends on the unit choice.

This calculator converts in both directions at a temperature you choose, and it can also start from the standard Gibbs energy, using Kp = exp(−dG0 / RT) for the dimensionless thermodynamic constant and then converting to Kc with a 1 mol/L standard state. The conversion holds K fixed at the stated temperature. It does not tell you how K itself changes with temperature, which is the job of the van't Hoff equation.

📐 Formula

Kp  =  Kc (R T)Δn   ⇔   Kc  =  Kp ÷ (R T)Δn
Kc = equilibrium constant from concentrations in mol/L; Kp = from partial pressures
Δn = moles of gaseous products minus moles of gaseous reactants
R = 0.082057 L atm/(mol K) or 0.083145 L bar/(mol K); T = temperature in K
Example: Kc = 0.5, Δn = −2, T = 673.15 K, R = 0.082057 gives Kp = 1.639e-4
Kp  =  exp(−ΔG° ÷ R T)
ΔG° = standard Gibbs energy of reaction in J/mol; R = 8.314462618 J/(mol K)
Kp = dimensionless thermodynamic constant with a 1 bar standard state
Kc = Kp ÷ (R T)Δn with R = 0.083145 L bar/(mol K)
Example: ΔG° = −33.0 kJ/mol, T = 298.15 K gives Kp = 6.044e+5 and Kc = 3.714e+8

📖 How to Use This Calculator

Two modes

1
Choose a mode - Convert Kp and Kc changes one constant into the other. From dG0 starts from the standard Gibbs energy.
2
Count the gas moles - Read the balanced equation and enter the total moles of gaseous products and of gaseous reactants. Ignore solids and liquids.
3
Enter temperature and the known value - Type the temperature in kelvin and either the known K, with the direction and pressure unit, or dG0 in kJ/mol.
4
Read the converted constant - Check dn, RT and the factor (RT)dn, then use the chart to see how the conversion behaves as the temperature changes.

💡 Example Calculations

Example 1 - Ammonia synthesis, Kc to Kp

N2 + 3 H2 to 2 NH3: Kc = 0.5 at 673.15 K (illustrative), R in L atm/(mol K)

1
dn = 2 − 4 = −2, and RT = 0.082057366 × 673.15 = 55.24 L atm/mol.
2
(RT)dn = 55.24−2 = 3.277e-4.
3
Kp = Kc (RT)dn = 0.5 × 3.277e-4 = 1.639e-4.
Kp = 1.639e-4
Try this example →

Example 2 - PCl5 dissociation, Kp to Kc

PCl5 to PCl3 + Cl2: Kp = 1.78 at 500 K (illustrative), R in L atm/(mol K)

1
dn = 2 − 1 = +1, and RT = 0.082057366 × 500 = 41.03 L atm/mol.
2
Kc = Kp / (RT)dn = 1.78 / 41.03.
3
Kc = 0.0434, much smaller than Kp because the dissociation makes extra gas moles.
Kc = 0.0434
Try this example →

Example 3 - Hydrogen iodide, dn equals zero

H2 + I2 to 2 HI: Kc = 50 at 700 K (illustrative)

1
dn = 2 − 2 = 0, so (RT)0 = 1 whatever R and T are.
2
Kp = Kc × 1 = 50.
3
The conversion factor is 1.000 and Kp equals Kc exactly.
Kp = 50.00 = Kc
Try this example →

Example 4 - Kp and Kc from the standard Gibbs energy

dG0 = -33.0 kJ/mol at 298.15 K, 2 mol gas formed from 4 mol gas (approximate textbook dG0)

1
ln Kp = −dG0 / RT = 33000 / (8.314462618 × 298.15) = 13.312, so Kp = 6.044e+5.
2
dn = −2 and RT = 0.08314462618 × 298.15 = 24.79 L bar/mol.
3
Kc = Kp / (RT)−2 = 6.044e+5 × 24.792 = 3.714e+8.
Kp = 6.044e+5, Kc = 3.714e+8
Try this example →

❓ Frequently Asked Questions

What is the relationship between Kp and Kc?+
Kp = Kc (RT)^dn, where dn is the moles of gaseous products minus the moles of gaseous reactants, R is the gas constant in L atm/(mol K) or L bar/(mol K), and T is in kelvin. It follows from substituting p = cRT into the Kp expression.
How do you convert Kc to Kp?+
Find dn from the balanced equation, compute RT, raise it to the power dn and multiply by Kc. For N2 + 3 H2 to 2 NH3, dn = 2 - 4 = -2. With Kc = 0.50 at 673.15 K and R = 0.082057 L atm/(mol K), Kp = 0.50 x 55.236^-2 = 1.639 x 10^-4.
How do you convert Kp to Kc?+
Divide Kp by (RT)^dn. For PCl5 to PCl3 + Cl2, dn = +1. With Kp = 1.78 at 500 K, RT = 41.03 L atm/mol, so Kc = 1.78 / 41.03 = 0.04338.
When does Kp equal Kc?+
When dn = 0, because (RT) raised to the power zero is 1. Reactions such as H2 + I2 to 2 HI have equal moles of gas on both sides, so Kp = Kc at every temperature. Kc = 50 gives Kp = 50 whatever the temperature.
Which gas constant R should I use for Kp?+
Use the value that matches the pressure unit of your partial pressures: 0.082057 L atm/(mol K) for atm and 0.083145 L bar/(mol K) for bar. The numerical value of Kp changes with the pressure unit whenever dn is not zero, which is why the calculator has a unit selector.
Do solids and liquids count in dn?+
No. Only gaseous species enter dn and the Kp expression. For CaCO3(s) to CaO(s) + CO2(g), dn = 1 - 0 = +1. Pure solids and liquids have activity one and drop out of both Kc and Kp.
How do you calculate Kp from the standard Gibbs energy?+
Use Kp = exp(-dG0 / RT) with dG0 in J/mol and R = 8.314 J/(mol K). With dG0 = -33.0 kJ/mol at 298.15 K, ln Kp = 13.31 and Kp = 6.04 x 10^5. This Kp is the dimensionless thermodynamic constant with a 1 bar standard state.
Why do the Kp from dG0 and the textbook Kp sometimes differ?+
Textbook Kp values often carry pressure units of atm and use partial pressures in atm, while the thermodynamic constant from dG0 is dimensionless with a 1 bar standard state. The two differ by a factor of 1.01325 raised to a power of dn, which is small but not zero.
Does the equilibrium constant depend on temperature?+
Yes. Both Kc and Kp change with temperature, following the van't Hoff equation. This calculator converts at one chosen temperature. To move K to another temperature, use the van't Hoff equation calculator first and then convert.
What units do Kp and Kc have?+
In strict thermodynamics both are dimensionless because activities replace pressures and concentrations. In many textbooks Kc is reported in (mol/L)^dn and Kp in atm^dn. This calculator treats them as the numerical values in mol/L and in the selected pressure unit.
Why is dn negative for ammonia synthesis?+
Four moles of gas (one N2 and three H2) become two moles of NH3, so dn = 2 - 4 = -2. A negative dn means high pressure favours the products and Kp is smaller than Kc when RT is larger than 1, as it is at ordinary temperatures.

📚 Sources and Notes

The relation Kp = Kc (RT)dn follows the derivation in the JoVE lesson on equilibria for gaseous reactions, and Kp = exp(−dG0/RT) follows the LibreTexts chapter on the standard Gibbs free energy change. The equilibrium constants and dG0 used in the examples are illustrative textbook-style values, not measured data for your system.

See also the equilibrium constant calculator, the Gibbs free energy of reaction calculator and the van't Hoff equation calculator.

What is the relationship between Kp and Kc?

Kp = Kc (RT)^dn, where dn is the moles of gaseous products minus the moles of gaseous reactants, R is the gas constant in L atm/(mol K) or L bar/(mol K), and T is in kelvin. It follows from substituting p = cRT into the Kp expression.

How do you convert Kc to Kp?

Find dn from the balanced equation, compute RT, raise it to the power dn and multiply by Kc. For N2 + 3 H2 to 2 NH3, dn = 2 - 4 = -2. With Kc = 0.50 at 673.15 K and R = 0.082057 L atm/(mol K), Kp = 0.50 x 55.236^-2 = 1.639 x 10^-4.

How do you convert Kp to Kc?

Divide Kp by (RT)^dn. For PCl5 to PCl3 + Cl2, dn = +1. With Kp = 1.78 at 500 K, RT = 41.03 L atm/mol, so Kc = 1.78 / 41.03 = 0.04338.

When does Kp equal Kc?

When dn = 0, because (RT) raised to the power zero is 1. Reactions such as H2 + I2 to 2 HI have equal moles of gas on both sides, so Kp = Kc at every temperature. Kc = 50 gives Kp = 50 whatever the temperature.

Which gas constant R should I use for Kp?

Use the value that matches the pressure unit of your partial pressures: 0.082057 L atm/(mol K) for atm and 0.083145 L bar/(mol K) for bar. The numerical value of Kp changes with the pressure unit whenever dn is not zero, which is why the calculator has a unit selector.

Do solids and liquids count in dn?

No. Only gaseous species enter dn and the Kp expression. For CaCO3(s) to CaO(s) + CO2(g), dn = 1 - 0 = +1. Pure solids and liquids have activity one and drop out of both Kc and Kp.

How do you calculate Kp from the standard Gibbs energy?

Use Kp = exp(-dG0 / RT) with dG0 in J/mol and R = 8.314 J/(mol K). With dG0 = -33.0 kJ/mol at 298.15 K, ln Kp = 13.31 and Kp = 6.04 x 10^5. This Kp is the dimensionless thermodynamic constant with a 1 bar standard state.

Why do the Kp from dG0 and the textbook Kp sometimes differ?

Textbook Kp values often carry pressure units of atm and use partial pressures in atm, while the thermodynamic constant from dG0 is dimensionless with a 1 bar standard state. The two differ by a factor of 1.01325 raised to a power of dn, which is small but not zero.

Does the equilibrium constant depend on temperature?

Yes. Both Kc and Kp change with temperature, following the van't Hoff equation. This calculator converts at one chosen temperature. To move K to another temperature, use the van't Hoff equation calculator first and then convert.

What units do Kp and Kc have?

In strict thermodynamics both are dimensionless because activities replace pressures and concentrations. In many textbooks Kc is reported in (mol/L)^dn and Kp in atm^dn. This calculator treats them as the numerical values in mol/L and in the selected pressure unit.

Why is dn negative for ammonia synthesis?

Four moles of gas (one N2 and three H2) become two moles of NH3, so dn = 2 - 4 = -2. A negative dn means high pressure favours the products and Kp is smaller than Kc when RT is larger than 1, as it is at ordinary temperatures.