Input Values (PV = nRT)

Calculated Result

Enter at least 3 values to calculate the missing one

Gas Law Calculator - PV = nRT Calculator

Calculate gas law variables using the ideal gas equation (PV = nRT). Perfect for chemistry students and gas calculations.

What is Gas Law Calculator?

Gas Law Calculator is a free online tool that calculates gas law variables using the ideal gas equation (PV = nRT). It allows you to input any three of the four variables (pressure, volume, moles, temperature) and calculates the missing one. Perfect for chemistry students, researchers, and anyone working with gas calculations.

How to Use Gas Law Calculator

  1. Enter any three of the four variables: pressure, volume, moles, or temperature
  2. Select the appropriate units for each variable
  3. The missing variable will be calculated automatically
  4. If you enter all four variables, the calculator will verify if they satisfy PV = nRT
  5. Copy the result using the copy button
  6. Use Clear to reset all values

Ideal Gas Law Formula

PV = nRT
Pressure × Volume = Moles × Gas Constant × Temperature

Variables

  • P - Pressure (in Pa)
  • V - Volume (in m³)
  • n - Number of moles
  • R - Gas constant (8.314 J/(mol·K))
  • T - Temperature (in K)

Units

  • Pressure: Pa, kPa, MPa, atm, bar, mmHg, psi
  • Volume: m³, L, mL, cm³, ft³, gal
  • Temperature: K, °C, °F
  • Moles: mol

Frequently Asked Questions

What is the ideal gas law?

The ideal gas law (PV = nRT) describes the relationship between pressure, volume, temperature, and the number of moles of an ideal gas. It's a fundamental equation in chemistry and physics.

When is the ideal gas law valid?

The ideal gas law is most accurate at low pressures and high temperatures. At high pressures or low temperatures, real gases deviate from ideal behavior due to intermolecular forces and molecular volume.

What is the gas constant R?

The gas constant R = 8.314 J/(mol·K) is a fundamental physical constant that relates the energy scale to the temperature scale for an ideal gas.

Can I use negative values?

No, pressure, volume, moles, and temperature must be positive values since they represent physical quantities that cannot be negative.

Is my data secure?

Yes, all calculations happen locally in your browser. Your data never leaves your device.

Can I use this offline?

Yes, once loaded, the calculator works completely offline in your browser.