Boyle's Law Calculator

P₁V₁ = P₂V₂ for a gas at constant temperature.

Boyle's Law Calculator

Any pressure unit, as long as P₂ uses the same one. Leave at 0 if solving for it.
Any volume unit, as long as V₂ uses the same one. Leave at 0 if solving for it.
Leave at 0 if this is the value you are solving for — it is ignored.
Leave at 0 if this is the value you are solving for — it is ignored.
Worked example result
Initial pressure (P₁)2.00000
Initial volume (V₁)3.00000
Final pressure (P₂)3.00000
Final volume (V₂)2.00000

Compressing a gas from 3 L to 2 L at constant temperature raises its pressure from 2 to 3 (in whatever pressure unit you started with).

Boyle's law says that for a fixed amount of gas at constant temperature, pressure and volume are inversely proportional: squeeze the volume in half and the pressure doubles.

Choose the value to solve for and enter the other three — leave the solved value at 0, it is ignored. Pressure and volume units just need to be consistent between state 1 and state 2.

The formula

P₁ × V₁ = P₂ × V₂ (constant temperature and amount of gas)

Worked example

Compressing a gas from 3 L to 2 L at constant temperature raises its pressure from 2 to 3 (in whatever pressure unit you started with).

The example is pre-loaded in the result panel — press Calculate with your own numbers to replace it.

Frequently asked questions

What must stay constant for Boyle's law?

Temperature and the amount of gas. If the gas heats up during compression, pressure rises more than Boyle's law predicts — use the ideal gas calculator for changing temperatures.

Do I need absolute or gauge pressure?

Absolute pressure. Gauge readings (like a tyre gauge) are relative to atmospheric pressure — add about 1 atm (101.3 kPa) to convert before calculating, if precision matters.

Category: Science calculators