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
- Use the Solve for menu to pick which quantity is unknown (P1, T1, P2 or T2).
- Choose Kelvin or Celsius in the Temperature unit menu.
- Type the three known values into their boxes; the unknown box is disabled.
- Read the solved value, highlighted in the four result cards.
- 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
- Gay-Lussac's Law: pressure and temperature at constant volume
The physics behind P1/T1 = P2/T2, why the volume must stay fixed, the Kelvin requirement, and where the relationship shows up in daily life.
Related tools
Boyle's Law Calculator
Solve Boyle's Law P1V1 = P2V2 for the missing pressure or volume at constant temperature. Enter any three values in any consistent units and get the fourth.
Charles's Law Calculator
Solve Charles's Law V1/T1 = V2/T2 for the missing volume or temperature at constant pressure. Enter any three values, set Kelvin or Celsius, get the fourth.
Combined Gas Law Calculator
Solve the combined gas law P1V1/T1 = P2V2/T2 for any missing value. Enter five of the six, set Kelvin or Celsius, and get the sixth instantly.
Ideal Gas Law Calculator
Solve the ideal gas law PV = nRT for pressure, volume, moles or temperature. Enter any three values, pick your units in atm, kPa, L, m3, K or C.
555 Timer Calculator
Calculate 555 timer astable frequency, period, high and low times and duty cycle from R1, R2 and the timing capacitor. Free oscillator design helper.
Absolute Humidity Calculator
Calculate absolute humidity in grams of water vapor per cubic meter from air temperature and relative humidity. Fast, free and works in your browser.