Gay-Lussac's Law Calculator

Calculate the pressure-temperature relationship of a fixed-volume gas.

Pressure and temperature calculator
Enter both absolute temperatures and the initial pressure to find the final pressure.

About Gay-Lussac's law

Gay-Lussac's law describes how the pressure of a fixed amount of gas changes with absolute temperature when its volume remains constant. The relationship is direct: increasing Kelvin temperature increases pressure by the same proportion, while decreasing temperature lowers pressure. The calculator applies P1 divided by T1 equals P2 divided by T2. Pressure may be entered in pascals, kilopascals, bar, atmospheres, or another unit because the answer uses the same pressure unit as the initial value. Temperature must be expressed on an absolute scale. Kelvin starts at absolute zero, so temperature ratios have physical meaning. Celsius values cannot be substituted directly because zero degrees Celsius does not represent zero thermal energy. Convert Celsius to Kelvin by adding 273.15 before using the calculator. A temperature of 27 degrees Celsius, for example, is 300.15 kelvin. Both temperature entries must use the same absolute scale. The law assumes the gas is sealed in a rigid container, the amount of gas does not change, and gas behavior is close to ideal. Heating makes molecules move faster and strike the container walls more often and with greater momentum. Because the walls cannot expand, those collisions appear as increased pressure. This model is useful for classroom gas-law problems, pressure estimates in sealed vessels, aerosol storage discussions, and basic thermodynamics. Real systems may depart from the prediction at very high pressure, very low temperature, near a phase change, or when the container changes volume. Safety calculations should also account for vessel strength, relief devices, measurement uncertainty, and real-gas properties. This calculator provides a transparent proportional estimate rather than an engineering certification. Check that the chosen initial and final states describe the same gas sample, keep pressure units consistent, and use measured absolute temperatures for the most meaningful result. Record input units and assumptions whenever you share a result so another reader can reproduce the calculation and interpret it correctly.

Gay-Lussac's law examples

These examples keep volume and gas quantity constant.

Known valuesFinal pressureInterpretation
P1 = 1 atm, T1 = 300 K, T2 = 600 KP2 = 2 atmDoubling absolute temperature doubles pressure.
P1 = 100 kPa, T1 = 250 K, T2 = 400 KP2 = 160 kPaThe temperature ratio is 1.6.
P1 = 2 bar, T1 = 320 K, T2 = 280 KP2 = 1.75 barCooling reduces pressure proportionally.

How to use the calculator

  1. Enter the initial pressure in any pressure unit.
  2. Enter the initial absolute temperature in kelvin.
  3. Enter the final absolute temperature in kelvin.
  4. Select Calculate final pressure and read the answer in the original pressure unit.

Frequently asked questions

What is Gay-Lussac's law?

It states that gas pressure is directly proportional to absolute temperature when volume and gas quantity are constant. Its common form is P1 divided by T1 equals P2 divided by T2.

Why must temperature be in kelvin?

The formula compares temperature ratios, which require a scale beginning at absolute zero. Celsius has an offset, so direct Celsius ratios produce incorrect results.

Which pressure unit should I use?

You may use any pressure unit for the initial pressure. The calculated pressure is returned in that same unit because the formula uses a ratio.

Does this law work for every gas?

It is a good approximation for gases behaving ideally under moderate conditions. Real gases can deviate near condensation, at high pressure, or at very low temperature.

What must remain constant?

The container volume and the amount of gas must remain constant between states. If either changes, a combined gas law or another model is more appropriate.