An equilibrium constant calculator works out K from the equilibrium concentrations or partial pressures of the reactants and products, finds the reaction quotient Q for a mixture that is not yet at equilibrium and tells you which way it will shift, and converts between Kp and Kc. Type the reactants and products as lines of a coefficient and a value.
How to use the equilibrium constant calculator
- Choose what you want.
- Type the reactants and the products, one per line, as a coefficient and a value such as 3 1.5.
- For a direction, add the equilibrium constant K. For Kp and Kc, enter Δn and the temperature.
- Press Calculate.
The expression
For a reaction written αA + βB ⇌ ρR + σS, the equilibrium constant is the product of the products' concentrations raised to their coefficients, divided by the same for the reactants [3]. The reaction quotient has the same form but uses the values at some moment in time [2]. For N₂ + 3 H₂ ⇌ 2 NH₃ at equilibrium, with 0.5 mol/L of nitrogen, 1.5 of hydrogen and 0.8 of ammonia, K = 0.8² divided by 0.5 × 1.5³, which is 0.379. Because K is below 1, the equilibrium favours the reactants. This example is our own.
Kc and Kp
The constant written with concentrations is Kc [3]. For gases the partial pressure in bar can be used, and the constant is then Kp [1]. The values are usually divided by the standard state, so the constants are pure numbers [1]. The calculator multiplies and divides the numbers as you type them, so use one unit throughout.
Reaction quotient and direction
If Q is less than K, the formation of products is favoured, and if Q is greater than K, the formation of reactants is favoured [2]. At equilibrium Q equals K [2]. In terms of the Gibbs energy, the reaction proceeds forward when ΔG is negative and in reverse when it is positive, and ΔrG = RT ln(Q/K) [2]. For the ammonia example, a mixture with 1.2 mol/L of ammonia gives Q = 0.853, greater than 0.379, so the reaction shifts toward the reactants.
Standard Gibbs energy
The standard Gibbs energy of the reaction is ΔG⊖ = −RT ln K [1]. A large K corresponds to a negative ΔG⊖ and a small K to a positive one. The Gibbs energy calculator on this site converts one into the other.
Kp and Kc
The two constants are related by Kp = Kc × (R T) raised to the power Δn, where Δn is the change in the moles of gas, products minus reactants. This is the standard form, and it is our own working because it is not written on the pages that we read. With R = 0.0831446 L bar/(mol K) and pressures in bar, Kc of 10 for the ammonia reaction (Δn = −2) at 25 °C gives Kp = 10 × (24.79)⁻², which is 0.0163. Enter the Δn and the temperature in degrees Celsius.
Pure solids and liquids
Pure solids and pure liquids have an activity of 1, so leave them out of the expression. Leave out the solvent, too, in a dilute solution. Only list the gases and dissolved species. If you include a solid by mistake, the value of K will be wrong.
Worked examples
For H₂ + I₂ ⇌ 2 HI with 0.2, 0.2 and 1.6 mol/L at equilibrium, K = 1.6² divided by 0.2 × 0.2, which is 64. A mixture with 1 mol/L of each of H₂ and I₂ and 4 mol/L of HI has Q = 16, which is below 64, so more HI forms. These are our own calculations.
Le Chatelier's principle in practice
When a mixture at equilibrium is disturbed, it shifts to restore the balance. Add more of a reactant and Q falls below K, so the reaction runs forward until Q returns to K. Remove a product and the same happens. Compressing a gas mixture favours the side with fewer moles of gas, and changing the temperature changes K itself. The calculator lets you test these ideas by changing a concentration and reading the direction of the shift for a K that you know.
Reading a size of K
A K much larger than 1 means that the products dominate at equilibrium, and the reaction is close to complete. A K much smaller than 1 means that the reactants dominate and little product forms. A K near 1 means that both sides are present in comparable amounts. The size of K says nothing about the speed of the reaction, only about where it ends.
Using the results
To plan an experiment, calculate Q for your starting mixture and compare it with K. If you want more product, raise the concentration of a reactant, remove the product as it forms, or choose conditions that favour the product side. If you are checking a measurement, compute K from your equilibrium values and compare it with a published value at the same temperature.
Common mistakes
- Forgetting the coefficients. Each concentration is raised to its coefficient.
- Putting products under the line. The products go on top.
- Including solids. Leave pure solids and liquids out.
- Mixing units. Use the same unit for all the values.
What next
Use this often? Add Equilibrium to your Home screen.
Frequently asked questions
What is an equilibrium constant calculator?
A tool that finds K from equilibrium concentrations or pressures, the reaction quotient Q, and converts between Kp and Kc.
How do I calculate the equilibrium constant?
Multiply the product concentrations raised to their coefficients and divide by the same for the reactants. For N₂ + 3H₂ ⇌ 2NH₃ with 0.5, 1.5 and 0.8 mol/L, K is 0.379.
What does Q compared with K tell me?
If Q is less than K, products are favoured and the reaction goes forward. If Q is greater than K, reactants are favoured and it goes in reverse.
How do I convert Kp to Kc?
Kp = Kc (RT)^Δn, where Δn is the change in moles of gas. Use R = 0.0831446 L bar/(mol K) with pressures in bar.
Are solids included in K?
No. Pure solids and liquids have an activity of 1, so they are left out of the expression.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.