Chemistry & Chemical Engineering Chemical Equilibrium & Solubility IUPAC Green Book (3rd ed.) equilibrium conventions

Reaction Quotient (Q) & Shift Direction Calculator

The reaction quotient Q is the equilibrium expression evaluated at whatever composition you have right now. Compare it with K and you know instantly which way the mixture must move: Q below K means net forward reaction, Q above K means net reverse, Q equal to K means nothing changes. This calculator computes Q for a mixture of up to two reactants and two products, reports the Q/K ratio, converts both into free energy terms through ΔG = RT ln(Q/K), and solves for how far the reaction must advance before Q reaches K.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Coefficient a (reactant A)The stoichiometric number in front of A. Set to 0 to leave this slot unused.1
Coefficient b (reactant B)Set to 0 for a single-reactant equilibrium such as N2O4 ⇌ 2 NO2.1
Coefficient c (product C)Becomes the exponent on the first product term in the quotient.2
Coefficient d (product D)Set to 0 when there is only one product.0
Current amount of AConcentration in mol/L if you are working with Kc, or partial pressure in bar if you are working with Kp. Use the same basis for K.0.2 M or bar
Current amount of BIgnored when coefficient b is 0, so its value does not matter for single-reactant equilibria.0.2 M or bar
Current amount of CEnter what is present now, not what you expect at equilibrium.0.3 M or bar
Current amount of DIgnored when coefficient d is 0.0 M or bar
Equilibrium constant KK at the temperature of your mixture, on the same basis (concentration or pressure) as the amounts above.54.3
TemperatureUsed only for the two free energy figures. It must be the temperature at which your K value applies.430
Temperature unitKelvin is used internally; degrees Celsius and Fahrenheit are converted for you.°C

It returns

  • Reaction quotient Q — The equilibrium expression evaluated at the composition you entered.
  • Q ÷ K — Below 1 the net change runs forward; above 1 it runs in reverse.
  • Extent still to run — How far the reaction must advance for Q to reach K. Negative means it must run in reverse.
  • ΔG at this composition
  • ΔG° from K

The formula

Q=[C]c[D]d[A]a[B]b
ΔG°=RTlnK

In plain text: Q = ([C]^c · [D]^d) / ([A]^a · [B]^b); ΔG = RT · ln(Q / K)

  • QReaction quotient at the current composition (dimensionless)
  • KEquilibrium constant at the working temperature (dimensionless)
  • [X]Current concentration or partial pressure of species X (mol/L or bar)
  • ΔGFree energy change per mole of reaction at this composition (kJ/mol)
  • RMolar gas constant, 8.314462618 J/(mol·K) (J/(mol·K))
  • TAbsolute temperature (K)

Q and K must be built on the same basis: both from concentrations, or both from partial pressures against the same standard state.

Updated Category Chemical Equilibrium & Solubility Verified against published test cases Reading time 11 min

What the reaction quotient measures

Q answers one question: given the mixture in front of you right now, which way will the reaction go? It is built from exactly the same algebra as the equilibrium constant — products over reactants, each raised to its stoichiometric coefficient — but evaluated at the current composition instead of the equilibrium one. That single difference makes it a diagnostic rather than a property.

Because Q and K share a formula, comparing them is legitimate and immediate. If Q is smaller than K, the mixture is product-poor relative to equilibrium, so the net change consumes reactants and makes products. If Q is larger than K, the mixture is product-rich, and the net change runs the other way. When Q equals K the mixture is at equilibrium: both directions still occur, at equal rates, so nothing observable changes.

Q is not a fixed number. It starts wherever your mixture starts and moves continuously toward K as the reaction proceeds. That trajectory is what the chart on this page plots. Watching Q rather than concentrations is often more useful, because a single number tells you both the direction and the distance still to travel.

Why the comparison works, and what free energy adds

The reason Q versus K is a valid test comes from thermodynamics, not from analogy. The free energy change for a reaction running at a given composition is

