← All tools/Calculators/Chemistry/Boyle’s Law Calculator
Boyle’s Law Calculator
Find the missing pressure or volume when a gas is squeezed or expanded at constant temperature.
The missing value
Final volume at 4 atm · Boyle’s constant P₁V₁ = 10 atm·L
How it works
P₁V₁ = P₂V₂ (temperature and amount of gas constant) V₂ = P₁V₁ ÷ P₂ · P₂ = P₁V₁ ÷ V₂
A gas at P₁ = 2 atm and V₁ = 5 L is compressed to P₂ = 4 atm. Boyle’s law: V₂ = P₁V₁ ÷ P₂ = (2 × 5) ÷ 4 = 10 ÷ 4 = 2.5 L. The volume halves because the pressure doubled. Boyle’s constant is P₁V₁ = 2 × 5 = 10 atm·L.
Frequently asked questions
What does Boyle’s law actually say?
At a fixed temperature, the pressure and volume of a fixed amount of gas are inversely proportional: squeeze the volume in half and the pressure doubles. P₁V₁ = P₂V₂ is the whole law — the product of pressure and volume never changes.
Which value can I solve for?
Any one of the four, as long as you know the other three. Pick “Final volume” or “Final pressure” above, and the calculator works out the missing one. The temperature and the amount of gas must stay the same.
Do the units matter?
Only that they match on both sides: pressure in atm on both sides, volume in litres on both sides, or any other consistent pair (kPa with m³, psi with ft³). Mixing atm with kPa would give a wrong answer.
What is Boyle’s constant?
The product P×V for the gas in its starting state. Because P₁V₁ = P₂V₂, that product stays the same before and after the change — it is shown under the answer so you can check your own working.
More tools
Tell us what you think
Loving this tool, or stuck on something? Tell us — it takes a minute.
We’ll only use your name and email to reply if needed. The tool and page are filled in for you.