Do Quick Calculation!

Perform fast calculations with our user-friendly online calculator! Conveniently crunch numbers and solve equations instantly. Ideal for quick math tasks, our tool simplifies your daily computations effortlessly. Try our intuitive calculator for accurate results on the go!

Molecular Weight to Density Calculator

Use our Molecular Weight to Density Calculator to find gas density from molecular weight, pressure, and temperature with accurate unit conversions.

ρ = M × P ÷ (R × T)
Pick a common gas or enter a custom molecular weight, then choose whether to use standard conditions (0°C, 1 atm) or your own temperature and pressure.
Molecular Weight to Density — Reference
TermMeaningNotes
ρ = MP ÷ (RT)Gas density from molecular weight, pressure, temperatureDerived from PV=nRT, M=m/n, ρ=m/V
RGas constant0.082057 L·atm/(mol·K)
ρ ≈ M ÷ 22.414Density shortcut at STP (0°C, 1 atm)Common approximation, matches the exact formula at STP
⚠ Molecular weight alone cannot determine gas density — pressure and temperature are required. This ideal-gas formula is not accurate for non-ideal gases at high pressure; use a real-gas equation or compressibility factor in those cases.
42 views

The Molecular Weight to Density Calculator helps you find the density of a gas from its molecular weight, pressure, and temperature. It uses the ideal gas law, so the calculation is quick and simple.

You can use it for molecular weight to density conversion, molar mass to density conversion, and gas density calculations. The calculator also supports common units such as g/mol, kg/mol, atm, kPa, bar, psi, and mmHg.

Molecular Weight to Density Formula

For an ideal gas, the molecular weight to density formula is:

ρ = (M × P) / (R × T)

Here, ρ is gas density, M is molecular weight or molar mass, P is absolute pressure, R is the gas constant, and T is absolute temperature in kelvin.

For this calculator:

R = 0.082057 L·atm/(mol·K)

When M is in g/mol, P is in atm, and T is in K, the result is in g/L.

At 0°C and 1 atm, the calculator also uses the STP formula:

ρ ≈ M / 22.414

This provides a simple way to convert molecular weight to density at the programmed STP conditions.

How to Use Online Molecular Weight to Density Calculator

Using the calculator is easy.

  1. Enter the molecular weight, or select a gas preset such as oxygen, nitrogen, hydrogen, carbon dioxide, methane, or dry air.
  2. Select the molecular weight unit. You can use g/mol, kg/mol, or lb/mol.
  3. Enter the pressure and select its unit. The calculator supports atm, kPa, bar, psi, and mmHg.
  4. Enter the temperature and select °C, °F, or K. The calculator converts the temperature to kelvin before calculating density.
  5. Click the calculate button. The calculator converts the inputs, applies the molecular weight to density formula, and shows the gas density in your selected output unit.

Example Molecular Weight to Density Calculation

Suppose we want to find the density of oxygen gas.

Molecular weight:

M = 31.998 g/mol

Pressure:

P = 1 atm

Temperature:

T = 25°C

First, convert Celsius to kelvin:

T = 25 + 273.15 = 298.15 K

Now apply the formula:

ρ = (M × P) / (R × T)

ρ = (31.998 × 1) / (0.082057 × 298.15)

ρ ≈ 1.307 g/L

Therefore, the oxygen gas density is approximately:

1.307 g/L

The same value is numerically equal to about 1.307 kg/m³.

Molecular Weight to Density for Liquids

A molecular weight to density calculator based on the ideal gas law should not be used to calculate liquid density. Molecular weight alone does not determine the density of a liquid.

For liquids, density depends on factors such as molecular structure, temperature, pressure, and the physical properties of the substance. So molecular weight to density liquid conversion needs different data or a substance-specific density relationship.

Likewise, molecular weight alone cannot give the density of an arbitrary gas. Pressure and temperature are also required.

Final Verdict

The Molecular Weight to Density Calculator offers a fast way to calculate gas density from molecular weight, pressure, and temperature. Its main equation is ρ = MP/(RT). It also provides an STP calculation using ρ ≈ M/22.414.

For ideal-gas calculations, this method is simple, useful, and easy to apply. For liquids or gases under strongly non-ideal conditions, use an appropriate property model instead.

FAQs

What is the molecular weight to density formula?

For an ideal gas, the formula is:

ρ = MP/(RT)

How do you convert gas molecular weight to density?

You need molecular weight, absolute pressure, and absolute temperature. Enter these values into the calculator, and it applies ρ = MP/(RT).

Can molecular weight alone determine gas density?

No. Gas density also depends on pressure and temperature.

What is the density to molecular weight formula?

Rearranging the ideal-gas equation gives:

M = ρRT/P

This can be used as a gas density to molecular weight calculator formula when density, temperature, and pressure are known.

What is the density to weight formula?

Density is mass divided by volume:

ρ = m/V

Therefore:

m = ρV

This is a general density to weight calculator relationship, but mass and weight are not physically identical quantities.

What is the density to specific weight formula?

Specific weight is weight per unit volume:

γ = ρg

where γ is specific weight, ρ is density, and g is gravitational acceleration.