Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Ideal Gas State Calculator

Estimate pressure, number density and gas density for a specified ideal-gas sample.

Chemistry workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaPressure = n*8.31446261815324*t/volume; Mass density = n*mass/(1000*volume); Particle number density = n*6.02214076e23/volume
Sources and model references

Worked example

Inputs

Amount of substance
1 mol
Absolute temperature
300 K
Gas volume
0.025 m³
Molar mass
28 g/mol

Expected results

Pressure
99773.55142 Pa
Mass density
1.12 kg/m³
Particle number density
2.408856304e+25 m⁻³

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Estimate pressure, number density and gas density for a specified ideal-gas sample.
  2. Set amount of substance, absolute temperature, gas volume, molar mass in the indicated units.
  3. Calculate and compare pressure, mass density, particle number density.

Try this example

{
  "n": 1,
  "t": 300,
  "volume": 0.025,
  "mass": 28
}

Accuracy and scope

Idealized educational model. Enter measured values in the displayed units; real systems may require additional corrections.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.