Boyle's Law Calculator

Solve Boyle's law for one missing pressure or volume at constant temperature.

Reviewed by M Talha, BS Chemistry · Last checked

Leave one quantity blank

How to use this calculator

Solve Boyle's law for an unknown pressure or volume when temperature and the amount of gas stay constant. Enter three values, leave the unknown blank and review the formula substitution.

Calculation steps

  1. Enter any three of P1P_1, V1V_1, P2P_2 and V2V_2.
  2. Leave the quantity you want to calculate blank.
  3. Use one consistent pressure unit and one consistent volume unit.
  4. Calculate and check that the result follows the inverse pressure-volume relationship.

Formula and variables

P1V1=P2V2P_1V_1 = P_2V_2. At constant temperature the pressure and volume of a fixed amount of gas are inversely proportional. Rearranged: P1=P2V2V1P_1 = \frac{P_2V_2}{V_1}, V1=P2V2P1V_1 = \frac{P_2V_2}{P_1}, P2=P1V1V2P_2 = \frac{P_1V_1}{V_2} and V2=P1V1P2V_2 = \frac{P_1V_1}{P_2}.

Worked example

A gas occupies 10.0 L at 1.00 atm. At constant temperature, the pressure needed to reduce the volume to 5.0 L is P2=1.00 atm×10.0 L5.0 L=2.00 atmP_2 = \frac{1.00\ \text{atm} \times 10.0\ \text{L}}{5.0\ \text{L}} = 2.00\ \text{atm}.

Units and interpretation

Any consistent pressure unit and any consistent volume unit can be used because only ratios matter. Temperature does not appear in the equation, but it must remain constant during the change.

Common mistakes and limitations

Do not use Boyle's law when temperature or the amount of gas changes. Keep pressure units matched and volume units matched. Real gases deviate from the ideal relationship at high pressure or near condensation.

Frequently asked questions

What does Boyle's law state?

At constant temperature, the pressure of a fixed amount of gas is inversely proportional to its volume.

Why is temperature constant in Boyle's law?

The law isolates the pressure-volume relationship, so temperature and amount of gas must not change.

Can I use millilitres and atmospheres?

Yes, provided both volumes use millilitres and both pressures use the same pressure unit.

What happens to volume when pressure doubles?

At constant temperature, doubling the pressure halves the volume.

Does Boyle's law apply to real gases?

It is a good approximation at low pressure and moderate temperature but becomes less accurate as a gas approaches condensation.