What is the combined gas law?
The combined gas law is Boyle's law and Charles's law in one equation: it relates the pressure, volume, and temperature of a fixed amount of gas before and after a change, when all three can move at once. Heat a gas, squeeze it, and let it expand — the combined gas law tracks the result. It is the workhorse of gas problems, because real changes rarely hold anything constant.
This calculator works out the final volume from the starting pressure, volume, and temperature and the final pressure and temperature. Type the five numbers in Celsius and atmospheres, and it shows the final volume and both temperatures in kelvin. It is the calculation for weather balloons, scuba tanks, and every gas problem where two things change at once.
The share and print buttons sit with every tool on this site. Share sends the page link, not your numbers, so whoever opens it starts from the same defaults you saw. Print gives you a clean copy for a lab notebook, a recipe folder, or a classroom handout, with the formula and the worked example included.
Students use tools like this one for homework and exam practice, teachers use them to check answers quickly in class, and working cooks and lab staff use them because a fast, correct conversion beats doing the same arithmetic by hand for the twentieth time. The tool does not replace understanding the method — it removes the arithmetic so the understanding is what you spend your time on.
How the combined gas law is calculated
The method is one equation: the starting pressure times the starting volume over the starting temperature equals the final pressure times the final volume over the final temperature. Rearranged for the final volume, it is the starting pressure times the starting volume times the final temperature, divided by the starting temperature times the final pressure. The temperatures must be in kelvin.
The law contains Boyle's and Charles's laws as special cases. Hold the temperature constant and the temperatures cancel, leaving Boyle's law: pressure times volume is constant. Hold the pressure constant and the pressures cancel, leaving Charles's law: volume over temperature is constant. That is a useful check — if your problem holds one variable constant, the combined law should reduce to the simpler one.
The constants used on this page are the standard values taught in textbooks: the gas constant, Avogadro's number, and the atomic masses from the standard periodic table. They are stated where they are used, so you can check them against your own textbook and see that they match. If your course uses a rounded constant — 22.4 litres per mole at STP, for example — the difference from the precise value is small, and it is noted in the worked example.
The answers on this page are rounded for display, usually to two decimal places, while the maths underneath keeps full precision. That means a result shown as 2.28 may really be 2.2814, and the reverse check may differ in the last digit for the same reason. That is rounding, not an error, and it never changes the answer by more than a fraction of a percent.
Kelvin: the temperature that matters
The input people get wrong is the temperature scale, as with every gas law. The proportion needs absolute temperature, in kelvin, and the calculator converts your Celsius inputs by adding 273.15. Using Celsius gives a wrong answer whenever either temperature is near zero, and the error is worst exactly where school problems like to set their temperatures.
The second trap is the pressure unit. The two pressures must be in the same unit — both atmospheres, both kilopascals — because the ratio cancels the unit only if it matches. The volume unit is the same: litres on both sides, or millilitres on both sides, but not one of each.
The most common mistake with any calculator is typing a number and trusting it without a glance at the label beside it. The second is copying a result with more digits than the inputs justify — if your inputs are good to two digits, the answer is good to two digits, however many the screen shows. Round the answer to match the precision of what you measured.
A worked example: pressure doubles, temperature rises
Take the default example: 2 litres at 1 atmosphere and 27 degrees Celsius, taken to 2 atmospheres and 127 degrees. In kelvin that is 300.15 K and 400.15 K. The final volume is 1 times 2 times 400.15, divided by 300.15 times 2, which is 1.33 litres — the heating tried to expand it by a third, and the doubled pressure squeezed it back by half.
Check the other test: 10 litres at 0 degrees and 1 atmosphere heated to 273 degrees at the same pressure gives 19.99 litres — all but exactly double, because the kelvin temperature all but doubled and the pressure did not change — that is Charles's law inside the combined law. And 4 litres at 3 atmospheres and 127 degrees, taken to 1 atmosphere and 27 degrees, expands to 9 litres.
Before you rely on a result, run a quick sanity check on it. Convert a value you already know — one large egg should come out near 57 grams, one mole of water near 18 grams — and see that the tool agrees. If it does, your inputs are right and the rest of the answers will be too. If it does not, the input is usually the problem, not the tool.
The one habit that prevents nearly every wrong answer here is checking the units before you trust the result. Grams are not ounces, millilitres are not cups, and a value typed in the wrong unit gives a confident-looking wrong answer. Read the label next to each box, match it to the unit on your recipe or your lab sheet, and only then read the result.
Why the combined gas law matters
Students use the combined gas law for any gas problem where pressure, volume, and temperature all change — which is most of them. It is also the step that converts a gas volume measured in the lab to standard temperature and pressure, so that volumes from different days can be compared.
Divers use it for scuba tanks, where the air is compressed, cooled, and then used at depth; meteorologists use it for air parcels rising through the atmosphere, where the pressure falls and the temperature falls together; and engineers use it for any vessel where a gas is heated and compressed at the same time.
This site has a full set of related tools, and the links in this article point to the ones people reach for next. They all work the same way — type your numbers, read the answer, nothing uploaded — so once you know one of them, you know all of them. The "More free tools" section at the bottom of the page lists three close neighbours.
Everything on this page runs in your browser. Nothing you type is uploaded, stored, or sent to a server, and there is no account to create and no sign-up step. You can use the tool as many times as you like, close the tab, and come back later — your inputs are never saved anywhere.
Two related tools worth knowing are the Boyle's law calculator and pressure converter.
Combined gas law vs ideal gas law
The ideal gas law, on the ideal gas law calculator, relates pressure, volume, temperature, and moles in one state, with the gas constant tying them together. The combined gas law relates two states of the same gas, and the gas constant cancels out — it needs no moles and no constant, only the before and after. Use the combined law to compare two states; use the ideal gas law to find a missing value in one state.
A temperature converter changes a temperature from Celsius to kelvin, which is the conversion this calculator does for you. If your temperatures are already in kelvin, subtract 273.15 to get Celsius and type them here — the calculator adds it back.
This site has a full set of related tools, and the links in this article point to the ones people reach for next. They all work the same way — type your numbers, read the answer, nothing uploaded — so once you know one of them, you know all of them. The "More free tools" section at the bottom of the page lists three close neighbours.
Common mistakes with the combined gas law
The most common mistake is using Celsius in the temperatures, which gives a wrong answer whenever either temperature is near zero. The second is mixing pressure units or volume units between the two states. The third is forgetting that the amount of gas must stay constant — if gas escapes or is added, the combined law does not apply.
A fourth mistake is solving for the wrong variable: the equation can be rearranged for pressure, volume, or temperature, and each rearrangement is different. A fifth is rounding the kelvin temperatures before dividing, which throws the ratio off. A sixth is applying the law to a gas that is liquefying, where the ideal approximation breaks down.
The most common mistake with any calculator is typing a number and trusting it without a glance at the label beside it. The second is copying a result with more digits than the inputs justify — if your inputs are good to two digits, the answer is good to two digits, however many the screen shows. Round the answer to match the precision of what you measured.
How to use this combined gas law calculator
Type the starting pressure, volume, and temperature, then the final pressure and temperature, all in Celsius and atmospheres. The final volume appears instantly, with both temperatures in kelvin alongside. Change any number and the answers update at once.
Check that the amount of gas is genuinely constant — no leaks, no gas added. If one variable is held constant, check that the answer matches the simpler law: constant temperature should give Boyle's law, constant pressure should give Charles's law.
The share and print buttons sit with every tool on this site. Share sends the page link, not your numbers, so whoever opens it starts from the same defaults you saw. Print gives you a clean copy for a lab notebook, a recipe folder, or a classroom handout, with the formula and the worked example included.