Kp Calculator
Convert Kp and Kc, or compute Kp from the partial pressures of a gaseous reaction.
Thirteen pressure units, six gas-constant scales, and reverse solves for temperature, mole counts, pressures and coefficients.
Updated October 1, 2026
Introduction
An equilibrium constant written in terms of partial pressures, , is not a separate piece of chemistry from the constant you already know. It is the same balance between products and reactants, measured against a different yardstick. This calculator covers both directions of that conversion and also builds directly from the partial pressures of a reaction.
There are two ways in, chosen from the menu at the top of the form. Pick convert between Kp and Kc when you already know the concentration-based constant and want the pressure one — or the reverse, for example to find what temperature would produce a target . Pick calculate Kp from partial pressures when a lab or a textbook problem hands you the equilibrium pressures themselves. The equilibrium constant calculator covers the concentration side of the same reaction.
The one thing that surprises people
Changing the pressure scale changes the number you get. That is not a rounding artefact — it is arithmetic. The same reaction reported in atm and in kPa gives two different values, and the gap between them is fixed and predictable. Section the two formulas shows the exact relationship, so you can convert any published value without guessing which scale it used.
Quick start
Converting a concentration constant to a pressure constant
Choose "convert between Kp and Kc" from the menu
The form then asks for the concentration constant, the pressure scale, the temperature, and the number of moles of gaseous products and reactants.
Pick the pressure scale your pressures are quoted in
Standard practice in most textbooks is atmospheres. If your problem statement quotes pressures in kPa or in bar, pick that instead — it changes the result by a known factor, not an unknown one.
Enter Kc, the temperature, and the mole counts
Only gases count toward the mole change. For a reaction whose water is a liquid, that water contributes nothing. If you are unsure which numbers belong, balance the equation first with the chemical equation balancer.
Read the result
The bottom box fills in and turns blue, because the engine solved it from your four inputs. Any of the five boxes can be overwritten instead, and the calculator re-solves the remainder.
Worked example — the ammonia synthesis reaction. For at 298 K with , there are two moles of gaseous product and four moles of gaseous reactant, so .
Building Kp from equilibrium partial pressures
Choose "calculate Kp from partial pressures"
The form asks for up to four component pressures and the stoichiometric coefficient of each.
Put each species in the box that matches its side of the equation
Reactants go in A and B, products in C and D. Coefficients that your equation does not use stay at .
Fill every pressure box, then read Kp
A species whose coefficient is zero is raised to the power zero and drops out of the expression entirely, so whatever number sits in its box makes no difference to the answer. The box still needs a value before the engine will commit to a result.
Worked example — for the same ammonia reaction with equilibrium pressures of 1 atm for nitrogen, 3 atm for hydrogen and 2 atm for ammonia:
The two formulas
The first formula relates the two constants. is the change in the number of gaseous moles: total coefficients on the product side minus the total on the reactant side.
The second builds the pressure constant from the partial pressures themselves. Every species is raised to its own stoichiometric coefficient — this is the single most important thing to get right.
Why the pressure scale changes the answer
is a ratio built from powers of pressures, so multiplying every pressure by a conversion factor multiplies the whole constant by . That is the entire rule, and it is exact.
Going back to the ammonia example with : converting pressures from atm to kPa multiplies them by , so the constant must fall by .
The calculator makes this automatic: the scale you choose sets the gas constant to match, so the reported value is always in the scale you asked for.
The gas constant
The value used here is . That figure is exact, not rounded: since the 2019 SI redefinition the Boltzmann constant and the Avogadro constant are both defining constants, and their product is therefore fixed without uncertainty (BIPM, SI defining constants). Expressed in litres per atmosphere it becomes a repeating decimal, so the atm and torr entries are carried to twenty significant digits rather than truncated to the eight a printed table would give.
What you can solve backwards
Overwrite any input and the engine re-solves the rest, so from a single and three pressures you can recover the fourth, and from a , a and the temperature you can recover or the temperature itself. Taking a root is how that works: isolating with a coefficient of two is a square root.
Worked examples
Recovering a missing partial pressure
A reactor analysis gives you the equilibrium constant and three of the four pressures, but not the fourth. Leave that box empty and the engine solves it.
With , the other three pressures all at 1, and coefficients and , the missing pressure comes back as , not 117. Anything dividing 234 by the coefficient instead of raising the pressure to it is wrong the moment the coefficient is not one.
A reaction with a solid product
For the water is a solid at ordinary temperatures, so it contributes no pressure term at all. Give it a coefficient of zero.
With hydrogen at 1 and oxygen at 3, the expression collapses to . Type any numbers at all into the two unused pressure boxes — they are raised to the power zero and cannot move the answer.
Matching a value from a textbook
Published constants rarely agree to the last digit, and that is normal. Two things explain almost all of it: which pressure scale was used, and how many digits the source constant was printed with.
A tabulated gas constant of means — the trailing digits in parentheses are the uncertainty, not part of the value. Using that eight-digit figure instead of the exact one shifts the ammonia answer in the sixth significant digit, and nowhere else. If your two figures differ only that far, neither is wrong.
Going from pressure to concentration
Converting between a partial pressure and a molar concentration needs the molar concentration at equilibrium, so measure that first with the molarity calculator and then feed both constants into the conversion mode here.
Common mistakes
Multiplying by the coefficient instead of raising to it
Writing where the law of mass action calls for happens more often than you would think, and it slips through unnoticed whenever or . Any solution that divides by the coefficient rather than taking a root is giving the wrong answer for a coefficient of three or five. The ammonia example above is the quickest way to tell the two apart.
Forgetting that only gases count
Water left as a liquid, or any solid, must carry a coefficient of zero. Counting it changes in the conversion mode and adds a spurious factor in the pressure mode.
Mixing pressure scales between the two modes
A partial pressure entered in kPa in one mode and a gas constant chosen in atm in the other will not agree, and the mismatch is silently absorbed into the answer. Use one scale throughout a single problem.
Expecting a temperature back-solve when Δn is zero
If the gaseous mole count does not change, and are the same number regardless of temperature, so the temperature simply is not determined. The calculator leaves that box empty rather than inventing an answer, and shows why.
Limitations
What this calculator does not model
- The gas-law expression assumes ideal behaviour. At high pressures, or close to condensation, real gases need a fugacity correction and the result will drift.
- The temperature is used exactly as entered. The engine does not correct for a thermometer, and it does not account for the heat of reaction.
- In the pressure mode every pressure box needs a value before is produced. For a species that does not take part, any number will do.
- Two situations genuinely have no solution and are reported as such rather than estimated: a temperature back-solve when , and a mole back-solve when .
- Results are for coursework, design comparison and checking someone else's arithmetic. Do not use them as the sole basis of a safety case or a regulatory submission.
Questions
Why does my Kp change when I switch the pressure scale?
Because is built from powers of pressures, so changing the scale changes the number by exactly . The constant itself has not moved; the unit it is measured against has. See the two formulas for the conversion.
Can Kp be zero or negative?
No. A real equilibrium leaves some of every species present, so the constant is strictly positive. A zero or negative entry is flagged and shown in red rather than quietly folded into a result.
What if my mole counts are equal on both sides?
Then , the power of becomes one, and exactly. It is a useful shortcut, and it is also why the temperature can no longer be recovered from the two constants.
Should I enter the coefficient of a solid or liquid?
No — leave it at zero. Its activity is fixed at one and it has no partial pressure to enter, so it drops out of the expression entirely.
Related Calculators
Chemical Equation Balancer
Balance a chemical reaction and get the smallest whole-number coefficients. Supports bracketed groups such as Fe(OH)3, user-supplied coefficients, and unicode subscripts.
Atom Calculator
Calculate atomic properties including protons, neutrons, electrons, atomic number and mass number
Electron Configuration Calculator
Get the electron configuration for any element from the periodic table. View atomic number, atomic mass, and valence electrons.
Atomic Mass Calculator
Calculate atomic mass from protons and neutrons. Get atomic mass in various units including atomic mass units (u), kilograms, and more.
Electronegativity Calculator
Calculate electronegativity difference between two elements and determine bond type (ionic, polar covalent, or nonpolar covalent).
Average Atomic Mass Calculator
Calculate the average atomic mass of an element based on the isotopes and their natural abundances.