Enter the pressure (Pa), the molecular weight (kg/mol), and the temperature (K) into the Density From Molecular Weight Calculator. The calculator will evaluate and display the Density From Molecular Weight. 

Molecular Weight to Density Calculator

Enter any 3 values to calculate the missing variable

Density From Molecular Weight Formula

The following formula is used to calculate the Density From Molecular Weight. 

D = P * MW / (R*T)
  • Where D is the Density From Molecular Weight (kg/m^3)
  • P is the pressure (Pa) 
  • MW is the molecular weight (kg/mol) 
  • T is the temperature (K) 
  • R is the Universal Gas Constant (8.314)

To calculate density from molecular weight, multiply the pressure by the molecular weight, then divide by the product of the temperature and gas constant.

Molecular Weight to Density Conversion Table (Ideal Gas at 1 atm, 25°C; R = 8.314 J/(mol·K))
Molecular Weight (g/mol) Density (kg/m³)
20.082
40.164
160.654
170.695
180.736
200.818
281.145
28.971.184
301.226
321.308
341.390
36.461.490
401.635
441.799
582.371
642.616
843.434
984.006
131.295.367
146.065.970
* Rounded to 3 decimals. Ideal gas relation: ρ = (P × M) / (R × T). Assumes P = 1 atm (101,325 Pa), T = 25°C (298.15 K), R = 8.314 J/(mol·K). 1 g/mol → 0.040877 kg/m³ at these conditions.

How to Calculate Density From Molecular Weight?

The following example problems outline how to calculate Density From Molecular Weight.

Example Problem #1

  1. First, determine the pressure (Pa).
    1. The pressure (Pa) is given as 3000.
  2. Next, determine the molecular weight (kg/mol).
    1. The molecular weight (kg/mol) is calculated as: .44.
  3. Next, determine the temperature (K).
    1. The temperature (K) is found to be: 250.
  4. Finally, calculate the Density From Molecular Weight using the formula above: 

D = P * MW / (R*T)

Inserting the values from above yields: 

D = 3000 * .44 / (8.314*250) = .635 (kg/m^3)


Example Problem #2

The variables needed for this problem are provided below:

pressure (Pa) = 240

molecular weight (kg/mol) = 205

temperature (K) = 100

This example problem is a test of your knowledge on the subject. Use the calculator above to check your answer. 

D = P * MW / (R*T) = (kg/m^3)