Kc, Kp and the reaction quotient Q

Equilibrium Constant Calculator

Enter a balanced reversible reaction and the calculator writes its equilibrium expression, then calculates Kc or Kp from equilibrium concentrations or partial pressures. It can also solve for one missing equilibrium value, compare the reaction quotient Q with K to show which way a mixture will shift, and convert between Kc and Kp.

Browser-side calculationStep-by-step resultEducational use

Equilibrium Constant Calculator

Calculator

Choose a calculation, type the reaction with state symbols such as (g) and (aq), and enter the values it asks for. The expression updates as you type, so you can check it before calculating.

Inputs
Choose what to calculate, enter a balanced reversible reaction with state symbols, then fill in the values it asks for.

Use <=> or ⇌ and the states (g), (aq), (s), (l). Write ions as H+, CH3COO- or SO4^2-, with spaces around each + between species.

Equilibrium expression

Kc = [HI]^2 / ([H2] × [I2])

Equilibrium values

Enter equilibrium concentrations in mol/L.

Load an example

Result
Each result shows the expression, the substituted numbers, and every step.
Enter the equilibrium value of every species in the expression, then select Calculate.
aA + bB ⇌ cC + dD: Kc = [C]ᶜ[D]ᵈ / ([A]ᵃ[B]ᵇ) | Kp = Kc(RT)^Δn

Calculation method

How the calculation works

Step 1
Write the expression
Put products in the numerator and reactants in the denominator, and raise each term to its coefficient in the balanced equation. Pure solids and liquids, including water used as the solvent, have an activity of 1 and are left out.
Step 2
Substitute the values
Kc uses molar concentrations and Kp uses partial pressures. Use equilibrium values to get K. Use the values at any other moment to get the reaction quotient Q, which has the same form.
Step 3
Interpret the number
K much greater than 1 means products dominate at equilibrium; K much less than 1 means reactants dominate. If Q < K the reaction moves forward, if Q > K it moves in reverse. For gases, Kp = Kc(RT)^Δn, where Δn is the change in moles of gas.

Worked examples

Check the result by hand

Calculate Kc from equilibrium concentrations
For 2SO2(g) + O2(g) ⇌ 2SO3(g), an equilibrium mixture contains 0.32 M SO2, 0.16 M O2 and 0.68 M SO3. Find Kc.
  1. 1.Write Kc = [SO3]² / ([SO2]²[O2]). Both SO3 and SO2 have a coefficient of 2.
  2. 2.Substitute: Kc = 0.68² / (0.32² × 0.16) = 0.4624 / 0.016384.
  3. 3.Divide to get 28.2. Because K > 1, products are favored at this temperature.
Kc ≈ 28.2
Use Q to predict the direction of shift
For N2O4(g) ⇌ 2NO2(g), Kc = 0.20. A flask contains 0.50 M N2O4 and 0.20 M NO2. Is it at equilibrium?
  1. 1.Write Q = [NO2]² / [N2O4], the same form as Kc.
  2. 2.Substitute the current values: Q = 0.20² / 0.50 = 0.080.
  3. 3.Compare: Q = 0.080 is less than K = 0.20, so there is too little product. NO2 forms until Q reaches 0.20.
Not at equilibrium. Q < K, so the reaction shifts toward products.
Convert Kc to Kp
For CS2(g) + 4H2(g) ⇌ CH4(g) + 2H2S(g), Kc = 0.28 at 900 °C. Find Kp with pressures in atm (OpenStax Chemistry 2e, Example 13.4).
  1. 1.Count moles of gas: Δn = (1 + 2) − (1 + 4) = −2.
  2. 2.Convert the temperature: T = 900 + 273.15 = 1173.15 K. With R = 0.08206 L·atm/(mol·K), RT = 96.27.
  3. 3.Apply Kp = Kc(RT)^Δn = 0.28 × 96.27⁻² = 0.28 / 9267.
Kp ≈ 3.0 × 10⁻⁵

Scope

Assumptions and limits

These limits keep the result reproducible and make unsupported inputs visible instead of guessing.

Enter a balanced equation with whole-number coefficients and a reversible arrow (<=> or ⇌). The calculator checks atom balance and, for ions, charge balance.
Mark pure solids and liquids with (s) or (l) so they are left out of K. Without a state symbol, a species is treated as part of the expression.
Kp and the Kc ↔ Kp conversion accept only species marked (g). Δn counts gases only, so a solid such as CaCO3(s) does not change it.
Enter every partial pressure in the same unit. The numerical value of Kp depends on that unit, so a Kp in atm differs from one in bar when Δn is not zero.
Concentrations and pressures stand in for activities, which assumes ideal behavior. Results for concentrated solutions or high-pressure gases are approximate.
K depends on temperature. Use a K measured at the same temperature as your mixture; this calculator does not adjust K for a different temperature.
To find equilibrium concentrations from starting amounts, use the ICE Table Calculator, which solves for the change x.

Equilibrium Constant Calculator FAQ

Frequently asked questions

How do you calculate an equilibrium constant?

Write the balanced equation, put the product concentrations (or partial pressures) on top and the reactant values on the bottom, and raise each to its coefficient. Then substitute the equilibrium values and evaluate. For 2SO2 + O2 ⇌ 2SO3, Kc = [SO3]² / ([SO2]²[O2]).

Why are solids and liquids left out of the K expression?

The activity of a pure solid or pure liquid is 1, so it does not change as the reaction proceeds and drops out of the expression. Water used as the solvent in a dilute solution is treated the same way, which is why H2O(l) does not appear in Ka or Kb expressions.

What is the difference between Q and K?

Both have the same form. K uses equilibrium values; Q uses the values at any moment. If Q < K the reaction moves forward to make more product, if Q > K it moves in reverse, and if Q = K the mixture is at equilibrium.

How do you convert Kc to Kp?

Use Kp = Kc(RT)^Δn, where Δn is moles of gaseous products minus moles of gaseous reactants and T is in kelvin. Use R = 0.08206 L·atm/(mol·K) for pressures in atm or 0.08314 L·bar/(mol·K) for bar. When Δn = 0, Kp equals Kc.

Does the equilibrium constant have units?

A thermodynamic equilibrium constant is dimensionless, because each concentration or pressure is divided by its standard value (1 mol/L or 1 bar). Many textbooks write K without units for this reason, even when the expression would otherwise give units such as M⁻².

What does a large or small K mean?

A K much larger than 1 means the equilibrium mixture is mostly products. A K much smaller than 1 means it is mostly reactants. K says where equilibrium lies, not how fast it is reached.

Does K change if I add more reactant?

No. Adding reactant changes Q, and the mixture shifts until Q equals the same K again. Only a change in temperature changes the value of K.