Skip to content
Omnikalc

Gibbs free energy calculator: ΔG = ΔH − TΔS

Calculate the Gibbs free energy change of a reaction, whether it is spontaneous, its equilibrium constant and the temperature where it switches.

Updated on
Your inputs
kJ/mol

Value out of range

J/(mol·K)

Value out of range

Temperature unit

Value out of range

Results

Gibbs free energy change ΔG

-32.96 kJ/mol

Spontaneous (ΔG < 0) The reaction is thermodynamically favored in the forward direction, though it may still be slow.

Equilibrium constant K

594,184

TΔS
-59.24 kJ/mol
Crossover temperature ΔH/ΔS
190.9
Temperature in kelvin
298.15 K

Will a reaction go?

Some reactions release heat and happen on their own, but others absorb heat and still proceed, like ice melting in a warm room. The deciding quantity is the Gibbs free energy, G = H − TS, introduced by Josiah Willard Gibbs in the 1870s. At constant temperature and pressure, a reaction is spontaneous in the forward direction when its change ΔG is negative.

The formulas

  • ΔG = ΔH − T × ΔS
  • Equilibrium constant K = exp(−ΔG° ÷ RT)
  • Crossover temperature T = ΔH ÷ ΔS, where ΔG changes sign

ΔH is usually given in kJ/mol and ΔS in J/(mol·K), so divide ΔS by 1,000 before combining. T must be in kelvin; R = 8.314 J/(mol·K).

Worked example: ammonia synthesis

N₂ + 3 H₂ → 2 NH₃ has ΔH° = −92.2 kJ/mol and ΔS° = −198.7 J/(mol·K). At 25 °C:

  1. T = 298.15 K, so TΔS = 298.15 × (−0.1987) = −59.24 kJ/mol.
  2. ΔG° = −92.2 − (−59.24) = −32.96 kJ/mol: spontaneous.
  3. K = exp(32,960 ÷ (8.314 × 298.15)) ≈ 5.9 × 10⁵.
  4. Crossover temperature = −92.2 ÷ −0.1987 = 464 K, or 190.9 °C: above it, ΔG° turns positive.

Yet the Haber-Bosch process runs at 400 to 500 °C, where K is small, because at 25 °C the reaction is far too slow. High pressure and recycling make up for the lower equilibrium yield.

The four cases

ΔH ΔS ΔG Spontaneous
Negative Positive Always negative At all temperatures
Positive Negative Always positive Never
Negative Negative Negative when cold Below ΔH/ΔS
Positive Positive Negative when hot Above ΔH/ΔS

Ice melting is the last case: ΔH and ΔS are both positive, so it is spontaneous above 0 °C.

ΔG versus ΔG°

The calculator works with standard values (1 bar, 1 mol/L). Under real conditions, ΔG = ΔG° + RT ln Q, where Q is the reaction quotient; the reaction proceeds until Q reaches K and ΔG becomes zero.

Spontaneous does not mean fast

Thermodynamics says where a reaction can go; kinetics says how fast. Diamond turning into graphite has a negative ΔG at room temperature, but the activation energy is so high that diamonds last for billions of years. Catalysts speed up reactions without changing ΔG.

Where the data come from

Standard enthalpies and entropies of formation are tabulated, for example in the CRC Handbook and the NIST Chemistry WebBook. Compute ΔH° and ΔS° of the reaction as products minus reactants, each multiplied by its coefficient.

Frequently asked questions

What is Gibbs free energy?

A thermodynamic quantity, G = H − TS, whose change ΔG tells whether a reaction can occur spontaneously at constant temperature and pressure: it can if ΔG is negative.

How do you calculate ΔG?

ΔG = ΔH − TΔS, with T in kelvin and ΔS converted to kJ. For ammonia synthesis, ΔH = −92.2 kJ/mol and ΔS = −198.7 J/(mol·K), so at 25 °C ΔG = −33.0 kJ/mol.

How is ΔG related to the equilibrium constant?

ΔG° = −RT ln K, so K = exp(−ΔG°/RT). A ΔG° of −33.0 kJ/mol at 298 K gives K ≈ 5.9 × 10⁵.

Does a negative ΔG mean the reaction is fast?

No. ΔG only says which direction is favored. The speed depends on the activation energy, which is why diamond does not turn into graphite at room temperature.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.