Skip to content

Entropy Calculator

Calculate entropy change for reactions from standard entropies, phase changes, heating, ideal gases and mixing, with the surroundings and a second-law check.

Calculator Details

Entropy change of the system ΔS:−198.1 J/KSee results ↓

A reaction from standard entropies, a phase change, heating, an ideal gas, mixing, reversible heat or Boltzmann’s formula

Species with states, separated by + and → (or =). Your own ΔH°f (kJ/mol) and S° (J/(mol·K)) after @: C8H18(l)@-250.1,361.1

Examples

Reaction or reservoir temperature (standard entropies are for 25 °C)

Unit for every temperature on this page

Your Results

Entropy change of the system ΔS: −198.1 J/K

Entropy change of the system ΔS

−198.1 J/K

ΔS°rxn for N₂(g) + 3H₂(g) → 2NH₃(g)

Surroundings ΔS

307.899 J/K

−ΔH° ÷ T

Universe ΔS

109.799 J/K

ΔS_universe > 0: spontaneous

ΔH° and ΔG°

−91.8 / −32.7365 kJ

ΔG° changes sign near 463.4 K

The entropy change of the system is -198.1 J/K; with the surroundings the universe changes by 109.8 J/K, so the process is spontaneous.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Entropy change of the system, the surroundings and the universe

Entropy change of the system, the surroundings and the universe

Detailed Breakdown

Standard molar entropies and their contributions
SpeciesνS° (J/(mol·K))ContributionNote
N₂(g)1191.6−191.6 J/Kreactant · Nitrogen
H₂(g)3130.7−392.1 J/Kreactant · Hydrogen
NH₃(g)2192.8385.6 J/Kproduct · Ammonia
Surroundings: −ΔH° ÷ T1−91.8307.899 J/KΔH° = -91.8 kJ at 298.15 K
System ΔS−198.1 J/K

How This Calculator Works

How It’s Calculated

ΔS°rxn = Σν·S°(products) − Σν·S°(reactants) · ΔS_surr = −ΔH ÷ T
Phase change ΔS = ΔH ÷ T · Heating ΔS = m·c·ln(T₂ ÷ T₁) · Gas ΔS = n·Cv·ln(T₂ ÷ T₁) + n·R·ln(V₂ ÷ V₁)
Mixing ΔS = −n·R·Σ x ln x · Reversible ΔS = q ÷ T · Boltzmann S = k ln W · ΔS_universe = ΔS_sys + ΔS_surr

Your calculation: ΔS° = Σν·S°(products) − Σν·S°(reactants) = −198.1 J/K. ΔS_surr = −ΔH° ÷ T = −(−91.8 kJ × 1000) ÷ 298.15 K = 307.899 J/K, so ΔS_universe = 109.799 J/K and ΔG° = ΔH° − TΔS° = −32.7365 kJ.

R = 8.314 462 618 J/(mol·K) and k = 1.380 649 × 10⁻²³ J/K are exact in the SI. Standard entropies are at 25 °C and 1 bar; ΔS° and ΔH° are taken as constant when you choose another temperature.

Frequently Asked Questions

What is entropy?

A measure of how many microscopic arrangements (microstates) are consistent with a system’s state, S = k ln W. In practice it tracks how spread out energy and matter are: gases have more entropy than liquids, liquids more than solids, and mixing or heating raises it. Entropy is measured in joules per kelvin (J/K), or J/(mol·K) per mole.

How do I calculate the entropy change of a reaction?

Add the standard molar entropies of the products, each times its coefficient, and subtract the same sum for the reactants: ΔS°rxn = Σν·S°(products) − Σν·S°(reactants). For N₂ + 3H₂ → 2NH₃ that gives -198.1 J/K: four moles of gas become two, so entropy falls.

Can a reaction with negative ΔS still be spontaneous?

Yes, if it releases enough heat. The second law applies to the universe: ΔS_universe = ΔS_system − ΔH ÷ T. For ammonia synthesis at 25 °C, the surroundings gain 307.9 J/K, so the universe gains 109.8 J/K and ΔG° = -32.74 kJ. Above about 463 K the entropy term wins and the reaction reverses.

What is the entropy of fusion or vaporisation of water?

At a phase transition the heat is absorbed reversibly, so ΔS = ΔH ÷ T. Melting ice (6.01 kJ/mol at 273.15 K) gives 22 J/(mol·K); boiling water (40.65 kJ/mol at 373.15 K) gives 108.9 J/(mol·K). Vaporisation has the larger entropy change because a gas is far more disordered than a liquid.

Why does ice melt at 10 °C but not at −10 °C?

The ice gains 22 J/K whatever the surroundings; the surroundings lose 6010 J ÷ T. At 10 °C they lose 21.23 J/K, so the total is +0.777 J/K and the ice melts. At −10 °C they would lose 22.84 J/K, the total is -0.836 J/K, and melting does not happen on its own.

