Gibbs Free Energy of Reaction Calculator

Find dG0 from enthalpy and entropy, correct it with the reaction quotient, and convert between dG0 and the equilibrium constant.

⚖️ Gibbs Free Energy of Reaction Calculator
Standard enthalpy (dH0)
kJ/mol
Standard entropy (dS0)
J/(mol K)
Temperature (T)
K
Standard Gibbs energy (dG0)
kJ/mol
Temperature (T)
K
Reaction quotient (Q)
Solve for
Standard Gibbs energy (dG0)
kJ/mol
Equilibrium constant (K)
Temperature (T)
K
Standard Gibbs energy (dG0)
—
Entropy term T dS0
—
Equilibrium constant K
—
ln K
—
Crossover temperature (dH0/dS0)
—
Equilibrium favours
—

Gibbs energy of reaction (dG)
—
RT ln Q
—
Equilibrium constant K
—
Q / K
—
Net direction
—
log10 Q
—

Standard Gibbs energy (dG0)
—
Equilibrium constant K
—
ln K
—
log10 K
—
RT
—
Reading
—

⚖️ What is the Gibbs Free Energy of Reaction?

The Gibbs free energy of reaction, written dG or ΔrG, measures how much non-expansion work a reaction could deliver at constant temperature and pressure, and therefore whether it is thermodynamically favoured. A negative value means the forward reaction lowers the Gibbs energy of the system and can proceed spontaneously under those conditions. A positive value means the reverse direction is favoured, and zero means the mixture is already at equilibrium.

Two versions matter. The standard value dG0 refers to every species at its standard state, and it is built from the tabulated enthalpy and entropy as dG0 = dH0 - T dS0. The actual value dG refers to the mixture in the flask and adds a composition term, dG = dG0 + RT ln Q, where Q is the reaction quotient. Chemists use the first to rank reactions and compute equilibrium constants through dG0 = -RT ln K, and the second to decide which way a particular mixture will move right now.

Typical uses include checking whether a synthesis such as ammonia formation is viable at a given temperature, finding the temperature at which a decomposition such as limestone calcination switches on, testing whether a metabolic step is driven forward by the ratio of its products to reactants, and converting a measured equilibrium constant to an energy scale. A common mistake is to treat the sign of dG0 as a statement about speed. It is not: dG describes where the reaction wants to go, not how quickly it gets there, which depends on the activation barrier.

This calculator has three modes. The first combines enthalpy and entropy into dG0, shows the entropy term, reports K and the crossover temperature, and plots dG0 against temperature. The second adds RT ln Q to reach the true dG and the net direction. The third converts between K and dG0 in either direction. All three assume ideal behaviour and constant dH0 and dS0 over the temperature range, so treat values far from the data temperature as estimates.

📐 Formula

ΔG°  =  ΔH° − T ΔS°  =  −R T ln K
ΔG° = standard Gibbs energy of reaction (kJ/mol)
ΔH° = standard reaction enthalpy (kJ/mol); ΔS° = standard reaction entropy (J/(mol K))
T = absolute temperature (K); R = 8.314462618 J/(mol K)
K = thermodynamic equilibrium constant (dimensionless, 1 bar standard state)
Crossover: ΔG° = 0 at T = ΔH° / ΔS° when both have the same sign
Example: ΔH° = −92.2 kJ/mol, ΔS° = −198.7 J/(mol K), T = 298.15 K gives ΔG° = -32.96 kJ/mol
ΔG  =  ΔG° + R T ln Q
Q = reaction quotient from the current activities or pressures (dimensionless)
Direction: Q < K gives ΔG < 0 (forward), Q > K gives ΔG > 0 (reverse), Q = K gives ΔG = 0
Rule of thumb: at 298 K, a change of 5.7 kJ/mol in ΔG° changes K by a factor of 10
Example: ΔG° = −5.0 kJ/mol, Q = 100, T = 298.15 K gives ΔG = 6.416 kJ/mol

📖 How to Use This Calculator

Three modes

1
Choose a mode - From dH and dS builds dG0 from enthalpy and entropy. Real mixture adds the RT ln Q composition term. K and dG0 converts between the two quantities.
2
Enter your values - Type enthalpy in kJ/mol, entropy in J/(mol K) and the temperature in kelvin. For a real mixture also enter Q, and for the K mode choose whether to solve for K or for dG0.
3
Read the result - The primary box shows the Gibbs energy. The other boxes show K, ln K, the entropy term, the crossover temperature or the net direction, depending on the mode.
4
Study the chart - The chart shows dG0 against temperature, dG against log10 Q, or log10 K against dG0, with your input marked by a dashed guide.

💡 Example Calculations

Example 1 - Ammonia synthesis at 298.15 K

