Combined Gas Law Calculator

Final pressure P22.17 atm
Pressure change1.17 atm
Final temperature323.15 K
How this was calculated
  1. Gas laws only work in absolute temperature: 25 °C = 298.15 K and 50 °C = 323.15 K.
  2. The combined gas law holds P × V ÷ T constant for a fixed amount of gas: P2 = P1 × V1 × T2 ÷ (T1 × V2).
  3. P2 = 1.00 × 2.00 × 323.15 ÷ (298.15 × 1.00) = 2.17 atm.
  4. Sanity check the direction: the volume shrank and the temperature rose, and both changes push the pressure up — and indeed the pressure more than doubled.

This combined gas law calculator solves the relationship P1V1 / T1 = P2V2 / T2 for a fixed amount of gas, joining Boyle's, Charles's and Gay-Lussac's laws into one equation. Enter any five of the six values and the calculator returns the missing sixth value. For instance, if you start with 1 atm, 2 L at 25 °C (298.15 K) and compress the gas to 1 L while warming it to 50 °C (323.15 K), the calculator gives P2 = 2.17 atm. Any consistent pressure and volume units work, because only ratios enter the equation. Temperature is the exception and must be kelvin: kelvin = degrees C + 273.15. Using Celsius is the single most common gas-law error.

The combined gas law is the accepted standard for this kind of calculation because it unifies three well-tested laws into one compact relationship, and it assumes the amount of gas does not change and the gas behaves ideally. That ideal assumption is a good approximation at ordinary temperatures and pressures, though it becomes weaker near condensation. This page shows the formula, step-by-step workings, worked examples and sources so you can verify each result. The worked examples include 1 atm, 3 L at 0 °C (273.15 K) taken to 1.5 atm and 100 °C (373.15 K), giving V2 = 2.73 L because heating beats compression, and doubling pressure from 1 to 2 atm at a constant 2 L from 25 °C, giving T2 = 596.30 K = 323.15 °C because the absolute temperature doubles while the Celsius figure does not.

Worked examples

Squeezed and warmed

Primary result: 2.17 atm — halving the volume while warming from 25 to 50 °C more than doubles the pressure. (Final pressure (P2) · 1 atm · 2 L · 25 °C · 2 atm · 1 L · 50 °C)

Final pressure P22.17 atm
Pressure change1.17 atm
Final temperature323.15 K

Expansion wins

Primary result: 2.73 L — heating from 0 to 100 °C outweighs the pressure rise to 1.5 atm, so the gas still expands. (Final volume (V2) · 1 atm · 3 L · 0 °C · 1.5 atm · 1 L · 100 °C)

Final volume V22.73 L
Volume change-0.27 L
Final temperature373.15 K

The kelvin lesson

Primary result: 596.30 K — doubling the pressure at fixed volume doubles the absolute temperature, which reads as 323.15 °C, not 50 °C. (Final temperature (T2) · 1 atm · 2 L · 25 °C · 2 atm · 2 L · 50 °C)

Final temperature T2596.30 K
Final temperature323.15 °C
Temperature change298.15 K

The law and the kelvin rule

The combined gas law joins Boyle's, Charles's, and Gay-Lussac's laws into a single relationship: P1V1 / T1 = P2V2 / T2, for a fixed amount of gas. Each parent law isolates one variable while holding another constant. Boyle's law links pressure and volume at constant temperature. Charles's law links volume and temperature at constant pressure. Gay-Lussac's law links pressure and temperature at constant volume. The combined gas law lets all three variables change at once, which is exactly what makes a combined gas law calculator useful for real-world problems.

A key rule overrides every other detail of the math: temperature must be absolute. Convert Celsius to kelvin by adding 273.15. Using Celsius instead of kelvin is the single most common gas-law error, and it produces answers that look reasonable but are wrong. Pressure and volume are more forgiving — any consistent units work, because only ratios enter the equation. If both pressure values are in atmospheres and both volume values are in liters, the units cancel. Temperature is the exception and must always be in kelvin.

Consider a sample of gas at 1 atm and 2 L at 25 °C. In kelvin, that starting temperature is 298.15 K. Compress the gas to 1 L and warm it to 50 °C (323.15 K), and the math gives P2 = 2.17 atm. A second example starts at 1 atm, 3 L, and 0 °C (273.15 K). Raise the pressure to 1.5 atm and the temperature to 100 °C (373.15 K), and the final volume is 2.73 L — heating beats compression, so the volume shrinks but not by the full compression ratio.

The clearest way to see why kelvin matters is to double pressure from 1 to 2 atm while holding volume at 2 L, starting from 25 °C. The absolute temperature must also double, from 298.15 K to 596.30 K. Convert 596.30 K back to Celsius and you get 323.15 °C. The kelvin figure doubles cleanly; the Celsius figure does not. A student who plugs 25 and 50 directly into the formula would get nonsense, because 50 is not double 25 in absolute terms. That mismatch is why every gas-law calculation must start with the kelvin conversion.

