This online calculator converts moles to liters of a gas at STP (standard temperature and pressure) and liters of gas to moles. The conversion is straightforward and is based on the fact that the ideal gas equation is a good approximation for many common gases at standard temperature and pressure.
Thus, we can rearrange terms in ideal gas equation and write them like this
The relation is the molar volume .
Hence, for a given temperature and pressure, the molar volume is the same for all ideal gases and is known to the same precision as the gas constant: R = 0.082 057 338(47) L atm K−1 mol−1, that is a relative standard uncertainty of 5.7×10−7, according to the 2014 CODATA recommended value1
The molar volume of an ideal gas at standard temperature and pressure (273.15 K, 101.325 kPa) is 22.413 962 x 10-3 m3 mol-1 with standard uncertainty of 0.000013 x 10-3 m3 mol-12
The calculator below uses the formula to convert liters to moles and to convert moles to liters, where is 22.413962