🌡️ Gibbs Free Energy — Reaction Spontaneity

Tune enthalpy, entropy and temperature to see when ΔG = ΔH − TΔS predicts a reaction runs spontaneously. Watch the four classic thermodynamic cases play out on a live ΔG vs T line.

ChemistryInteractive
Left: ΔG vs T line (green = spontaneous, red = not) · Right: particle entropy panel — order tied to ΔS, jostle tied to T

How it Works

The left panel plots ΔG = ΔH − TΔS as a straight line against temperature, using ΔH in kilojoules per mole and ΔS in joules per mole-kelvin (converted internally to kJ/(mol·K) by dividing by 1000, so the units on both sides of the equation match). Because ΔH sets the line's intercept at T=0 and −ΔS/1000 sets its slope, the four possible sign combinations of ΔH and ΔS produce four qualitatively different lines: always below zero, always above zero, or crossing zero exactly once at a crossover temperature T₀ = ΔH/ΔS.

The right panel is a visual analogy for entropy, not a literal molecular simulation. A set of particles is nudged toward either a tidy, lattice-like arrangement (when ΔS is strongly negative, representing increasing order) or allowed to roam freely across the whole box (when ΔS is strongly positive, representing increasing disorder), while their jostling speed is tied directly to the temperature slider — a nod to how thermal energy actually drives molecular motion.

Gibbs free energy: ΔG = ΔH − TΔS (ΔH in kJ/mol, ΔS in J/mol·K → ΔG = ΔH − T·(ΔS/1000) kJ/mol)
Crossover temperature: T₀ = ΔH / ΔS (exists only when ΔH and ΔS share the same sign)
Spontaneity: ΔG < 0 spontaneous · ΔG = 0 equilibrium · ΔG > 0 non-spontaneous
Four cases: (ΔH<0,ΔS>0) always · (ΔH>0,ΔS<0) never · (ΔH<0,ΔS<0) low T only · (ΔH>0,ΔS>0) high T only

Frequently Asked Questions

What does Gibbs free energy (ΔG) represent physically?

Gibbs free energy is the maximum energy available from a process to do useful, non-expansion work at constant temperature and pressure. It is the master criterion for spontaneity in chemistry: whenever ΔG is negative for a proposed change, that change can occur on its own, without any continuous external energy input, even if it takes a very long time to actually happen.

What do enthalpy (ΔH) and entropy (ΔS) each contribute to spontaneity?

Enthalpy ΔH tracks the heat released or absorbed by the reaction — an exothermic (ΔH<0) reaction favors spontaneity because it lowers the system's energy. Entropy ΔS tracks the change in disorder, or number of accessible microstates — an increase in disorder (ΔS>0) also favors spontaneity, because the second law of thermodynamics favors states with higher entropy. Gibbs free energy combines both effects into a single number.

Why does temperature matter, and how can it flip spontaneity?

Temperature is the weighting factor on the entropy term: ΔG = ΔH − TΔS. At low T the TΔS term is small and ΔH dominates; at high T, TΔS grows and can dominate ΔH. This is why a reaction that is entropy-favored but enthalpy-opposed can flip from non-spontaneous to spontaneous as temperature rises, and why an enthalpy-favored but entropy-opposed reaction can flip the other way as temperature falls.

What does the crossover temperature T = ΔH/ΔS mean physically?

The crossover temperature is the exact point where ΔG = 0 — the system sits at equilibrium, with the forward and reverse processes equally favored thermodynamically. Below that temperature the sign of ΔG is one way; above it, ΔG flips sign, so the reaction's spontaneous direction reverses. A crossover only exists in the physically accessible range when ΔH and ΔS share the same sign.

Why doesn't spontaneous mean fast?

ΔG is a purely thermodynamic criterion: it tells you whether a reaction can happen on its own, not how quickly it will. The rate is governed separately by kinetics — specifically the activation-energy barrier a reaction must climb over, covered in this site's Activation Energy simulation. The classic example is diamond converting to graphite: ΔG is negative at room temperature and pressure, so it is thermodynamically spontaneous, yet the process is immeasurably slow because the kinetic barrier is enormous.

Why does ice melt above 0°C and water freeze below 0°C?

Melting ice is an endothermic, entropy-increasing process (ΔH>0, ΔS>0): heat must be absorbed to break the ice's ordered hydrogen-bond lattice, but the resulting liquid has far more accessible molecular arrangements. Both ΔH and ΔS are essentially unchanged whether it is 0°C or −10°C — what changes is the TΔS term, which crosses ΔH exactly at 273 K (0°C), flipping ΔG from positive (freezing favored) below that point to negative (melting favored) above it.

What are the four classic ΔH/ΔS combinations, and how does each behave?

(1) ΔH<0, ΔS>0: both terms favor spontaneity, so ΔG is negative at every temperature — always spontaneous. (2) ΔH>0, ΔS<0: both terms oppose spontaneity, so ΔG is positive at every temperature — never spontaneous. (3) ΔH<0, ΔS<0: the enthalpy term favors spontaneity but the entropy term opposes it, so the reaction is spontaneous only below the crossover temperature. (4) ΔH>0, ΔS>0: the entropy term favors spontaneity but the enthalpy term opposes it, so the reaction is spontaneous only above the crossover temperature.

