What is a Boyle's Law?
A boyles law calculator is a free online tool that finds the new pressure or volume of a gas when it is squeezed or expanded at constant temperature. It uses Boyle's law: pressure times volume stays constant, so P1 × V1 = P2 × V2. It gives the answer instantly as you type, with the main result shown first and the supporting figures underneath, so you can check the headline number and the working behind it in one glance.
It is used by school physics and chemistry students, divers working out cylinder pressures, and anyone pumping or compressing a gas. If you are working through a set of problems, a pressure converter is often the next step once this answer is in hand, because the two quantities feed into each other.
To use it, enter which quantity to find, then the starting pressure in kilopascals and volume in litres, and the new pressure or volume. The calculator runs entirely in your browser: nothing you type is uploaded, stored, or shared, and there is no sign-up. You can change any value and the results update at once, which makes it easy to test what happens when one input moves.
How the Boyle's Law works
Boyle's law says that for a fixed amount of gas at a fixed temperature, pressure and volume are inversely related: squeeze the gas into half the volume and the pressure doubles, because the same particles hit the walls twice as often. The product of pressure and volume stays constant through any slow change. It is the special case of the ideal gas law when temperature and amount do not change. The formula the calculator uses is: P1 × V1 = P2 × V2 at constant temperature and fixed amount of gas. Every symbol in that formula has one meaning and one unit, and keeping the units straight is most of the work in getting a right answer.
By hand, the steps are: multiply the starting pressure by the starting volume, then divide by the new pressure to get the new volume, or by the new volume to get the new pressure. The calculator does the same steps in the same order, so a hand check on one example should land on the same number the page shows, allowing for the rounding in the display.
Pressure and volume must be in the same units on both sides, kilopascals and litres here, because only their ratio matters. The temperature must stay constant and no gas may leak in or out, or the law does not apply. The calculator is an estimate in the sense that it trusts the numbers you enter: it cannot tell whether a measurement was read correctly, so a wrong input gives a wrong-looking answer with no warning. Always check the units before trusting a result.
One more check: the formula above is the one the page uses, so a textbook that writes it differently is usually just rearranging the same relation or using different symbols. Match the symbols by their meaning, not by their shape, and the numbers will agree. If your book gives the answer in different units, convert at the end rather than in the middle, so a conversion slip cannot hide inside the working.
Halve the volume, double the pressure
Pressure and volume move in opposite directions, which is the whole point of Boyle's law. Halving the volume doubles the pressure, and doubling the volume halves it. The relationship is a curve, not a straight line: squeezing from 2 litres to 1 litre raises the pressure by as much as squeezing from 1 litre to 0.5 litres does again, even though the second squeeze is half the size.
The law only holds at constant temperature. A fast squeeze heats the gas, and the pressure rises more than Boyle's law predicts until the heat escapes and the gas cools back down. Exam problems assume the change is slow enough for the temperature to stay fixed, which is why they say so in the question.
No gas may enter or leave while the law applies. A leaking syringe or a pump that adds air breaks the rule, because the product of pressure and volume grows with the amount of gas. If your calculated answer disagrees with a measurement, a leak is the first thing to check.
A worked example
Take this example: 100 kPa, 2 L, 50 kPa. A gas at 100 kilopascals in 2 litres is expanded until its pressure falls to 50 kilopascals, at constant temperature. Put those numbers into the calculator and it returns Answer 4 ; P1 × V1 (kPa·L) 200 ; Pressure ratio P1 ÷ P2 2 .
Working it through by hand: V2 = (100 × 2) ÷ 50 = 200 ÷ 50 = 4 L; check: 100 × 2 = 200 and 50 × 4 = 200. The hand result matches the calculator exactly, which is the point of the check: if your own working gives a different number, one of the inputs was typed in the wrong unit or the wrong box.
Try a second set to see how the answer moves: the same gas compressed to 4 litres, solved for the new pressure. P2 = (100 × 2) ÷ 4 = 50 kPa, confirming the starting pressure of the first example Changing one input at a time and watching the result is the fastest way to build a feel for the formula, and it is how most students spot a typing error before it reaches their homework.
Who uses a Boyle's Law and why
The first group is students. A student finds the volume of a gas squeezed from 100 kilopascals to 50 kilopascals: it doubles from 2 litres to 4 litres.
The second is teachers and tutors. A diver works out the pressure in a cylinder as air is used up, using the volume of the cylinder and the starting pressure. A temperature converter is a natural companion here, since lessons often pair the two quantities in the same problem set.
The third is anyone doing practical work. A teacher demonstrates the law with a syringe, showing the pressure reading double as the volume is halved. None of these uses needs an account or an install: the page opens, the numbers go in, and the answer is there.
Exam and homework use is the common thread across all three groups. A calculator gives the number, but the marks come from the working: write the formula, substitute the values with units, and then the answer. A bare number with no working earns little credit even when it is right, while a shown method with one small slip usually earns most of the marks.
Boyle's Law Calculator vs Density Converter
A density converter answers a different question: it finds density from mass and volume, which is a different property of matter from the pressure and volume of a gas at fixed temperature.. The two tools look similar because they share inputs, but they solve for different unknowns, and picking the wrong one is the most common source of confusion between them.
Use this Boyle's Law when the quantity you need is the one named in the title above. Use the Density Converter when your unknown is the one it is named for instead. If a problem gives you the answer this page produces and asks for something else, that something else is usually the job of the companion tool.
In practice the two are used back to back: work out the first quantity here, then carry it into the second tool as an input. Keeping the chain in that order, and writing each intermediate answer down, stops small rounding slips from growing into a wrong final answer.
Common mistakes with a Boyle's Law
The first mistake is treating pressure and volume as directly proportional, so that doubling the volume is expected to double the pressure, when it halves it.
The second is using the law when the temperature changes, for example during a fast compression that heats the gas.
The third is mixing pressure units between the two states, such as kilopascals on one side and atmospheres on the other. A quick habit that catches all three: work one example by hand, compare it with the calculator, and only then trust the page for the rest of the set.
How to use this Boyle's Law
Step one, enter which quantity to find, then the starting pressure in kilopascals and volume in litres, and the new pressure or volume. Step two, check the units beside each box match the units in your problem. Step three, read the main result at the top of the results box, then the supporting figures below it.
For the most accurate results, use the most precise inputs you have, and keep the same unit system all the way through a problem: mixing centimetres with metres, or milliamps with amps, is the single biggest cause of answers that are out by a factor of ten or a hundred. A quick check: the product P times V must be the same before and after. 100 kPa times 2 L is 200, and 50 kPa times 4 L is 200.
The calculator is free, works on a phone or a computer, and needs no sign-up. Everything runs in your browser, so your numbers never leave your device, and closing the page leaves nothing behind.
If the answer looks wrong, change one input at a time and watch which one moves the result. A result that jumps by a factor of ten usually means a unit slipped, centimetres for metres or grams for kilograms, while a result that barely moves when an input changes usually means that input matters less than expected, often because it sits under a square root. Both patterns are worth knowing before an exam.