Ideal Gas Law Calculator

Part of Chemistry Calculators

Calculate pressure, volume, moles, or temperature using the ideal gas law equation PV = nRT with automatic unit conversions.

PV = nRT
Result
-

How to Use the Ideal Gas Law Calculator

  1. Select what to solve for: Choose which variable you want to calculate (P, V, n, or T).
  2. Enter known values: Fill in the three known variables with their values and units.
  3. Calculate: Click the calculate button to solve for the unknown variable.
  4. View result: The calculator displays the result with automatic unit conversion using the ideal gas constant R.

What is the Ideal Gas Law?

The ideal gas law is a fundamental equation in chemistry and physics that describes the behavior of ideal gases under various conditions. It combines several simpler gas laws (Boyle's Law, Charles's Law, and Avogadro's Law) into one comprehensive equation: PV = nRT. Use our Molar Mass Calculator to find the molar mass when working with gas samples.

This equation states that the product of pressure and volume is directly proportional to the product of the number of moles and absolute temperature. The ideal gas constant R serves as the proportionality constant, with a value of 8.314 J/(mol·K) or 0.08206 L·atm/(mol·K).

Ideal Gas Law Variables

P (Pressure): The force exerted by gas molecules colliding with container walls, measured in pascals (Pa), atmospheres (atm), or other pressure units.

V (Volume): The space occupied by the gas, typically measured in liters (L) or cubic meters (m³).

n (Moles): The amount of gas substance, measured in moles (mol). One mole contains Avogadro's number (6.022 × 10²³) of particles. Our Molarity Calculator can help with solution-related gas calculations.

T (Temperature): The absolute temperature of the gas, which must be in Kelvin (K) for the equation to work correctly.

R (Gas Constant): 8.314 J/(mol·K) or 0.08206 L·atm/(mol·K), depending on the units used.

Related Gas Laws

Boyle's Law: P₁V₁ = P₂V₂ - At constant temperature and moles, pressure and volume are inversely proportional.

Charles's Law: V₁/T₁ = V₂/T₂ - At constant pressure and moles, volume and temperature are directly proportional.

Avogadro's Law: V₁/n₁ = V₂/n₂ - At constant temperature and pressure, volume and moles are directly proportional.

Gay-Lussac's Law: P₁/T₁ = P₂/T₂ - At constant volume and moles, pressure and temperature are directly proportional.

Combined Gas Law: P₁V₁/T₁ = P₂V₂/T₂ - Combines Boyle's, Charles's, and Gay-Lussac's laws.

Limitations of the Ideal Gas Law

The ideal gas law assumes that gas molecules have no volume and do not interact with each other, which is only approximately true for real gases. It works best at low pressures and high temperatures where gases behave more ideally. At high pressures or low temperatures, real gases deviate significantly from ideal behavior due to intermolecular forces and molecular volume. In such cases, the Van der Waals equation or other real gas equations provide more accurate results.

Applications

The ideal gas law is essential in chemistry for stoichiometry calculations involving gases, determining molar masses, and understanding chemical reactions in the gas phase. Our Stoichiometry Calculator helps with reaction quantity calculations. In engineering, it's used to design pressure vessels, analyze combustion engines, and model atmospheric conditions. Environmental scientists use it to study air pollution and greenhouse gas concentrations. The equation is also fundamental in thermodynamics, kinetic molecular theory, and understanding everyday phenomena like tire pressure changes with temperature.