Densidade do gás → Massa Molar
M = (ρ·R·T)/P; ρ em g/L, R=0.08206, P em atm.
Massa molar (g/mol)
—
Gas density and molar mass
Take the ideal gas law, put d = m/V into it, and you end up with ρ = P · MM / (R · T). Here ρ is density (g/L), MM the molar mass (g/mol), P the pressure and T the absolute temperature. Flip it around and you get MM = ρ·R·T/P, which is how you can pin down an unknown gas. A few numbers at 25 °C and 1 atm: air (MM ≈ 29) sits at roughly 1.18 g/L; hydrogen (MM = 2) is only about 0.082 g/L, which is exactly why an H₂ balloon floats; CO₂ (MM = 44) comes out near 1.80 g/L, heavier than air, so it pools in the low spots of a closed room.
Applications
Meteorology, where humid air turns out lighter than dry air because H₂O has MM 18, below 29. Airships and balloons running on helium or hot air. Industrial safety, since CO₂ collects at floor level and has asphyxiated people in wine cellars, silos and breweries. Aeronautics, where the thinner air at altitude cuts both lift and engine thrust. And analytical chemistry, where density tells you which gas you are looking at.
FAQ
Why does CO₂ pose a risk in cellars? At 1.84 g/L against air's 1.20, it settles into the lowest part of the space, and you can't see it or smell it. In high enough concentration it kills.
Why does helium make balloons rise? With MM = 4 its density is around 0.16 g/L, roughly 7× lighter than the air it pushes aside. That difference is the buoyancy you get from Archimedes' principle.
Does the formula apply to liquids? No. It holds for ideal gases only, and liquids don't obey PV = nRT.
Related Tools
Rent Adjustment Calculator
Compute annual rent adjustment by IGP-M or IPCA accumulated in the last 12 months (manually configurable).
Pregnancy Calculator
Compute estimated due date (EDD), gestational age and trimester from the last menstrual period (LMP).
Fertile Period Calculator
Compute fertile window and ovulation day from the first day of the last cycle and the average cycle length.