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.
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
- Pick the unknown from the "Solve for" drop-down.
- Enter the other three values — the box for the unknown can be left blank (it is ignored).
- Use the same pressure unit for P1 and P2, and the same volume unit for V1 and V2.
- Click "Solve" to get the missing value in the same unit as its partner.
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.