ScienceUpdated March 30, 2026

Boyle's Law Calculator Guide: Pressure & Volume Explained

By The hakaru Team·Last updated March 2026

Quick Answer

  • *Boyle's Law: P¹V¹ = P²V² — pressure and volume are inversely proportional at constant temperature.
  • *Double the pressure → volume halves. Halve the pressure → volume doubles.
  • *Works with any consistent pressure unit (atm, Pa, psi) and volume unit (L, mL, m³).
  • *Critical for scuba diving, medicine, engineering, and atmospheric science.

What Is Boyle's Law?

Boyle's Law is one of the foundational gas laws in chemistry and physics. Discovered by Anglo-Irish scientist Robert Boyle in 1662, it describes the relationship between the pressure and volume of a gas when temperature remains constant.

The law states: for a fixed amount of gas at constant temperature, pressure and volume are inversely proportional. As pressure increases, volume decreases by the same factor. As pressure decreases, volume increases.

According to the Royal Society of Chemistry (2024), Boyle's Law was one of the first quantitative laws in the history of science — Boyle published it in his 1662 work New Experiments Physico-Mechanicall, Touching the Spring of the Air, making it over 360 years old and still essential to modern science and engineering.

The Boyle's Law Formula

The standard formula is:

P&sub1; × V&sub1; = P&sub2; × V&sub2;

Where:

  • P&sub1; = initial pressure
  • V&sub1; = initial volume
  • P&sub2; = final pressure
  • V&sub2; = final volume

To solve for any one variable, rearrange the formula:

  • Find final volume: V&sub2; = (P&sub1; × V&sub1;) / P&sub2;
  • Find final pressure: P&sub2; = (P&sub1; × V&sub1;) / V&sub2;
  • Find initial volume: V&sub1; = (P&sub2; × V&sub2;) / P&sub1;

Step-by-Step Worked Examples

Example 1: Finding Final Volume

A gas occupies 4.0 L at a pressure of 1.0 atm. The pressure is increased to 2.0 atm at constant temperature. What is the new volume?

Using V&sub2; = (P&sub1; × V&sub1;) / P&sub2;:
V&sub2; = (1.0 atm × 4.0 L) / 2.0 atm
V&sub2; = 4.0 / 2.0
V&sub2; = 2.0 L

When pressure doubled, volume halved — exactly as Boyle's Law predicts.

Example 2: Finding Final Pressure

A gas at 3.0 atm occupies 500 mL. The volume is expanded to 1500 mL. What is the new pressure?

Using P&sub2; = (P&sub1; × V&sub1;) / V&sub2;:
P&sub2; = (3.0 atm × 500 mL) / 1500 mL
P&sub2; = 1500 / 1500
P&sub2; = 1.0 atm

Volume tripled, so pressure dropped to one third of the original.

Example 3: Real-World Scuba Diving

A scuba diver's lungs hold 6.0 L of air at the surface (1.0 atm). At a depth of 30 meters, pressure is approximately 4.0 atm. What volume does the same air occupy?

V&sub2; = (1.0 atm × 6.0 L) / 4.0 atm
V&sub2; = 1.5 L

The diver's lungs would compress to just 1.5 L at that depth without breathing compressed air. This is why scuba tanks deliver air at ambient pressure.

Unit Conversions for Boyle's Law

The formula works with any consistent units. The key rule: both sides must use the same pressure unit and the same volume unit. Never mix atm with Pa, or liters with gallons, within the same calculation.

Pressure UnitConversion to atmCommon Use
1 atm1.000 atmChemistry textbooks
101,325 Pa1.000 atmSI standard
101.325 kPa1.000 atmMeteorology
14.696 psi1.000 atmUS engineering
760 mmHg (Torr)1.000 atmMedical, vacuum work
1.01325 bar1.000 atmIUPAC standard
Volume UnitConversion to LitersCommon Use
1 L1.000 LGeneral chemistry
1 mL0.001 LLab measurements
1 m³1000 LIndustrial
1 cm³0.001 LSmall-scale lab
1 ft³28.317 LUS construction/HVAC

Top 5 Real-World Applications of Boyle's Law

1. Scuba Diving Safety

According to Divers Alert Network (DAN) (2024), pulmonary barotrauma — lung overexpansion injury — is one of the most serious diving accidents and is directly governed by Boyle's Law. As a diver ascends, trapped air expands. Holding your breath during ascent can rupture lung tissue. DAN reports roughly 1,000 decompression-related injuries in the US annually.

2. Syringe and Medical Devices

When you pull back a syringe plunger, you increase volume and decrease pressure below atmospheric. Fluid flows in to equalize. Push the plunger forward and Boyle's Law works in reverse: volume decreases, pressure increases, expelling the fluid. The same principle applies to ventilators, blood pressure cuffs, and respiratory therapy devices.

3. Breathing Mechanics

