J.R. S. answered 04/25/19
Ph.D. University Professor with 10+ years Tutoring Experience
Assume you have 1 liter of F2 gas at STP (1 atm pressure and 273K). At STP, and assuming it is an ideal gas, 1 mole = 22.4 liters. Thus, 1 liter = 0.0446 moles F2 gas. We can convert this to grams as follows:
0.0446 moles F2 x 37.98 g/mole = 1.69 g F2
We now have mass and volume which is density. Density = mass/volume = 1.69 g/1 liter.
If you want to convert this to the more commonly used g/ml, we have 0.00169 g/ml as the density.