Work Done by and on a Gas: W = pΔV | Cambridge A Level Physics notes
Free preview: Work Done by and on a Gas: W = pΔV
A Gas Pushing a Piston
Watch: 90-second explainer
A gas pushes on every surface it touches. If one of those surfaces can move, like a piston in a cylinder, the gas can push it along and do work. Work is done whenever a force moves its point of action through a distance in the direction of the force.

Following the diagram
- The left panel shows gas at pressure p in a cylinder. A piston of cross-sectional area A closes one end.
- The gas pushes the piston with a force F = pA (pressure is force per unit area).
- The piston moves outwards a distance s, from the dashed position to the solid one. The pressure stays constant while it moves.
- The work done by the gas is force × distance: W = Fs = pAs.
- As is the extra volume swept out by the piston, so As = ΔV, the increase in volume. That gives W = pΔV.
- The right panel is a graph of pressure against volume. At constant pressure it is a horizontal line from V₁ to V₂. The shaded rectangle under it has area p × (V₂ − V₁) = pΔV: the work done.
- = work done when the volume changes, in joules (J)
- = pressure of the gas, in pascals (Pa = N m⁻²), which must stay constant
- = change in volume, in m³
ℹ️ The condition
W = pΔV is only exact when the pressure is constant during the change. If the pressure changes, the work done is still the area under the p–V graph, but you have to find the area of a curved shape (for example by counting squares).
Work Done by the Gas or on the Gas?
The direction of the change decides who does the work.
| Change | What happens | Who does work |
|---|---|---|
| Expansion (V increases) | The gas pushes the piston out. The gas uses some of its energy to do this. | Work is done by the gas on the surroundings. |
| Compression (V decreases) | Something outside pushes the piston in, against the gas pressure. | Work is done on the gas by the surroundings. |
- When a gas expands, it transfers energy to the surroundings by doing work. If no energy comes in by heating, its internal energy falls and it cools. This is why gas escaping from a spray can feels cold.
- When a gas is compressed, energy is transferred to it by the work done on it. If no energy leaves by heating, its internal energy rises and it warms up. This is why a bicycle pump gets warm.
📝 Be clear which one
Exam answers often lose marks by saying 'work done' without saying by or on the gas. The Cambridge first law, ΔU = q + W, uses W = work done on the gas. So for an expansion, W in the first law is negative: W = −pΔV with ΔV positive.
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in The First Law of Thermodynamics
- Work Done by and on a Gas: W = pΔV
- The First Law of Thermodynamics: ΔU = q + W
- Move Up a Grade: A Level Thermal Physics and Ideal Gases
- Tricky Bits: A Level Thermal Physics and Ideal Gases
Video
What's inside for this topic
4 teacher notes, 113 practice questions, 6 flashcards, 7 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Next note: The First Law of Thermodynamics: ΔU = q + W