Boyle's Law Calculator

Solve Boyle's Law (P1V1 = P2V2) for pressure or volume. Enter any three values to find the fourth, in any unit, with the pressure-volume curve.

https://hexacalculator.com/calculators/physics/thermodynamics/boyles-law-calculator

Physics

Thermodynamics

Boyle's Law Calculator

Solve Boyle's Law (P1V1 = P2V2) for pressure or volume. Enter any three values to find the fourth, in any unit, with the pressure-volume curve.

Boyle's Law Calculator

Unit
Unit
Unit
Unit

Enter any three of the four values and leave the unknown blank. The calculator fills it in using Boyle's Law, and you can switch units on any field.

Please input values into the fields

Was this calculator helpful?

It takes one click and shapes what we fix next.

Add as preferred on Google

Show the pressure-volume curve

Boyle's Law plots as a curve: as volume rises, pressure falls in step so their product stays the same.

This Boyle's law calculator calculates how the pressure and volume of a gas behave when temperature is constant. Enter any three of the four values - initial pressure, initial volume, final pressure, and final volume - and leave the field blank for the value you want to calculate.

Boyle's Law introduction
Boyle's Law introduction

The calculation tool will then figure out the result. You can freely mix units, so for example you can enter the pressure in atmospheres and read the result in kilopascals.

What is Boyle's Law?

Boyle's law states that at a constant temperature, the pressure and volume of an ideal gas are inversely proportional to one another. When a gas is compressed into a smaller space, its pressure increases, and when it expands, its pressure decreases. Pressure and volume always change in opposite directions by the same factor.

Boyle's Law Explainer
Boyle's Law Explainer

In 1662 Robert Boyle studied the reaction of compressed air to different pressures and described this relationship, one of the earliest known gas laws, which later became part of the ideal gas equation.

How to use this calculator:

Select and enter the three known values. Use the units that are most convenient for the problem with each value. Leave the fourth field blank.

If you enter three values the calculator will immediately fill in the blank fields with corresponding results and display the final pressure as the main result. The pressure ratio and volume ratio are also shown. To calculate for a different unknown value simply erase the unwanted fields and leave one field blank. There is no need to select a mode since leaving a field blank tells the calculator which quantity to solve for.

Boyle's law formula:

Boyle's law is usually expressed as a product that remains constant for two states of the same gas.

P1V1=P2V2P_1 V_1 = P_2 V_2

In this equation P₁ and V₁ are the initial pressure and volume respectively, while P₂ and V₂ represent the final pressure and volume respectively. By rearranging this equation we can obtain formulas for each of these variables individually. This is the method used in the calculator tool.

P1=P2V2V1V1=P2V2P1P_1 = \frac{P_2 V_2}{V_1} \qquad V_1 = \frac{P_2 V_2}{P_1}
P2=P1V1V2V2=P1V1P2P_2 = \frac{P_1 V_1}{V_2} \qquad V_2 = \frac{P_1 V_1}{P_2}
Boyle's Law Formula
Boyle's Law Formula

In this relationship the product of P and V is constant. This value depends only on temperature and amount of gas, both of which are held constant in Boyle's Law.

Example calculation

A sample of oxygen has a volume of 500 milliliters and a pressure of 400 kilopascals. It is transferred to a container with a volume of 1.5 liters while the temperature remains constant. What will be the new pressure?

Boyle's Law Example
Boyle's Law Example

Starting with the Boyle's Law equation, solve for final pressure. The initial volume is 0.5 liters, so your formula should look like this:

P2=P1V1V2=400×0.51.5≈133.3 kPaP_2 = \frac{P_1 V_1}{V_2} = \frac{400 \times 0.5}{1.5} \approx 133.3 \ \text{kPa}
Boyle's Law Calculations
Boyle's Law Calculations

Since the gas expands to three times its original volume, the pressure will drop to about one-third of the initial value. In a calculator, you can input 400 kPa, 500 mL and 1.5 L, and the final pressure will be directly displayed as 133.3 kPa.

Boyle's Law - Different Ratios
Boyle's Law - Different Ratios

Variations of Boyle's Law:

