Skip to main content

Equilibrium Constant Calculator (Kc & Kp)

Type a reaction and get its equilibrium constant. Calculate Kc or Kp from equilibrium amounts, solve for one missing concentration or pressure, convert between Kc and Kp, or combine reactions by reversing, scaling and adding their K values. Pure solids and liquids are left out automatically, and every step is explained.

Background

For a reversible reaction aA + bB ⇌ cC + dD, the equilibrium constant is K = [C]c[D]d / ([A]a[B]b), where each bracket is the equilibrium concentration (Kc) or partial pressure (Kp). K depends only on temperature. A large K means the reaction favors products; a small K means it favors reactants. Because K is a ratio of products to reactants, it changes in simple ways when a reaction is reversed, scaled or added to another.

Set up your calculation

Step 1 — What do you want to do?

Pick a task below.

Step 2 — Enter the reaction and the equilibrium amounts

Give every species a phase: (g), (aq), (s) or (l). Separate species with + and use <=> or ⇄ for the arrow. Write ion charges with ^ when needed, like Fe^3+(aq).

Kc counts gases and aqueous species; Kp counts gases only.

Equilibrium amounts

Step 2 — Enter K and every amount except one

Give every species a phase: (g), (aq), (s) or (l). Separate species with + and use <=> or ⇄ for the arrow. Write ion charges with ^ when needed, like Fe^3+(aq).

a positive number; scientific notation like 1.45e-5 works

Equilibrium amounts

Leave exactly one box blank. That is the species the calculator solves for.

Step 2 — Enter the constant, Δn and temperature

a positive number

Only the gases (g) count toward Δn. Give every species a phase: (g), (aq), (s) or (l). Separate species with + and use <=> or ⇄ for the arrow. Write ion charges with ^ when needed, like Fe^3+(aq).

moles of gaseous products minus moles of gaseous reactants

must be above absolute zero

Step 2 — Enter each reaction and what to do with it

All K values must be the same kind, at the same temperature.

Reaction 1

Same format as above.

as written, at the same temperature

reversing inverts K

a number like 2, 0.5 or 1/2; K is raised to this power

Reaction 2

Same format as above.

as written, at the same temperature

reversing inverts K

a number like 2, 0.5 or 1/2; K is raised to this power

Reaction 3

Same format as above.

as written, at the same temperature

reversing inverts K

a number like 2, 0.5 or 1/2; K is raised to this power

Learning options

Result

No result yet. Enter your numbers above and click Calculate.

How to use this calculator

  • Type the reaction with a phase after every species, for example N2(g) + 3H2(g) <=> 2NH3(g). Coefficients go in front, ions can be written like Fe^3+(aq), and the calculator builds one amount box for each species that belongs in K.
  • Choose Calculate K to get Kc or Kp from equilibrium concentrations or partial pressures, with a gauge showing how strongly products or reactants are favored.
  • Choose Solve for an Amount when you know K and all but one amount. Leave that one box blank and the calculator finds it.
  • Choose Convert Kc ⇄ Kp to switch between the two using Δn and the temperature, with a chart of how the conversion changes as temperature rises.
  • Choose Combine Reactions to find K for an overall reaction built from up to three steps that you can reverse, multiply and add, with the net equation and a log K chart.
  • Click Calculate to see the result, a callout explaining what it means, and the full step-by-step math.

How equilibrium constants work

1

A reversible reaction reaches equilibrium when the forward and reverse rates are equal. The amounts then stop changing, and the ratio in the K expression settles at a constant value that depends only on temperature.

2

The equilibrium constant is a fraction: product amounts, each raised to its coefficient, divided by reactant amounts, each raised to its coefficient. The exponents come from the balanced equation, so K changes if you rewrite the equation.

3

Kc uses concentrations in mol/L and includes gases and aqueous species. Kp uses partial pressures in atm and includes only gases. Pure solids and pure liquids are left out of both because their activity is 1.

4

If only one side has any counted species, the other side of the fraction is 1. For CaCO₃(s) ⇌ CaO(s) + CO₂(g), the expression collapses to Kp = P(CO₂).

5

The size of K tells you where equilibrium lies. Above about 10³ the mixture is mostly products; below about 10⁻³ it is mostly reactants; in between, meaningful amounts of both are present. K says nothing about how fast equilibrium is reached.

6

Kc and Kp are linked by the ideal gas law, because a gas at partial pressure P has concentration P/RT. For a reaction with a net change of Δn moles of gas, Kp = Kc(RT)Δn, and the two are equal only when Δn = 0.

7

If you know K and every amount but one, the expression has exactly one unknown, so you can solve it. When the unknown has a coefficient above 1, solving means taking a root, which is why large changes in K move the answer only modestly.

8

Equilibrium constants combine like energies. Reversing a reaction inverts K, multiplying the equation by n raises K to the power n, and adding reactions multiplies their K values. In logarithms that is simply negation, scaling and addition.

Formulas & Equations Used

