Gas Laws Calculator — Boyle's, Charles's, Gay-Lussac's & Ideal Gas Law

Solve all common gas law equations. Supports pressure, volume, temperature unit conversion.

  • Ideal Gas Law PV=nRT
  • Boyle's & Charles's
  • Combined gas law
  • Browser-only
Solve for:

Volume V: 0.0224127

How this tool fits your workflow

More in this category →

The gas laws and their applications

The ideal gas laws model the behavior of gases under varying pressure, temperature, and volume. Real gases deviate from ideal behavior at very high pressures or very low temperatures, but the ideal gas equations are accurate enough for most chemistry and engineering calculations at standard conditions.

Boyle's law explains why a balloon shrinks in cold temperatures and expands at altitude (lower atmospheric pressure). Charles's law explains why a hot air balloon rises — heated air expands at constant pressure, lowering its density. Gay-Lussac's law explains why tire pressure increases when driving (constant volume, rising temperature).

Temperature scales: always use Kelvin

Gas law calculations require absolute temperature in Kelvin. Using Celsius or Fahrenheit directly gives wrong results because those scales have arbitrary zero points. Kelvin starts at absolute zero (the coldest possible temperature), so ratios of Kelvin temperatures are physically meaningful. To convert: K = C + 273.15.

Verification: at standard conditions (STP: 0 degrees C = 273.15 K, 101325 Pa), one mole of ideal gas occupies 22.414 liters. PV = nRT: 101325 times V = 1 times 8.314 times 273.15, so V = 0.02241 m^3 = 22.41 L. This is a useful check for any gas law calculation.

Frequently asked questions

What is Boyle's law?
Boyle's law states that at constant temperature, the pressure and volume of a gas are inversely proportional: P1 times V1 = P2 times V2. Doubling the pressure halves the volume.
What is Charles's law?
Charles's law states that at constant pressure, the volume of a gas is directly proportional to its absolute temperature: V1/T1 = V2/T2. Temperature must be in Kelvin (K = Celsius + 273.15).
What is the ideal gas law?
PV = nRT, where P is pressure (Pa), V is volume (m^3), n is moles, R is 8.314 J/(mol K), and T is temperature (K). For an ideal gas, this equation relates all four state variables.
How does the combined gas law differ from the ideal gas law?
The combined gas law (P1V1/T1 = P2V2/T2) relates the same gas under two different conditions without needing the mole count. The ideal gas law (PV = nRT) applies to one set of conditions and requires knowing the number of moles.