N2 + 3 H2 to 2 NH3: dH0 = -92.2 kJ/mol, dS0 = -198.7 J/(mol K) (approximate), T = 298.15 K

1
Entropy term T dS0 = 298.15 × (−198.7) / 1000 = -59.24 kJ/mol.
2
dG0 = dH0 − T dS0 = −92.2 − (-59.24) = -32.96 kJ/mol.
3
ln K = −dG0 / RT = 13.295, so K = 5.942e+5. The crossover temperature dH0 / dS0 is 464.0 K, so the forward reaction is favoured only below that temperature.
dG0 = -32.96 kJ/mol, K = 5.942e+5
Try this example →

Example 2 - Limestone decomposition at 1200 K

CaCO3 to CaO + CO2: dH0 = 178.3 kJ/mol, dS0 = 160.5 J/(mol K) (approximate), T = 1200 K

1
At 298.15 K, dG0 = 130.4 kJ/mol, so nothing happens at room temperature.
2
At 1200 K, T dS0 = 1200 × 160.5 / 1000 = 192.6 kJ/mol, so dG0 = 178.3 − 192.6 = -14.30 kJ/mol.
3
K = exp(1.433) = 4.192, and the crossover temperature is 1,110.9 K.
dG0 = -14.30 kJ/mol, K = 4.192
Try this example →

Example 3 - A real mixture with an excess of products

dG0 = -5.0 kJ/mol, T = 298.15 K, Q = 100

1
RT = 8.314462618 × 298.15 / 1000 = 2.4790 kJ/mol, and RT ln Q = 2.4790 × ln 100 = 11.42 kJ/mol.
2
dG = −5.0 + 11.42 = 6.416 kJ/mol, which is positive.
3
K = exp(5.0 / RT) = 7.516, so Q / K = 13.31 and Q is above K: the reaction runs in reverse.
dG = 6.416 kJ/mol, Q / K = 13.31
Try this example →

Example 4 - Equilibrium constant from dG0

dG0 = -33.0 kJ/mol at 298.15 K

1
RT = 2.4790 kJ/mol.
2
ln K = 33.0 / 2.4790 = 13.312, so log10 K = 5.781.
3
K = 6.044e+5, strongly product favoured.
K = 6.044e+5, ln K = 13.312
Try this example →

Example 5 - dG0 from a measured K

K = 0.02 at T = 350 K

1
RT = 8.314462618 × 350 / 1000 = 2.9101 kJ/mol.
2
ln K = ln 0.02 = -3.912.
3
dG0 = −RT ln K = −2.9101 × (-3.912) = 11.38 kJ/mol.
dG0 = 11.38 kJ/mol, log10 K = -1.699
Try this example →

❓ Frequently Asked Questions

What is the Gibbs free energy of reaction?+
The Gibbs free energy of reaction, dG, is the change in Gibbs energy when a reaction advances at fixed temperature and pressure. A negative value means the forward reaction is thermodynamically favoured under the stated conditions, and zero means the mixture is at equilibrium.
What is the difference between dG and dG0?+
dG0 is the standard value, defined with every species at its standard state (1 bar for gases, 1 mol/L for solutes). dG applies to the actual mixture and equals dG0 + RT ln Q, where Q is the reaction quotient. Only dG tells you which way a real mixture will move.
How do you calculate dG0 from dH0 and dS0?+
Use dG0 = dH0 - T dS0 with dH0 in kJ/mol, dS0 in J/(mol K) divided by 1000 and T in kelvin. For ammonia synthesis, -92.2 - 298.15 x (-198.7 / 1000) = -32.96 kJ/mol at 298.15 K.
How do you find K from dG0?+
Use K = exp(-dG0 / RT), which is the same as dG0 = -RT ln K. With dG0 = -33.0 kJ/mol at 298.15 K, RT = 2.4790 kJ/mol, so ln K = 13.31 and K = 6.0 x 10^5. Every 5.7 kJ/mol of dG0 near room temperature shifts K by a factor of ten.
What does a negative dG0 mean for K?+
A negative dG0 means K is greater than 1, so the products dominate at equilibrium. A positive dG0 gives K below 1 and reactants dominate. K = 1 corresponds to dG0 = 0. The sign of dG0 does not say how fast the reaction runs, only where it ends up.
What is the crossover temperature where dG0 = 0?+
When dH0 and dS0 have the same sign, dG0 changes sign at T = dH0 / dS0. For calcium carbonate decomposition, with dH0 = 178.3 kJ/mol and dS0 = 160.5 J/(mol K), the crossover is about 1111 K, above which the decomposition is favoured.
When is a reaction spontaneous at all temperatures?+
When dH0 is negative and dS0 is positive, dG0 is negative at every temperature. When dH0 is positive and dS0 is negative, it is positive at every temperature. If the signs match, the temperature decides which term wins.
How do I use the reaction quotient Q to find dG?+
Compute Q from the current activities or pressures, then add RT ln Q to dG0. If dG0 = -5.0 kJ/mol and Q = 100 at 298.15 K, RT ln Q = +11.42 kJ/mol, so dG = +6.42 kJ/mol and the reverse reaction is favoured.
Why is dG zero at equilibrium?+
At equilibrium Q equals K, so RT ln Q = RT ln K = -dG0 and the two terms cancel. The free energy of the mixture is at a minimum along the reaction coordinate, and the reaction has no remaining driving force in either direction.
Does a negative dG guarantee a fast reaction?+
No. dG describes thermodynamic favourability, not speed. A strongly negative dG can coexist with a very large activation barrier, as with diamond turning to graphite or hydrogen and oxygen mixing without reacting. The Eyring and Arrhenius equations address rates.
Are dH0 and dS0 really constant with temperature?+
Only approximately. Both drift with temperature through the heat capacity change, as described by Kirchhoff's law. The constant approximation is good over a few hundred kelvin for many reactions, but be cautious near phase changes or far from the temperature where the data were measured.

