Heat & Thermodynamics

Reversible Isothermal Ideal Gas Work Calculator

Calculate reversible expansion/compression work and matching heat transfer for an ideal gas held at constant temperature.

How the calculation works

Work done by gas = moles*8.31446261815324*temperature*log(final_volume/initial_volume) J. Internal energy change = 0 J.

Worked example

Example inputs — Gas amount (mol): 1; Constant absolute temperature (K): 300; Initial volume (litres): 10; Final volume (litres): 20. Expected results — Work done by gas: 1728.943896 J; Internal energy change: 0 J.

Assumptions and limits

Idealized thermal model using the supplied material properties. Values depend on actual temperatures and conditions; no equipment rating, burn protection or building compliance is established. Reversible quasi-static ideal-gas process. Positive work denotes expansion by the gas; an actual rapid or irreversible expansion need not follow this work relation.

Reference and further reading

Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.

Related calculators

Browse all 1000 calculators →

Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.