Gas Density Calculator

Calculate the density of gases or other unknown parameters such as molar mass, mass, volume, pressure, temperature using the Ideal Gas Law.

Select the Type of Calculation You Want to Perform

Calculate Gas Density (d=PM/RT)



Bu hesaplayıcı, ideal gaz yasasının türetilmiş hali olan $ d = \frac{PM}{RT} $ formülünü kullanarak bir gazın yoğunluğunu hesaplar.

  • d: Gas density (g/L or kg/m³)
  • P: Gas pressure
  • M: Molar mass of gas
  • R: Ideal gas constant (varies depending on units selected)
  • T: Absolute temperature (Kelvin)

Make sure you have selected all units correctly. Temperature must be entered in Kelvin (or will be converted).

Calculate Ideal Gas Law Parameters (PV=nRT)

Enter the three known values and leave the field you want to calculate blank.




Bu hesaplayıcı, gazların dört temel parametresi arasındaki ilişkiyi açıklayan **İdeal Gaz Yasası** ($ PV=nRT $) formülünü kullanarak, bilinen üç değeri kullanarak dördüncü bilinmeyeni bulur.

  • P: Pressure
  • V: Volume
  • n: Number of moles
  • R: Ideal gas constant (automatically adjusted according to selected units)
  • T: Absolute temperature (Kelvin)

Please leave the one field you want to calculate blank and enter the other three values. The temperature must be in Kelvin (or it will be converted).

What is Gas Density and the Ideal Gas Law?

The density of a gas is the mass per unit volume of a gas at a given temperature and pressure. Unlike solids and liquids, the density of gases changes significantly with temperature and pressure because the spaces between the molecules of the gas are much greater.

**Ideal Gas Law** is a fundamental equation that describes the behavior of gases and can be applied to many gases with high accuracy. Its formula is as follows:

$ PV = nRT $

Gas Density Formula (Derived from Ideal Gas Law)

From the Ideal Gas Law, we can express the density (d) of the gas in terms of its molar mass (M):

$ d = \frac{PM}{RT} $

Ideal Gas Constant (R) Values

Our calculator will automatically select the appropriate R value based on the units you enter. The most commonly used R values are:

Temperature Conversions

In the ideal gas law, the temperature must always be the absolute temperature in Kelvin.

Application Areas:

This calculator calculates gas density and other parameters based on the ideal gas law. Real gases can deviate from ideal gas behavior, especially at high pressures and low temperatures. Therefore, more complex gas models (such as the van der Waals equation) should be used in critical applications and when real gas behavior is important. Be sure to use consistent units in your calculations.