STP Calculator for Gas Volume, Mass and Moles

Convert gas moles to volume, mass, and particle count at standard temperature and pressure.

Gas properties at STP
Enter the amount of gas and its molar mass. STP is 0 °C and 1 atmosphere in this calculator.

About standard temperature and pressure

Standard temperature and pressure provides a reference condition for comparing gas quantities. In this calculator, STP means a temperature of 0 degrees Celsius, or 273.15 kelvin, and an absolute pressure of 1 atmosphere. Under the ideal gas model, one mole occupies approximately 22.414 liters at these conditions. Enter an amount in moles to calculate its ideal volume, and enter the substance's molar mass to calculate the corresponding mass. Gas volume follows from the ideal gas law, pressure times volume equals moles times the gas constant times absolute temperature. Substituting 1 atmosphere and 273.15 kelvin gives the molar volume used here. Mass equals moles multiplied by molar mass. Particle count equals moles multiplied by the Avogadro constant, 6.02214076 times 10 to the power 23 entities per mole. Depending on the substance, an entity may be an atom, molecule, formula unit, ion, or another specified particle. The term STP is not entirely universal. Some standards use 100 kilopascals rather than 1 atmosphere, producing a molar volume near 22.71 liters instead of 22.414 liters. Always confirm the convention used by a textbook, laboratory, regulator, or data source before comparing results. This page states its convention explicitly so calculations remain reproducible. The pressure is absolute, not gauge pressure, and temperature must be interpreted on an absolute scale in gas-law equations. Real gases depart from ideal behavior because particles occupy space and interact. The ideal approximation is often useful at low pressure, but accuracy varies by substance and conditions. At 0 degrees Celsius, some compounds may condense and therefore cannot be treated as an ideal gas throughout the calculation. This calculator does not apply compressibility factors or phase-equilibrium corrections. Use a molar mass that matches the actual chemical formula and composition. For a gas mixture, an average molar mass can estimate total mass, while particle counts may need species-specific composition. Keep sufficient digits during intermediate work and round the reported result according to the precision of the measured amount and molar mass. For laboratory or engineering decisions, use the applicable standard definition and validated property data.

STP gas examples

The examples combine molar volume, molar mass, and the Avogadro constant.

Gas amount and molar massCalculated propertiesContext
2 mol oxygen, 32 g/mol44.828 L and 64 gIdeal oxygen gas at 0 °C and 1 atm.
0.5 mol carbon dioxide, 44.01 g/mol11.207 L and 22.005 gUses the ideal molar volume.
1 mol helium, 4.0026 g/mol22.414 L and 4.0026 gOne mole contains one Avogadro constant of atoms.

How to use the STP calculator

  1. Determine the amount of gas in moles.
  2. Look up and enter the gas molar mass in grams per mole.
  3. Calculate the ideal STP volume, mass, and particle count.
  4. Confirm that the 0 °C and 1 atmosphere convention fits your application.

Frequently asked questions

What conditions does this STP calculator use?

It uses 0 degrees Celsius and 1 atmosphere of absolute pressure. Those conditions correspond to an ideal molar volume of about 22.414 liters.

Why do some sources use 22.7 liters per mole?

They define standard pressure as 100 kilopascals rather than 1 atmosphere. Both conventions exist, so the stated pressure must be checked.

How is particle count calculated?

Moles are multiplied by the Avogadro constant. The meaning of particle depends on whether the substance consists of atoms, molecules, ions, or formula units.

Does every real gas occupy exactly this volume?

No, 22.414 liters per mole is an ideal-gas result at the stated conditions. Real-gas interactions and possible condensation can produce deviations.

How do I find molar mass?

Add the atomic masses represented by the substance's chemical formula. Use a trusted periodic table and include every atom in the formula.