Physics & Mechanics

Boyle's Law Calculator

Calculate changes in the pressure and volume of an ideal gas at a constant temperature. Instantly solve for initial or final states.

Pa
L
Pa
Final Volume (V₂)
5

Calculated locally in your browser. Fast, secure, and private.

Pressure vs. Volume

Discovered by Robert Boyle in 1662, Boyle's Law is a fundamental experimental gas law that describes the inversely proportional relationship between the absolute pressure and volume of a gas, provided the temperature and the amount of gas remain perfectly constant.

The law simply states that if you squeeze a gas into half the space (decreasing its volume), its pressure will exactly double. Conversely, if you allow a gas to expand into a larger container, its pressure will drop.

The Mechanics of Breathing

You use Boyle's Law every single second of your life to breathe:

  • Inhalation: Your diaphragm flexes downward, physically expanding the volume ($V$) of your chest cavity. According to Boyle's law, this increase in volume causes a decrease in pressure ($P$) inside your lungs. Because the pressure in your lungs is now lower than the atmospheric pressure outside, air violently rushes in through your mouth to equalize it.
  • Exhalation: Your diaphragm relaxes, shrinking your chest cavity. The volume decreases, the internal pressure skyrockets above atmospheric pressure, and the air is pushed out.
  • Deep Sea Diving: If a diver takes a full breath of compressed air at $30$ meters deep (where pressure is 4x higher) and holds their breath while swimming up, the decreasing external pressure will cause the air inside their lungs to expand massively according to Boyle's law, potentially rupturing their lungs.

The Formula

P1V1=P2V2\begin{aligned} P_1 \cdot V_1 = P_2 \cdot V_2 \end{aligned}

Where:
P1P_1=
Initial Pressure
V1V_1=
Initial Volume
P2P_2=
Final Pressure
V2V_2=
Final Volume

Example Calculation

A sealed syringe contains $10 , \text{Liters}$ of gas at exactly $100,000 , \text{Pa}$ ($1 , \text{atm}$). You forcefully push the plunger down until the volume is reduced to just $2 , \text{Liters}$.

  1. Multiply Initial State ($P_1 \cdot V_1$): $100,000 \cdot 10 = 1,000,000$.
  2. Divide by New Volume ($V_2$): $1,000,000 / 2 = 500,000 , \text{Pa}$.

The new pressure is $500,000 , \text{Pa}$ ($5 , \text{atm}$). Because you compressed the gas into 1/5th of its original space, the pressure increased by exactly 5 times.

Frequently Asked Questions

If the temperature changes, the kinetic energy of the gas molecules changes, meaning they will strike the walls of the container harder or softer, entirely skewing the pure relationship between pressure and volume. When temperature is allowed to change, you must use the Combined Gas Law instead.

No, Boyle's Law applies exclusively to gases. Liquids are virtually incompressible. If you fill a syringe with water and try to push the plunger while blocking the end, the volume will not decrease and the pressure will simply spike until the plastic shatters.

As a balloon ascends, the atmospheric pressure outside of it steadily drops. According to Boyle's law, as the external pressure ($P$) drops, the volume ($V$) of the trapped helium expands. Eventually, the balloon stretches so much that the rubber fails and bursts.