Ideal Gas Law Calculator (pV = nRT)

Solve for pressure, volume, moles, or temperature using the ideal gas equation. Optional: estimate gas mass from molar mass.

Fill the other three values.
Choose units for P.
Choose units for V.
Number of moles.
°C will be converted to Kelvin.
If provided, mass = n × molar mass.
pV = nRT
R = 8.314462618 J/(mol·K)
mass (g) = n · (g/mol)
Assumes ideal gas behavior.