How much does the entropy of water rise when I heat it?

For a constant heat capacity, ΔS = m·c·ln(T₂ ÷ T₁). Heating 1 kg of water from 20 °C to 80 °C gives 779.1 J/K. Use kelvin: the ratio of Celsius temperatures has no physical meaning.

What is the entropy change when a gas expands?

For an ideal gas at constant temperature, ΔS = nR ln(V₂ ÷ V₁), so doubling the volume of 1 mol adds R ln 2 = 5.763 J/K. The value is the same for a free expansion into a vacuum as for a slow reversible one, because entropy is a state function.

Why is the entropy of mixing always positive?

Each gas ends up spread over a larger volume, and every mole fraction is below 1, so −Σ x ln x is positive. Mixing 1 mol each of two ideal gases gives 2R ln 2 = 11.53 J/K. Splitting water into hydrogen and oxygen, by contrast, has ΔS° = +326.6 J/K but needs 474.3 kJ of work, so entropy alone doesn’t decide.

Uses the textbook entropy formulas (OpenStax Chemistry 2e ch.16, University Physics Vol.2 ch.4) with the exact SI values of R and k, and standard molar entropies at 25 °C and 1 bar from OpenStax Chemistry 2e Appendix G, still being checked against the NIST Chemistry WebBook. It treats ΔH°, ΔS° and heat capacities as constant over the temperature range, and gases and mixtures as ideal. It leaves out how S changes with pressure and concentration (reaction entropies are standard-state values), heat capacities that vary with temperature, non-ideal mixing and information (Shannon) entropy.

Entropy Calculator: ΔS for Reactions, Phase Changes, Heating and Gases

By FindMySum · Last reviewed

Entropy decides which way things go on their own. Ice melts in a warm room, gases spread to fill a container, and heat flows from hot to cold because each of these raises the total entropy of the universe. This entropy calculator works out the entropy change ΔS in seven common situations: a chemical reaction from tabulated standard molar entropies, a phase change, heating or cooling a substance, an ideal gas changing temperature and volume, mixing ideal gases, a reversible transfer of heat, and Boltzmann's statistical formula. Where the surroundings are part of the picture, it also adds their entropy change and tells you whether the second law allows the process.

The second law in one line

For any process, the entropy change of the universe is the sum of the system's change and the surroundings' change:

ΔS_universe = ΔS_system + ΔS_surroundings

If the total is positive the process is spontaneous; if it is zero the process is reversible, at equilibrium; if it is negative the process cannot happen on its own, though its reverse can. The surroundings usually behave as a large heat reservoir at constant temperature, so their entropy change is the heat they receive divided by their temperature. At constant pressure that heat is −ΔH of the system: ΔS_surroundings = −ΔH ÷ T.

Reaction entropy from standard molar entropies

Entropy has an absolute zero point (the third law), so tables give absolute standard molar entropies S° at 25 °C and 1 bar rather than entropies of formation. The reaction entropy is

ΔS°rxn = Σν·S°(products) − Σν·S°(reactants)

where ν is each species' coefficient. Elements in their standard states do not have S° = 0, unlike their enthalpies of formation. Type a balanced equation with states, such as N2(g) + 3H2(g) -> 2NH3(g). The calculator checks that it balances, looks up S° and ΔH°f for each species, and gives ΔS°, ΔH°, the entropy change of the surroundings at your temperature and ΔG° = ΔH° − TΔS°. For a species that is not in the table, add your own values after an @ sign: the formation enthalpy in kJ/mol, a comma, then S° in J/(mol·K).

Worked example: making ammonia

The calculator opens with the Haber process at 25 °C. With S° values of 191.6 J/(mol·K) for nitrogen, 130.7 for hydrogen and 192.8 for ammonia:

  • ΔS° = 2(192.8) − [191.6 + 3(130.7)] = −198.1 J/K per mole of reaction
  • ΔH° = 2(−45.9) = −91.8 kJ
  • ΔS_surroundings = 91 800 ÷ 298.15 = +307.9 J/K
  • ΔS_universe = −198.1 + 307.9 = +109.8 J/K, so the reaction is spontaneous
  • ΔG° = −91.8 − 298.15 × (−0.1981) = −32.7 kJ

Four moles of gas become two, so the system loses entropy, but the heat released raises the surroundings' entropy by more. Because both ΔH° and ΔS° are negative, the balance tips the other way at high temperature: ΔG° changes sign near ΔH° ÷ ΔS° = 463 K. Industrial plants still run hotter than that, around 400 to 450 °C, because the reaction is too slow when cold; high pressure and recycling make up for the poorer equilibrium.

Phase changes