Equilibrium constant: K = ∏ [products]^ν / ∏ [reactants]^ν

Kc: uses mol/L of gases and aqueous species; solids and liquids are omitted

Kp: uses partial pressures in atm of gases only

Logarithmic form (used internally): log₁₀ K = Σ ν·log₁₀(product) − Σ ν·log₁₀(reactant)

Solving for an unknown product x: log x = (log K − Σ other products + Σ reactants) / ν

Solving for an unknown reactant x: log x = (Σ products − Σ other reactants − log K) / ν

Change in gas moles: Δn = Σν(gaseous products) − Σν(gaseous reactants)

Conversion: Kp = Kc (RT)^Δn,   R = 0.082057 L·atm·mol⁻¹·K⁻¹, T in kelvin

Reverse, multiply, add: K(reverse) = 1/K,   K(×n) = Kⁿ,   K(sum) = K₁ × K₂

Example Problems & Step-by-Step Solutions

Example 1 — Haber process Kp

N₂(g) + 3H₂(g) ⇌ 2NH₃(g) with P(N₂) = 1.0 atm, P(H₂) = 3.0 atm, P(NH₃) = 0.020 atm.

Step: Kp = P(NH₃)² / (P(N₂) × P(H₂)³) = 0.020² / (1.0 × 3.0³) = 0.00040 / 27.

Result: Kp ≈ 1.5 × 10⁻⁵. K is far below 10⁻³, so at this temperature the equilibrium mixture is mostly N₂ and H₂.

Example 2 — Solids drop out

CaCO₃(s) ⇌ CaO(s) + CO₂(g) with P(CO₂) = 1.00 atm.

Step: Only CO₂ is a gas, so Kp = P(CO₂); the reactant side of the fraction is 1.

Result: Kp = 1.00. Adding more solid CaCO₃ or CaO cannot change the CO₂ pressure at equilibrium.

Example 3 — Aqueous Kc

Fe³⁺(aq) + SCN⁻(aq) ⇌ FeSCN²⁺(aq) with [Fe³⁺] = [SCN⁻] = 0.0010 M and [FeSCN²⁺] = 8.9 × 10⁻⁴ M.

Step: Kc = [FeSCN²⁺] / ([Fe³⁺][SCN⁻]) = 8.9 × 10⁻⁴ / (0.0010 × 0.0010).

Result: Kc = 890. That is just under 10³, so the complex is strongly favored but free ions are still present.

Example 4 — Solve for a pressure

N₂O₄(g) ⇌ 2NO₂(g) has Kp = 0.113. What is P(NO₂) if P(N₂O₄) = 1.00 atm?

Step: Kp = P(NO₂)² / P(N₂O₄), so P(NO₂)² = 0.113 × 1.00 and P(NO₂) = √0.113.

Result: P(NO₂) ≈ 0.336 atm. The square root appears because NO₂ has coefficient 2.

Example 5 — Solve with a cube

Haber reaction with Kp = 1.45 × 10⁻⁵, P(N₂) = 1.0 atm and P(H₂) = 3.0 atm. Find P(NH₃).

Step: P(NH₃)² = Kp × P(N₂) × P(H₂)³ = 1.45 × 10⁻⁵ × 1.0 × 27 = 3.915 × 10⁻⁴.

Result: P(NH₃) = √(3.915 × 10⁻⁴) ≈ 0.0198 atm.

Example 6 — Kc to Kp

Haber reaction with Kc = 0.060 at 500 °C (773.15 K). Find Kp.

Step: Δn = 2 − (1 + 3) = −2 and RT = 0.082057 × 773.15 = 63.44. Kp = 0.060 × 63.44⁻² = 0.060 / 4,025.

Result: Kp ≈ 1.5 × 10⁻⁵. The same equilibrium looks about 4,000 times smaller in Kp than in Kc.

Example 7 — Reverse and halve

The Haber reaction has Kp = 1.5 × 10⁻⁵. Find K for NH₃ ⇌ ½N₂ + 3/2 H₂.

Step: Reverse it: 1 / 1.5 × 10⁻⁵ = 66,700. Halve the equation: (66,700)^½.

Result: K ≈ 258. Reversing and halving turned a tiny K into a large one.

Example 8 — Add two reactions

N₂ + O₂ ⇌ 2NO has K = 4.5 × 10⁻³¹, and 2NO + O₂ ⇌ 2NO₂ has K = 2.3 × 10¹². Find K for N₂ + 2O₂ ⇌ 2NO₂.

Step: The NO cancels when the reactions are added, so multiply the K values: 4.5 × 10⁻³¹ × 2.3 × 10¹².

Result: K ≈ 1.0 × 10⁻¹⁸. In logarithms, −30.35 + 12.36 = −17.99.

Frequently Asked Questions

What does the size of K tell me?

K compares the amounts of products and reactants at equilibrium. A K much larger than 1 means products dominate, a K much smaller than 1 means reactants dominate, and a K near 1 means both are present in comparable amounts. It does not say how fast equilibrium is reached.

