Nitrogen’s density depends on both pressure and temperature: for dry nitrogen near room temperature, it is about 1.15 kg/m³ at 1 bar absolute and scales nearly in proportion to pressure at a fixed temperature. This calculator estimates density from pressure and temperature using the ideal-gas equation; enter absolute pressure in kPa and temperature in °C to get density in kg/m³.
Formula
The ideal-gas density equation is ρ = pM/(RT). Here, ρ is nitrogen density in kg/m³, p is absolute pressure in pascals, M is nitrogen’s molar mass in kg/mol, R is the gas constant, and T is absolute temperature in kelvins. For the calculator’s inputs, the equivalent expression is ρ = p(kPa) × 0.0280134 kg/mol ÷ [8.31446261815324 J/(mol·K) × (t(°C) + 273.15)] × 1000. The factor 1000 converts kg/m³ from the pressure-in-kPa form. Nitrogen’s molar mass is approximately 28.0134 g/mol, or 0.0280134 kg/mol; R = 8.31446261815324 J/(mol·K). Temperature must be converted from Celsius to kelvins by adding 273.15, and pressure must be absolute, not gauge pressure.
Worked Example
Using the calculator’s defaults, p = 101.325 kPa and t = 20 °C:
- Convert temperature: T = 20 + 273.15 = 293.15 K.
- Use the gas equation: ρ = (101.325 × 0.0280134) ÷ (8.31446261815324 × 293.15) × 1000.
- Numerator: 101.325 × 0.0280134 = 2.8399 kPa·kg/mol.
- Denominator: 8.31446261815324 × 293.15 = 2436.0 J/mol.
- Density: ρ ≈ 1.165 kg/m³, which is also 1.165 g/L.
The displayed values are rounded to three decimal places; intermediate figures are rounded for readability. Since 1 kg/m³ equals 1 g/L, the two outputs have the same numerical value.
Assumptions
- Nitrogen is treated as a pure, dry, ideal gas.
- Pressure is absolute pressure, and temperature is uniform and expressed as an input in °C.
- The equation neglects real-gas deviations, which become more important at elevated pressures and near condensation.
How Pressure Changes Nitrogen Density
At constant temperature, the ideal-gas equation makes density directly proportional to absolute pressure. Doubling pressure doubles the calculated density; reducing pressure to half also halves it. For example, at 20 °C, estimates are about 1.165 kg/m³ at 101.325 kPa absolute, 2.330 kg/m³ at 202.65 kPa absolute, and 0.583 kg/m³ at 50.66 kPa absolute. These are model estimates, not universal measured values, and assume temperature stays at 20 °C.
Absolute pressure starts at a vacuum. Gauge pressure instead reports pressure above the surrounding atmosphere. To use a gauge reading, add local atmospheric pressure first: near sea level, 100 kPa gauge is roughly 201.3 kPa absolute. Entering 100 kPa gauge as though it were absolute would substantially understate density. Atmospheric pressure varies with altitude and weather, so use the actual local value when precision matters.
Temperature and Real-Gas Effects
Pressure alone does not determine density. At fixed pressure, warmer nitrogen is less dense because the same amount of gas occupies more volume; cooler nitrogen is denser. At 101.325 kPa absolute, for instance, the ideal-gas estimate is about 1.250 kg/m³ at 0 °C and 1.146 kg/m³ at 25 °C. A quoted “density of nitrogen” therefore needs its temperature and pressure, as well as whether the pressure is absolute.
The ideal-gas approximation is useful for many ordinary gas calculations, especially at modest pressures and temperatures far from condensation. Real nitrogen molecules interact, so measured density can depart from the ideal estimate, with deviations generally more significant as gas is compressed. For high-accuracy engineering work, high pressure, or conditions close to nitrogen’s phase boundary, use a real-gas equation of state or authoritative property tables at the exact conditions. Nitrogen’s critical temperature is about 126.2 K (−147.0 °C); below and around this region, phase behavior matters and a simple gas calculation may not describe the material state.
Using the Calculator and Checking Units
Enter temperature in degrees Celsius and absolute pressure in kilopascals. The output is a mass per unit volume: kg/m³, numerically equal to g/L. The calculator does not accept gauge pressure directly, and it does not calculate nitrogen’s total mass unless volume is also known. Once density is known, mass is density multiplied by volume, with compatible units—for example, kg/m³ multiplied by m³ gives kg.
- Convert bar to kPa by multiplying by 100; convert atmospheres to kPa by multiplying by 101.325.
- Convert a gauge reading to absolute pressure by adding the surrounding atmospheric pressure in the same units.
- Use kelvins in the equation; the calculator handles the Celsius-to-kelvin conversion.
- For mixtures or humid air, account for the other gases and water vapor rather than treating the sample as pure nitrogen.
A frequent error is to assume that a pressure value alone fixes density. Another is confusing g/L with kg/m³: their numerical values match, but the units express the equivalence, not identical labels. Rounding also matters when results feed into further calculations; keep more digits in intermediate work and round only the final reported value to match the precision of the inputs.
Frequently Asked Questions
What is the density of nitrogen at 1 atm?
At 20 °C and 1 standard atmosphere (101.325 kPa absolute), the ideal-gas estimate is about 1.165 kg/m³, or 1.165 g/L. At 0 °C under the same pressure, it is about 1.250 kg/m³.
How much does nitrogen density increase when pressure doubles?
At the same temperature, the ideal-gas calculation predicts twice the density when absolute pressure doubles. At high pressures, real-gas effects can make the actual increase differ from this simple proportional relationship.
Is nitrogen denser than air?
At the same temperature and pressure, pure nitrogen is slightly less dense than dry air. Nitrogen’s molar mass is about 28.0134 g/mol; dry air’s average molar mass is about 28.97 g/mol. Humidity and the exact air composition affect the comparison.
Does nitrogen density use gauge or absolute pressure?
The gas-law formula requires absolute pressure. Convert gauge pressure by adding the local atmospheric pressure; do not enter the gauge reading by itself.
Can this formula be used for compressed nitrogen cylinders?
It gives an ideal-gas estimate, but compressed-gas cylinders can be at pressures where non-ideal behavior matters. For accurate inventory or equipment calculations, use an appropriate real-gas model or property data for the cylinder’s pressure and temperature.
Is nitrogen density the same as air density?
No. Pure nitrogen and air have different average molar masses, so their densities differ at matching temperature and pressure. Air is a mixture, not pure nitrogen, and its composition and moisture affect its density.
Related
Formula used
in p | Absolute pressure | kPa | 101.325 | 0 in t | Temperature | °C | 20 | -273.15 out d | Nitrogen density | kg/m^3 | p * 0.0280134 / (8.31446261815324 * (t + 273.15)) * 1000 | 3 out rho | Nitrogen density | g/L | d | 3
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
- Heat Gain and Loss Calculator for Calorimetry4,184.00 J
- Heat Output Calculator kW: Estimate Thermal Power1.395 kW
- Heat Energy Released Formula and Worked Example23,012 J
- Heat Calculation: Formula, Example, and Limits41,840 J
- Heat Transfer Equation for q: Formula and Examples41,840 J
- Heat Rate Formula: Calculate Energy per Unit Time166.67 W