If you heat a gas inside a sealed, rigid container, the pressure goes up—quickly and predictably. This is something you can't ignore when dealing with pressure vessels, tires, scuba tanks, or any system where gas is trapped at a fixed volume. You need a realistic estimate of how much that pressure will change if temperature swings—otherwise you risk failure. This calculator handles those pressure/temperature predictions for you, based on initial conditions and one variable you want to solve (pressure or temperature changes). You’ll find the core formula, variable explanations, an industrial safety example, guidance on real gas behavior, and an FAQ with honest discussion of common mistakes engineers actually make.
What is Gay-Lussac's Law?
When you keep the amount of gas and the volume stuck at one value, pressure goes up in direct proportion to absolute temperature. If you double the absolute temperature, you double the pressure. That’s the law, but it only works if you’re not changing the volume.
Simple Explanation
Picture a closed metal can on a stove. As you heat it up, the molecules inside get moving faster—they hit the can walls harder and more often, and pressure heads up. Because the container doesn't expand, every bit of heat input just cranks up the pressure. That’s exactly what Gay-Lussac’s Law describes: increasing temperature in a rigid, sealed container always means an increase in pressure, following the ratio of their absolute values.
📐 Browse all 1000+ Interactive Calculators
Table of Contents
How to Use This Calculator
- Pick which variable you want to solve for using the dropdown (final pressure, final temperature, initial pressure, and so on).
- Type in the pressure values and pick the correct unit—kPa, psi, bar, atm, or Pa.
- Enter temperature values and units (°C, °F, or K). The calculator does the unit conversion to Kelvin for you.
- Hit Calculate. Your result is displayed directly.
Diagram
Interactive Gay-Lussac's Law Calculator
This calculator is intended for education, concept evaluation, and preliminary design. Results are based on the equations and assumptions described on this page, but cannot account for every real-world load case, tolerance, material property, environmental condition, installation detail, safety factor, code, or regulatory requirement. Verify all inputs, assumptions, units, and results independently before selecting components or using the result in a real application. Safety-critical, structural, medical, lifting, transportation, or regulated applications must be reviewed by a qualified engineer.
📹 Video Walkthrough — How to Use This Calculator
Gay-Lussac's Law interactive visualizer
Watch pressure and temperature changes in real-time as you adjust conditions in a sealed container. See how doubling temperature doubles pressure when volume stays fixed.
FINAL PRESSURE
300 kPa
PRESSURE RATIO
1.50
TEMP RATIO
1.50
PRESSURE CHANGE
+100 kPa
FIRGELLI Automations — Interactive Engineering Calculators
Equations & Variables
Use the formula below to calculate Gay-Lussac's Law pressure-temperature relationships.
Gay-Lussac's Law (Pressure-Temperature Relationship)
Solving for Each Variable
Variable Definitions
- P₁ = Initial absolute pressure (Pa, kPa, psi, bar, atm)
- P₂ = Final absolute pressure (Pa, kPa, psi, bar, atm)
- T₁ = Initial absolute temperature (K, °C, °F) - must convert to Kelvin for calculations
- T₂ = Final absolute temperature (K, °C, °F) - must convert to Kelvin for calculations
- ΔP = Change in pressure (same units as P)
- ΔT = Change in temperature (same units as T)
- V = Volume (held constant - not appearing in equations)
- n = Amount of gas in moles (held constant - not appearing in equations)
Critical Note: All temperatures MUST be in absolute units (Kelvin) for calculations. The calculator handles conversions automatically. Gauge pressure must be converted to absolute pressure by adding atmospheric pressure (typically 101.325 kPa or 14.7 psi at sea level).
Simple Example
Suppose you have a sealed cylinder at 100 kPa and 300 K. If you heat it to 600 K (double the starting absolute temperature), just run P₂ = P₁ × (T₂ / T₁): P₂ = 100 × (600 / 300) = 200 kPa. Volume is locked, so pressure doubles in step with absolute temperature.
Theory & Practical Applications
Physical Foundation of Gay-Lussac's Law
Gay-Lussac's Law is a special case of the gas laws: as temperature goes up, the pressure in a rigid, fixed-volume container rises with it, provided the amount of gas doesn’t change. It’s not complex—you get more pressure because higher temperature means the gas molecules are moving faster and hitting the walls harder. This is well described by kinetic molecular theory. The math is direct: P₁/T₁ = P₂/T₂ when the volume doesn’t change. This law is a limiting case (constant volume) of the wider combined gas law. Other laws, like Boyle's and Charles's, work for constant temperature and pressure, but here it’s temperature and pressure directly proportional as long as the volume doesn’t budge. The chart of P versus T (in Kelvin) is a straight line, slope determined by gas amount and volume, derived from the core ideal gas law.
Critical Temperature Considerations and Absolute Zero
Gay-Lussac’s Law only makes sense if you use absolute temperature—Kelvin scale—because the zero is set where molecular motion and pressure hit zero. Celsius and Fahrenheit zero points are arbitrary and don’t match the fundamental physics. You can’t just double Celsius and expect pressure to double; converting to Kelvin keeps the relationship meaningful. If you try to use Celsius or Fahrenheit in the formula, you’ll get nonsense. At temperatures near absolute zero, molecules lose nearly all motion, but in practice, gases condense to liquids or solids before reaching 0 K. For most day-to-day engineering, as long as you’re above roughly 200 K, Gay-Lussac’s Law gives a decent approximation for many gases, but stray too low and quantum effects or condensation mess things up.
Pressure Vessel Design and Safety Engineering
Gay-Lussac's Law is at the heart of pressure vessel sizing and safety checks. Take a sealed steel cylinder of nitrogen at 2500 psi (17.24 MPa) and 20°C (293.15 K). If a fire heats it to 650°C (923.15 K), the pressure jumps: P₂ = 2500 × (923.15 / 293.15) = 7872 psi (54.28 MPa). That's way beyond most standard cylinder ratings. But note: actual bursting can occur sooner because steel loses strength at high temperature. That’s why design codes like ASME Section VIII specify relief devices set up to vent excess gas if a vessel is heated in a fire. When designing, you don’t just look at everyday conditions—you calculate worst-case exposure (e.g., full fire at 1000°C in hydrocarbon storage) and make sure your relief systems can handle mass venting so pressure doesn’t blow past what the container can take, especially since the rate of temperature rise can quickly push pressure to unsafe levels well before the calculated burst point. Cryogenic storage brings its own set of risks—if outside heat leaks in, liquid boils off and both vapor and remaining liquid heat up suddenly, spiking pressure unless reliefs are sized right. Fail to do this, and you’re left with a situation where containers can fail long before you’d expect from just their nominal burst or test pressures.
Automotive and Aerospace Applications
Tire pressure going up as temperature rises is Gay-Lussac’s Law in action. Say a car tire’s at 32 psi (220.6 kPa gauge, 322.0 kPa absolute) at 20°C. If it heats to 50°C (323.15 K), pressure climbs to P₂ = 322.0 × (323.15 / 293.15) = 355.1 kPa absolute (34.4 psi gauge)—an increase that’ll definitely change handling and wear. Racing teams use this—they start with lower pressure, planning for that gain on track. Aviation standards require pressure checked when tires are at a known temperature, so they don’t overpressure on takeoff or landing, especially on a hot day. Rocket engineers face the same principle, for instance, filling helium pressurant for tanks: the tank pressure will fall as the helium cools (say, after launch), so the gas supply has to be sized using Gay-Lussac’s Law just to keep up with the real needs across a temperature range.
HVAC and Refrigeration System Design
When charging HVAC systems or pressure-testing pipework, the basics come from Gay-Lussac’s Law, though refrigerants start to diverge from the ideal gas behavior at certain temperatures and pressures. For dry nitrogen pressure tests, a proper system will show pressure changes that track with ambient temperature swing—if not, there’s probably a leak. Geothermal loops and similar closed systems also see seasonal pressure changes with ground temperature. Too high or too low, and you risk pump cavitation or stressing joints beyond their capacity—even if the difference looks minor numerically, the consequences can be expensive.
Scuba Diving and Underwater Gas Systems
Scuba cylinders give a real-world demonstration: fill a steel tank at 3000 psi at 25°C (298.15 K), then take it into 5°C (278.15 K) water and it reads around 2798 psi. You didn’t lose gas, it’s just cooler and therefore lower pressure. On the flip side, cylinders left in a hot car easily jump over safe pressure limits—if you put that same tank at 80°C, you’re up to 3665 psi, which gets uncomfortably close to burst pressure. Large dive habitats at depth need very tight control; a 1°C change there can cause measurable pressure change—needing bleed valves and constant monitoring. At extremely high pressures (like 50 bar+ used for saturation diving), non-ideal gas behavior creeps in and you either need tables or equations that account for it, not just the plain Gay-Lussac law, as errors can be a few percent or more.
Worked Example: Industrial Gas Cylinder Safety Analysis
Suppose you have acetylene cylinders rated for 1800 psi service at 21°C. Let’s say one is left in sun and heats to 68°C before its relief valve opens. Using Gay-Lussac's Law: P₂ = 1800 psi × (341.15 / 294.15) = 2087.6 psi. If the relief is set at 2400 psi, it shouldn’t open at this temperature, suggesting either the cylinder was overfilled, the relief was mis-set, or the internal temp ran hotter than the outside. To trigger relief with a correct fill, you’d have to hit around 119°C. If you want to play it safe and stay 20% below relief setpoint, you’re looking at a maximum safe storage temperature of just about 41°C. Now, in a fire scenario, with temperatures at 1000°C, the pressure prediction is 7790 psi—far past cylinder test capability and an obvious reason for serious fire protection and not treating code safety margins as theoretical.
Real Gas Deviations and Compressibility Factors
Gay-Lussac’s Law only matches reality if the gas acts like an ideal gas. In truth, at higher pressures or low temperatures, real gases don't behave so simply—molecules take up space, and they attract one another. The result: predicted pressure can be off by up to 3-8% in typical industrial pipeline work, or more near condensation. You correct for this with the compressibility factor Z, using (P₁Z₁)/T₁ = (P₂Z₂)/T₂. For most standard tech gases under 500 psi and above 0°C, you’re within a couple percent, which is usually okay for rough sizing, but never forget these corrections when you need precision for safety or custody-transfer measurements.
Integration with Combined Gas Law and Ideal Gas Equation
Gay-Lussac’s Law is just the constant-volume case of the combined gas law. If you need to handle volume changes too, reach for the combined gas law (P₁V₁)/T₁ = (P₂V₂)/T₂. This is how you step through real-world problems, like gas in a cylinder compressed, then suddenly heated, or when breaking down engine thermodynamics into chunks where only one variable shifts slowly. The ideal gas law is the master equation, and these so-called “laws” are just special cases. You pick whichever fits your physical situation best—provided you know which variables are actually fixed in your process. Get that wrong and you’re only solving for the wrong scenario.
Frequently Asked Questions
Free Engineering Calculators
Explore our complete library of free engineering and physics calculators.
Browse All Calculators →🔗 Explore More Free Engineering Calculators
About the Author
Robbie Dickson — Chief Engineer & Founder, FIRGELLI Automations
Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.
Need to implement these calculations?
Explore the precision-engineered motion control solutions used by top engineers.
