Home › Calculators › Boyle's Law Calculator

Boyle's Law Calculator

Solve Boyle's law P₁V₁ = P₂V₂ for any one missing pressure or volume. Choose your pressure and volume units, tick the gauge box for tire or tank readings, and get the answer with step-by-step working, the pressure–volume curve and the isothermal work.

Last updated:

Solve for
Initial state (1)
Final state (2)
Enter your values to see the result.
Advertisement
Advertisement

How to use the Boyle's Law Calculator

  1. Choose what to solve for: P₁, V₁, P₂ or V₂.
  2. Select the units for pressure and volume.
  3. Tick gauge pressure if your numbers come from a tire, tank or compressor gauge.
  4. Enter the three known values.
  5. Press Solve to see the answer, the steps and the pressure–volume curve.

Boyle's law formula and rearrangements

UnknownFormulaExample
Final volume V₂V₂ = P₁V₁ ÷ P₂1 atm × 10 L ÷ 2.5 atm = 4 L
Final pressure P₂P₂ = P₁V₁ ÷ V₂101.3 kPa × 60 mL ÷ 20 mL = 304 kPa
Initial volume V₁V₁ = P₂V₂ ÷ P₁2 bar × 3 L ÷ 1 bar = 6 L
Initial pressure P₁P₁ = P₂V₂ ÷ V₁760 mmHg × 1 L ÷ 2 L = 380 mmHg

The graph of pressure against volume at a constant temperature is a hyperbola called an isotherm: every point on it has the same product P·V. The work done by the gas as it moves along the isotherm is W = P₁V₁ · ln(V₂ ÷ V₁), using absolute pressure in pascals and volume in cubic meters to get joules.

Pressure units

1 atm = 101.325 kPa = 1.01325 bar = 14.696 psi = 760 mmHg = 760 Torr = 29.92 inHg. Gauge pressure = absolute pressure − atmospheric pressure, so a tire at 32 psi gauge holds about 46.7 psi absolute.

Tips

  • Let the gas return to its starting temperature before measuring; quick compression warms it and pushes the pressure above the Boyle's law value.
  • If the temperature changes too, use the combined gas law calculator; if the amount of gas matters, use the ideal gas law calculator.

Frequently asked questions

What is Boyle's law?

Boyle's law says that for a fixed amount of gas at constant temperature, pressure and volume are inversely proportional: P₁V₁ = P₂V₂. If you halve the volume, the pressure doubles. It was published by Robert Boyle in 1662.

How do I solve for final volume with Boyle's law?

Rearrange to V₂ = P₁V₁ ÷ P₂. For example, 10 L of gas at 1 atm compressed to 2.5 atm takes up 10 × 1 ÷ 2.5 = 4 L, as long as the temperature returns to its starting value.

Do I have to convert units for Boyle's law?

No, as long as both pressures use the same unit and both volumes use the same unit, because the units cancel. The calculator also shows the answer in other common units.

Can I use gauge pressure in Boyle's law?

Not directly. Boyle's law needs absolute pressure. Gauge readings are relative to the atmosphere, so add about 14.7 psi or 101.3 kPa first. Tick the gauge option and the calculator does this for you and converts the answer back to gauge.

What are real-life examples of Boyle's law?

A syringe that is hard to push when blocked, a balloon that grows as it rises into thinner air, ears popping on a plane, a diver's lungs and the air in a scuba tank, which expands to many times its volume at the surface.

When does Boyle's law not work?

It assumes constant temperature, a fixed amount of gas and ideal behavior. Fast compression heats the gas, gas may leak, and real gases deviate at high pressure or near condensation. For changing temperature, use the combined gas law.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Charles's Law CalculatorSolve V1/T1 = V2/T2 for volume or temperature, with °C, °F or K converted to kelvin.Combined Gas Law CalculatorSolve P1V1/T1 = P2V2/T2 for any variable, with Boyle's, Charles's and Gay-Lussac's modes.Ideal Gas Law CalculatorSolve PV = nRT for pressure, volume, moles or temperature with automatic unit conversion.Pressure ConverterConvert Pa, kPa, MPa, bar, mbar, hPa, psi, atm, mmHg, Torr, inHg, inH2O and kg/cm² at once.Molar Mass CalculatorMolar mass of any chemical formula with an element-by-element mass % breakdown.Interactive Periodic TableAll 118 elements with colour modes, filters, search and full element details.Chemical Equation BalancerBalance chemical, ionic and redox equations with the matrix method and steps.Molarity CalculatorSolve mass, volume, molarity or molar mass, and C1V1 = C2V2 dilutions with units.pH CalculatorConvert pH, pOH, [H+] and [OH-], or find the pH of strong and weak acids and bases.Dilution CalculatorSolve C1V1 = C2V2 for any variable: stock volume, final volume or concentration, with units.Percent Yield CalculatorPercent yield from actual and theoretical yield, or theoretical yield from moles and formulas.PPM CalculatorConvert ppm to mg/L, %, ppb and mg/kg, find ppm of a solution, or ppm to mg/m³ for gases.Grams to Moles CalculatorConvert grams to moles and back from a chemical formula, with molar mass and atom counts.Blood Type CalculatorPossible child blood types and their odds from both parents' ABO and Rh types, with Punnett squares.Buffer pH CalculatorBuffer pH from pKa and acid/base concentrations, or the recipe for a target pH.Electron Configuration CalculatorFull and noble-gas shorthand electron configuration, orbital diagram and valence electrons.Empirical Formula CalculatorElement percentages or grams to mole ratios, empirical formula and molecular formula.Gibbs Free Energy CalculatorΔG from ΔH, ΔS and temperature, with spontaneity, crossover temperature and K.Mass Percent CalculatorMass percent of a solution, percent composition of a formula, or mass for a target %.Molality CalculatorMolality from grams or moles of solute and solvent mass, or solve for either one.Moles to Atoms CalculatorConvert moles, grams and atoms or molecules with Avogadro's number, atoms per element.Protons Neutrons Electrons CalculatorCount protons, neutrons and electrons for any element, isotope or ion, with isotope notation.Serial Dilution CalculatorConcentration, transfer and diluent volume for every tube of a dilution series.Soap Lye CalculatorNaOH or KOH and water for a soap recipe from oil SAP values, superfat and water ratio.Theoretical Yield CalculatorTheoretical yield in grams and moles from limiting reagent mass and mole ratio.Titration CalculatorAnalyte concentration or equivalence volume from a titration, with pH curve and indicator.Punnett Square CalculatorBuild monohybrid, dihybrid or trihybrid Punnett squares with genotype and phenotype ratios.Stoichiometry CalculatorFrom one known mass or mole amount, get moles and grams of every reactant and product.Six Sigma CalculatorDPMO, yield and sigma level from defects, with the 1.5 sigma shift and a conversion table.Beer-Lambert Law CalculatorSolve A = εlc for absorbance, concentration, molar absorptivity or path length; %T conversion.Centrifuge RPM to RCF CalculatorConvert centrifuge RPM to RCF (× g) or RCF to RPM from rotor radius, with an RPM chart.Hardy-Weinberg CalculatorAllele frequencies, expected genotypes and a chi-square equilibrium test from counts or p, q.Normality CalculatorFind normality from mass or molarity, and how much solid or stock acid makes an N solution.Oxidation Number CalculatorEnter a formula or ion to get the oxidation state of every element, with the rules used.Percent Solution CalculatorHow much solute and solvent for a w/v, w/w or v/v % solution, plus % from amounts and dilutions.Valence Electrons CalculatorValence electrons for any element, ion or molecule formula, with group-by-group working.
See all 35 Chemistry & Biology Calculators →