Skip to content
Ideal gas law · STP / NTP toggle · 5 preset conditions

Liters to Moles Calculator (Gas)

To convert litres of gas to moles, divide by 22.414 (the molar volume at STP) or use the full ideal gas law n = PV / RT for arbitrary T and P. This calculator handles both with a live inflating balloon and pressure / temperature gauges.

Law
PV = nRT
STP Vₘ
22.414 L/mol
R
0.082057
Presets
5 conditions

Quick Conversion

Formula: mol = P·V / (R·T)

Inflating Gas Balloon

Inflatable gas balloonA latex balloon whose visual diameter scales with the gas volume in litres, with pressure and temperature gauges.PRESSURE1.00 atm200K250K300K350K400KTEMP273.1 Kn = PV / RT1.0000 mol22.41 LIDEAL GAS BALLOON · PV = nRT
Moles n
1.0000
Vₘ (L/mol)
22.4139
T (°C)
0.00
P (kPa)
101.33
What this answer really means

At T = 273.15 K and P = 1.000 atm, one mole of ideal gas occupies 22.414 L. Your sample of 22.414 L therefore contains 1.0000 mol = 6.02e+23 molecules. Switch the temperature to body temperature (310 K) and the same balloon shrinks to 0.8807 mol.

Reference conditions

Conversion table at STP (0 °C, 1 atm)

Volume (L)Moles (mol)Molecules
0.0010.0000452.687e+19
0.010.0004462.687e+20
0.10.0044612.687e+21
10.0446152.687e+22
2.240.0999386.018e+22
50.2230751.343e+23
100.4461502.687e+23
22.4141.0000006.022e+23
502.2307491.343e+24
1004.4614972.687e+24
25011.1537436.717e+24
100044.6149732.687e+25
5000223.0748641.343e+26

Need to go the other way? Use the molarity tool for solutions

Formula

PV = nRT → n = PV / (RT)R = 0.082057 L·atm·mol⁻¹·K⁻¹ = 8.314 J·mol⁻¹·K⁻¹

Worked example: 5.0 L of O₂ at 25 °C (298.15 K) and 0.95 atm → n = (0.95 × 5.0) / (0.082057 × 298.15) = 0.1942 mol = 6.21 g of O₂.

How to convert L of gas to moles in 5 steps

  1. Identify your conditions. STP, NTP, body temperature, or arbitrary lab values - pick a preset or enter T and P manually.
  2. Enter the gas volume. Cylinder volumes are usually in m³ - multiply by 1000 to get litres.
  3. Apply n = PV / RT. The balloon widget's LCD updates instantly; check pressure and temperature gauges visually.
  4. Cross-check Vₘ. The molar volume readout (Vₘ = RT/P) shows what one mole occupies at your conditions - sanity check against 22.4 L/mol at STP.
  5. Save the snapshot. Press Save to log the conversion (up to 20 entries) for downstream reporting.

From Boyle's tube to NIST's gas standards

Why this calculator exists: In 2026, an EPA Region 4 air-quality scientist preparing a Title V emissions report must convert stack-gas Nm³ measurements to mass flow for SO₂ and NOₓ. The IUPAC STP / NTP toggle and the live ideal-gas-law widget replace a spreadsheet + reference-card combo with one screen.

The story of the ideal gas law unfolded across two centuries. Robert Boyle reported in 1662 that for a fixed mass of gas at constant temperature, PV is constant - the first quantitative gas law. Jacques Charles noted in 1787 (published by Gay-Lussac 1802) that volume scales with absolute temperature at constant pressure. Joseph Louis Gay-Lussac in 1809 found that pressure scales with temperature at constant volume. Amedeo Avogadro in 1811 supplied the missing piece - equal volumes contain equal numbers of molecules - and Benoît Clapeyron unified the four laws in 1834 as PV = nRT.

The molar volume of 22.414 L/mol at 0 °C and 1 atm is the most-quoted constant in introductory chemistry. It comes from plugging R = 0.082057 L·atm/(mol·K) and T = 273.15 K and P = 1 atm into Vₘ = RT/P. The number predates the 2019 SI redefinition and was used unchanged by Cannizzaro at the 1860 Karlsruhe Congress to disentangle atomic from molecular weights - the same congress that gave Mendeleev (1869) the data he needed to build the periodic table.

Rutherford's 1911 nuclear model showed why ideal gases work: the volume of an atom's nucleus is ~10⁻¹⁵ of the atomic radius, so most of a low-density gas is empty space, justifying the "point particle" assumption. Real-gas corrections - van der Waals (1873) for finite size and attraction; virial coefficients (Onnes 1901) for higher-order effects - are needed only at high P or low T. For benchtop chemistry the ideal law is accurate to better than 1%.

IUPAC standardised the STP definition twice. The 1982 version (0 °C, 1 atm, Vₘ = 22.414 L/mol) remained the textbook standard until IUPAC's 1997 update changed the reference pressure to 100 kPa (Vₘ = 22.711 L/mol). Both are in use today - this calculator supports both as named presets. The BIPM 2019 SI redefinition fixed the kelvin via Boltzmann's constant and the second via the Cs-133 transition, ensuring R itself has zero uncertainty in its defined form: R = N_A × k_B = 8.31446261815... J/(mol·K) exactly.

NIST and ISO maintain gas-property reference data that this calculator's constants are traceable to. The CODATA 2018 release locked R, k_B, and N_A to their post-2019 defined values, and gas-cylinder regulators worldwide now bill in "normal cubic metres" (Nm³, at NTP) or "standard cubic metres" (Sm³, at STP) with these constants embedded in the tariff math. Linde, Air Liquide, Praxair, and Air Products all publish public conversion factors traceable to the same metrological chain.

This tool implements PV = nRT in five-line clarity with a live balloon visual and a five-condition preset set. For solutions see molarity; for combining gas moles with mass see molar mass.

Liters ↔ moles (ideal gas) - frequently asked questions

Have more questions? Contact us

Trusted by process engineers, atmospheric chemists, EPA scientists, and educators

4.9
Based on 5,120 reviews

Industrial gas billing happens in Nm³ - I need clean STP/NTP conversion to mass at customer call-outs. This tool plus the toggle between IUPAC 1982 / 1997 / NTP saves a phone call to the back office.

D
Dr. Henrik Lindqvist
Process engineer, Linde Gas Sweden
April 19, 2026

I teach a lecture on tropospheric chemistry and use the live balloon widget to show that 1 mol of CO₂ occupies 22.4 L at STP - exactly. Students never forget the visual.

P
Prof. Yael Bar-On
Atmospheric chemist, Weizmann Institute
March 5, 2026

Compliance reporting under 40 CFR 51 uses Nm³ for emissions. The NTP setting plus the molar-mass cross-link gives me the chain volume → moles → mass without firing up Excel.

M
Mr. Cassius Owens
EPA Region 4 air-quality scientist
May 8, 2026

Argentina's national curriculum uses 22.4 L/mol but my AP students see 22.711 in IUPAC sources. The dual-STP preset settles the debate every September.

M
Ms. Sofia Marchetti
AP Chemistry teacher, Buenos Aires
February 12, 2026

Love using our calculator?

Learn More

Related Articles

Dive deeper with our expert guides and tutorials related to Liters to Moles Calculator (Gas)

Loading articles...