Air density is not specific gravity: density is mass per volume, while specific gravity is a dimensionless ratio comparing a substance’s density with a reference density. This calculator estimates moist-air density from temperature, pressure, and relative humidity, then divides it by the density of dry air at 1.225 kg/m³ to give air’s specific gravity on that explicitly stated reference basis.
Formula
For moist air, the calculator treats dry air and water vapor as ideal gases occupying the same volume. It finds their partial pressures and adds their respective density contributions:
ρ = (p − e)/(RdT) + e/(RvT)
Here, ρ is moist-air density in kg/m³; p is absolute total pressure in pascals; e is water-vapor partial pressure in pascals; T is absolute temperature in kelvins, calculated as temperature in °C + 273.15; Rd is the specific gas constant for dry air, 287.05 J/(kg·K); and Rv is the specific gas constant for water vapor, 461.495 J/(kg·K). Because 1 J = 1 Pa·m³, the equation gives kg/m³.
Vapor pressure is estimated as e = (RH/100) × 610.94 × exp(17.625t/(t + 243.04)), where RH is relative humidity in percent and t is temperature in °C. This is a Magnus-type saturation-vapor-pressure approximation over liquid water; it is not a universal precision equation for every temperature range or phase condition. Pressure entered in kPa is converted to pascals by multiplying by 1000.
The calculator’s second result is SG = ρ/1.225 kg/m³. This is a specifically defined ratio to the conventional dry-air reference density 1.225 kg/m³, commonly associated with standard sea-level conditions near 15 °C and 101.325 kPa. It is not a single universal “specific gravity of air.”
Worked Example
Using the defaults—20 °C, 101.325 kPa, and 50% relative humidity—first convert temperature and pressure:
T = 20 + 273.15 = 293.15 K
p = 101.325 × 1000 = 101325 Pa
Estimate saturation vapor pressure at 20 °C:
es = 610.94 × exp(17.625 × 20/(20 + 243.04)) ≈ 2333.2 Pa
e = 0.50 × 2333.2 ≈ 1166.6 Pa
Then calculate the dry-air and vapor contributions:
ρ = (101325 − 1166.6)/(287.05 × 293.15) + 1166.6/(461.495 × 293.15)
ρ ≈ 1.1990 + 0.008625 = 1.2076 kg/m³
Finally, compare with the stated reference:
SG = 1.2076/1.225 ≈ 0.9858
The displayed density is 1.2076 kg/m³ and the displayed reference-based specific gravity is 0.9858. Small differences in the last digit can result from rounding intermediate vapor-pressure values.
Assumptions
- Air and water vapor are treated as ideal gases, and their density contributions are additive.
- The saturation vapor pressure uses the stated Magnus-type approximation over liquid water.
- Relative humidity is between 0% and 100%; total pressure is absolute, not gauge pressure.
- Specific gravity is defined here relative to dry air at 1.225 kg/m³; a different reference density gives a different ratio.
What Specific Gravity Means for Air
Specific gravity, also called relative density, is the density of a material divided by the density of a chosen reference material under specified conditions. The units cancel, so the ratio has no units. A value below 1 means the air sample is less dense than the chosen reference; a value above 1 means it is denser.
For liquids and solids, water is often the reference. For gases, comparisons are commonly made with dry air or another gas at the same temperature and pressure. The comparison conditions matter: gas density changes substantially with temperature and pressure. Saying only “air’s specific gravity” without specifying the reference and conditions is therefore incomplete.
If the intended question is the specific gravity of a gas relative to air, the usual calculation is the gas density divided by air density at the same temperature and pressure. For ideal gases, that ratio is also the gas’s molar mass divided by the molar mass of air. That is a different comparison from this calculator’s moist-air density divided by the fixed 1.225 kg/m³ reference.
Why Temperature, Pressure, and Humidity Matter
At fixed pressure, warmer air is generally less dense because the same gas mass occupies more volume. At fixed temperature, increasing absolute pressure generally increases density. These trends follow from the ideal-gas relationship, but actual atmospheric conditions vary with altitude and weather.
Water vapor is lighter per mole than the average dry-air mixture. At the same temperature and total pressure, humid air is consequently less dense than dry air. Humidity does not add its vapor pressure on top of the entered total pressure: water vapor replaces part of the dry air’s partial pressure. The formula accounts for this by using p − e for dry air and e for vapor.
The effect of humidity is often smaller than the effect of a large temperature or pressure change, but it can matter in buoyancy, ventilation, meteorology, and gas-volume calculations. Relative humidity alone is not enough to determine vapor pressure: temperature is needed as well.
How to Use the Calculator and Read the Result
- Enter air temperature in degrees Celsius.
- Enter absolute pressure in kPa. If you have gauge pressure, convert it to absolute pressure by adding the local atmospheric pressure.
- Enter relative humidity as a percentage from 0 to 100.
- Read the density in kg/m³, then the dimensionless ratio relative to 1.225 kg/m³.
For example, an SG result of 0.9858 means the calculated moist air is about 98.58% as dense as the calculator’s reference air—not that it has a density of 0.9858 kg/m³. Multiply the ratio by 1.225 kg/m³ to recover the density, subject to displayed rounding.
Common Mix-Ups and Limitations
A frequent mistake is treating specific gravity as a density with units. It is a ratio. Another is using gauge pressure directly; the ideal-gas density equation requires absolute pressure, with zero pressure representing a vacuum. A third is assuming all reference conventions are identical. If a standard, instrument, or engineering method specifies another reference temperature, pressure, or dry-air density, use that convention instead.
The calculator uses approximate gas constants and a saturation-vapor-pressure fit, so its result is suitable for general estimates rather than high-precision calibration. It does not model altitude profiles, airborne particles, unusual gas compositions, or detailed real-gas effects. At very high pressures, unusual temperatures, or conditions where water is not vapor over liquid water, a more specialized model and appropriate phase data are needed.
Frequently Asked Questions
What is the specific gravity of air?
There is no single value without a reference and conditions. With this calculator’s definition, it is moist-air density divided by 1.225 kg/m³. Dry air at the stated reference conditions is approximately 1 on that basis.
Is air density the same as specific gravity?
No. Density has units such as kg/m³; specific gravity is a unitless ratio of one density to a reference density.
Does humid air weigh more than dry air?
At equal temperature and total pressure, humid air is usually less dense because water vapor has a lower molar mass than the average dry-air mixture.
What is the density of air at 20 °C?
It depends on pressure and humidity. At the calculator defaults of 101.325 kPa and 50% relative humidity, the estimate is 1.2076 kg/m³. Dry air under the same temperature and pressure is denser.
How do I find a gas’s specific gravity relative to air?
Divide the gas density by air density measured or calculated at the same temperature and pressure. For ideal gases under those matched conditions, divide the gas molar mass by the molar mass of air instead.
Related
Formula used
in t | Air temperature | °C | 20 | -273.15 in p | Absolute pressure | kPa | 101.325 | 0 in rh | Relative humidity | % | 50 | 0 | 100 out d | Moist-air density | kg/m³ | (p * 1000 - (rh / 100) * 610.94 * exp(17.625 * t / (t + 243.04))) / (287.05 * (t + 273.15)) + ((rh / 100) * 610.94 * exp(17.625 * t / (t + 243.04))) / (461.495 * (t + 273.15)) | 4 out sg | Specific gravity relative to 1.225 kg/m³ dry air | - | d / 1.225 | 4
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
- Skip Calculator for Soil: What It Can and Can’t Do7.500 m³
- USD to KPW Calculator: Convert Dollars to North Korean Won90,000.00 KPW
- OK Calculator on TV on the Radio? Meaning Explained
- Pension Calculator KP: Estimate Your Pension Benefits
- Neonatal Kp Calculator: What It Means80.0000 mmol/mmol
- Newton to kp Converter Calculator and Formula1.0000 kp