STP isn’t universal
IUPAC’s STP (1 bar) gives 22.711 L/mol, while the classroom “1 atm” STP is 22.414 L/mol. Always match your chosen convention.
Tip: If you only know mass & volume at a chosen condition, leave MW blank — we’ll estimate it and fill it in.
Here \(M_W\) is molecular weight (g/mol) and \(V_m\) is the molar volume you selected (e.g., 22.414 L/mol for STP at 1 atm). Real gases deviate slightly from ideal behavior; for most classroom and quick lab estimates, these values are sufficient.
Chemists bounce between three closely related quantities all the time: moles (n), mass (m), and gas volume (V). This tool ties them together using two fundamentals: (1) the mass–mole relationship via molecular weight (MW, g/mol), and (2) the gas–mole relationship via a molar volume \(V_m\) selected for your conditions. For quick work we often use standard reference conditions:
These values assume ideal behavior and are excellent for classroom, quick lab estimates, and early design work. Under non-ideal conditions, the compressibility factor \(Z\) or a full equation of state may be needed.
Behind the scenes, molar volumes come from the ideal gas law \(PV=nRT\). For example, at 0 °C and 1 atm, \(V_m = \dfrac{RT}{P} \approx 22.414\ \mathrm{L/mol}\) using \(R=0.082057\ \mathrm{L\,atm\,mol^{-1}\,K^{-1}}\).
Example 1 — CO₂ mass to volume at STP. Suppose you have 22.0 g CO₂ \((M_W=44.01\ \mathrm{g/mol})\) and want the gas volume at STP (1 atm):
Example 2 — Estimating molecular weight from mass & volume (gas densitometry). A gas sample has mass 1.23 g and occupies 0.950 L at SATP (1 atm). Using \(V_m = 24.465\ \mathrm{L/mol}\):
In the tool, enter any known values and choose your molar volume convention; it will compute the remainder, including \(M_W\) when possible.
If you’re preparing solutions (solutes in liquids), you’ll often convert moles ↔ mass here and then move to: Molarity Calculator (moles per liter) and Dilution (C1V1=C2V2) for practical make-up volumes.
Tip: If your organization mandates a specific convention (e.g., IUPAC STP or SATP at 1 bar), save that option as your default and note it in your lab records. Consistency is the fastest path to reproducible results.
IUPAC’s STP (1 bar) gives 22.711 L/mol, while the classroom “1 atm” STP is 22.414 L/mol. Always match your chosen convention.
A mole of marbles would blanket Earth in a shell kilometers thick; that’s how the mole bridges atomic counts to human-scale masses.
Collecting gas over water adds water vapor; subtract its partial pressure or your calculated moles will be too low.
The compressibility factor \(Z\) measures real-gas quirks—CO₂ near room temp can deviate a few percent from ideal volume.
Mass and volume at a known \(V_m\) (e.g., SATP) let you back-calc molecular weight, a quick way to guess an unknown gas.