The law assumes the amount of gas does not change and the gas behaves ideally. This is a good approximation at ordinary temperatures and pressures, but it becomes weaker near condensation, where real gas behavior deviates from the ideal model.

Always convert temperature to kelvin before solving. Kelvin = degrees Celsius + 273.15. Celsius in the formula is the most common gas-law mistake.

The worked examples

The combined gas law joins Boyle's, Charles's and Gay-Lussac's laws into a single relationship: P1V1 / T1 = P2V2 / T2 for a fixed amount of gas. A combined gas law calculator handles the algebra for you, but walking through a few problems by hand shows why the temperature conversion matters so much. In every example below, the first step is converting temperatures to kelvin using kelvin = degrees C + 273.15. Using Celsius is the single most common gas-law error, and it produces answers that look plausible but are wrong.

Solve for pressure. A gas starts at 1 atm and 2 L at 25 °C, which is 298.15 K. It is then compressed to 1 L and warmed to 50 °C, which is 323.15 K. Rearrange the law to P2 = (P1 × V1 × T2) / (T1 × V2). Substitute the values: P2 = (1 atm × 2 L × 323.15 K) / (298.15 K × 1 L). The liters cancel, and the kelvin cancels, leaving P2 = 646.30 / 298.15, which gives P2 = 2.17 atm. The pressure more than doubles because the volume halved while the temperature rose only modestly.

Solve for volume. A gas starts at 1 atm and 3 L at 0 °C, which is 273.15 K. It is then taken to 1.5 atm and 100 °C, which is 373.15 K. Rearrange the law to V2 = (P1 × V1 × T2) / (T1 × P2). Substitute the values: V2 = (1 atm × 3 L × 373.15 K) / (273.15 K × 1.5 atm). The atmospheres cancel, and the kelvin cancels, leaving V2 = 1119.45 / 409.725, which gives V2 = 2.73 L. The volume shrinks under the higher pressure, but not all the way down to 2 L, because heating beats compression and pushes the volume back up.

Solve for temperature. A gas starts at 1 atm and a constant 2 L at 25 °C, which is 298.15 K. The pressure doubles from 1 to 2 atm while the volume stays fixed at 2 L. Rearrange the law to T2 = (P2 × V2 × T1) / (P1 × V1). Substitute the values: T2 = (2 atm × 2 L × 298.15 K) / (1 atm × 2 L). The atmospheres cancel, and the liters cancel, leaving T2 = 1192.60 / 2, which gives T2 = 596.30 K. Convert back to Celsius: 596.30 K − 273.15 = 323.15 °C. The absolute temperature doubles, the Celsius figure does not. That gap is exactly why kelvin is required for every gas-law calculation.

These three problems share two assumptions built into the combined gas law. The amount of gas does not change, and the gas behaves ideally. That is a good approximation at ordinary temperatures and pressures, but it becomes weaker near condensation. Any consistent pressure and volume units work, because only ratios enter the equation; temperature is the exception and must be kelvin.

Sanity-checking the direction

Before you plug numbers into a combined gas law calculator, it helps to predict whether the final value should rise or fall. The combined gas law joins Boyle's, Charles's and Gay-Lussac's laws into one relationship: P1V1 / T1 = P2V2 / T2 for a fixed amount of gas. Because that equation ties pressure, volume, and temperature together, you can often tell at a glance which way the result will move, and that quick judgment catches mistakes before they propagate through your entire calculation.

The two most useful rules of thumb are simple. Squeezing a gas — cutting its volume — raises its pressure, provided temperature is held steady. Heating a gas raises its pressure if the volume is fixed, or raises its volume if the pressure is fixed. When two variables change at once, ask which effect dominates. In one worked example, gas starts at 1 atm, 3 L, and 0 °C (273.15 K), then moves to 1.5 atm and 100 °C (373.15 K), giving V2 = 2.73 L — heating beats compression. The pressure rose, which alone would shrink the volume, but the temperature rose far more in absolute terms, so the net result is still a larger volume.

That last phrase matters more than people expect: absolute terms. Temperatures must be absolute: kelvin = degrees C + 273.15. Using Celsius is the single most common gas-law error, and it ruins the kind of sanity-check described above because ratios of Celsius values are meaningless. A rise from 25 °C to 50 °C is not a doubling; it is a rise from 298.15 K to 323.15 K, about an 8 percent increase. In the first worked example, gas at 1 atm, 2 L, and 25 °C (298.15 K) is compressed to 1 L and warmed to 50 °C (323.15 K), giving P2 = 2.17 atm. The volume halved, which alone would double the pressure, but the modest warming offsets that only slightly, so the answer stays just above 2 atm — exactly what the rules of thumb predict.

