Boneyard Tools

Gay-Lussac's Law Calculator

Enter any three of initial pressure, initial temperature, final pressure and final temperature, and this calculator solves Gay-Lussac's Law, P1/T1 = P2/T2, for the fourth at constant volume. Temperatures entered in Celsius are converted to Kelvin before the math and converted back for the answer, since the law only holds on an absolute scale. Pressure can be in any unit as long as you use the same one for both pressures.

How to use the Gay-Lussac's Law calculator

  1. Use the Solve for menu to pick which quantity is unknown (P1, T1, P2 or T2).
  2. Choose Kelvin or Celsius in the Temperature unit menu.
  3. Type the three known values into their boxes; the unknown box is disabled.
  4. Read the solved value, highlighted in the four result cards.
  5. Press Copy to grab all four values as labelled lines.

Examples

Solve for final pressure

Solve P2, P1 = 1, T1 = 300 K, T2 = 600 K
P2 = 2

Solve for final temperature

Solve T2, P1 = 1, T1 = 300 K, P2 = 2
T2 = 600 K

Solve with Celsius input

Solve P2, P1 = 1, T1 = 0 C, T2 = 273.15 C
P2 = 2

Frequently asked questions

What is Gay-Lussac's Law?

Gay-Lussac's Law states that for a fixed amount of gas held at constant volume, the pressure is directly proportional to the absolute temperature. In equation form that is P1/T1 = P2/T2, so doubling the Kelvin temperature doubles the pressure.

Why must temperature be in Kelvin?

The proportionality only works from absolute zero, so a scale that starts at zero is required. The calculator adds 273.15 to any Celsius value to reach Kelvin before solving, then subtracts it again to report the answer in the unit you chose.

What pressure units can I use?

Any unit works because only the ratio of the two pressures enters the equation. Whether you use pascals, atmospheres, psi or bar, the result is correct as long as P1 and P2 share the same unit.

How many values do I need to enter?

Exactly three of the four. The Solve for menu marks the fourth as unknown and disables its box, and from any three of P1, T1, P2 and T2 the missing one is fully determined.

How is this different from Boyle's and Charles's Law?

Each law holds one variable fixed. Gay-Lussac's keeps volume constant and links pressure to temperature, Boyle's keeps temperature constant and links pressure to volume, and Charles's keeps pressure constant and links volume to temperature.

What happens if I enter a temperature at or below absolute zero?

The calculator rejects it. A Kelvin value of zero or less, or a Celsius value at or below minus 273.15, is physically impossible and would divide by zero or worse, so the tool shows an error instead of a number.

Can I enter a negative or zero pressure?

No. Pressure must be greater than zero, so a zero or negative entry is flagged as invalid. Temperatures in Celsius may be negative as long as they stay above minus 273.15.

Is this an exact law for real gases?

It is exact for an ideal gas and a close approximation for real gases well away from their condensation point. Near very high pressures or very low temperatures, real-gas behaviour drifts from the simple proportion.

Does the calculation happen on a server?

No. The algebra runs in your browser the moment you change an input, so your numbers are never sent anywhere and results appear instantly.

Learn more

Related tools