Boyle's Law: Formula, Explanation and Worked Examples
Learn Boyle's law for A-level with the formula, SI units, conditions, worked examples, common mistakes, and exam-style practice questions with full answers.

Boyle's law states that for a fixed mass of an ideal gas at constant temperature, the pressure of the gas is inversely proportional to its volume. In equation form, this is written as pV=constantpV = \text{constant}pV=constant, or more usefully for calculations, p1V1=p2V2p_1 V_1 = p_2 V_2p1V1=p2V2.
For UK A-level students in Years 12-13, Boyle's law appears across Physics (thermal physics and ideal gases), Chemistry (gas laws), and Mathematics (modelling inverse proportion). Understanding how to apply the formula accurately, check unit consistency, and recognise when the law is valid will help you secure full marks on structured calculation questions. In this guide, you will learn the exact formula, the required units and conditions, three fully worked examples, common exam mistakes, and exam-style practice questions with answers.
What Is Boyle's Law? Formula and Definitions
When you compress a gas into a smaller space without changing its temperature, the gas particles collide with the walls of the container more frequently. Because each collision exerts a force on the walls, a smaller volume produces a higher pressure. Conversely, expanding the gas into a larger volume reduces the collision frequency and lowers the pressure.
Mathematically, Boyle's law expresses this inverse relationship as:
p∝1V p \propto \frac{1}{V} p∝V1Introducing a constant of proportionality gives:
pV=constant pV = \text{constant} pV=constantWhen a fixed sample of gas changes from an initial state (state 1) to a final state (state 2) at the same temperature, the product of pressure and volume remains unchanged:
p1V1=p2V2 p_1 V_1 = p_2 V_2 p1V1=p2V2Every term in this formula has a specific physical meaning and standard SI unit, although alternative units are frequently used in exam questions.
| Symbol | Quantity | SI Unit | Common Alternative Units |
|---|---|---|---|
| ppp | Absolute pressure of the gas | pascals (Pa\text{Pa}Pa or N m−2\text{N m}^{-2}N m−2) | kPa\text{kPa}kPa, MPa\text{MPa}MPa, atm\text{atm}atm |
| VVV | Volume occupied by the gas | cubic metres (m3\text{m}^3m3) | dm3\text{dm}^3dm3, cm3\text{cm}^3cm3 |
| p1,V1p_1, V_1p1,V1 | Initial pressure and initial volume | Pa\text{Pa}Pa, m3\text{m}^3m3 | Any consistent pair |
| p2,V2p_2, V_2p2,V2 | Final pressure and final volume | Pa\text{Pa}Pa, m3\text{m}^3m3 | Any consistent pair |
A useful property of p1V1=p2V2p_1 V_1 = p_2 V_2p1V1=p2V2 is that you do not always need to convert into SI units, provided that p1p_1p1 and p2p_2p2 share the same pressure unit and V1V_1V1 and V2V_2V2 share the same volume unit. However, if you combine Boyle's law with the ideal gas equation (pV=nRTpV = nRTpV=nRT), you must convert pressure to pascals (Pa\text{Pa}Pa) and volume to cubic metres (m3\text{m}^3m3). Knowing key conversions is essential: 1 kPa=103 Pa1\text{ kPa} = 10^3\text{ Pa}1 kPa=103 Pa, 1 m3=103 dm31\text{ m}^3 = 10^3\text{ dm}^31 m3=103 dm3, and 1 m3=106 cm31\text{ m}^3 = 10^6\text{ cm}^31 m3=106 cm3.
When to Use Boyle's Law
Boyle's law is a special case of the ideal gas equation pV=nRTpV = nRTpV=nRT. Because RRR is the molar gas constant, pVpVpV is only constant when both the number of moles nnn and the absolute temperature TTT are constant. Before using p1V1=p2V2p_1 V_1 = p_2 V_2p1V1=p2V2 in an exam, check that three conditions are satisfied:
- Fixed mass of gas: The container must be sealed so that no gas particles enter or escape. If gas leaks out or is pumped in, nnn changes and Boyle's law no longer applies.
- Constant temperature: The change must be isothermal. In practice, compressing a gas quickly warms it up, so exam questions often specify that the compression happens slowly or that the gas is allowed to return to its original temperature.
- Ideal gas behaviour: Real gases follow Boyle's law closely at low pressures and high temperatures, where the volume of the gas particles themselves and the intermolecular forces between them are negligible.
Graphical Representations
A-level exam boards frequently test your ability to interpret Boyle's law graphically. If you plot ppp on the vertical axis against VVV on the horizontal axis at constant temperature, you obtain a rectangular hyperbola (known as an isotherm) that approaches both axes asymptotically without touching them. A higher constant temperature shifts this curve further away from the origin.
To test Boyle's law experimentally, it is much better to plot ppp against 1V\frac{1}{V}V1. Because p=(constant)×1Vp = (\text{constant}) \times \frac{1}{V}p=(constant)×V1, this graph produces a straight line passing through the origin. The gradient of this line equals pVpVpV (or nRTnRTnRT). Plotting a straight-line graph makes it straightforward to spot experimental errors or deviations from ideal gas behaviour.
Worked Examples
Example 1: Finding the New Pressure After Compression
A sealed syringe contains 4.0×10−4 m34.0 \times 10^{-4}\text{ m}^34.0×10−4 m3 of air at a pressure of 1.01×105 Pa1.01 \times 10^5\text{ Pa}1.01×105 Pa. The plunger is pushed in slowly at constant temperature until the volume of air is 1.6×10−4 m31.6 \times 10^{-4}\text{ m}^31.6×10−4 m3. Calculate the new pressure of the air.
Step 1: List the known quantities and check units.
- p1=1.01×105 Pap_1 = 1.01 \times 10^5\text{ Pa}p1=1.01×105 Pa
- V1=4.0×10−4 m3V_1 = 4.0 \times 10^{-4}\text{ m}^3V1=4.0×10−4 m3
- V2=1.6×10−4 m3V_2 = 1.6 \times 10^{-4}\text{ m}^3V2=1.6×10−4 m3
- p2=?p_2 = ?p2=?
Both volumes are in m3\text{m}^3m3, so the units are consistent.
Step 2: Rearrange Boyle's law for p2p_2p2.
p1V1=p2V2 p_1 V_1 = p_2 V_2 p1V1=p2V2 p2=p1V1V2 p_2 = \frac{p_1 V_1}{V_2} p2=V2p1V1Step 3: Substitute the values and calculate.
p2=1.01×105×4.0×10−41.6×10−4 p_2 = \frac{1.01 \times 10^5 \times 4.0 \times 10^{-4}}{1.6 \times 10^{-4}} p2=1.6×10−41.01×105×4.0×10−4Notice that 10−410^{-4}10−4 cancels from the numerator and denominator, and 4.01.6=2.5\frac{4.0}{1.6} = 2.51.64.0=2.5.
p2=1.01×105×2.5=2.525×105 Pa p_2 = 1.01 \times 10^5 \times 2.5 = 2.525 \times 10^5\text{ Pa} p2=1.01×105×2.5=2.525×105 PaRounding to 2 significant figures (matching the least precise data in the question) gives p2=2.5×105 Pap_2 = 2.5 \times 10^5\text{ Pa}p2=2.5×105 Pa.
Example 2: Finding the New Volume with Unit Conversion
A gas cylinder holds 12 dm312\text{ dm}^312 dm3 of oxygen at a pressure of 250 kPa250\text{ kPa}250 kPa. The gas expands at constant temperature into a larger chamber until its pressure falls to 1.0×105 Pa1.0 \times 10^5\text{ Pa}1.0×105 Pa. Calculate the final volume in dm3\text{dm}^3dm3 and in m3\text{m}^3m3.
Step 1: Make the pressure units consistent.
Convert p2p_2p2 from pascals to kilopascals:
p2=1.0×105 Pa=100 kPa p_2 = 1.0 \times 10^5\text{ Pa} = 100\text{ kPa} p2=1.0×105 Pa=100 kPaNow p1=250 kPap_1 = 250\text{ kPa}p1=250 kPa, V1=12 dm3V_1 = 12\text{ dm}^3V1=12 dm3, and p2=100 kPap_2 = 100\text{ kPa}p2=100 kPa.
Step 2: Rearrange for V2V_2V2 and substitute.
V2=p1V1p2=250×12100=2.5×12=30 dm3 V_2 = \frac{p_1 V_1}{p_2} = \frac{250 \times 12}{100} = 2.5 \times 12 = 30\text{ dm}^3 V2=p2p1V1=100250×12=2.5×12=30 dm3Step 3: Convert the final volume to m3\text{m}^3m3.
Since 1 m3=1000 dm31\text{ m}^3 = 1000\text{ dm}^31 m3=1000 dm3, divide by 100010001000:
V2=301000=0.030 m3 (or 3.0×10−2 m3) V_2 = \frac{30}{1000} = 0.030\text{ m}^3 \text{ (or } 3.0 \times 10^{-2}\text{ m}^3\text{)} V2=100030=0.030 m3 (or 3.0×10−2 m3)Example 3: Connecting Two Containers
A rigid flask of volume 2.5 dm32.5\text{ dm}^32.5 dm3 contains nitrogen at 180 kPa180\text{ kPa}180 kPa. It is connected via a narrow valve of negligible volume to an evacuated flask of volume 1.5 dm31.5\text{ dm}^31.5 dm3. The valve is opened and the temperature remains constant. Calculate the final pressure of the nitrogen.
Step 1: Identify the total final volume.
When the valve opens, the nitrogen expands to fill both flasks. Therefore:
V1=2.5 dm3 V_1 = 2.5\text{ dm}^3 V1=2.5 dm3 V2=2.5+1.5=4.0 dm3 V_2 = 2.5 + 1.5 = 4.0\text{ dm}^3 V2=2.5+1.5=4.0 dm3Step 2: Apply Boyle's law.
p2=p1V1V2=180×2.54.0=4504.0=112.5 kPa p_2 = \frac{p_1 V_1}{V_2} = \frac{180 \times 2.5}{4.0} = \frac{450}{4.0} = 112.5\text{ kPa} p2=V2p1V1=4.0180×2.5=4.0450=112.5 kPaTo 2 significant figures, the final pressure is 110 kPa110\text{ kPa}110 kPa.
Common Mistakes in A-Level Exams
Students who understand the concept of Boyle's law still lose marks through avoidable slips. Watch out for these five frequent errors:
- Mixing incompatible units: Substituting p1p_1p1 in kPa\text{kPa}kPa and p2p_2p2 in Pa\text{Pa}Pa without converting will make your answer out by a factor of 100010001000. Always write units next to your listed values before calculating.
- Forgetting to add volumes in connected vessels: In two-flask problems like Example 3, students often set V2V_2V2 equal to the volume of the empty flask alone rather than the combined volume of both flasks.
- Confusing gauge pressure with absolute pressure: Boyle's law requires absolute pressure. If a question gives an excess pressure above atmospheric pressure (such as in a tyre), you must add atmospheric pressure before applying p1V1=p2V2p_1 V_1 = p_2 V_2p1V1=p2V2.
- Ignoring temperature changes: If a question states that a gas is compressed rapidly and its temperature rises, you cannot use Boyle's law alone; you must use the combined gas law p1V1T1=p2V2T2\frac{p_1 V_1}{T_1} = \frac{p_2 V_2}{T_2}T1p1V1=T2p2V2 with temperatures in kelvin.
- Misreading what the question asks for: Check whether the question asks for the final volume or the change in volume (for example, the decrease in volume during compression).
Exam-Style Practice Questions and Answers
Attempt these three questions before checking the solutions below.
- A bubble of air of volume 0.80 cm30.80\text{ cm}^30.80 cm3 is released at the bottom of a lake where the total pressure is 2.5×105 Pa2.5 \times 10^5\text{ Pa}2.5×105 Pa. It rises to the surface where atmospheric pressure is 1.0×105 Pa1.0 \times 10^5\text{ Pa}1.0×105 Pa. Assuming the water temperature is uniform, calculate the volume of the bubble just before it reaches the surface.
- A fixed mass of gas occupies 6.0×10−3 m36.0 \times 10^{-3}\text{ m}^36.0×10−3 m3 at 120 kPa120\text{ kPa}120 kPa. The gas is compressed at constant temperature until its pressure reaches 480 kPa480\text{ kPa}480 kPa. Calculate the decrease in volume of the gas.
- State two assumptions required for Boyle's law to apply to a sample of gas, and describe the shape of the graph of ppp against 1V\frac{1}{V}V1.
Answers
- Using p1V1=p2V2p_1 V_1 = p_2 V_2p1V1=p2V2, rearrange for V2V_2V2: V2=p1V1p2=2.5×105×0.801.0×105=2.0 cm3V_2 = \frac{p_1 V_1}{p_2} = \frac{2.5 \times 10^5 \times 0.80}{1.0 \times 10^5} = 2.0\text{ cm}^3V2=p2p1V1=1.0×1052.5×105×0.80=2.0 cm3.
- First find the final volume: V2=120×6.0×10−3480=1.5×10−3 m3V_2 = \frac{120 \times 6.0 \times 10^{-3}}{480} = 1.5 \times 10^{-3}\text{ m}^3V2=480120×6.0×10−3=1.5×10−3 m3. Then calculate the decrease in volume: 6.0×10−3−1.5×10−3=4.5×10−3 m36.0 \times 10^{-3} - 1.5 \times 10^{-3} = 4.5 \times 10^{-3}\text{ m}^36.0×10−3−1.5×10−3=4.5×10−3 m3.
- The gas must have a fixed mass (constant number of moles) and behave as an ideal gas at constant temperature. The graph of ppp against 1V\frac{1}{V}V1 is a straight line passing through the origin with a constant positive gradient equal to pVpVpV.
Conclusion
Boyle's law (p1V1=p2V2p_1 V_1 = p_2 V_2p1V1=p2V2) is a straightforward yet essential relationship for A-level science and mathematics. Provided that you verify the conditions of fixed mass and constant temperature, keep your units consistent, and read carefully for total volumes or changes in volume, you can approach these calculations with confidence. Because Boyle's law relies heavily on rearranging formulae, working with standard form, and understanding inverse proportion, you can strengthen those core mathematical skills using the revision lessons and practice questions available on MathsGenie.