Why does the Haber-Bosch process run at moderate-to-high temperature if low temperature favors it thermodynamically?

Ammonia synthesis (N2 + 3H2 → 2NH3) is exothermic with a large entropy decrease (three gas molecules become two), so it is thermodynamically most favorable at low temperature, where ΔG is most negative. But at low temperature the reaction rate is kinetically far too slow to be useful, because collisions rarely clear the activation-energy barrier. Industrially the process runs at a compromise temperature with an iron catalyst and high pressure, trading some equilibrium yield for a commercially viable reaction rate.

What sign convention is used for ΔG, ΔH and ΔS?

By the standard chemistry convention used throughout this simulator, negative ΔH means the reaction releases heat (exothermic) and negative ΔS means the products are more ordered than the reactants. ΔG follows the same convention: ΔG<0 means the forward reaction is spontaneous, ΔG>0 means the reverse reaction is spontaneous, and ΔG=0 means the system is at equilibrium.

Can a reaction with positive ΔG ever occur?

Not spontaneously and not to completion, but a positive-ΔG reaction can still proceed partway before reaching equilibrium (a small equilibrium constant K is directly related to a positive standard ΔG°), or it can be driven forward by continuously supplying external energy — for example coupling it to a more strongly spontaneous reaction, as cells do when they use ATP hydrolysis to power otherwise non-spontaneous biochemical steps.

About this simulation

Written by MySimulator Team · Reviewed by MySimulator Editorial Review

Last updated: 11 July 2026

This simulator pairs a live ΔG vs T line with a particle entropy panel so the abstract equation ΔG = ΔH − TΔS becomes something you can watch happen. On the left, the line's slope and intercept are set entirely by the ΔH and ΔS you choose, so you can walk through all four classic thermodynamic cases — always spontaneous, never spontaneous, or spontaneous only above or below a crossover temperature. On the right, a set of particles visually tracks the sign of ΔS as order or disorder, while their jostling speed tracks the temperature slider directly.

🔬 What it shows

Two synchronized views of the same equation: a ΔG vs T line that is colored green where the reaction is spontaneous and red where it isn't, with a marker tracking your chosen temperature — and a particle panel where order/disorder visually tracks the sign of ΔS while jostling speed visually tracks T.

🎮 How to use

Drag ΔH and ΔS to explore all four classic cases, or jump straight to one with the reaction preset dropdown. Move the temperature slider to slide the marker along the ΔG line and watch the particle panel react; a dashed line marks the crossover temperature whenever one exists.

💡 Did you know?

Diamond converting to graphite has ΔG<0 at room conditions — it's thermodynamically spontaneous — yet it doesn't visibly happen in your lifetime, because spontaneity says nothing about speed. That's a job for kinetics and activation energy, not Gibbs free energy.

Frequently asked questions

What do the ΔH and ΔS sliders control, and what units do they use?

The ΔH slider sets the reaction's enthalpy change in kilojoules per mole (kJ/mol), from −200 to +200. The ΔS slider sets the entropy change in joules per mole-kelvin (J/mol·K), from −200 to +200 — note the factor-of-1000 unit difference from ΔH, which the simulator automatically corrects for when it computes ΔG = ΔH − T·(ΔS/1000).

What does the colored shading on the ΔG vs T line mean?

The portion of the line below zero (ΔG<0) is drawn green, marking temperatures where the reaction is spontaneous; the portion above zero (ΔG>0) is drawn red, marking non-spontaneous temperatures. The white marker shows exactly where the current temperature slider sits on that line.

Why does the dashed crossover line sometimes disappear?

The dashed vertical line marks the crossover temperature T₀=ΔH/ΔS, where ΔG=0. It only appears when ΔH and ΔS have the same sign, because that is the only situation where the ΔG line actually crosses zero within a physically sensible temperature range. For always-spontaneous or never-spontaneous presets, there is no crossover to show.

What determines whether the particle panel looks ordered or disordered?

The sign and magnitude of ΔS drive the particle panel's layout: a strongly negative ΔS pulls the particles into a tidy, near-lattice arrangement (an analogy for a more ordered product state), while a strongly positive ΔS lets them roam and mix freely across the whole box (an analogy for a more disordered, higher-entropy state). It's a visual metaphor, not a literal simulation of any specific molecule.

Why does the particle jostling speed change with temperature?

The particles' jostling speed is tied directly to the temperature slider, echoing the real physical relationship between temperature and average molecular kinetic energy. Dragging T up makes every particle visibly more energetic and jittery; dragging it toward zero calms the panel down, mirroring how thermal motion actually depends on temperature.

What real reactions do the four presets represent?

"Combustion-type" and its mirror image illustrate always/never spontaneous behaviour with realistic-scale enthalpy and entropy changes. "Haber process" loads real literature values for ammonia synthesis (ΔH≈−92 kJ/mol, ΔS≈−198 J/mol·K), a genuine low-temperature-only reaction. "Ice melting" loads the real enthalpy and entropy of fusion of water (ΔH≈+6.01 kJ/mol, ΔS≈+22.0 J/mol·K), giving a crossover temperature almost exactly at 273 K — 0°C.