Density at STP Calculator

Find STP gas density with flexible chemistry inputs. Check common standards, corrections, and export files. Clear steps help students verify every density answer quickly.

Calculator

g/mol
g

Example Data Table

Gas Molar mass g/mol STP standard Approx density g/L
Hydrogen2.0160 °C, 1 atm0.0899
Helium4.0030 °C, 1 atm0.1786
Nitrogen28.0130 °C, 1 atm1.2506
Oxygen31.9990 °C, 1 atm1.4289
Carbon dioxide44.0100 °C, 1 atm1.9635

Formula Used

Ideal gas density: Density = PM / ZRT.

P is pressure in atm. M is molar mass in g/mol. Z is the compressibility factor. R is 0.082057366 L·atm·mol⁻¹·K⁻¹. T is temperature in kelvin.

STP molar volume method: Density = molar mass / molar volume.

Measured sample method: Density = mass / volume.

STP correction: Density at STP = measured density × Pstp/Pmeasured × Tmeasured/Tstp.

How to Use This Calculator

  1. Select the method that matches your chemistry problem.
  2. Choose the required STP standard.
  3. Enter molar mass for ideal gas calculations.
  4. Enter pressure and temperature for custom conditions.
  5. Use Z = 1 for normal classroom ideal gas work.
  6. Press Calculate to show the result above the form.
  7. Use CSV or PDF buttons to save your work.

Understanding Density at STP

Density at STP describes the mass of a gas in a fixed volume under standard conditions. Chemists use it to compare gases fairly. Temperature and pressure change gas volume. A shared reference removes that problem.

Why STP Matters

STP is useful in gas law work, lab reports, and quick molecular checks. Many classes use 0 °C and 1 atm. Some references use 0 °C and 100 kPa. This calculator lets you select either convention. It also supports custom conditions when your problem uses another pressure or temperature.

Role of Molar Mass

For an ideal gas, density depends strongly on molar mass. A heavier molecule gives a higher density at the same conditions. Helium stays light because its molar mass is small. Carbon dioxide is denser because its molar mass is larger. The calculator divides molar mass by molar volume. It also uses the ideal gas equation when pressure and temperature are entered directly.

Corrections and Limits

Real gases can deviate from ideal behavior. The compressibility factor helps adjust the result. A value near one means the gas behaves almost ideally. Values above or below one show attraction, repulsion, or high pressure effects. For most classroom STP problems, one is acceptable. For engineering work, use measured values or trusted property tables.

Measured Density Option

Sometimes you have mass and volume from a sample. That gives measured density. The tool can also correct that density to STP using pressure and temperature ratios. This is helpful when data were collected in a room, not at standard conditions.

Using the Result

The final result appears in grams per liter and kilograms per cubic meter. These units are numerically equal for gas density. The table also shows molar volume and moles per liter. Use the notes to explain your method. Use CSV for spreadsheets. Use PDF for a printable record.

Good Practice

Always write the chosen STP definition. State all units. Round only at the end. Compare your answer with common gas values. Big differences often mean the wrong pressure unit, temperature unit, or molar mass was entered. For mixtures, enter the average molar mass. Estimate it from mole fractions, then multiply each gas fraction by its own molar mass carefully.

FAQs

What is gas density at STP?

It is the mass of a gas per unit volume under standard temperature and pressure. It is usually reported in g/L or kg/m³.

Which STP standard should I use?

Use the standard required by your class, book, or lab. Many problems use 0 °C and 1 atm. Some modern references use 0 °C and 100 kPa.

Why does molar mass affect density?

At the same temperature and pressure, equal gas volumes contain equal moles. Heavier molecules have more mass in that same volume.

What does Z mean?

Z is the compressibility factor. It adjusts ideal gas density for real gas behavior. Use 1 when the problem assumes an ideal gas.

Are g/L and kg/m³ the same here?

Yes. For density conversion, 1 g/L equals 1 kg/m³. The calculator shows both units for convenience.

Can I use this for gas mixtures?

Yes. Enter the average molar mass of the mixture. Use mole fractions to calculate that average before using the calculator.

Why is my answer different from a table?

The table may use another STP definition or real gas data. Check pressure, temperature, molar mass, and rounding before comparing.

Can this correct room data to STP?

Yes. Choose the correction method. Enter measured density, pressure, and temperature. The tool estimates the matching STP density.

Related Calculators

Paver Sand Bedding Calculator (depth-based)Paver Edge Restraint Length & Cost CalculatorPaver Sealer Quantity & Cost CalculatorExcavation Hauling Loads Calculator (truck loads)Soil Disposal Fee CalculatorSite Leveling Cost CalculatorCompaction Passes Time & Cost CalculatorPlate Compactor Rental Cost CalculatorGravel Volume Calculator (yards/tons)Gravel Weight Calculator (by material type)

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.