Melting and boiling at the transition temperature happen reversibly, so ΔS = ΔH_transition ÷ T_transition. For water, the enthalpy of fusion of 6.01 kJ/mol at 273.15 K gives 22.0 J/(mol·K), and the enthalpy of vaporisation of 40.65 kJ/mol at 373.15 K gives 108.9 J/(mol·K). Many liquids have entropies of vaporisation near 85 to 88 J/(mol·K) (Trouton's rule); water's is higher because hydrogen bonds order the liquid.

The surroundings temperature is what decides the direction. Ice at 0 °C in a 10 °C room gains 22.0 J/K while the room loses 6010 ÷ 283.15 = 21.2 J/K, a net gain of 0.78 J/K, so the ice melts. Put the same ice in a −10 °C freezer and the freezer would have to lose 22.8 J/K: the total is negative and the ice stays frozen.

Heating and cooling

When a substance with a constant specific heat c is heated from T₁ to T₂,

ΔS = m·c·ln(T₂ ÷ T₁)

Heating 1 kg of water from 20 °C to 80 °C raises its entropy by 4184 × ln(353.15 ÷ 293.15) = 779.1 J/K. The calculator assumes the heat comes from a reservoir at the final temperature, as when you put a pot on a burner held at that temperature. The reservoir gives up 251 kJ at 353.15 K, losing 710.9 J/K, so the universe gains 68.2 J/K: heating with a finite temperature difference is irreversible. Temperatures must be in kelvin inside the logarithm; the calculator converts from Celsius or Fahrenheit for you.

Ideal gases and mixing

For n moles of ideal gas, the entropy change splits into a temperature part and a volume part:

ΔS = n·Cv·ln(T₂ ÷ T₁) + n·R·ln(V₂ ÷ V₁)

with Cv = 3/2 R for a monatomic gas and about 5/2 R for a diatomic gas near room temperature. Doubling the volume of a mole of gas at constant temperature adds R ln 2 = 5.76 J/K. Since entropy is a state function, the answer is the same for a slow reversible expansion and for a sudden free expansion into a vacuum; only the surroundings' share differs.

When ideal gases at the same temperature and pressure mix, each spreads into the whole volume:

ΔS_mix = −n_total·R·Σ xᵢ ln xᵢ

Every mole fraction is below one, so the result is always positive. Mixing a mole each of two gases gives 11.53 J/K.

Reversible heat and Boltzmann's formula

The two remaining modes are the definitions themselves. Clausius defined ΔS = q_rev ÷ T: 1000 J absorbed reversibly at 25 °C is 3.354 J/K, with an equal and opposite change in the reservoir. Boltzmann's S = k ln W connects that to counting: a system with 10²⁴ equally likely microstates has k × ln(10²⁴) = 1.380649 × 10⁻²³ × 55.26 = 7.63 × 10⁻²² J/K, or 459 J/(mol·K) per mole of such systems.

Limits

The calculator treats ΔH°, ΔS° and heat capacities as constant, which is reasonable over tens of degrees but not over hundreds. Standard entropies refer to 1 bar for gases and 1 mol/L for solutes; real reaction mixtures have different entropies, which the reaction quotient accounts for in ΔG = ΔG° + RT ln Q. Gases are ideal and mixtures ideal. The S° values come from the OpenStax Chemistry 2e appendix, which compiles the NBS/NIST tables; they are being checked against the NIST Chemistry WebBook. This page is about thermodynamic entropy; the information (Shannon) entropy of a password is a different quantity.

More questions

Who first defined entropy?

Rudolf Clausius introduced the word in 1865, defining a change in entropy as the heat absorbed reversibly divided by the absolute temperature. Ludwig Boltzmann later connected it to the number of microscopic arrangements, S = k ln W, the formula engraved on his tombstone in Vienna.

Is entropy the same as disorder?

Disorder is a useful picture but not a definition. Entropy counts how many microstates fit the same large-scale state, which usually means how widely energy and particles are spread. Some ordered-looking systems, such as liquid crystals forming on cooling, still raise the total entropy because they release heat to the surroundings.

Can entropy ever decrease?

The entropy of a system can fall: water freezing in a freezer or a cell building proteins both lower their own entropy. What can't fall is the entropy of the universe. The heat those processes release raises the entropy of the surroundings by more than the system loses.

What does the third law of thermodynamics say?

The entropy of a perfect crystal at absolute zero is zero. That gives entropy an absolute scale, which is why tables list absolute standard entropies S° rather than entropies of formation, and why every S° for a pure substance is positive.

Why do some ions have negative standard entropies?

Ion entropies in water are measured relative to the hydrogen ion, which is set to zero by convention. Small, highly charged ions such as Al³⁺ or Mg²⁺ order the water molecules around them so strongly that their entropy comes out below that of H⁺, so the tabulated value is negative.

How is entropy related to Gibbs energy?

At constant temperature and pressure, ΔG = ΔH − TΔS, and ΔG = −T·ΔS_universe. A negative ΔG and a positive entropy change of the universe say the same thing: the process is spontaneous. The Gibbs free energy calculator works from ΔH and ΔS to ΔG and the equilibrium constant.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy