Chemistry calculators

Kp Calculator

Updated Aug 31, 2026 By Jehan Wadia
Rate Formulas
Quick-Pick Reactions
Species Builder
Species Name Role Coefficient (ν) Phase Partial Pressure (atm) Include in Kp Status Remove
Solids, liquids and aqueous species are excluded from Kp automatically — tick “Include” to override.
Global Settings
Switching units converts every partial pressure already entered.
Kp ⇄ Kc Conversion (optional)
Value converts automatically when the unit changes.
Expression Preview (live)
Kp = —

Equilibrium Expression
Numerical Substitution
Kp Result
log10(Kp)
ln(Kp)
Kp in atm
Kp in bar
Kp in Pa (SI)
Δn — Change in Moles of Gas
Step-by-Step Solution
Full Step-by-Step (plain text)
Contribution of Each Species to log10(Kp)

Introduction

The Kp Calculator finds the equilibrium constant for gas reactions using partial pressures. Type in each chemical, its coefficient, its phase, and its partial pressure. The tool builds the Kp expression, plugs in your numbers, and shows the answer with clear steps.

Kp tells you which side of a reaction wins at equilibrium. If Kp is bigger than 1, products win. If it is smaller than 1, reactants win. The calculator says this for you in plain words.

Solids and liquids are left out of the Kp expression on their own, since pure solids and liquids do not have partial pressures. You can still turn them back on if your teacher wants that. This makes heterogeneous equilibrium problems, like CaCO3(s) ⇌ CaO(s) + CO2(g), quick and safe to solve.

You can work in atm, kPa, bar, mmHg, or Pa. Change the unit and every pressure you typed changes with it. The tool also finds Δn (the change in moles of gas), shows log and ln values, and converts between Kp and Kc with the formula Kp = Kc(RT)Δn when you add a temperature. If you need to work out those concentrations first, the Molarity Calculator and the Mole Calculator pair well with this tool.

Six ready-made reactions, like the Haber process and PCl5 decomposition, load with one click so you can check your work fast. A bar chart shows how much each gas adds to log10(Kp), and you can copy the full step-by-step solution for your notes or homework.

How to use our Kp Calculator

Enter each chemical in your reaction, its coefficient, its phase, and its partial pressure at equilibrium. The calculator gives you the Kp expression, the Kp value, Δn, unit conversions, and a step-by-step solution.

Quick-Pick Reactions: Click a preset like the Haber Process or PCl₅ decomposition to fill the table with a ready-made example. This is the fastest way to start.

Species Name: Type the formula of each chemical, such as N₂, H₂, or NH₃. This name shows up in the Kp expression. To check the mass behind a formula, use the Molecular Weight Calculator.

Role: Pick Reactant or Product. Products go on top of the fraction, and reactants go on the bottom.

Coefficient (ν): Enter the number in front of the chemical in the balanced equation. It must be greater than 0, and it becomes the exponent on that pressure term. Our Stoichiometry Calculator can help you balance the equation first.

Phase: Choose gas, aqueous, liquid, or solid. Only gases count in Kp, so solids and liquids are dropped for you.

Partial Pressure: Type the equilibrium pressure of each gas. It must be a positive number, and it uses the pressure unit you picked. If you only know moles, volume, and temperature, the Ideal Gas Law Calculator will give you the pressure.

Include in Kp: This box is ticked for gases and unticked for other phases. Tick or untick it if you want to override the default.

Add Species / Clear All / Remove: Use Add Species for another row, the red X to delete one row, and Clear All to start over.

Pressure unit: Choose atm, kPa, bar, mmHg, or Pa. Changing it converts every pressure you already typed. For other unit swaps, try the Unit Converter Calculator.

Known Kc value: Optional. Enter a Kc to convert it into Kp using Kp = Kc(RT)Δn.

Temperature: Enter the temperature of the reaction. It is needed for any Kp ⇄ Kc conversion.

Temperature unit: Pick K, °C, or °F. The number converts on its own when you switch units. You can also check values with the Celsius to Fahrenheit Calculator or the Temperature Calculator.

Calculate Kp: Click it to see the full answer. Click Reset to go back to the default Haber Process setup.

What Is Kp?

Kp is the equilibrium constant written with partial pressures. It is used for reactions where gases react and reach equilibrium. Equilibrium means the forward and reverse reactions happen at the same speed, so the amounts of each gas stop changing.

The Kp Formula

For a gas reaction:

aA + bB ⇌ cC + dD

Kp = [P(C)c × P(D)d] ÷ [P(A)a × P(B)b]

Products go on top. Reactants go on the bottom. Each partial pressure is raised to the power of its coefficient from the balanced equation. If you want to see how those powers behave on their own, the Exponent Calculator is handy.

Which Species Count

Only gases go into a Kp expression. Pure solids (s), pure liquids (l), and aqueous species (aq) are left out. Their amounts do not change the pressure of the system. So for CaCO3(s) ⇌ CaO(s) + CO2(g), the answer is simply Kp = P(CO2).

What the Number Tells You

  • Kp > 1 — mostly products at equilibrium.
  • Kp < 1 — mostly reactants at equilibrium.
  • Kp ≈ 1 — a fair mix of both.

Kp only changes when the temperature changes. Adding a catalyst or changing pressure does not change its value.

Δn and Units

Δn is the change in moles of gas:

Δn = (moles of gas products) − (moles of gas reactants)

If Δn = 0, Kp has no units, and the number is the same in atm, bar, or kPa. If Δn is not zero, the units are the pressure unit raised to Δn, like atm2 or atm−1. That is why the same reaction can give different Kp numbers in different pressure units. Very small or very large results are easier to read with the Scientific Notation Calculator.