A third worked example shows the same logic applied to temperature. Doubling pressure from 1 to 2 atm at a constant 2 L from 25 °C gives T2 = 596.30 K = 323.15 °C — the absolute temperature doubles, the Celsius figure does not. Anyone who ran the sanity-check in Celsius would expect the final temperature near 50 °C, not 323.15 °C, and that mismatch is the warning sign. The law assumes the amount of gas does not change and the gas behaves ideally — a good approximation at ordinary temperatures and pressures, weaker near condensation. Any consistent pressure and volume units work, because only ratios enter; temperature is the exception and must be kelvin.

Assumptions

Every combined gas law calculator rests on two core assumptions: the amount of gas stays fixed, and the gas behaves ideally. The first means no molecules enter or escape the system between the initial and final states. A sealed syringe, a closed rigid tank, or a piston that does not leak all satisfy this condition. If gas is added, removed, or allowed to diffuse out, the combined gas law no longer applies because the relationship P1V1 / T1 = P2V2 / T2 is derived for a constant number of moles.

The second assumption, ideal behavior, is a good approximation at ordinary temperatures and pressures. It treats gas particles as points that do not attract or repel one another and occupy no volume themselves. Real gases follow the law closely at room temperature and moderate pressure, but the approximation grows weaker near condensation. As a gas approaches the point where it turns into a liquid, intermolecular forces and particle volume become significant, and the simple ratio of pressure, volume, and temperature starts to drift from measured values. For most everyday calculations involving air, nitrogen, oxygen, or noble gases well above their boiling points, the deviation is small enough to ignore.

One assumption that trips up more users than any other involves temperature units. Any consistent pressure and volume units work in a combined gas law calculator, because only ratios enter the equation. You can use atmospheres, pascals, torr, or psi for pressure, and liters, milliliters, or cubic meters for volume, as long as you use the same unit on both sides. Temperature is the exception. It must be expressed in kelvin, calculated as degrees C + 273.15. Using Celsius is the single most common gas-law error, and it produces results that look plausible but are wrong.

The worked examples show why this matters. Take a gas at 1 atm, 2 L, and 25 °C, which is 298.15 K. Compress it to 1 L and warm it to 50 °C, which is 323.15 K, and the calculator gives P2 = 2.17 atm. In another case, 1 atm, 3 L at 0 °C, or 273.15 K, taken to 1.5 atm and 100 °C, or 373.15 K, yields V2 = 2.73 L. Here heating beats compression, so the volume actually increases despite the higher pressure. A particularly telling example involves doubling pressure from 1 to 2 atm at a constant 2 L starting from 25 °C. The result is T2 = 596.30 K, which equals 323.15 °C. The absolute temperature doubles, but the Celsius figure does not. That contrast alone shows why kelvin is not optional.

Using Celsius instead of kelvin is the single most common gas-law error. Always convert with kelvin = degrees C + 273.15 before entering any temperature into the calculator.

FAQs

What is the combined gas law formula?

The combined gas law formula is P1V1 / T1 = P2V2 / T2. It applies to a fixed amount of gas changing between two states. Each state has its own pressure, volume, and temperature, and the equation lets you solve for any one unknown value when the other five are known.

Why must temperature be in kelvin?

Gas laws are proportional to absolute temperature. Celsius has an arbitrary zero, which would break the ratios. Kelvin starts at absolute zero, so doubling the kelvin temperature truly doubles the thermal energy. Always convert Celsius or Fahrenheit to kelvin before using the combined gas law formula.

What units can I use for pressure and volume?

Any, as long as both states use the same units — only temperature is forced, to kelvin. For example, you can use atmospheres, pascals, or torr for pressure, and liters or cubic meters for volume. Just pick one unit for pressure and one for volume, and apply them consistently across both states.

How does the combined gas law differ from the ideal gas law?

The ideal gas law (PV = nRT) handles one state and changing amounts; the combined law compares two states of a fixed amount. The ideal gas law includes moles and the gas constant, so it works when the amount of gas varies. The combined gas law skips those by holding the amount fixed and comparing before and after conditions.

What if the amount of gas changes?

Then the combined law does not apply — use the ideal gas law with moles on both sides. The combined gas law assumes a fixed amount of gas, so adding or removing gas invalidates the relationship. Instead, set up PV = nRT for each state separately and include the correct number of moles for each condition.

Which laws does it combine?

The combined gas law brings together three separate gas laws: Boyle's (pressure-volume), Charles's (volume-temperature) and Gay-Lussac's (pressure-temperature). Each of those laws holds one variable constant. The combined gas law removes that restriction, letting pressure, volume, and temperature all change at once while the amount of gas stays fixed.

Sources

Related calculators

Ideal Gas Law Calculator
PV = nRT solved for whichever variable is missing — pressure, volume, moles or temperature — in kPa, litres, moles and kelvin.
Boyle's Law Calculator
P₁V₁ = P₂V₂: find the new pressure or the new volume of a gas squeezed or expanded at constant temperature.
Charles's Law Calculator
V₁/T₁ = V₂/T₂ with the Celsius-to-kelvin conversion handled for you — find a heated gas's new volume, or the temperature a target volume needs.
Density Calculator
Density, mass or volume from the other two — ρ = m/V — with the float-or-sink check against water built in.