Gay-Lussac's Law Calculator

Solve P₁/T₁ = P₂/T₂ for any missing pressure or temperature at constant volume. Leave one field blank, enter the other three, and get an instant result with full step-by-step working.

Gay-Lussac's Law Solver

What Is Gay-Lussac's Law?

Gay-Lussac's Law is the mirror image of Charles' Law: instead of holding pressure fixed and letting volume respond to temperature, it holds volume fixed and lets pressure respond instead. Lock a gas inside a rigid, sealed container and heat it. The molecules move faster and strike the walls harder and more often, and because the walls cannot move outward, that extra force shows up entirely as increased pressure.

The relationship, P₁/T₁ = P₂/T₂, is a direct proportion just like Charles' Law, and it must also use absolute (Kelvin) temperature for the same reason. Graphed as pressure against temperature, it produces a straight line that would reach zero pressure at absolute zero.

Gay-Lussac's Law is the constant-volume case of the combined gas law. When volume also changes, use the full combined gas law calculator instead.

Pressure vs. Temperature at Constant V 1 2 Temperature (K) Pressure (P)

Pressure rises in a straight line with absolute temperature while volume is held fixed.

Real-World Examples of Gay-Lussac's Law

Sealed Can, Rising Heat Fixed volume, rising heat

A sealed rigid container cannot expand, so rising temperature shows up entirely as rising pressure.

Aerosol cans carry explicit warnings not to expose them to heat or store them near flames. Because the can's steel shell barely flexes, any temperature rise converts directly into a pressure rise inside, and past a certain point the can can rupture or explode.

A pressure cooker also demonstrates Gay-Lussac's Law: its rigid, sealed body keeps the internal volume fixed while heat is applied, so pressure builds steadily, allowing water to boil at a higher temperature and cook food faster.

Engineers designing gas cylinders, propane tanks, and pressurized industrial vessels use Gay-Lussac's Law to calculate the maximum safe temperature a sealed container can reach before internal pressure exceeds its rated limit.

How the Calculator Works

1. Pick the unknown
Select P₁, T₁, P₂, or T₂ as the value you want solved.
2. Fill in the rest
Enter the other three values in any supported unit. Temperature converts to Kelvin automatically.
3. Get instant results
The answer and a full substitution walkthrough appear immediately.

Worked Example: Gay-Lussac's Law in Practice

Problem: A rigid gas cylinder reads 12.0 atm at 18°C. What pressure would it reach if left in direct sun and heated to 55°C?

Given: P₁ = 12.0 atm, T₁ = 18°C = 291.15 K, T₂ = 55°C = 328.15 K. Find: P₂. Gay-Lussac's Law: P₁/T₁ = P₂/T₂ → P₂ = P₁T₂/T₁ P₂ = 12.0 × 328.15 / 291.15 P₂ ≈ 13.53 atm

A relatively modest 37°C temperature swing raises pressure by over 1.5 atm. Proportionally small compared to the aerosol-can example on this page, but still a meaningful safety margin to account for when storing pressurized cylinders. This is why compressed gas cylinders are rated well above their typical operating pressure and are kept away from direct heat sources.

Common Mistakes When Applying Gay-Lussac's Law

As with Charles' Law, the most frequent error is using Celsius or Fahrenheit directly in P₁/T₁ = P₂/T₂ instead of converting to Kelvin first. Because this is another direct proportion, an unconverted temperature produces a badly wrong pressure ratio. Always apply K = °C + 273.15 (or the Fahrenheit-to-Rankine equivalent) before substituting.

A second mistake is assuming a container is perfectly rigid when it actually has some flexibility. A plastic bottle or a balloon, for instance, will bulge slightly under rising internal pressure rather than staying at truly constant volume, introducing a small error if Gay-Lussac's Law is applied too strictly. For genuinely rigid containers like steel gas cylinders, the approximation is accurate enough to treat as exact.

A third pitfall is forgetting that Gay-Lussac's Law says nothing about volume. A problem that mentions any change in the container's size, even a small one, needs the combined gas law instead, since Gay-Lussac's Law only works for a perfectly sealed, unchanging volume.

Gay-Lussac's Law FAQ

What is Gay-Lussac's Law?
Gay-Lussac's Law states that at constant volume, the pressure of a fixed amount of gas is directly proportional to its absolute temperature: P₁/T₁ = P₂/T₂. Heat a sealed rigid container and the pressure inside rises; cool it and pressure falls. It is the constant-volume special case of the combined gas law, named after French chemist Joseph Louis Gay-Lussac.
What is the formula for Gay-Lussac's Law?
The formula is P₁/T₁ = P₂/T₂, where P₁ and T₁ are the initial pressure and absolute temperature, and P₂ and T₂ are the final pressure and temperature. Rearranged: P₂ = P₁T₂/T₁, or T₂ = T₁P₂/P₁. This calculator solves for whichever of the four values you leave blank.
Why must temperature be in Kelvin here too?
Like Charles' Law, Gay-Lussac's Law is a direct proportion between pressure and temperature, and direct proportions are only valid on an absolute scale where zero truly means zero thermal motion. That is the Kelvin scale. Enter °C, °F, or °R and this calculator converts to Kelvin internally before solving, so you never need to convert by hand.
Does volume need to stay perfectly constant for Gay-Lussac's Law?
Yes: Gay-Lussac's Law describes an isochoric (constant-volume) process, meaning the gas is in a sealed, rigid container so volume and the amount of gas cannot change. If volume also changes, use the full combined gas law, P₁V₁/T₁ = P₂V₂/T₂, on the homepage calculator instead.
What units does this calculator support?
Pressure can be entered in Pa, kPa, MPa, bar, mbar, atm, mmHg, torr, psi, or inHg. Temperature can be entered in Kelvin, Celsius, Fahrenheit, or Rankine. Mix units freely. Everything converts to SI internally before the proportion is solved.
What is a real-world example of Gay-Lussac's Law?
An aerosol spray can left in a hot car is a classic (and dangerous) example: the can's rigid metal shell keeps volume fixed, so as the temperature rises the internal pressure climbs in direct proportion, which is exactly why aerosol cans carry warnings against exposure to heat. They can rupture once internal pressure exceeds the can's structural limit.
How did Gay-Lussac's Law get its name if Charles found it first?
Joseph Louis Gay-Lussac published this pressure-temperature relationship in 1808, independently confirming and extending earlier unpublished observations. Because he was the one who formally established and publicized it, textbooks named the pressure-temperature law after him, distinct from the volume-temperature law that carries Charles's name even though the two chemists worked on closely related ideas around the same period.
How do I know if a problem needs Gay-Lussac's Law or the full combined gas law?
If volume is stated or implied to stay fixed, a sealed rigid container, Gay-Lussac's Law alone is sufficient. If volume also changes, use the combined gas law instead, since Gay-Lussac's Law cannot account for a volume change and will give an incorrect answer if one occurs.
Does Gay-Lussac's Law apply to liquids or only gases?
It applies specifically to gases, because gases are far more compressible and far more responsive to temperature than liquids under the same conditions. A sealed container of liquid does experience a small pressure increase when heated (since liquids expand slightly too), but the effect is many times smaller than for a gas, and the simple direct proportion P₁/T₁ = P₂/T₂ does not hold for liquids the way it does for an ideal gas.

Related Calculators