Boyle's Law Calculator

Calculate final pressure or volume using Boyle's Law (P₁V₁ = P₂V₂). Supports kPa, atm, psi, bar, mmHg with isothermal work and compression ratio.

Presets

Final Volume V₂
5.0000 L
From Boyle's Law: P₁V₁ = P₂V₂
P₁V₁ Constant
1,013.25 kPa·L
Product of initial pressure × volume
Compression Ratio
2.000
V₁ / V₂ — ratio of volumes
Isothermal Work
-702.33 J
W = P₁V₁ ln(V₂/V₁) — work done by gas
P₁ (kPa)
101.33
Initial pressure in kPa
P₂ (kPa)
202.65
Known final condition

Volume Comparison

V₁=10.00 L
V₂=5.00 L

Pressure–Volume Table (constant T)

P (kPa)V (L)PV (kPa·L)Compression
25.3340.00001,013.250.25×
50.6620.00001,013.250.50×
101.3310.00001,013.251.00×
151.996.66671,013.251.50×
202.655.00001,013.252.00×
303.983.33331,013.253.00×
506.632.00001,013.255.00×
1,013.251.00001,013.2510.00×

Common Gas Pressure Conversions

UnitValue= 1 atm
kPa101.325= 1 atm
bar1.01325= 1 atm
psi14.696= 1 atm
mmHg (Torr)760= 1 atm
inHg29.921= 1 atm
Pa101325= 1 atm
Planning notes, formulas, and examples

About the Boyle's Law Calculator

**Boyle's Law Calculator** applies the foundational gas law P₁V₁ = P₂V₂, which states that for a fixed amount of gas at constant temperature, pressure and volume are inversely proportional. Enter any three of the four variables (P₁, V₁, P₂, V₂) and the calculator solves for the fourth, along with the compression ratio, isothermal work, and a pressure–volume table.

Robert Boyle published his observation in 1662, and it remains one of the most widely taught relationships in chemistry and physics. It applies to ideal gases and is a good approximation for real gases at moderate pressures and temperatures. Common applications include scuba diving (gas compression at depth), syringe mechanics, weather balloons, pneumatic systems, and engine compression analysis.

Choose a pressure unit (kPa, atm, psi, bar, mmHg), select a preset scenario, and explore the inverse PV curve in the reference table. The visual bar compares V₁ and V₂ at a glance. Keeping the solved variable, the units, and the curve together makes the inverse relationship easier to interpret without reworking the algebra by hand. It also makes it easier to compare one compression setup with another while keeping the constant-temperature assumption visible.

When This Page Helps

Boyle's law is easy to write down, but the inverse pressure-volume relationship is more intuitive when the selected units and the solved variable are shown together. This calculator is useful for quick checks, classroom work, and comparison of compression scenarios before you move on to a more detailed gas-model calculation. It also helps keep the unit choice visible when you move between kPa, atm, psi, bar, and mmHg.

How to Use the Inputs

  1. Choose whether to solve for final volume (V₂) or final pressure (P₂).
  2. Select a pressure unit from kPa, atm, psi, bar, or mmHg.
  3. Enter the initial pressure and volume.
  4. Enter the known final condition (P₂ or V₂).
  5. Read the result along with compression ratio and isothermal work.
  6. Explore the PV table to see how volume changes across a range of pressures.
Formula used
Boyle's Law: P₁V₁ = P₂V₂ (constant T, constant n) Compression Ratio: CR = V₁ / V₂ Isothermal Work: W = P₁V₁ ln(V₂/V₁)

Example Calculation

Result: V₂ = 5.0 L

Doubling the pressure at constant temperature halves the volume: 101.325 × 10 = 202.65 × 5.

Tips & Best Practices

  • Always use absolute pressure, not gauge pressure.
  • PV = constant only at constant temperature — for temperature changes, use the Combined Gas Law.
  • At 10 m underwater, total pressure ≈ 2 atm; at 20 m, ≈ 3 atm.
  • The isothermal work integral assumes quasi-static compression; real processes are less efficient.
  • 1 atm = 101.325 kPa = 14.696 psi = 760 mmHg = 1.01325 bar.

What Boyle's Law Assumes

Boyle's law is an ideal-gas relationship for a fixed amount of gas at constant temperature. That makes it useful for clean textbook problems, basic compression estimates, and many moderate-pressure situations where real-gas effects are still small.

Why The Inverse Relationship Matters

The law explains why reducing volume raises pressure so quickly in sealed systems. It is the core idea behind syringes, pistons, hand pumps, and many diving pressure intuitions.

Practical Limits

The relation becomes less reliable when temperature changes materially during compression or when the gas departs from ideal behavior. If the process is rapid, adiabatic effects can dominate and the final pressure may not match an isothermal estimate.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • At constant temperature and fixed amount of gas, pressure and volume vary inversely so that the product `PV` stays constant. If one goes up, the other must go down to preserve the same product.