What is Gay-Lussac's law?
Gay-Lussac's law says that the pressure of a gas rises in direct proportion to its absolute temperature, as long as the volume stays the same. Heat a sealed container from 300 kelvin to 400 kelvin and its pressure rises by a third. It is the law behind pressure cookers, aerosol cans, and the warning never to heat a sealed container — the pressure has nowhere to go but up.
This calculator works out the new pressure when a gas is heated or cooled at constant volume. Type the starting pressure and the two temperatures in Celsius, and it shows the final pressure and both temperatures in kelvin. It is the calculation for sealed tanks, tyres, and every gas problem where the volume cannot change.
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.
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.
How Gay-Lussac's law is calculated
The method is a proportion: the starting pressure over the starting temperature equals the final pressure over the final temperature, with both temperatures in kelvin. The final pressure is the starting pressure times the final temperature divided by the starting temperature. One atmosphere at 300.15 kelvin heated to 400.15 kelvin becomes 1 times 400.15 over 300.15, which is 1.333 atmospheres.
The temperatures must be in kelvin, and the calculator converts them for you: kelvin equals Celsius plus 273.15. The pressure unit does not matter as long as it is the same on both sides — atmospheres, kilopascals, or psi all work, because the proportion cancels the unit.
This tool uses the standard textbook treatment: ideal behaviour, standard constants, and the conditions stated on the page. Real systems drift from that — gases are not perfectly ideal, activity differs from concentration in salty solutions, and measured values carry error. For school and college work the standard treatment is what is asked for; for research work, treat the result as a starting point and check it against measured data.
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.
Kelvin: the temperature that matters
The input people get wrong is the temperature scale, exactly as with Charles's law. The proportion needs absolute temperature, in kelvin, because zero must mean no thermal motion. Using Celsius gives a wrong answer whenever either temperature is near zero, and nonsense when one is exactly zero — heating a gas from 0 to 100 degrees Celsius does not multiply its pressure infinitely.
The second trap is the volume. Gay-Lussac's law holds at constant volume, and if the volume changes as well, the combined gas law is the tool to use. A gas heated in an open container does not gain pressure at all — it expands instead, which is Charles's law, not this one.
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.
A worked example: heating a sealed container
Take the default example: 1 atmosphere at 27 degrees Celsius heated to 127 degrees. In kelvin that is 300.15 K and 400.15 K. The final pressure is 1 times 400.15 divided by 300.15, which is 1.333 atmospheres — a third higher, because the absolute temperature rose by a third.
Check the other test: 2 atmospheres at 0 degrees Celsius, 273.15 kelvin, heated to 273 degrees, 546.15 kelvin, rises to 3.999 atmospheres — all but exactly double, because the kelvin temperature all but doubled. And cooling 0.5 atmospheres from 100 degrees to 0 degrees drops it to 0.366 atmospheres — the same proportion, run backwards.
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.
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.
Why Gay-Lussac's law matters
Students use Gay-Lussac's law in gas problems and in the derivation of the ideal gas law, where it is one of the three laws combined. It is also the law that explains why a tyre's pressure rises on a hot day and falls on a cold one — the volume barely changes, so the temperature change shows up as pressure.
Engineers use it for pressure vessels, aerosol cans, and gas cylinders: the pressure rating of a container must allow for the hottest temperature it will ever reach, because the pressure at that temperature is fixed by this law. It is also the reason aerosol cans carry a warning against heating — the pressure rise is not gradual, it is proportional, and it does not stop.
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.
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.
Two related tools worth knowing are the ideal gas law calculator and temperature converter.
Gay-Lussac's law vs Charles's law
Boyle's law, on the Boyle's law calculator, holds temperature constant and varies the pressure: volume goes as one over pressure. Gay-Lussac's law holds volume constant and varies the temperature: pressure goes as temperature. They are two faces of the same idea, and which one applies depends on what is free to change — the volume, or the pressure.
A pressure converter changes a pressure from atmospheres to kilopascals or psi, which is useful when the answer is needed in another unit. This calculator gives the pressure in the unit you typed; the converter changes it afterwards.
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.
Common mistakes with Gay-Lussac's law
The most common mistake is using Celsius in the proportion, which gives a wrong answer whenever either temperature is near zero. The second is forgetting that the volume must stay constant — an open container needs Charles's law instead. The third is using the wrong kelvin conversion: it is 273.15, not 273.
A fourth mistake is mixing pressure units — atmospheres on one side and kilopascals on the other — which scales the answer by a hundred. A fifth is rounding the kelvin temperatures before dividing, which throws the ratio off. A sixth is forgetting that real gases deviate from the law at high pressures, where the ideal approximation weakens.
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.
How to use this Gay-Lussac's law calculator
Type the starting pressure, the starting temperature, and the final temperature, all in Celsius. The final pressure appears instantly, with both temperatures in kelvin alongside. Change any number and the answers update at once.
Check that the volume is genuinely constant — a sealed tank, a rigid container, a tyre. If the container can expand, use Charles's law instead, because the pressure will not rise. And remember the answer is in the same pressure unit you typed in.
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.