The density of nitrogen gas at atmospheric pressure is about 1.15 kg/m³ at 25 °C (298.15 K) and 1 atm (101.325 kPa). This calculator uses nitrogen’s molar mass, pressure, and temperature to estimate gas density in kg/m³, assuming ideal-gas behavior.
Formula
For an ideal gas, density is pressure multiplied by molar mass and divided by the universal gas constant and absolute temperature:
ρ = P M / (R T)
- ρ is nitrogen density in kilograms per cubic metre (kg/m³).
- P is absolute pressure in pascals (Pa). The calculator converts atmospheres to pascals using 1 atm = 101,325 Pa.
- M is nitrogen’s molar mass, 0.028014 kg/mol (28.014 g/mol, based on N = 14.007 g/mol).
- R is the ideal gas constant, 8.31446261815324 J/(mol·K).
- T is absolute temperature in kelvins (K), calculated as temperature in °C + 273.15.
Since one joule is one pascal cubic metre, the units reduce to kg/m³. Pressure must be absolute rather than gauge pressure: a gauge reading is measured relative to surrounding air and needs atmospheric pressure added to obtain absolute pressure.
Worked Example
Using the defaults—1 atm and 25 °C—first convert the inputs:
P = 1 × 101325 = 101325 Pa
T = 25 + 273.15 = 298.15 K
Then apply the density equation with nitrogen’s molar mass:
ρ = (101325 Pa × 0.028014 kg/mol) / (8.31446261815324 J/(mol·K) × 298.15 K)
ρ ≈ 1.1377 kg/m³
Rounded to the calculator’s four decimal places, the result is 1.1377 kg/m³, or about 1.14 kg/m³. That is approximately 1.14 grams per litre because 1 kg/m³ equals 1 g/L.
Assumptions
- Nitrogen is treated as an ideal gas, with a fixed molar mass of 28.014 g/mol.
- The pressure entered is absolute pressure in atmospheres, not gauge pressure.
- The temperature is converted from Celsius to kelvins before applying the gas equation.
- The calculation estimates gas density; it does not account for humidity or other gases mixed with nitrogen.
How Nitrogen Density Changes
At fixed temperature, ideal-gas density is directly proportional to absolute pressure: doubling pressure doubles the calculated density. At fixed pressure, density is inversely proportional to absolute temperature. Warming nitrogen makes its molecules occupy more volume at the same pressure, so each cubic metre contains less mass.
For example, at 1 atm and 0 °C, the ideal-gas estimate is about 1.250 kg/m³. At 1 atm and 20 °C, it is about 1.165 kg/m³. These are different answers to the same question because “at atmospheric pressure” specifies pressure but does not specify temperature.
Atmospheric pressure itself varies with altitude and weather. A local pressure of 0.90 atm at the same temperature gives a density 90% of the result at 1 atm under this model. For an actual location, use a measured or reliable local absolute pressure rather than assuming standard atmospheric pressure.
What Atmospheric Pressure Means
One standard atmosphere is defined as 101,325 Pa, or 101.325 kPa. It is a convenient reference pressure, not a guarantee that the air pressure at every place and time has that value. Many reference tables report gas densities at standard conditions such as 0 °C and 1 atm; other sources use 20 °C or 25 °C. Always check the stated temperature and pressure before comparing figures.
Nitrogen in a cylinder or another pressurized system is not at atmospheric pressure merely because it is nitrogen. Use the system’s absolute pressure and temperature to estimate its density. At sufficiently high pressures, gas molecules interact more than the ideal-gas model allows, and a real-gas equation or property table may be needed for better accuracy.
Nitrogen Compared with Air
Pure nitrogen is slightly less dense than dry air at the same temperature and pressure. Nitrogen’s molar mass is about 28.014 g/mol, whereas dry air’s average molar mass is about 28.97 g/mol. Since ideal-gas density at fixed pressure and temperature is proportional to molar mass, pure nitrogen is roughly 3% less dense than dry air under matching conditions.
This comparison is not a reason to assume that a room’s air behaves like pure nitrogen. Ordinary air is a mixture, mostly nitrogen and oxygen, with smaller amounts of other gases; its density depends on composition, temperature, pressure, and humidity. Also, nitrogen is colorless and odorless, so appearance or smell cannot establish its concentration.
Common Calculation Errors and Limits
- Leaving out temperature: a pressure alone does not determine gas density. State the temperature as well.
- Using Celsius as kelvins: the gas law requires absolute temperature. Convert with T(K) = t(°C) + 273.15.
- Confusing gauge and absolute pressure: a gauge value of zero means pressure is approximately atmospheric, not zero absolute pressure.
- Mixing units: this calculator accepts pressure in atm and temperature in °C, and reports kg/m³. Convert any other inputs before using the equation.
- Assuming ideal behavior is exact: the estimate is most useful for ordinary gas conditions. High pressure, unusual temperatures, impurities, and moisture can change the actual value.
For low-pressure gas calculations, the ideal-gas equation is a widely useful approximation. For precise engineering, process, or safety decisions, use validated property data for the actual gas composition and operating conditions. Follow your lab method, the safety data sheet (SDS), and your supervisor when bench work is involved.
Frequently Asked Questions
What is the density of nitrogen at 1 atm and 20 °C?
Using the ideal-gas equation and a molar mass of 28.014 g/mol, nitrogen’s density is approximately 1.165 kg/m³ at 1 atm and 20 °C.
What is nitrogen’s density at standard temperature and pressure?
At 0 °C and 1 atm, the ideal-gas estimate is approximately 1.250 kg/m³. “Standard temperature and pressure” conventions can differ, so check which reference conditions a source uses.
Is nitrogen heavier or lighter than air?
Pure nitrogen is slightly lighter (less dense) than dry air at the same temperature and pressure, because its molar mass is slightly lower than air’s average molar mass.
Does nitrogen density change with altitude?
Yes. Atmospheric pressure generally decreases with altitude, and gas density decreases with pressure when temperature is held constant. Actual density also depends on the local temperature and weather.
Is this the density of liquid nitrogen?
No. The equation and calculator apply to nitrogen gas. Liquid nitrogen has a much higher density, and its density depends on its temperature and pressure; gas-law calculations do not provide that liquid value.
Related
Formula used
in p | Absolute pressure | atm | 1 | 0 in t | Temperature | °C | 25 | -273.15 out d | Nitrogen density | kg/m³ | p * 101325 * 0.028014 / (8.31446261815324 * (t + 273.15)) | 4 out k | Temperature | K | t + 273.15 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Low Pressure Steam Density Calculator and Formula0.5884 kg/m³
- Low Pressure Steam Density Calculator and Table0.0085 kg/m^3
- Pressure and Density: Are They Proportional?
- Jar Density Measurement Calculator and Method1.250 g/mL
- Hydrostatic Pressure and Density Calculator98,066 Pa
- Density in g/L: Meaning, Formula, and Conversions1,000.000 g/L