Your diaphragm contracting increases your chest cavity volume, lowering internal pressure below atmospheric. Air rushes in to equalize — that is inhalation. When your diaphragm relaxes, volume decreases, pressure rises above atmospheric, and air flows out. Breathing is Boyle's Law in continuous action. According to the American Lung Association (2025), the average adult breathes approximately 22,000 times per day, each breath governed by this relationship.

4. Tire Pressure and Altitude

At high altitudes, atmospheric pressure is lower. The air inside a tire remains at the same absolute pressure, but the differential between tire pressure and atmospheric pressure changes. The National Highway Traffic Safety Administration (NHTSA) (2023) reports that underinflated tires — which can result from altitude changes — contribute to approximately 11,000 tire-related crashes in the US annually.

5. Aerosol Cans and Gas Cylinders

Compressed gas cylinders store gas at high pressure in a small volume. As gas is released, internal pressure drops and volume effectively expands. Aerosol cans work on the same principle: propellant is compressed into a small can, and releasing the valve allows it to expand and push product out. The Compressed Gas Association (2024) reports that the US uses over 6 billion pressurized gas cylinders annually across medical, industrial, and consumer applications.

Boyle's Law vs. Other Gas Laws

Boyle's Law is one part of a family of gas laws. Knowing when to use each is important.

LawFormulaConstantUse When
Boyle's LawP&sub1;V&sub1; = P&sub2;V&sub2;Temperature (T)T doesn't change
Charles's LawV&sub1;/T&sub1; = V&sub2;/T&sub2;Pressure (P)P doesn't change
Gay-Lussac's LawP&sub1;/T&sub1; = P&sub2;/T&sub2;Volume (V)V doesn't change
Combined Gas LawP&sub1;V&sub1;/T&sub1; = P&sub2;V&sub2;/T&sub2;Moles (n)All three variables change
Ideal Gas LawPV = nRTNothingAbsolute values needed

Common Mistakes When Using Boyle's Law

Mixing Units

The most frequent error is mixing pressure units or volume units. If P&sub1; is in atm and P&sub2; is in kPa, the formula will give a wrong answer. Always convert to consistent units before calculating.

Forgetting the Temperature Constraint

Boyle's Law only holds at constant temperature. If a gas is heated or cooled while pressure changes, you must use the Combined Gas Law. Many textbook problems involve processes where temperature does change — using Boyle's Law there is a mistake.

Using Gauge Pressure Instead of Absolute Pressure

Tire gauges and many industrial gauges read gauge pressure — pressure above atmospheric. Boyle's Law requires absolute pressure. A tire reading 32 psi gauge is actually 32 + 14.7 = 46.7 psi absolute. Always convert gauge to absolute before applying the formula.

Applying Boyle's Law to Liquids

Boyle's Law applies to gases, not liquids. Liquids are essentially incompressible under normal conditions. If you are working with a hydraulic system or water, gas laws do not apply.

Solve any Boyle's Law problem instantly

Use the Free Boyle's Law Calculator →

Frequently Asked Questions

What is Boyle's Law in simple terms?

Boyle's Law states that for a fixed amount of gas at constant temperature, pressure and volume have an inverse relationship. When pressure doubles, volume halves. When pressure halves, volume doubles. The formula is P&sub1; × V&sub1; = P&sub2; × V&sub2;.

What units can I use with Boyle's Law?

You can use any pressure unit (atm, Pa, kPa, psi, mmHg, bar) and any volume unit (L, mL, m³, cm³, ft³) as long as you use the same unit consistently on both sides of the equation. Pressure units must match and volume units must match.

Why does Boyle's Law only apply at constant temperature?

Temperature affects the kinetic energy of gas molecules. At constant temperature, the only variables are pressure and volume. If temperature changes, you need the Combined Gas Law (P&sub1;V&sub1;/T&sub1; = P&sub2;V&sub2;/T&sub2;), which accounts for all three variables simultaneously.

How does Boyle's Law apply to scuba diving?

At 10 meters underwater, pressure is approximately 2 atm — double surface pressure. Air in a diver's lungs is compressed to half its surface volume. This is why divers must never hold their breath while ascending: expanding gas can rupture lung tissue (pulmonary barotrauma). Boyle's Law governs every breath a diver takes.

What is the difference between Boyle's Law and the ideal gas law?

Boyle's Law (P&sub1;V&sub1; = P&sub2;V&sub2;) is a special case of the ideal gas law (PV = nRT) where temperature and moles of gas remain constant. The ideal gas law is more general and handles situations where temperature or the amount of gas also changes.

Does Boyle's Law work for real gases?

Boyle's Law applies most accurately to ideal gases at low pressures and high temperatures. Real gases deviate from Boyle's Law at very high pressures or very low temperatures because intermolecular forces and the finite volume of gas molecules become significant. For everyday conditions, Boyle's Law is an excellent approximation.