Boyle's Law Calculator Formula

Understand the math behind the boyle's law calculator. Each variable explained with a worked example.

Formulas Used

Final Volume

v2 = p1 * v1 / p2

Variables

VariableDescriptionDefault
p1Initial Pressure(atm)1
v1Initial Volume(L)10
p2Final Pressure(atm)2

How It Works

Boyle's Law

At constant temperature, the pressure and volume of a gas are inversely proportional.

Formula

P1 * V1 = P2 * V2

If you compress a gas (decrease volume), its pressure increases proportionally.

Worked Example

A gas at 1 atm and 10 L is compressed to 2 atm.

p1 = 1v1 = 10p2 = 2
  1. 01P1 * V1 = P2 * V2
  2. 021 * 10 = 2 * V2
  3. 03V2 = 10 / 2
  4. 04V2 = 5 L

Ready to run the numbers?

Open Boyle's Law Calculator