Boyle's Law Calculator – P1V1 = P2V2 Solver for Pressure & Volume

Use this free Boyle's Law Calculator to solve any one value in P1V1 = P2V2 — the law linking the pressure and volume of a fixed mass of gas at constant temperature. Choose what to solve for, then enter the other three values in any consistent units.

P1, V1 squeeze P2 ↑, V2 ↓ temperature constant

Formula

Boyle's law P1V1 = P2V2 — for a fixed mass of gas at constant temperature, pressure is inversely proportional to volume. Rearranged: P2 = P1V1/V2 · V2 = P1V1/P2 · P1 = P2V2/V1 · V1 = P2V2/P1. Pressures must use one unit throughout (e.g. kPa) and volumes one unit throughout (e.g. litres).

How to use

Worked example

A gas at P1 = 100 kPa occupies V1 = 2 L. It is compressed to V2 = 1 L at constant temperature.
P2 = P1V1 / V2 = 100 × 2 / 1 = 200 kPa — halving the volume doubles the pressure.

FAQ

Why does squeezing a gas raise its pressure?
The same number of particles is packed into a smaller space, so they strike the walls more often, and each unit of area receives more collisions per second — that is pressure.

Does Boyle's law need kelvin?
No. Temperature does not appear in the formula at all — it just has to stay constant during the change. (Kelvin becomes essential only when temperature itself changes, as in the combined gas law.)

When does Boyle's law break down?
At very high pressures or low temperatures real gases deviate from ideal behaviour, because the particles' own volume and their attractions can no longer be ignored.