CalcaTools

Boyle’s Law Calculator

Boyle's Law Calculator is a free online calculator that helps you work out boyle's law quickly and accurately, right in your browser.

Last updated: June 2026 · Free · No sign-up required

atm
L
atm
Results

Enter values above and click Calculate to see your result instantly.

Quick reference

If volume…Then pressure…
HalvesDoubles
DoublesHalves
x 1/3x 3
ConstantConstant (T fixed)

functions Shows the working, not just the answer

For students and teachers, the final number is only half the value. Every math tool here exposes the formula it applied, the intermediate steps, and the rounding rule, so you can follow along, check your homework, or use the answer in a proof or report with confidence.

calculate Accurate to the spec

Calculations use 64-bit floating point with sensible rounding for the domain (currency to 2 decimals, percentages to 4 decimals, algebra to 6 significant figures). Where exact rational arithmetic matters — fractions, factorials, simplification — we use a dedicated BigNumber path so 1/3 + 1/6 returns ½, not 0.49999.

school Free for classroom use

Educators are welcome to link to any math calculator on CalcaTools from a class site, Google Classroom, or worksheet. The pages are mobile-friendly, free, ad-supported (so we can keep them free) and have no sign-up wall — students just click and use them in class or at home.

tips_and_updates Pair with the spoke articles

Below the calculator we link a small set of plain-English explainer pages — "What is a percentage?", "Why does PEMDAS matter?", and so on. They cover the underlying concept in 4–6 short paragraphs. Read those before the calculator if the topic is new, or after if you want the extra context.

Interpretation guide

Solve forRearranged
P2P2 = P1 V1 / V2
V2V2 = P1 V1 / P2
ConditionTemperature and amount held constant

Formula & methodology

Formula: P1 V1 = P2 V2 (constant temperature and fixed amount of gas)

How Boyle's law works

At constant temperature, the pressure and volume of a fixed amount of gas are inversely proportional: squeeze the volume and the pressure rises in the same ratio.

Example

2.0 L of gas at 1.0 atm is compressed to 0.5 L at the same temperature. P2 = P1 V1 / V2 = (1.0 x 2.0) / 0.5 = 4.0 atm. The volume dropped to a quarter, so pressure rose four times.

Boyle's law explains how a syringe, a bicycle pump, and breathing work. It only holds when temperature stays constant; if temperature changes too, use the combined gas law.

Frequently asked questions

What is Boyle's law?
Boyle's law states that at constant temperature, the pressure and volume of a fixed amount of gas are inversely proportional: P1V1 = P2V2. If you halve the volume, the pressure doubles, and vice versa. It describes how gases respond to compression or expansion when temperature does not change.
How do you calculate Boyle's law?
Use P1V1 = P2V2 and solve for the unknown. To find a new pressure: P2 = P1V1/V2. To find a new volume: V2 = P1V1/P2. For example, compressing 2.0 L at 1.0 atm down to 0.5 L gives P2 = (1.0 x 2.0)/0.5 = 4.0 atm.
Why are pressure and volume inversely related?
Squeezing a gas into a smaller volume packs the molecules closer, so they strike the container walls more often, raising the pressure. Expand the volume and collisions become less frequent, lowering the pressure. With temperature fixed, the product of pressure and volume stays constant.
Does Boyle's law require constant temperature?
Yes. Boyle's law only holds when temperature and the amount of gas are constant. If the temperature also changes, you must use the combined gas law (P1V1/T1 = P2V2/T2), which accounts for the temperature effect along with the pressure-volume relationship.
What are real-life examples of Boyle's law?
Breathing (your diaphragm expands the lungs, lowering pressure so air flows in), a syringe (pulling the plunger increases volume and draws fluid), a bicycle pump (compressing air raises its pressure), and scuba diving (gas volume changes with depth pressure) all demonstrate Boyle's law in action.