Boyle's Law Calculator
Solve P1V1 = P2V2 for any unknown variable. Supports multiple pressure units (atm, kPa, mmHg, bar, psi) and volume units (L, mL, m³).
Quick Answer
P1V1 = P2V2 at constant temperature. Enter any 3 of P1, V1, P2, V2 to solve for the 4th.
Calculate
Select which variable to solve for, then enter the three known values.
About This Tool
The Boyle's Law Calculator solves the equation P1V1 = P2V2 for any one of the four variables: initial pressure (P1), initial volume (V1), final pressure (P2), or final volume (V2). This relationship describes how a gas behaves when compressed or expanded at constant temperature, making it one of the most practically useful gas laws in chemistry and physics. The calculator supports multiple unit systems for both pressure and volume, performing all conversions automatically behind the scenes.
Understanding Boyle's Law
Robert Boyle published his discovery in 1662 after conducting meticulous experiments with a J-shaped glass tube partially filled with mercury. He observed that when the pressure on a trapped volume of air was doubled, the volume was halved, and vice versa. This inverse proportionality between pressure and volume at constant temperature became known as Boyle's Law. In continental Europe, it is sometimes called the Boyle-Mariotte Law, as French physicist Edme Mariotte independently discovered the same relationship in 1676. The law can be expressed as PV = k (a constant) for a given amount of gas at a fixed temperature, or equivalently as P1V1 = P2V2 when comparing two different states.
Mathematical Derivation
Boyle's Law is a special case of the ideal gas law PV = nRT. When the number of moles (n) and temperature (T) are constant, the product nRT is a constant k, so PV = k. This means that for any two states of the same gas at the same temperature: P1V1 = nRT = P2V2. The law can be rearranged to solve for any unknown: V2 = P1V1/P2, or P2 = P1V1/V2. The relationship is hyperbolic; plotting pressure vs. volume produces a hyperbola, while plotting pressure vs. 1/volume produces a straight line through the origin.
Unit Conversions
One common pitfall in gas law calculations is mixing incompatible units. This calculator supports five pressure units (atm, kPa, mmHg, bar, psi) and three volume units (L, mL, m³). The conversion factors used are: 1 atm = 101.325 kPa = 760 mmHg = 1.01325 bar = 14.696 psi, and 1 L = 1000 mL = 0.001 m³. All inputs are converted to base units (atm and L) internally before the calculation is performed, and results are converted back to your selected output units.
Real-World Applications
Boyle's Law governs countless everyday phenomena and engineering applications. Scuba divers must understand it to avoid decompression sickness: as a diver ascends, the decreasing water pressure causes dissolved gases in the blood to expand. Syringes and vacuum pumps operate on Boyle's principle. In medicine, ventilators use pressure-volume relationships to inflate and deflate the lungs. Automotive engines compress fuel-air mixtures according to Boyle's Law during the compression stroke. Even the simple act of breathing involves Boyle's Law, as the diaphragm changes lung volume to create pressure differentials that draw in or expel air.
Limitations and Deviations
Boyle's Law assumes ideal gas behavior, which means it becomes inaccurate under certain conditions. At very high pressures (above approximately 10 atm for most gases), the volume of the gas molecules themselves becomes significant relative to the container volume, causing the actual volume to be larger than Boyle's Law predicts. At very low temperatures (near the boiling point of the gas), intermolecular attractive forces become significant, causing the actual volume to be smaller than predicted. The van der Waals equation (P + a/V²)(V - b) = nRT corrects for both effects using gas-specific constants a and b. For most laboratory and everyday conditions, however, Boyle's Law provides excellent accuracy.
Relationship to Other Gas Laws
Boyle's Law is one of several empirical gas laws that together form the ideal gas law. Charles's Law describes the volume-temperature relationship at constant pressure. Gay-Lussac's Law describes the pressure-temperature relationship at constant volume. Avogadro's Law relates volume to the amount of gas at constant temperature and pressure. The combined gas law merges Boyle's, Charles's, and Gay-Lussac's Laws into P1V1/T1 = P2V2/T2, and adding Avogadro's contribution gives the full ideal gas law PV = nRT. Understanding Boyle's Law is therefore foundational to mastering gas behavior in chemistry and physics.
Frequently Asked Questions
What is Boyle's Law?
When does Boyle's Law apply?
How do I use P1V1 = P2V2 to solve problems?
What are real-world examples of Boyle's Law?
What is the difference between Boyle's Law and the Ideal Gas Law?
Can Boyle's Law be used for liquids or solids?
Was this tool helpful?