Kp and Kc

Kc uses molar concentrations instead of pressures. The two are linked by:

Kp = Kc × (RT)Δn

Here R = 0.082057 L·atm·mol−1·K−1 and T is the temperature in kelvin. Because R is tied to atm, Kp must be in atm for this equation to work. When Δn = 0, Kp and Kc are equal. To get concentrations from a stock solution, the Dilution Calculator saves a step.

Common Pressure Units

  • 1 atm = 101.325 kPa
  • 1 atm = 1.01325 bar
  • 1 atm = 760 mmHg (torr)
  • 1 atm = 101,325 Pa

Tips for Getting It Right

  • Balance the equation first. Wrong coefficients mean wrong exponents.
  • Use equilibrium pressures, not starting pressures.
  • Change temperature to kelvin before any Kc work.
  • Keep every pressure in the same unit.
  • Skip solids and liquids, even if they show up in the balanced equation.
  • Round your final answer sensibly with the Sig Fig Calculator, and compare it to a textbook value using the Percent Error Calculator.

Related Chemistry Tools


Formulas used

Equilibrium constant Kp from partial pressures
K_p = \frac{\prod_i (P_i)^{\nu_i}\ \text{(products)}}{\prod_j (P_j)^{\nu_j}\ \text{(reactants)}}
Change in moles of gas
\Delta n = \sum \nu_{\text{gas products}} - \sum \nu_{\text{gas reactants}}
Kp converted to an atm basis (f = unit-to-atm factor)
K_p(\mathrm{atm}) = K_p(\mathrm{unit}) \times f^{\Delta n}
Kp expressed in bar and in pascals
K_p(\mathrm{bar}) = K_p(\mathrm{atm}) \times (1.01325)^{\Delta n}, \qquad K_p(\mathrm{Pa}) = K_p(\mathrm{atm}) \times (101325)^{\Delta n}
Kc from Kp
K_c = \frac{K_p(\mathrm{atm})}{(RT)^{\Delta n}}, \qquad R = 0.082057\ \mathrm{L\,atm\,mol^{-1}K^{-1}}
Kp from Kc
K_p = K_c\,(RT)^{\Delta n}
Logarithmic forms of Kp
\log_{10} K_p = \frac{\ln K_p}{\ln 10}, \qquad \log_{10} K_p = \sum_{\text{prod}} \nu_i \log_{10} P_i - \sum_{\text{react}} \nu_j \log_{10} P_j
Temperature conversions to kelvin
T_K = T_C + 273.15, \qquad T_K = (T_F - 32)\times\tfrac{5}{9} + 273.15

Frequently asked questions

Does this calculator balance my chemical equation?

No. You must balance the equation yourself and type the correct coefficients. The calculator uses your coefficients as exponents, so a wrong coefficient gives a wrong Kp.

How many species can I add?

As many as you need. Click Add Species for each new chemical. There is no limit, so big reactions with five or six gases work fine.

Why did the Include box untick itself when I picked solid?

Solids, liquids, and aqueous species do not belong in a Kp expression, so the tool unticks them for you. Tick the box again if your class wants that species shown.

Why do I get an error about partial pressure?

Every included species needs a pressure greater than zero. A blank, a zero, or a negative number stops the math, since you cannot take the log of zero and a zero denominator breaks the fraction.

Can I use decimal or fraction coefficients?

Yes. You can type values like 0.5 or 1.5. The calculator raises the pressure to that power. Just keep them the same as your balanced equation.

What does the bar chart show?

It shows how much each gas adds to log10(Kp). Product bars are positive and reactant bars are negative. All the bars added together equal log10(Kp).

Why does the tool show log and ln of Kp?

Logs make huge or tiny numbers easier to compare. ln(Kp) is also used in the free energy equation ΔG° = −RT ln K, so you can carry it straight into thermodynamics problems.

Do I have to enter a temperature?

No. Temperature is only used for the Kp ⇄ Kc conversion. Kp itself comes straight from your partial pressures.

Can I calculate Q, the reaction quotient, with this?

Yes. Type in pressures that are not at equilibrium and the same math gives you Q. Compare Q to Kp to see which way the reaction will shift.

How do I get Kp for the reverse reaction?

Swap the roles: change every reactant to product and every product to reactant. The new answer is 1 divided by the old Kp.

I only know the total pressure and mole fractions. What do I enter?

Find each partial pressure first. Multiply the mole fraction of a gas by the total pressure, then type that value into the row for that gas.

Why is my Kp such a huge or tiny number?

That is normal. Equilibrium constants often run from 10−30 to 1030. A tiny Kp means almost no product forms. A huge Kp means the reaction goes nearly all the way.

Why does the Kc answer use R = 0.082057?

That value of R works with pressure in atm, volume in liters, and temperature in kelvin. Because R is tied to atm, the tool always uses the atm version of Kp for the conversion, even if you typed kPa or mmHg.

My back-calculated Kc does not match my textbook. Why?

Check three things: the temperature in kelvin, the sign of Δn, and whether your pressures are true equilibrium values. A small rounding gap is also normal.

What if all my reactants are solids?

Then the bottom of the fraction is 1, and Kp is just the product pressures multiplied together. The tool tells you this under the expression.

Can I save or print the work?

Yes. Click Copy Steps to copy the full plain-text solution, then paste it into your notes, a document, or your homework.

Does changing pressure or adding a catalyst change Kp?

No. Only temperature changes the value of Kp. Pressure changes shift the amounts of gas, but the constant stays the same at that temperature.

Why did all my pressures change when I switched units?

The tool converts them for you so every row stays in one unit. Nothing is lost — 1 atm becomes 101.325 kPa, and the Kp is recalculated on the new basis.