ΔG=ΔG°+RTlnQ

and at equilibrium ΔG is zero with Q equal to K, which forces ΔG° = −RT ln K. Substituting that back gives the compact form this calculator uses: ΔG = RT ln(Q/K). The sign of ΔG and the direction of the shift are therefore the same statement in different clothes. Q below K makes the logarithm negative, ΔG negative, and the forward reaction spontaneous from that composition.

This also exposes a common confusion. ΔG° and ΔG are different quantities. ΔG° is a fixed property of the reaction at a given temperature, tied to K alone; it says nothing about your particular beaker. ΔG depends on the composition and changes continuously as the reaction runs, falling to zero at equilibrium. A reaction with a positive ΔG° still runs forward from a sufficiently reactant-rich mixture, which is exactly what a Q well below K describes.

Two practical requirements follow. First, Q and K must use the same basis — both concentrations or both partial pressures, against the same standard state. Mixing a Kp with concentrations is the single most common error here; convert first with the Kp to Kc conversion calculator. Second, K must be quoted at your temperature, because K moves with temperature and ΔG° moves with it.

Worked example: is this HI mixture going to make more HI?

A sealed vessel at 430 °C contains 0.200 M H2, 0.200 M I2 and 0.300 M HI. For H2 + I2 ⇌ 2 HI the equilibrium constant at that temperature is Kc = 54.3.

  1. Build the numerator. [HI]2 = 0.3002 = 0.0900.
  2. Build the denominator. [H2][I2] = 0.200 × 0.200 = 0.0400.
  3. Divide. Q = 0.0900 ÷ 0.0400 = 2.25.
  4. Compare. Q ÷ K = 2.25 ÷ 54.3 = 0.04144. Q is well below K, so the net change runs forward and more HI forms.
  5. Convert the temperature. T = 430 + 273.15 = 703.15 K, so RT = 8.314462618 × 703.15 = 5,846.3 J/mol.
  6. Free energy at this composition. ΔG = 5,846.3 × ln(0.04144) = 5,846.3 × (−3.18359) = −18,612 J/mol = −18.61 kJ/mol.
  7. Standard free energy. ΔG° = −5,846.3 × ln(54.3) = −5,846.3 × 3.99452 = −23,353 J/mol = −23.35 kJ/mol.
  8. Cross-check the identity. ΔG° + RT ln Q = −23.353 + 5.8463 × ln(2.25) = −23.353 + 4.741 = −18.61 kJ/mol, matching step 6.

How far must it go? Let x be the extent in mol/L. Then [H2] = [I2] = 0.200 − x and [HI] = 0.300 + 2x. Setting the quotient to 54.3 and taking square roots gives (0.300 + 2x)/(0.200 − x) = 7.36885, so 0.300 + 2x = 1.47377 − 7.36885x, and x = 1.17377 ÷ 9.36885 = 0.12528 M. Equilibrium therefore sits at [H2] = [I2] = 0.07472 M and [HI] = 0.55056 M — and 0.550562 ÷ 0.074722 = 54.3, as required.

Reading the ratio and the free energy together

Start with Q ÷ K, because it is scale-free. A ratio of 0.5 or 2 means you are within a factor of two of equilibrium and the driving force is small — under 2 kJ/mol at room temperature. A ratio of 10−3 or 103 is a strong driving force, around 17 kJ/mol. The relationship is logarithmic, so each factor of ten in the ratio is worth the same fixed amount of free energy: 5.71 kJ/mol at 298.15 K.

That logarithmic scale is why very large driving forces are rarer than they sound. Going from a ratio of 10−6 to 10−3 — a thousandfold change in composition — only halves ΔG, from −34.2 to −17.1 kJ/mol. Conversely, a mixture that looks close to equilibrium by concentration can still carry a useful driving force if the exponents are large.

