Model reversible isothermal paths for ideal gases. Enter moles and temperature, then pick input mode. Get work, sign, and conversions in one place fast.
For a reversible isothermal process of an ideal gas: W = n R T ln(V₂/V₁). Using PV = nRT at constant T, the ratio can also be written as V₂/V₁ = P₁/P₂, so: W = n R T ln(P₁/P₂).
This calculator reports work based on your sign convention selection.
| # | n (mol) | T (K) | V₁ (L) | V₂ (L) | ln(V₂/V₁) | W by gas (J) |
|---|---|---|---|---|---|---|
| 1 | 1.00 | 300 | 1.0 | 2.0 | 0.6931 | 1728 |
| 2 | 0.50 | 350 | 5.0 | 3.0 | -0.5108 | -743 |
| 3 | 2.00 | 290 | 10.0 | 10.0 | 0.0000 | 0 |
An isothermal process holds temperature constant while pressure and volume change. For an ideal gas, constant temperature implies constant internal energy, so the energy transfer is expressed through boundary work and heat flow. In reversible paths, pressure remains well-defined at each step, enabling accurate integration.
Reversible isothermal work comes from the area under the P–V curve. Using P = nRT/V, the integral becomes W = ∫(nRT/V) dV, which evaluates to W = nRT ln(V₂/V₁). This logarithmic dependence makes ratios more important than absolute values.
At constant temperature, the ideal gas law gives P₁V₁ = P₂V₂. Therefore, V₂/V₁ = P₁/P₂, and the same work can be computed from W = nRT ln(P₁/P₂). This option is helpful when your experiment records only pressures.
Many physics texts take “work done by the gas” as positive during expansion. In that convention, V₂ > V₁ produces a positive logarithm and positive work. If you select “work done on the gas” as positive, the calculator flips the sign to match thermodynamics conventions in some courses.
The calculator converts temperature to kelvin and supports common pressure and volume units. Results are reported in joules, with convenient conversions to kilojoules, megajoules, and watt-hours. When comparing scenarios, keep n in moles and R in joules per mole-kelvin for consistency.
The formula applies to ideal-gas behavior and a reversible isothermal path. Real gases may deviate at high pressures or very low temperatures, and rapid processes can be non-reversible. If the process is not quasi-static, measured boundary work can differ from the reversible prediction.
The logarithm requires positive ratios, so inputs must be positive after unit conversion. If V₂ equals V₁ (or P₁ equals P₂), the ratio is one and the work is zero. Verify that initial and final states match the same gas sample and temperature.
For documentation, include the selected input mode, the ratio used, and the sign convention. Export the table to CSV for spreadsheets or generate a PDF for lab notebooks. These outputs help reviewers reproduce the calculation and confirm that the correct reversible isothermal model was applied.
Yes. The logarithmic work expression comes from integrating along a reversible isothermal path. Irreversible expansions can yield different boundary work even when the initial and final states match.
For an ideal gas at constant temperature, pressure varies as 1/V. Integrating P dV over that curve produces a natural logarithm of the volume ratio.
Use pressure mode when you know P₁ and P₂ more reliably than volumes. At constant temperature, V₂/V₁ = P₁/P₂, so the work remains consistent.
Enter the value with the correct unit selector. The calculator converts to kelvin internally before computing work, ensuring compatibility with R in joules per mole-kelvin.
With “work by gas positive,” compression gives V₂/V₁ < 1 and a negative logarithm. If you choose “work on gas positive,” the sign flips to match that convention.
Yes. The default is the universal gas constant in SI units. You may adjust R if your coursework specifies a rounded constant, but keep it consistent with kelvin and joules.
For an ideal gas, internal energy depends only on temperature. If temperature is constant, ΔU = 0, so heat transfer equals work in magnitude, with signs depending on convention.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.