The molar mass of a substance is used to convert grams to moles and moles to grams. ... Molar volume allows conversions to be made between moles and volume of gases at STP. Gas density can be calculated from the molar mass and molar volume.