This table shows the same equations in four different forms for each of the four possible missing quantities.

To find

Formula

In words

Initial pressure

P1 = (P2 times V2) / V1

Final product divided by the initial volume

Initial volume

V1 = (P2 times V2) / P1

Final product divided by the initial pressure

Final pressure

P2 = (P1 times V1) / V2

Initial product divided by the final volume

Final volume

V2 = (P1 times V1) / P2

Initial product divided by the final pressure

Boyle's Law Forms
Boyle's Law Forms

Application of Boyle's Law.

The relationship between pressure and volume, which change in opposite directions, is easy to observe in everyday life. Try covering the tip of a bicycle pump with your thumb and pushing down on the handle. As the air gets compressed into a smaller space, it becomes increasingly difficult to push down.

Breathing is also based on the same principle. When the diaphragm expands, it reduces pressure inside the lungs and air is drawn into them. A syringe draws liquid by increasing the volume behind the plunger, reducing the pressure there. Divers must also be aware of Boyle's law as a breath of air deep underwater can expand dangerously when they rise to the surface.

Assumptions and limitations

Boyle's law assumes that the gas behaves as an ideal gas, with temperature remaining constant and amount of gas being equal. As real gases often follow this law under normal pressure and temperature conditions, it is very useful for textbook problems and rough engineering estimates.

At extremely high pressures or very low temperatures, the size of molecules and the forces between them can no longer be ignored, leading to deviations from this law. Under such conditions, models for real gases like the Van der Waals equation can be used to more accurately describe behavior.

Tips for a correct solution.

Please ensure that both pressure values are absolute pressures and not gauge pressures. This is because Boyle's Law considers the actual pressure of a gas. Although the calculator does conversions internally, you do not need to manually adjust the units in each field but it is advisable to check the results for accuracy. As volume decreases, pressure should increase proportionally.

Frequently asked questions

What is the formula for Boyle's law?

Boyle's Law states that the product of P1 and V1 is equal to the product of P2 and V2. This means that the product of pressure and volume of a gas remains constant as long as temperature and amount remain the same. By rearranging the formula, any one of the four quantities can be calculated. For example, the formula for final pressure would be: P2 = (P1 * V1) / V2.

How to Calculate New Pressure or Volume of a Gas?

Enter the three known values and leave the unknown field blank. To calculate final pressure, multiply initial pressure by initial volume then divide by final volume. To calculate final volume, multiply initial pressure by initial volume then divide by final pressure. The calculator will automatically perform these calculations and unit conversions for you.

When can you apply the Boyle's law?

It is valid for a fixed amount of gas in a closed system, where the temperature is kept constant and the quantity of gas remains the same (isothermal processes). Both pressures must be absolute pressure values and not measured values. Under these conditions, pressure and volume are inversely proportional to each other.

What are some everyday examples of Boyle's law?

Breathing is based on this law as the pressure in the lungs decreases when the chest cavity expands, drawing air in. A syringe draws liquid by increasing the volume behind the plunger and thus reducing the pressure. Bicycle pumps, scuba diving, and a deflating balloon are also everyday examples of how pressure and volume are related.

Does the Boyle's law also apply to real gases?

For real gases at normal pressures and temperatures it is a very good approximation. However, at extremely high pressures or low temperatures the volume of the molecules and intermolecular forces become important, deviating from this law. In such cases models for real gases like the Van der Waals equation must be used to obtain higher accuracy.

Related calculators

Disclaimer: This calculator is provided for general informational and educational purposes only. Our calculators are under active development, and results may be inaccurate, incomplete, or unsuitable for your situation. Always verify the figures independently and seek advice from a qualified professional before relying on them. We make no warranties and accept no liability for any loss or decision arising from use of this tool.

References

  1. Wikipedia: Boyle's law

    Definition, history, and the pressure-volume relationship of Boyle's Law.

  2. LibreTexts Chemistry: The Gas Laws

    How Boyle's Law fits with Charles's, Gay-Lussac's, and the ideal gas law.

  3. Khan Academy: The ideal gas law

    Plain-language lessons on pressure, volume, temperature, and the gas laws.