How to Calculate PV Work- Thermodynamics Guide

What Is PV Work in Thermodynamics?

PV work happens when a system changes volume against an external pressure. It's one of the most fundamental concepts in thermodynamics, and if you don't understand it, you're going to struggle with everything that comes after.

When gas expands, it does work on its surroundings. When gas compresses, the surroundings do work on the system. That's it. The math just quantifies this relationship.

The PV Work Formula

For a closed system under constant external pressure, PV work is:

W = -PΔV

Where:

The negative sign is critical. It handles the direction of work automatically.

Sign Convention Explained

Work in thermodynamics has a specific sign convention that confuses beginners constantly:

If gas expands, ΔV is positive, so W becomes negative. That means the system lost energy doing work on the outside world.

Work for Different Thermodynamic Processes

The simple formula W = -PΔV only applies to constant pressure (isobaric) processes. Other processes require integration.

Constant Pressure Process

W = -Pext(V₂ - V₁)

Easy. Just plug in your numbers.

Variable Pressure Process

When pressure changes during the process, you need calculus:

W = -∫V₁V₂ P dV

This shows up constantly in real-world scenarios. The path matters—you can't just use initial and final states.

Isothermal Process (Constant Temperature)

For an ideal gas expanding or compressing at constant temperature:

W = -nRT ln(V₂/V₁)

Or equivalently:

W = -nRT ln(P₁/P₂)

Where n is moles of gas, R is the gas constant (8.314 J/mol·K), and T is temperature in Kelvin.

Adiabatic Process (No Heat Exchange)

Adiabatic work is trickier. The work done equals the change in internal energy:

W = ΔU = nCvΔT

For an ideal gas, this gives you work without needing to track heat transfer separately.

Comparing Work Calculations Across Process Types

Process Work Formula Key Condition
Isobaric (constant P) W = -PΔV Pressure stays fixed
Isothermal (constant T) W = -nRT ln(V₂/V₁) Temperature stays fixed
Adiabatic (no Q) W = nCvΔT No heat exchange
Free expansion W = 0 No external resistance
Reversible process W = -∫PdV System always at equilibrium

How to Calculate PV Work: Step-by-Step

Let's work through a real example. No hand-waving.

Problem

2 moles of ideal gas expand from 10 L to 30 L against a constant external pressure of 1.5 atm at 300 K. Calculate the work done.

Step 1: Identify Your Process Type

Constant external pressure means this is an isobaric process. Use W = -PΔV.

Step 2: Convert Units

Pressure is in atm, volume is in L. Convert everything to SI units (Pascals and m³) or keep it consistent and cancel units properly.

1 atm = 101,325 Pa
1 L = 0.001 m³

P = 1.5 atm × 101,325 = 151,988 Pa
ΔV = (30 - 10) L = 20 L = 0.020 m³

Step 3: Plug Into the Formula

W = -PΔV
W = -(151,988 Pa)(0.020 m³)
W = -3,040 J

Step 4: Interpret the Sign

The work is -3,040 J. The negative sign tells you the system did 3,040 J of work on the surroundings. Energy left the system.

Common Mistakes That Will Cost You Points

PV Diagrams and Work

On a PV diagram, the work done equals the area under the curve. This visual representation makes things clearer:

For a constant pressure process, this area is just a rectangle: P × ΔV. For curved paths, you're estimating area under a curve—which is where integration comes in.

Units You'll Encounter

Unit Equivalent Notes
Joule (J) Pa·m³ SI unit for work/energy
kilojoule (kJ) 1000 J Common for larger systems
atm·L 101.325 J Useful for gas expansion problems
calorie 4.184 J Legacy unit, still shows up sometimes

The First Law Connection

PV work doesn't exist in isolation. It connects to the First Law of Thermodynamics:

ΔU = Q - W

Where ΔU is change in internal energy, Q is heat added to the system, and W is work done by the system.

This means energy conservation applies to your PV work calculations. If you know heat and work, you can find the change in internal energy. If you know the internal energy change and heat, you can solve for work.

For an isothermal process with an ideal gas, ΔU = 0, so Q = W. All the heat going in becomes work going out.

Quick Reference: When to Use Which Formula

Bottom Line

PV work is work done through volume change against pressure. The sign tells you direction. The formula depends on whether pressure is constant. For constant pressure, it's W = -PΔV. For variable pressure, you integrate. Know your process type before you start solving.

Units matter. Sign conventions matter. The negative sign isn't optional—it's the whole point.