Flow rate calculators / Gas & compressed air
Measure flow. Understand the conditions.
Gas Density Calculator
Calculate a stated gas density using molar mass and an explicit compressibility factor.
Your flow inputs
Your result
Ready to calculateEnter your values and press Calculate. The result will open on the calculation page.
Published references · Clear assumptions · No sign-up
The method
Formula and calculation steps
Density = absolute pressure Pa × molar mass kg/mol / (Z × universal gas constant × Kelvin temperature).
Calculate a stated gas density using molar mass and an explicit compressibility factor.
- Choose a measurement plane and use compatible units for all inputs.
- Obtain appropriate product data or representative measurements for the stated model.
- Submit the form, then interpret the result with the assumptions and limits below.
No phase equilibrium, steam tables or automatic mixture-property database is included.
Gas Density calculation: inputs and interpretation
The molar-mass example represents a dry-air approximation. Other gases and mixtures need their own composition basis. The equation uses the universal gas constant, so a g/mol input is converted to kg/mol rather than treated as a specific gas constant.
Always distinguish absolute pressure from gauge pressure and absolute temperature from Celsius. Standard and normal volume rates require a stated reference condition. Real-gas properties, moisture and two-phase behavior are included only where explicitly described in the model.
Continue with: ACFM to SCFM Calculator · SCFM to ACFM Calculator · Compressible Gas Nozzle Calculator · Wet to Dry Standard Gas Flow Calculator
Check the numbers
Gas Density Calculator: calculated examples
These are computed scenarios using the same server calculation as the form. They are not manufacturer ratings or prescribed design values.
Worked example with stated inputs
Absolute pressure = 101.325 kPa abs; Gas temperature = 20 °C; Molar mass = 28.9655 g/mol; Compressibility Z = 1 ratio.
| Output | Computed result |
|---|---|
| Gas density at supplied state | 1.204129 kg/m³ |
| Absolute temperature | 293.15 K |
How one input changes the answer
| Scenario | Changed input | Result |
|---|---|---|
| 25.3313 kPa abs | Absolute pressure | 0.301032 kg/m³ |
| 50.6625 kPa abs | Absolute pressure | 0.602064 kg/m³ |
| 75.9938 kPa abs | Absolute pressure | 0.903097 kg/m³ |
| 101.325 kPa abs | Absolute pressure | 1.204129 kg/m³ |
| 151.988 kPa abs | Absolute pressure | 1.806193 kg/m³ |
| 202.65 kPa abs | Absolute pressure | 2.408258 kg/m³ |
| 303.975 kPa abs | Absolute pressure | 3.612387 kg/m³ |
Unchanged inputs use: Absolute pressure = 101.325 kPa abs; Gas temperature = 20 °C; Molar mass = 28.9655 g/mol; Compressibility Z = 1 ratio. Results retain the model limitations described above.
Common questions
Can I use a gauge pressure value?
Not unchanged. The equation requires absolute pressure.
Does Celsius go directly into the gas equation?
No. The tool adds 273.15 to obtain Kelvin.
Is this valid near condensation?
A single supplied Z cannot automatically establish phase or make every state appropriate; use validated property methods.
How does it help mass flow calculations?
A density at the matching volume-flow condition connects mass and volume rates.
Which assumptions should I verify?
Check every unit, the observation period and the physical or reference-state boundary stated above. Starting inputs and computed examples are illustrative scenarios, not recommended settings, certified capacities or universal standards.
Where are the formula sources?
Published method and unit references appear at the bottom of this page as plain-text addresses. Computed tables use the same server calculation as the form. No external content-data file is needed at runtime.
Related calculators
Formula sources and references
References support the underlying methods and units. Chosen example inputs are not universal recommendations, current tariffs or proprietary test results.
- NASA Glenn: conservation of mass, ideal gas and compressible nozzle flowhttps://www.grc.nasa.gov/www/k-12/airplane/mflchk.html
- NIST SP 811 Appendix B.9: volume, mass and flow unit factorshttps://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b9