MathsGenie logo
RevisionResourcesBlog
  1. Home
  2. /
  3. Blog
  4. /
  5. Boyle's Law: Formula, Explanation and Worked Examples

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.

MathsGenie Team
•Last updated: 3 Dec 2026
Share
Add as a preferred source on Google

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_2p1​V1​=p2​V2​.

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∝V1​

Introducing a constant of proportionality gives:

pV=constant pV = \text{constant} pV=constant

When 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 p1​V1​=p2​V2​

Every term in this formula has a specific physical meaning and standard SI unit, although alternative units are frequently used in exam questions.

SymbolQuantitySI UnitCommon Alternative Units
pppAbsolute pressure of the gaspascals (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
VVVVolume occupied by the gascubic metres (m3\text{m}^3m3)dm3\text{dm}^3dm3, cm3\text{cm}^3cm3
p1,V1p_1, V_1p1​,V1​Initial pressure and initial volumePa\text{Pa}Pa, m3\text{m}^3m3Any consistent pair
p2,V2p_2, V_2p2​,V2​Final pressure and final volumePa\text{Pa}Pa, m3\text{m}^3m3Any consistent pair

A useful property of p1V1=p2V2p_1 V_1 = p_2 V_2p1​V1​=p2​V2​ 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_2p1​V1​=p2​V2​ 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 p1​V1​=p2​V2​ p2=p1V1V2 p_2 = \frac{p_1 V_1}{V_2} p2​=V2​p1​V1​​

Step 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−4​

Notice 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 Pa

Rounding 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 kPa

Now 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​=p2​p1​V1​​=100250×12​=2.5×12=30 dm3

Step 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 dm3

Step 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​=V2​p1​V1​​=4.0180×2.5​=4.0450​=112.5 kPa

To 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_2p1​V1​=p2​V2​.
  • 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}T1​p1​V1​​=T2​p2​V2​​ 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.

  1. 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.
  2. 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.
  3. 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

  1. Using p1V1=p2V2p_1 V_1 = p_2 V_2p1​V1​=p2​V2​, 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​=p2​p1​V1​​=1.0×1052.5×105×0.80​=2.0 cm3.
  2. 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.
  3. 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_2p1​V1​=p2​V2​) 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.

Sources and referenced URLs

  • https://www.mathsgenie.co.uk/
  • What Is Boyle's Law? Formula and Definitions
  • When to Use Boyle's Law
  • Worked Examples
  • Common Mistakes in A-Level Exams
  • Exam-Style Practice Questions and Answers
  • Conclusion
  • Sources and referenced URLs

Frequently Asked Questions

How helpful was this article?
Add as a preferred source on Google

More from the blog

3 Dec 2026

AQA Biology A-Level Specification: Guide and Checklist

Learn what is in the AQA Biology A-level specification (7402), where to download it, what the three papers cover, and how to turn it into a revision checklist.

3 Dec 2026

AQA English Language Paper 1 Past Papers: How to Use Them

Find official AQA English Language Paper 1 past papers, mark schemes and examiner reports, and follow a four-step revision plan to raise your GCSE grade.

3 Dec 2026

AQA English Past Papers Language: Revision Guide

Find AQA GCSE English Language past papers, mark schemes and examiner reports, then use them effectively with timed practice and an error log.

3 Dec 2026

AQA GCSE Chemistry Past Papers: Find and Use Them

Find official AQA GCSE Chemistry past papers, mark schemes and examiner reports, then follow a practical plan for topic practice, timed papers and reviewing mistakes.

1m+ Students Can't Be Wrong

What GCSE and A-level students say after revising with MathsGenie.

Harvey B. avatar

Harvey B.

Student

“This is such an amazing platform, it offers everything needed to improve your grade in a time efficient manor. Personally I love the videos as I am able to find areas that I am weak at in the practice papers.”
Tameem R. avatar

Tameem R.

Student