Read the extent output next. It tells you not just the direction but the distance: how many moles per litre of reaction must run before Q reaches K. Compare it with the amount of the limiting reactant present. If the extent is close to the stoichiometric ceiling, the reaction will effectively exhaust that reactant; if it is a small fraction of it, only a modest change in composition is coming. Where you need the full equilibrium composition rather than just the direction, use the equilibrium constant calculator, which solves the same ICE table and reports every species.

Finally, remember what Q cannot tell you. It is silent on rate. A mixture with ΔG = −35 kJ/mol may sit unchanged for years if no path is available; hydrogen and oxygen at room temperature are the classic case. Direction and speed are separate questions.

Q ÷ K translated into free energy at 298.15 K

ΔG = RT ln(Q/K) with RT = 8.314462618 × 298.15 = 2,478.96 J/mol. Multiply every entry by T/298.15 for another temperature.
Q ÷ Kln(Q/K)ΔG (kJ/mol)Net direction
10⁻⁶−13.8155−34.25Forward, strongly
10⁻³−6.9078−17.12Forward
0.01−4.6052−11.42Forward
0.1−2.3026−5.71Forward
0.5−0.6931−1.72Forward, weakly
100.00At equilibrium
2+0.6931+1.72Reverse, weakly
10+2.3026+5.71Reverse
100+4.6052+11.42Reverse
10³+6.9078+17.12Reverse
10⁶+13.8155+34.25Reverse, strongly

Every factor of ten in Q ÷ K is worth 5.71 kJ/mol at 298.15 K, because RT ln 10 = 2,478.96 × 2.302585 = 5,708 J/mol.

Le Chatelier's principle is the qualitative version of this test

Adding product, removing reactant, or compressing a gas mixture with fewer moles on the product side all change Q without changing K, and the system responds by moving back toward K. That is Le Chatelier's principle stated quantitatively. The one disturbance that behaves differently is a temperature change, which alters K itself rather than Q — which is why heating an exothermic equilibrium genuinely reduces the attainable yield rather than merely displacing the mixture.

A catalyst changes neither Q nor K. It shortens the time taken to reach equilibrium and leaves the destination untouched.

Errors that flip the predicted direction

  • Comparing Qc with a Kp. The two differ by (RT)Δn, which with R = 0.0820573 L·atm/(mol·K) at 700 K and Δn = 1 is a factor of 57.44. Convert before comparing.
  • Writing reactants over products. Inverting the quotient inverts the prediction exactly. Products always go on top.
  • Forgetting an exponent. Leaving the 2 off [HI]2 in the worked example changes Q from 2.25 to 7.5 — still below K here, but in a closer case it reverses the answer.
  • Including pure solids or the solvent. Their activities are 1, so they belong in neither Q nor K.
  • Using a K from the wrong temperature. K is temperature-dependent; Q is not. A table value 100 K away from your conditions can easily be off by an order of magnitude.
  • Reading ΔG° as though it described your mixture. A positive ΔG° does not prevent forward reaction from a reactant-rich start; only a positive ΔG does.

Assumptions and limits

Concentrations are treated as activities, which assumes ideal dilute solution or ideal gas behaviour. In concentrated electrolytes or at high pressure, activity coefficients depart from 1 and the comparison becomes approximate; analytical work handles this with conditional constants at fixed ionic strength.

The extent output assumes a single reaction with the stoichiometry you entered and no side reactions, no phase change, and constant volume. Where more than one equilibrium is coupled — a polyprotic acid, a metal with several ligands, a precipitation running alongside a complexation — a single extent variable cannot describe the system and you need simultaneous solution.

The calculator returns a dash for Q rather than infinity when a reactant is at exactly zero. That is the honest answer: the quotient is undefined there, even though the physical direction is unambiguous, because any product present makes the numerator positive while the denominator vanishes. Enter a small but non-zero amount if you want a number.

Where this test is used outside a chemistry course

