Gibbs Free Energy Calculator — ΔG = ΔH − TΔS and K

Enter ΔH in kJ/mol, ΔS in J/(mol·K), and the absolute temperature in kelvin. The free-energy change is ΔG = ΔH − TΔS, with ΔS converted to kJ/(mol·K) by dividing by 1000. The equilibrium constant is K = exp(−ΔG / RT) with R = 8.314 J/(mol·K), so ΔG is converted to J/mol in that exponent. A spontaneity flag is 1 when ΔG is negative and 0 when ΔG is zero or positive. This is not a calculation at a non-standard state (no reaction quotient Q), and it is not a tabulated thermodynamic database.

Enthalpy, entropy, and temperature

Formulas

ΔG = ΔH − T ΔS

K = exp(−ΔG / RT)

Where ΔH = enthalpy change, in kJ/mol; ΔS = entropy change, entered in J/(mol·K) and divided by 1000 in the ΔG equation; T = absolute temperature, in kelvin; R = 8.314 J/(mol·K); K = equilibrium constant from K = exp(−ΔG/RT), with ΔG in J/mol.

ΔS is entered in J/(mol·K), the usual tabulated unit, and is converted to kJ/(mol·K) in ΔG = ΔH − TΔS.

R = 8.314 J/(mol·K). The exponent −ΔG/RT therefore uses ΔG in J/mol (the kJ/mol value times 1000).

The spontaneity flag is 1 only when ΔG is strictly negative. ΔG = 0 is equilibrium and is reported as 0.

Checked examples

ΔG = −100 − 298×(−200/1000) = −100 + 59.6 = −40.4 kJ/mol. K = exp(40400/(8.314×298)) = 1.20706×10⁷. Spontaneous.

ΔG = 50 − 298×(100/1000) = 20.2 kJ/mol. K = exp(−20200/(8.314×298)) = 2.878×10⁻⁴. Not spontaneous as written.

ΔG = −200 − 400×(−500/1000) = −200 + 200 = 0. K = exp(0) = 1. Equilibrium; the flag is 0.

Limits

Temperature must be greater than zero (kelvin). ΔH and ΔS may be positive or negative. K here is the constant implied by this ΔG through K = exp(−ΔG/RT), not a value measured in a particular concentration standard state beyond that identification. Not for: non-standard states or a reaction quotient Q; activity coefficients or real-solution corrections; looking up ΔH or ΔS from a table.

OpenStax Chemistry 2e — §16.4 Free Energy.