“Genuinely took me from a grade 4 in maths to achieving a grade 8 in my GCSE's in less than a few months. Best mathematics revision website for those who are aiming to get those high grades.”
Anyim P. avatar

Anyim P.

Student

“Genuinely I think every maths student should have this site. It takes you through the entire AS and A level Maths course, alongside exam questions with step by step solutions.”
Muhammad A. avatar

Muhammad A.

Student

“predicted papers are very useful and i believe there's not a better website for GCSE maths in the UK”
Rayan K. avatar

Rayan K.

Student

“Best Maths Resource out there! Absolutely amazing videos and very concise explantions on everything. Don't even get me started on the loads of exam question/worksheets that are so helpful. And it's all free!”
Dee avatar

Dee

Student

“The best Maths resource site in the world! They have it all and do a great job of keeping everything up to date. I still don't know how they are able to make this free for all. You are truly amazing.”
Hamid I. avatar

Hamid I.

Student

“They have helped me with my A level Maths performance significantly and I jumped from a grade U to a Grade A in only 2-3 months. I HIGHLY recommend to Maths students especially for A level.”
Sophie avatar

Sophie

Student

“MathsGenie's YouTube videos and worksheets are amazing. The videos go into such great depth but in a way that's simple to understand.”
Maria E. avatar

Maria E.

Student

“Amazing website! Truly helped with my GCSEs - I was a very poor student. Managed to go up and reach all grade 6-9's from U-4's. Would definitely recommend :)”
Justine K. avatar

Justine K.

Student

“Absolutely brilliant website with well organised, well written resources for learning or revising maths. I never hesitate to recommend mathsgenie to my students.”
Daryl G. avatar

Daryl G.

Student

“Took me a bit of getting used to but this new site is excellent. I found the old one really useful but this is next level. I share it with all my colleagues and students.”
Binuk J. avatar

Binuk J.

Student

“I used to be really bad at math. My first GCSE mocks I had a 2 but after I found MathsGenie I jumped from 2 to 4 under 3 months.”
Jourdie avatar

Jourdie

Student

“Improved my grade, I used to be borderline passing maths now I'm performing much better. There are videos, practice papers, solutions, exam questions, past GCSE papers all for free. This is really useful.”
Olla avatar

Olla

Student

“Honestly, it's super great. Easy, with the explanation on the side. Every topic also has more than 50 questions, making you feel more confident in doing different types f question in one topic. Try it!”

Ready to breeze through your GCSEs?IGCSEs?A-Levels?AS Levels?GCSEs?GCSEs?

Sign inStart studying for free

Footer

Quick links

  • GCSE past papers
  • GCSE question bank
  • GCSE worksheets
  • GCSE revision guides
  • GCSE lessons
  • Literary Hub
  • Free maths course
  • A Level past papers
  • A Level question bank
  • Old MathsGenie

Tools

  • Revision planner
  • Mock exam builder
  • Ask Genie AI
  • Answer marking
  • Grade calculator
  • Pricing

Company

  • About MathsGenie
  • Maths Genie on Google Play
  • Contact
  • For educators
  • For parents
  • Download the app
  • More resources
  • Blog
  • Student questions
  • Sitemap
  • Privacy policy
  • Terms of Service
  • Cookie policy
  • Report a bug

GCSE

  • Biology
  • Chemistry
  • English Language
  • English Literature
  • Geography
  • Maths
  • Old Maths
  • Physics
  • Statistics

IGCSE

  • Biology
  • Business
  • Chemistry
  • Computer Science
  • English Language
  • English Literature
  • Geography
  • Maths
  • Physics

A Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Old Maths
  • Physics
  • Psychology
  • Sociology

AS Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Physics
  • Psychology
  • Religious Studies
  • Sociology
MathsGenie logo

© 2026 MyDojo, Inc. All rights reserved. MyDojo, Inc. does business as MathsGenie.

Exam board names are used for identification only and do not imply affiliation or endorsement.