The Q-versus-K comparison is the everyday tool of anyone deciding whether something will precipitate, dissolve, or scale. In water treatment the ion product of a sparingly soluble salt is compared with its Ksp for exactly this reason, and the logarithm of the ratio is called the saturation index — the solubility product calculator reports it directly. In acid-base work the same comparison, with Ka in place of K, tells you whether a proton transfer will run as written; the pH calculator and buffer calculator both rest on it.

Reactor engineers use the ratio as an approach-to-equilibrium measure. A packed bed operating at Q/K = 0.9 has extracted most of the available driving force and further catalyst adds little; a bed at Q/K = 0.05 is kinetically limited and worth lengthening. Framing conversion this way separates the two possible causes of poor yield — not enough time, or not enough thermodynamic driving force — which is a distinction that concentration data alone will not give you.

Frequently asked questions

What does it mean when Q is greater than K?

Your mixture holds more product than equilibrium allows, so the net change runs in reverse: products are consumed and reactants re-form until Q has fallen to K. The free energy change is positive in that direction as written, which is the same statement expressed thermodynamically. The reaction has not stopped — both directions still occur — but the reverse now outruns the forward until the ratio settles at K.

Is Q the same as K?

Same expression, different moment. Q is evaluated at the composition present now and changes as the reaction proceeds; K is the value that expression takes once the mixture stops changing, and it depends only on temperature. Every equilibrium constant is a reaction quotient that has finished moving.

Can Q be zero or infinite?

Q is zero when no product is present at all, which is the usual starting point for a synthesis and guarantees forward reaction. Q is undefined rather than infinite when a reactant is at exactly zero, because the denominator vanishes. This calculator returns a dash in that case instead of a made-up number; enter a small non-zero amount to get a finite value.

Do I use concentrations or partial pressures?

Whichever basis your K value uses, and never a mixture of the two. A Kc demands concentrations in mol/L; a Kp demands partial pressures against the standard pressure. If you have the wrong one, convert with Kp = Kc(RT)Δn before comparing. For gas-phase reactions where Δn is zero the two constants are numerically equal and the distinction stops mattering.

How close to K counts as being at equilibrium?

There is no universal threshold, so judge it against your measurement precision. This calculator flags a mixture as effectively equilibrated when Q is within 0.1% of K, because at that point the free energy driving force is under 0.003 kJ/mol at room temperature and is smaller than the uncertainty in almost any measured concentration. In process work a ratio between 0.9 and 1.1 is usually described as near-equilibrium.

Does adding a catalyst change Q?

No. A catalyst lowers the activation barrier for both directions equally, so it changes how fast Q moves toward K but not where Q is now nor where K sits. If a catalyst appeared to change the equilibrium composition, something else changed too — commonly the temperature, or a side reaction opening up on the catalyst surface.

Why is ΔG negative when ΔG° is positive?

Because they answer different questions. ΔG° describes the reaction with every species at its standard state, which fixes it to K alone through ΔG° = −RT ln K. ΔG describes your actual mixture and includes the RT ln Q term. A reactant-rich mixture makes ln Q strongly negative, which can more than cancel a positive ΔG°. That is why reactions with unfavourable standard free energies still proceed usefully when you start with plenty of reactant and remove product as it forms.

What is a typical driving force in kJ/mol?

Each factor of ten between Q and K is worth 5.71 kJ/mol at 298.15 K, so a mixture two orders of magnitude from equilibrium carries about 11.4 kJ/mol. Values beyond roughly 40 kJ/mol correspond to ratios past 107, which in practice means the reaction is effectively irreversible under those conditions. Anything under about 2 kJ/mol means you are within a factor of two of equilibrium.

References

  • Quantities, Units and Symbols in Physical Chemistry (the Green Book), 3rd ed. — IUPAC / RSC Publishing
  • Physical Chemistry, 11th ed. — Atkins & de Paula, Oxford University Press
  • CODATA recommended value of the molar gas constant RNIST Reference on Constants, Units and Uncertainty
  • Chemistry, 13th ed. — Chang & Goldsby, McGraw-Hill