# 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 content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/7923/. Also, please do not modify any references to the original work (if any) contained in this content.

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.

#### Similar calculators

**

**PLANETCALC, Convert grams to liters and liters to grams

## Comments