Compute unknown pressure or volume for an ideal gas under isothermal conditions. Visualize the inverse pressure-volume relationship in real time.
Boyle's Law, named after physicist Robert Boyle (1662), states that for a fixed amount of an ideal gas kept at constant temperature, pressure and volume are inversely proportional. Mathematically, P₁V₁ = P₂V₂. This fundamental gas law is a special case of the Ideal Gas Law (PV = nRT) where temperature (T) and amount of substance (n) remain unchanged.
P ∝ 1/V → P·V = k (constant)
For two thermodynamic states: P₁ × V₁ = P₂ × V₂
Robert Boyle first published the law in 1662 based on experiments using a J-tube and mercury. Edme Mariotte later independently discovered the same relationship in 1676, leading to the law being occasionally called Mariotte's Law in Europe. The discovery laid the groundwork for the development of thermodynamics and the kinetic theory of gases. Modern validation comes from countless industrial and laboratory applications, from scuba diving decompression models to respiratory physiology.
The calculator uses Boyle's Law algebra: if P₂ is unknown and V₂ is provided, then P₂ = (P₁ × V₁) / V₂. Conversely, V₂ = (P₁ × V₁) / P₂. Input validation ensures non-zero positive values for volume and pressure (physical realism). The constant k = P₁ × V₁ is displayed. Additionally, the interactive graph plots the isothermal curve P(V) = k / V for a domain covering both state points, with adaptive scaling and padding. Altogether this provides an intuitive connection between the formula and the geometric representation.
| Field | Application Example | Boyle's Law Relevance |
|---|---|---|
| Diving Medicine | Decompression sickness prevention | As diver ascends, ambient pressure drops, volume of nitrogen in tissues expands. Tables rely on P₁V₁=P₂V₂. |
| Respiratory Therapy | Mechanical ventilation | During inhalation, thoracic volume increases → alveolar pressure decreases → air flows in. |
| Pneumatics | Air compressor tanks | Compressing air reduces volume, raising pressure for stored energy. |
| Aerosol Sprays | Propellant gas | Inside can, gas is compressed; when released expands, pushing product out. |
Consider a 10 mL syringe sealed at the tip. Initial state: P₁ = 1.0 atm, V₁ = 10 mL. When you push the plunger to reduce volume to 4 mL (isothermal, slow compression), Boyle's Law predicts new pressure P₂ = (1.0 × 10) / 4 = 2.5 atm. Our calculator verifies this: the force needed doubles. This principle is used in hydraulic systems and injection devices. The interactive graph shows the pressure spike along the hyperbolic curve.