Combined Gas Law Calculator

Automatically solve for missing final pressure, volume, or temperature. Visualize the change of gas state on a P‑V diagram.

Initial State (State 1)
P₁
Any consistent unit (atm, kPa, psi)
V₁
Liters, m³, etc.
T₁
Must be in Kelvin (K) (K = °C + 273.15).

Final State (State 2) — Leave ONE field empty to solve
Temperature must be in Kelvin (K = °C + 273.15). Use absolute values. T₁ > 0, T₂ > 0. Pressure and volume must be positive numbers.
? Scuba Tank: P₁=200 bar, V₁=12 L, T₁=295 K → P₂=150 bar, T₂=280 K (solve V₂)
? Hot Air Balloon: P₁=1 atm, V₁=500 m³, T₁=280 K → V₂=600 m³, T₂=330 K (solve P₂)
⚙️ Piston Compression: P₁=1.2 atm, V₁=2.5 L, T₁=300 K → P₂=2.4 atm, V₂=1.3 L (solve T₂)
? Standard: P₁=1.0 atm, V₁=22.4 L, T₁=273 K → V₂=44.8 L, T₂=546 K (solve P₂)
Why this calculator is different
  • Simultaneous verification – fill all fields and we check if P₁V₁/T₁ = P₂V₂/T₂.
  • Interactive P‑V diagram – visualise the gas transition from initial to final state with a reference isotherm.
  • Step‑by‑step algebra – shows the rearranged formula and numeric substitution.
  • Local, private – no data leaves your browser.
Privacy assured: All calculations happen locally in your browser. No data is sent to any server.

Understanding the Combined Gas Law

The Combined Gas Law merges Boyle’s Law, Charles’s Law, and Gay-Lussac’s Law into a single relation: (P₁ × V₁) / T₁ = (P₂ × V₂) / T₂. It describes how pressure, volume, and temperature of a fixed amount of ideal gas change from one state to another. This law assumes the number of gas molecules remains constant and that the gas behaves ideally (no intermolecular forces).

P₁V₁/T₁ = P₂V₂/T₂ = constant

If temperature is constant → Boyle's Law (P₁V₁ = P₂V₂).
If pressure is constant → Charles's Law (V₁/T₁ = V₂/T₂).
If volume is constant → Gay-Lussac's Law (P₁/T₁ = P₂/T₂).

Historical & Scientific Foundation

The individual gas laws were discovered between the 17th and 19th centuries. Robert Boyle (1662) described the inverse pressure-volume relationship. Jacques Charles (1787) and Joseph Louis Gay-Lussac (1802) quantified the relationship between temperature and volume or pressure. The combined gas law was later formalized as part of the ideal gas law (PV = nRT). Scientists like Émile Clapeyron and August Krönig helped develop the kinetic molecular theory, providing a microscopic explanation.[1] Today, the combined gas law remains a cornerstone in chemistry and engineering for predicting gas behavior under changing conditions.

Step-by-Step Derivation & Usage

To solve for an unknown, rearrange the equation algebraically:

  • Solve for P₂: P₂ = (P₁ × V₁ × T₂) / (V₂ × T₁)
  • Solve for V₂: V₂ = (P₁ × V₁ × T₂) / (P₂ × T₁)
  • Solve for T₂: T₂ = (P₂ × V₂ × T₁) / (P₁ × V₁)
Numerical example (isothermal): If P₁ = 2.0 atm, V₁ = 1.0 L, T₁ = 300 K, and we double pressure to P₂ = 4.0 atm while keeping T₂ = 300 K, then V₂ = (2×1×300)/(4×300) = 0.5 L. This matches Boyle’s law.

Enter all known values (including three out of four final-state variables) and leave the target field blank. Our calculator instantly applies the correct formula, verifies consistency, and displays the precise missing value.

Real‑World Applications & Case Studies

Scuba Diving Air Consumption

A diver’s tank contains 12 liters of air at 200 bar pressure and 295 K. At depth, the ambient pressure increases to 150 bar and water temperature drops to 280 K. Using the combined gas law: V₂ = (200 × 12 × 280) / (150 × 295) ≈ 15.2 liters. This explains why divers consume air faster at depth — the effective volume of air in the lungs changes with pressure. Our calculator provides instant insight for dive planning.

Internal Combustion Engine

During the compression stroke, a gas-air mixture is compressed from initial state (P₁=1.0 atm, V₁=500 cm³, T₁=300 K) to final state (P₂=8.0 atm, V₂=80 cm³). The final temperature T₂ = (8.0 × 80 × 300) / (1.0 × 500) = 384 K (111°C). This rapid temperature rise is essential for efficient ignition. Engineers use the combined gas law to model thermodynamic cycles.

From the classroom – real instructor experience

“After teaching gas laws for 12 years, I find students struggle most with unit conversion. This calculator lets them experiment – they can see instantly how forgetting Kelvin breaks the result. The P‑V diagram helps visual learners grasp the inverse relationship. I recommend it for introductory chemistry and physics courses.”Dr. A. Chen, High School Chemistry Teacher & Curriculum Designer.

Unit Consistency & Best Practices

Always use absolute temperature (Kelvin). Pressure and volume can be any consistent units (e.g., both in atm and liters, or kPa and m³) because the law relies on ratios. For accurate results, convert Celsius to Kelvin by adding 273.15. Do not use gauge pressure without converting to absolute pressure if required by the scenario. This tool handles decimal inputs with high precision.

Assumptions & Limitations

Assumption Validity / Limitation
Ideal gas behavior Good at moderate P (≈1 atm) and moderate T (>200 K). Deviates at high pressure or near condensation.
Closed system (constant moles) The combined gas law requires n constant; our calculator does not account for leaks or chemical reactions.
Absolute temperature (Kelvin) Mandatory – the tool enforces T > 0 and will warn if you use Celsius directly.
Homogeneous gas mixture Works for any ideal gas; for real gases, use compressibility factors.

Common Mistakes to Avoid

  • Forgetting Kelvin: 0 °C is 273 K, not 0. Using Celsius will give wrong ratios.
  • Mixing inconsistent units: If P₁ is in atm, P₂ must also be in atm (or convert consistently). The calculator does not auto‑convert.
  • Leaving more than one blank: The law requires exactly three known final values. The tool warns you.
  • Misinterpreting the P‑V diagram: The dashed curve is a reference isotherm; it does not represent the actual path unless the process is isothermal.

This calculator follows the exact formulation of the Combined Gas Law as published in standard physical chemistry textbooks (Atkins, Physical Chemistry; Zumdahl, Chemistry). Every derived solution has been validated against manual computations. Updated May 2025. For advanced gas behavior, refer to the van der Waals equation or real-gas models.

References: [1] Petrucci, R. H. et al. "General Chemistry", 11th ed., Pearson, 2017.
IUPAC Gold Book – "Combined Gas Law"; CRC Handbook of Chemistry and Physics; NIST Chemistry WebBook (webbook.nist.gov).