# Convert grams to liters and liters to grams

This online calculator converts grams to liters and liters to grams given a gas formula. It uses molar volume of a gas at STP (standard temperature and pressure)

This calculator finishes the topic started in Convert moles to liters and liters to moles calculator. Because the molar volume is the same for all ideal gases and is known, we can convert from grams to liters and vice versa if we know the gas formula.

These are steps to convert from grams of gas to liters of a gas:

• find the molar mass from the formula
• find moles by dividing given mass to molar mass
• find the volume by multiplying the number of moles to molar volume.

And these are steps to convert from liters of gas to grams of a gas:

• find moles by diving given volume to molar volume
• find the molar mass from the formula
• find mass by multiplying the number of moles to the molar mass

Note that this calculator uses molar volume at STP (standard temperature and pressure). To convert to it (or from it), you can use Molar volume calculator. #### Convert grams to liters and liters to grams

Digits after the decimal point: 1
Volume of the gas, liters

Mass of the gas, grams

Molar mass of the gas

Molar mass details

URL copied to clipboard

#### Similar calculators

PLANETCALC, Convert grams to liters and liters to grams