📚 Sources and Notes

The relations dG0 = -RT ln K and dG = dG0 + RT ln Q follow the LibreTexts chapter on the standard Gibbs free energy change and equilibrium and the LibreTexts page on Gibbs energy and equilibrium. The enthalpy and entropy values in the examples are rounded textbook numbers, approximate and illustrative; use NIST or CRC Handbook tables for precise work.

See also the Gibbs free energy calculator, the equilibrium constant calculator and the Kp and Kc calculator.

What is the Gibbs free energy of reaction?

The Gibbs free energy of reaction, dG, is the change in Gibbs energy when a reaction advances at fixed temperature and pressure. A negative value means the forward reaction is thermodynamically favoured under the stated conditions, and zero means the mixture is at equilibrium.

What is the difference between dG and dG0?

dG0 is the standard value, defined with every species at its standard state (1 bar for gases, 1 mol/L for solutes). dG applies to the actual mixture and equals dG0 + RT ln Q, where Q is the reaction quotient. Only dG tells you which way a real mixture will move.

How do you calculate dG0 from dH0 and dS0?

Use dG0 = dH0 - T dS0 with dH0 in kJ/mol, dS0 in J/(mol K) divided by 1000 and T in kelvin. For ammonia synthesis, -92.2 - 298.15 x (-198.7 / 1000) = -32.96 kJ/mol at 298.15 K.

How do you find K from dG0?

Use K = exp(-dG0 / RT), which is the same as dG0 = -RT ln K. With dG0 = -33.0 kJ/mol at 298.15 K, RT = 2.4790 kJ/mol, so ln K = 13.31 and K = 6.0 x 10^5. Every 5.7 kJ/mol of dG0 near room temperature shifts K by a factor of ten.

What does a negative dG0 mean for K?

A negative dG0 means K is greater than 1, so the products dominate at equilibrium. A positive dG0 gives K below 1 and reactants dominate. K = 1 corresponds to dG0 = 0. The sign of dG0 does not say how fast the reaction runs, only where it ends up.

What is the crossover temperature where dG0 = 0?

When dH0 and dS0 have the same sign, dG0 changes sign at T = dH0 / dS0. For calcium carbonate decomposition, with dH0 = 178.3 kJ/mol and dS0 = 160.5 J/(mol K), the crossover is about 1111 K, above which the decomposition is favoured.

When is a reaction spontaneous at all temperatures?

When dH0 is negative and dS0 is positive, dG0 is negative at every temperature. When dH0 is positive and dS0 is negative, it is positive at every temperature. If the signs match, the temperature decides which term wins.

How do I use the reaction quotient Q to find dG?

Compute Q from the current activities or pressures, then add RT ln Q to dG0. If dG0 = -5.0 kJ/mol and Q = 100 at 298.15 K, RT ln Q = +11.42 kJ/mol, so dG = +6.42 kJ/mol and the reverse reaction is favoured.

Why is dG zero at equilibrium?

At equilibrium Q equals K, so RT ln Q = RT ln K = -dG0 and the two terms cancel. The free energy of the mixture is at a minimum along the reaction coordinate, and the reaction has no remaining driving force in either direction.

Does a negative dG guarantee a fast reaction?

No. dG describes thermodynamic favourability, not speed. A strongly negative dG can coexist with a very large activation barrier, as with diamond turning to graphite or hydrogen and oxygen mixing without reacting. The Eyring and Arrhenius equations address rates.

Are dH0 and dS0 really constant with temperature?

Only approximately. Both drift with temperature through the heat capacity change, as described by Kirchhoff's law. The constant approximation is good over a few hundred kelvin for many reactions, but be cautious near phase changes or far from the temperature where the data were measured.