ThisCalculator

Everyday

Pressure Change with Temperature Calculator

Updated · Standard formula, shown below

Final pressure 111.69 kPa
Pressure change
10.37 kPa
Result
Initial pressure
101.325 kPa
You entered
Initial temperature
20 °C
You entered

This calculator works out the pressure change of an ideal gas when its temperature changes at constant volume, using the Gay-Lussac law. You enter the initial pressure, the initial temperature, and the final temperature, and it returns the final pressure in the same units you used for the initial pressure. It also shows the pressure change directly, so you can see how much the pressure rose or fell.

Formula

The calculator uses the Gay-Lussac law, which states that for a fixed amount of gas at constant volume, the absolute pressure is directly proportional to the absolute temperature. The formula is:

P₂ = P₁ × (T₂ / T₁)

Where:

  • P₁ = initial absolute pressure (any unit, e.g., kPa, psi, atm, bar)
  • T₁ = initial absolute temperature (kelvin)
  • P₂ = final absolute pressure (same unit as P₁)
  • T₂ = final absolute temperature (kelvin)

Because the formula requires absolute temperature, the calculator converts Celsius to kelvin by adding 273.15. If you are using Fahrenheit, you must first convert to Celsius or kelvin before applying the formula. The pressure must also be absolute (not gauge pressure). Gauge pressure is relative to atmospheric pressure, so you need to add the atmospheric pressure (about 101.325 kPa or 14.696 psi at sea level) to the gauge reading before using the formula.

Worked Example

Using the default values from the calculator:

  • Initial pressure (P₁) = 101.325 kPa
  • Initial temperature (T₁) = 20 °C = 20 + 273.15 = 293.15 K
  • Final temperature (T₂) = 50 °C = 50 + 273.15 = 323.15 K

Apply the formula:

P₂ = 101.325 × (323.15 / 293.15)

P₂ = 101.325 × 1.10234 ≈ 111.70 kPa

The pressure change is 111.70 − 101.325 = 10.38 kPa (rounded to two decimals). This matches the calculator output.

When to Use This Calculator

This tool is useful in many everyday and industrial situations where a gas is trapped in a fixed volume and the temperature changes. Common examples include:

  • Checking the pressure increase in a sealed aerosol can or a gas cylinder left in a hot car.
  • Estimating the pressure rise in a car tire after driving (though tires expand slightly, so this is an approximation).
  • Understanding why a sealed container of air (like a plastic bottle) becomes harder or softer when moved from a cold to a hot environment.
  • Designing pressure vessels or piping systems that operate over a temperature range.

Remember that the law applies to ideal gases. Real gases deviate at high pressures or near condensation, but for air at normal conditions the error is small (usually less than a few percent).

How to Read the Results

The final pressure (P₂) is the absolute pressure after the temperature change. If you started with gauge pressure, you must add atmospheric pressure to P₁ before using the calculator, and then subtract atmospheric pressure from the result to get the final gauge pressure. For example, if a tire is at 200 kPa gauge (about 29 psi) at 20 °C, the absolute pressure is 200 + 101.325 = 301.325 kPa. After heating to 50 °C, the absolute pressure becomes 301.325 × (323.15/293.15) ≈ 332.1 kPa, which is 332.1 − 101.325 = 230.8 kPa gauge. That is an increase of about 30.8 kPa (4.5 psi).

The pressure change (ΔP) is simply the difference between final and initial absolute pressures. It is positive for heating and negative for cooling. The result is in the same unit as the pressure you entered (e.g., kPa, psi, bar).

Common Mistakes and Limitations

  • Using Celsius or Fahrenheit without converting: The formula requires kelvin. Adding 273.15 to Celsius is essential. For Fahrenheit, convert to Celsius first: (°F − 32) × 5/9.
  • Using gauge pressure instead of absolute: Most pressure gauges read zero at atmospheric pressure. For gases, you must use absolute pressure. Add the local atmospheric pressure (approximately 101.325 kPa or 14.696 psi at sea level).
  • Assuming constant volume: The law holds only if the volume does not change. Tires expand slightly, so the real pressure increase will be a bit less than calculated.
  • Ignoring gas leaks: If the container is not sealed, the pressure will not follow the law.
  • Real gas behavior: At very high pressures or low temperatures near the boiling point, gases deviate from ideal behavior. For most air applications, the error is negligible.

Also note that the calculator does not account for the expansion of the container material. For rigid steel tanks, the volume change is tiny and can be ignored. For flexible containers like balloons, the volume changes and this law does not apply.

Safety Considerations

Understanding pressure changes with temperature is important for safety. Sealed containers can rupture if the internal pressure becomes too high. For example, an aerosol can left in a hot car can explode. This calculator helps you estimate the pressure rise, but always follow the manufacturer’s warnings and never exceed the rated pressure of a container. If you are working with compressed gas cylinders, always check the temperature limits and use proper pressure relief devices. The calculated pressure is a theoretical value; real-world conditions may differ due to leaks, volume changes, or non-ideal gas behavior.

Frequently Asked Questions

What is the Gay-Lussac law?

The Gay-Lussac law states that the pressure of a fixed amount of gas at constant volume is directly proportional to its absolute temperature. Mathematically, P₁/T₁ = P₂/T₂. It is one of the gas laws and is a special case of the ideal gas law when volume and moles are constant.

Why do I need to use kelvin instead of Celsius?

Because the relationship is proportional only when temperature is measured from absolute zero. Celsius is an offset scale, so doubling the Celsius temperature does not double the pressure. Kelvin starts at absolute zero (−273.15 °C), making the proportion valid. For example, going from 20 °C to 40 °C doubles the Celsius value, but the pressure only increases by about 6.8% because the absolute temperatures are 293 K and 313 K.

Can I use this for liquids?

No, the Gay-Lussac law applies to ideal gases. Liquids are nearly incompressible and their pressure changes with temperature are much more complex, often involving thermal expansion of the liquid and the container. For a completely filled rigid container of liquid, the pressure can rise dramatically with temperature, but that requires different calculations using the bulk modulus and thermal expansion coefficient.

How accurate is this for air?

For air at typical room temperatures and pressures (up to a few atmospheres), the ideal gas assumption is very good, with error less than 1%. At very high pressures (over 10 atm) or very low temperatures, the error increases. For most practical purposes, the calculation is accurate enough.

What if the volume changes too?

If the volume changes, you need the combined gas law: P₁V₁/T₁ = P₂V₂/T₂. This calculator assumes constant volume. For a flexible container like a balloon, the pressure may stay roughly constant while the volume changes, so this calculator would not apply.

Does the calculator work for Fahrenheit?

No, the inputs are in Celsius. If you have Fahrenheit, convert to Celsius first: °C = (°F − 32) × 5/9. For example, 68 °F is 20 °C. Then use the calculator. The output pressure is in the same unit as the initial pressure, so you can use psi or kPa as you prefer.

Related

Formula used
in p1 | Initial pressure | kPa | 101.325 | 0
in t1 | Initial temperature | °C | 20 | -273.15
in t2 | Final temperature | °C | 50 | -273.15
out p2 | Final pressure | kPa | p1 * (t2 + 273.15) / (t1 + 273.15) | 2
out dp | Pressure change | kPa | p2 - p1 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.