Why are solids and liquids left out?

A pure solid or liquid has a fixed concentration set by its density, so its activity is 1 and it contributes a factor of 1. That is why CaCO₃(s) and CaO(s) vanish from the expression for their decomposition, and why liquid water is left out of the water-ionization constant.

When do I use Kc and when Kp?

Use Kc when amounts are concentrations in mol/L and Kp when they are partial pressures in atm. Kc can include aqueous species, but Kp can include only gases. For gas reactions you can use either and convert between them.

Why doesn't K have units?

Strictly, K is defined with activities, which are amounts divided by a standard state of 1 mol/L or 1 atm, so the units cancel. Many textbooks keep units like atm⁻² or M⁻¹, but the calculator reports K as a pure number.

What if one side has no gases or aqueous species?

Then that side of the fraction is 1. For CaCO₃(s) ⇌ CaO(s) + CO₂(g), Kp = P(CO₂). If neither side has a counted species, there is no expression to evaluate and the calculator tells you so.

Why do I need the temperature to convert Kc and Kp?

The conversion factor is (RT)Δn, which depends on T. The only exception is Δn = 0, where the factor is 1 and Kc equals Kp at every temperature.

Does K change with concentration or pressure?

No. Changing the amounts or the pressure shifts the equilibrium position, but K stays the same. K changes only with temperature, and the calculator assumes all values are at one temperature.

How do reversing and multiplying a reaction change K?

Reversing a reaction inverts K to 1/K. Multiplying every coefficient by n raises K to the power n. Adding two reactions multiplies their K values. These rules are why log K behaves like a quantity you can add and scale.

Can I use bar instead of atm?

The conversion Kp = Kc(RT)Δn here uses R = 0.082057 L·atm/(mol·K), so pressures should be in atm. Using bar changes Kp by about 1.3% for each unit of Δn, which matters only for precise work.

Is K the same as the reaction quotient Q?

Q has the same form as K but uses amounts at any moment, not just at equilibrium. Comparing Q to K shows which way a reaction will shift. This calculator assumes the amounts you enter are at equilibrium.

Equilibrium Constant (K)
16. Chemical Equilibrium
6 problems
Topic
Jules
Equilibrium Constant Calculations
16. Chemical Equilibrium
7 problems
Topic
Jules
Kp and Kc
16. Chemical Equilibrium
6 problems
Topic
Jules
ICE Charts
16. Chemical Equilibrium
7 problems
Topic
Jules
Reaction Quotient
16. Chemical Equilibrium
5 problems
Topic
Jules
The Ideal Gas Law
7. Gases
7 problems
Topic
Jules
Calculating K for Overall Reaction
16. Chemical Equilibrium
5 problems
Topic
Jules
16. Chemical Equilibrium - Part 1 of 2
5 topics 13 problems
Chapter
Jules
16. Chemical Equilibrium - Part 2 of 2
5 topics 13 problems
Chapter
Jules
7. Gases - Part 1 of 4
5 topics 14 problems
Chapter
Jules
7. Gases - Part 2 of 4
5 topics 13 problems
Chapter
Jules
7. Gases - Part 3 of 4
5 topics 13 problems
Chapter
Jules
7. Gases - Part 4 of 4
5 topics 13 problems
Chapter
Jules
The Ideal Gas Law
21. Kinetic Theory of Ideal Gases
7 problems
Topic
Patrick
21. Kinetic Theory of Ideal Gases - Part 1 of 2
4 topics 9 problems
Chapter
Patrick
21. Kinetic Theory of Ideal Gases - Part 2 of 2
4 topics 8 problems
Chapter
Patrick
The Equilibrium Constant
7. Energy, Rate and Equilibrium
5 problems
Topic
Jules
The Ideal Gas Law
8. Gases, Liquids and Solids
4 problems
Topic
Jules
7. Energy, Rate and Equilibrium - Part 1 of 4
5 topics 11 problems
Chapter
Jules
7. Energy, Rate and Equilibrium - Part 2 of 4
5 topics 12 problems
Chapter
Jules
7. Energy, Rate and Equilibrium - Part 3 of 4
4 topics 11 problems
Chapter
Jules
7. Energy, Rate and Equilibrium - Part 4 of 4
1 topic
Chapter
8. Gases, Liquids and Solids - Part 1 of 3
8 topics 15 problems
Chapter
Jules
8. Gases, Liquids and Solids - Part 2 of 3
7 topics 15 problems
Chapter
Jules
8. Gases, Liquids and Solids - Part 3 of 3
1 topic 2 problems
Chapter
Jules
The Ideal Gas Law
11 Gases
5 problems
Topic
The Equilibrium Constant
15. Chemical Equilibrium
5 problems
Topic
11 Gases
10 topics 26 problems
Chapter
15. Chemical Equilibrium
6 topics 16 problems
Chapter
Back to all calculatorsAll calculators