How to Find Work from a PV Diagram

Read a pressure-volume diagram to calculate work along a path or around a cycle, use the arrows to find the sign, and convert graph area to joules.

Updated . Sources

On this page

On a pressure-volume (PV) diagram, use the pressure opposing the gas to find work. The area under one expansion or compression leg gives the magnitude of work for that leg, and the area inside a simple closed loop gives the magnitude of net work. Follow the arrows to assign the sign for work by the gas or work on it.

Take the gas as your system and start with pressure, volume, and the direction of motion. For a quick review of why the route matters, see thermodynamic systems and state functions.

Work from a PV diagram

Pressure is on the vertical axis and volume is on the horizontal axis. Think of a gas pushing a piston. The same piston travel gives the same volume change. Against a higher opposing pressure, the gas must push harder and does more work.

At constant external pressure, the area under the path is a rectangle. In the chemistry convention, the work on the gas is

w=−PextΔV,w=-P_{\mathrm{ext}}\Delta V,

Here PextP_{\mathrm{ext}} is the pressure opposing the piston and ΔV=Vf−Vi\Delta V=V_f-V_i. For a slow process in which gas pressure stays in near balance with that opposing pressure, you can read the gas-pressure curve. This is the quasistatic approximation.

When pressure changes, add the contributions along the path using w=−∫pathPext dVw=-\int_{\mathrm{path}}P_{\mathrm{ext}}\,dV. For a single leg, measure the area down to P=0P=0, even if the graph starts above zero. For a straight sloping leg, use the average of the two end pressures times the width. For a curved leg, add up thin strips. Pressure times volume has energy units: 1 Pa m3=1 J1\,\mathrm{Pa\,m^3}=1\,\mathrm{J} and 1 kPa L=1 J1\,\mathrm{kPa\,L}=1\,\mathrm{J}.

For a straight path that rises during expansion, split the trapezoid into a rectangle and a triangle. The rectangle accounts for the starting pressure across the entire volume change. The triangle accounts for the pressure increase and contributes half its height times its width. Together they give the same area as the average endpoint pressure times the volume change. If the path curves above the straight line between those endpoints, the gas pushes against higher pressure at intermediate volumes and does more work. Averaging the endpoint pressures would miss that extra area.

Net work in a cycle

A clockwise rectangular loop runs from 1 to 3 L and 100 to 150 kPa. The gas expands along the top and compresses along the bottom. The shaded area represents 100 J of net work done by the gas. A clockwise rectangular pressure-volume cycle runs between 1 and 3 liters and 100 and 150 kilopascals. Its enclosed area is 100 joules. 100125150 123 Volume (L)Pressure (kPa) Enclosed area= net work Clockwise cycle
A quasistatic clockwise rectangular cycle spans 1 to 3 L and 100 to 150 kPa. Its enclosed area is 100 J of net work done by the gas.

Follow the arrows. The gas expands at 150 kPa150\,\mathrm{kPa} and compresses at 100 kPa100\,\mathrm{kPa} over the same 2 L2\,\mathrm{L} span. The vertical legs contribute zero PV work because the piston stays put. The expansion delivers more work than the compression takes back, so subtract the smaller area from the larger one. The difference is the shaded rectangle, (150−100) kPa×2 L=100 J(150-100)\,\mathrm{kPa}\times 2\,\mathrm{L}=100\,\mathrm{J}.

For this clockwise loop, the gas does 100 J100\,\mathrm{J} of net work and work on the gas is −100 J-100\,\mathrm{J}. Trace the same loop counterclockwise and the signs reverse because the high-pressure leg becomes compression.

Worked example with two piston paths

Work signs and common traps

On the MCAT, check who does the work before assigning a sign. The work done by the gas and the work done on it have opposite signs.

Process Work by the gas Work on the gas (ww)
Expansion against positive pressure Positive Negative
Compression against positive pressure Negative Positive
Constant volume Zero Zero
Free expansion into a vacuum Zero Zero
  • Check which pressure the graph shows. A gas expanding freely into a vacuum starts with a positive gas pressure. The opposing pressure is zero, so the PV work is zero.
  • Check the units of the graph feature. Area in kPa L\mathrm{kPa\,L} gives joules. Slope in kPa/L\mathrm{kPa/L} tells you how pressure changes with volume.
  • Check what returns to its starting value. A cycle has ΔU=0\Delta U=0 because the gas returns to its initial state. Work depends on the route, so a cycle can still transfer energy as net work.

For how pressure-volume work fits into energy conservation, continue to the first law of thermodynamics.

Study the whole MCAT with Wizeprep

Try sample video lessons, AAMC-style practice passages and a practice test for free.

Get Started for Free