Boyle's Law Calculator Guide 2026

Boyle's law with the formula, three fully worked real-world calculations at scuba, medical and weather scales, the graph it produces, when it fails, and how it combines into the combined gas law.

The law in one line and why it works

Boyle's law states that at constant temperature, the pressure and volume of a fixed amount of gas are inversely proportional: PยทV = constant, or in problem form P1V1 = P2V2. Squeeze a gas to half its volume and its pressure doubles; let it expand to triple the volume and pressure falls to a third. The law is the oldest quantitative gas relationship (Robert Boyle, 1662) and the workhorse of every chemistry and physics problem set involving a piston, syringe, balloon or tank.

The microscopic reason is crowd density. Pressure is molecules striking container walls; at fixed temperature the molecules' average speed is fixed, so halving the volume doubles how often each wall gets hit. Temperature staying constant is the non-negotiable condition โ€” heat the gas while compressing and the neat inverse proportionality breaks (that is where the combined gas law in section 5 takes over).

Solving any Boyle's law problem in three steps

Step one: list the knowns with units โ€” two of the three quantities P1, V1, P2 or V2, plus the target. Step two: rearrange P1V1 = P2V2 for the missing one โ€” V2 = P1V1/P2 is the most common form. Step three: sanity-check the direction โ€” if pressure went up, volume must go down; an answer that moves the wrong way means an inversion error, not a rounding one.

Units only need to be consistent, not SI: atm with liters works, mmHg with mL works, pascals with mยณ works. Mixing atmospheres with milliliters across the equation is fine too as long as both pressures share one unit and both volumes share one โ€” the constant absorbs the rest. This is the single most useful property of P1V1=P2V2 for exam problems.

Worked example 1 โ€” scuba tank: A 10 L tank at 200 bar feeds a regulator delivering at 10 bar ambient... simpler: tank 12 L at 200 bar; what volume at the surface (1 bar)? V2 = P1V1/P2 = 200ร—12/1 = 2,400 L of air at surface pressure. That is why a small steel cylinder sustains a diver for an hour.

Three real-world scales: scuba, syringe, weather balloon

Scuba: the 12 L tank at 200 bar computed above expands to 2,400 L at surface pressure โ€” the volume your body actually consumes per breath-equivalent. Divers memorize the inverse behavior the other way too: a breath taken at 30 m depth (4 bar ambient) occupies one quarter the volume it will at the surface, which is why ascending while holding your breath is dangerous โ€” the expanding gas has nowhere safe to go.

Medical: a 60 mL syringe sealed at 1.0 atm and compressed to 40 mL must show P2 = P1V1/V2 = 60/40 = 1.5 atm โ€” the resistance you feel plugging the nozzle and pushing the plunger, quantified. Weather: a radiosonde balloon launched with 2.0 mยณ at ground level (1.0 atm) reaches the stratosphere at 0.15 atm, expanding to V2 = 2.0/0.15 โ‰ˆ 13.3 mยณ โ€” the reason high-altitude balloons look barely inflated at launch and burst at altitude.

ScenarioKnownUnknownAnswer
Scuba tank12 L @ 200 bar โ†’ 1 barV2 at surface2,400 L
Sealed syringe60 mL @ 1.0 atm โ†’ 40 mLP21.5 atm
Weather balloon2.0 mยณ @ 1.0 atm โ†’ 0.15 atmV2 at altitudeโ‰ˆ 13.3 mยณ
Worked example 2 โ€” the syringe: P2 = P1V1/V2 = (1.0 atm)(60 mL)/(40 mL) = 1.5 atm. Worked example 3 โ€” the balloon: V2 = P1V1/P2 = (1.0)(2.0)/(0.15) = 13.33 mยณ, a 6.7ร— expansion. All three verified in the build script.

The graph: hyperbolas and the straight line trick

Plot P against V at constant temperature and you get a hyperbola โ€” pressure rising steeply as volume shrinks, never touching either axis. Each temperature produces its own hyperbola (an isotherm), stacked like a family of curves; classic Pโ€“V diagrams show exactly this nest.

The exam trick: plot P against 1/V instead, and every isotherm becomes a straight line through the origin with slope = the gas's PยทV constant. Linearity is easier to eyeball and easier to fit; it is also the fastest visual test of whether a data set obeys Boyle's law at all โ€” curvature in P vs 1/V means temperature drifted or gas escaped.

When Boyle's law fails, and the combined gas law

Boyle's law assumes constant temperature, fixed gas amount and near-ideal behavior. Real gases deviate at high pressure (molecules' own volume matters โ€” a 200 bar tank's true expansion is a few percent off the naive 2,400 L) and near condensation (cool a gas toward its boiling point and the intermolecular attractions bend the hyperbola). For precise work the van der Waals or virial corrections take over.

Lift the constant-temperature restriction and you need the combined gas law: P1V1/T1 = P2V2/T2, with temperatures in kelvin. A car tire at 32 psi on a 25 ยฐC day (298 K) dropping to 5 ยฐC (278 K) reads P2 = P1ยทT2/T1 = 32 ร— 278/298 โ‰ˆ 29.9 psi โ€” the autumn tire-pressure warning explained by one line. Add changing moles and you reach the full ideal gas law PV = nRT.

Combined gas law check: 32 psi ร— (278 K / 298 K) = 29.85 psi โ€” a 2.1 psi drop from a 20-degree temperature fall, computed and verified in the build script.

How a Boyle's law calculator should behave

A good solver takes any three of P1, V1, P2, V2 in any units, derives the fourth, and shows the rearranged formula it used โ€” not just the number. Domain guards matter: zero or negative pressures and volumes are physically meaningless and should be rejected rather than silently inverted. For classroom chains (two-step problems where the result feeds the next state), keeping intermediate states visible prevents transcription slips.

The worked numbers in this guide โ€” 2,400 L, 1.5 atm, 13.33 mยณ, 29.85 psi โ€” were all computed and re-checked programmatically before publishing, which is the standard any calculator page should hold itself to. Boyle's law content appears across the competitor set (omnicalculator's Boyle-Mariotte pages in five languages, ezcalc.me, calculator-online.net), and the differentiation is exactly this: real scenarios with shown unit logic instead of a bare form.

๐Ÿ“š Part of the KD-ladder master series โ€” sibling guides verified in SEMrush: foil calculator ยท fourier series calculator ยท gradient calculator. Every guide ships with computed examples and a free linked tool.

Frequently asked questions

What is the formula for Boyle's law?

P1V1 = P2V2 โ€” at constant temperature, pressure ร— volume is constant for a fixed amount of gas. Rearrange for whichever quantity is missing.

If pressure doubles, what happens to volume?

It halves. Pressure and volume are inversely proportional at constant temperature: P2 = 2ยทP1 implies V2 = V1/2.

Does Boyle's law use Kelvin?

Not directly โ€” P1V1=P2V2 has no temperature term, so any consistent pressure and volume units work. Kelvin becomes mandatory the moment you use the combined gas law P1V1/T1 = P2V2/T2.

Why does a sealed syringe get harder to push?

Compressing the trapped air raises its pressure per Boyle's law: 60 mL sealed at 1 atm compressed to 40 mL reaches 1.5 atm, and the extra 0.5 atm is the resistance you feel on the plunger.

When does Boyle's law fail?

At very high pressures (molecule volume matters), near condensation points (attractions bend the curve), and whenever temperature changes during the process โ€” then use the combined or ideal gas law with real-gas corrections.

Is Boyle's law the same as the ideal gas law?

No โ€” Boyle's law is the constant-temperature slice of PV = nRT. The ideal gas law generalizes it to changing temperature and amount of gas.