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.
⇌ 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
📖 How to Use This Calculator
Two modes
💡 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)
Example 2 - PCl5 dissociation, Kp to Kc
PCl5 to PCl3 + Cl2: Kp = 1.78 at 500 K (illustrative), R in L atm/(mol K)
Example 3 - Hydrogen iodide, dn equals zero
H2 + I2 to 2 HI: Kc = 50 at 700 K (illustrative)
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)
❓ Frequently Asked Questions
📚 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.
🔗 Related Calculators
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.