Combined Gas Law Calculator
Pick the unknown among initial and final pressure, volume and temperature, fill the other five, and the calculator returns the missing one from P1V1/T1 = P2V2/T2. It works in Kelvin or Celsius, converting temperatures to the absolute scale internally and echoing the answer back in your chosen unit. Pressures and volumes can be in any units you like, as long as the two pressures share one unit and the two volumes share another.
How to use the combined gas law calculator
- Use the 'Solve for' menu to choose the unknown; its input box is disabled and marked (unknown).
- Set 'Temperature unit' to Kelvin (K) or Celsius (C).
- Fill the remaining five rows: initial and final pressure, volume and temperature.
- Read the solved value in the results grid, where the unknown cell is highlighted.
- Click Copy to grab all six values listed in P1, V1, T1, P2, V2, T2 order.
Examples
Solve for final temperature (Kelvin)
P1 = 1, V1 = 2, T1 = 300 K, P2 = 2, V2 = 1
T2 = (P2 V2 T1) / (P1 V1) = 300 K
Solve for final pressure at constant temperature (Boyle)
P1 = 2, V1 = 3, T1 = 300 K, V2 = 1, T2 = 300 K
P2 = (P1 V1 T2) / (T1 V2) = 6
Solve for final temperature in Celsius (volume doubled)
P1 = 1, V1 = 1, T1 = 25 C, P2 = 1, V2 = 2
25 C is 298.15 K, doubling volume gives 596.3 K, so T2 = 323.15 C
Frequently asked questions
What is the combined gas law?
It merges Boyle's law (pressure and volume), Charles's law (volume and temperature) and Gay-Lussac's law (pressure and temperature) into one relation, P1V1/T1 = P2V2/T2, for a fixed amount of an ideal gas. The quantity PV/T stays constant as the gas moves between two states.
Why must temperature be in Kelvin?
The law only holds on an absolute scale where zero really means zero thermal energy. Celsius is offset, so the calculator adds 273.15 to convert your Celsius values to Kelvin before solving, then subtracts it to hand the answer back in Celsius. Using raw Celsius directly would give a wrong ratio.
What units can I use for pressure and volume?
Any consistent units, because only the ratios enter the equation. Use the same unit for both pressures (atm, kPa, mmHg or bar) and the same unit for both volumes (litres, m^3 or mL). The result comes back in whatever units you supplied.
How many values do I need to enter?
Exactly five of the six. From any five of P1, V1, T1, P2, V2 and T2 the sixth is fully determined. The 'Solve for' menu blanks out one field, so you naturally fill the other five.
Can I use it for Boyle's, Charles's or Gay-Lussac's law?
Yes. Hold temperature equal (T1 = T2) and it becomes Boyle's law; hold pressure equal for Charles's law; hold volume equal for Gay-Lussac's law. Just enter the same value in both boxes for the quantity you want to keep constant.
What if I get an error about absolute zero?
Temperatures must convert to a value above 0 K. In Celsius that means above -273.15 C. A colder entry, or one that solves to zero or below, is rejected as non-physical. Pressures and volumes must also be greater than zero.
How does it relate to the ideal gas law?
The combined gas law compares two states of the same sealed sample, so the amount of gas cancels out. The ideal gas law PV = nRT is the fuller statement that also fixes the amount in moles, n, through the gas constant R. Use the combined law for before-and-after problems where the moles do not change.
Are the answers exact?
They are exact for an ideal gas and are rounded to six decimal places for display. Real gases drift from the ideal at high pressure or near condensation, so treat the output as a very good approximation rather than a laboratory-grade measurement.
Learn more
- Boyle, Charles and Gay-Lussac in one law
How three simple gas laws fold into P1V1/T1 = P2V2/T2, why the Kelvin scale is required, and when the relation stops working.
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.
Gay-Lussac's Law Calculator
Solve Gay-Lussac's Law P1/T1 = P2/T2 for the missing pressure or temperature at constant volume. Enter any three values, set Kelvin or Celsius, get the fourth.
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.