Air Density and Pressure
Air density changes when pressure, temperature, or moisture changes. Pressure has a direct effect. Higher pressure packs more air molecules into the same volume. Lower pressure spreads molecules apart. This calculator uses that idea with the ideal gas law. It also offers a moist air option, because water vapor is lighter than dry air. That matters in labs, aviation checks, fan design, pneumatic systems, and weather studies.
Why pressure matters
Density is not a fixed property for air. It depends on the state of the gas. If temperature stays constant, density rises almost in proportion to absolute pressure. A sealed vessel at two atmospheres can hold nearly twice the mass of dry air per cubic meter. Open outdoor air behaves differently, because temperature, altitude, and humidity change together.
Advanced input options
The calculator accepts single pressure values or a pressure range. You can enter pressure in pascal, kilopascal, bar, atmosphere, psi, or mmHg. Temperature can be entered in Celsius, Fahrenheit, or Kelvin. Relative humidity is optional. Compressibility factor is included for users who need a correction beyond the ideal model. For normal room conditions, using one is suitable.
Dry and moist air
Dry air density uses pressure divided by the gas constant and absolute temperature. Moist air separates total pressure into dry air pressure and water vapor pressure. The water vapor pressure comes from relative humidity and saturation vapor pressure. This makes the result lower when humidity increases. The change can look small, but it may matter in precision airflow and performance estimates.
Using the results
Review the main density first. Then compare specific volume, number of moles per cubic meter, and pressure ratio. Range rows help show the trend across many pressure points. Download the CSV for spreadsheets. Use the report button for a record. Always confirm that your pressure is absolute. Gauge pressure must be converted before using gas law formulas.
Practical notes
The ideal gas method is a strong estimate for engineering work. It is less accurate near condensation, high pressure, unusual gases, or extreme temperatures. The calculator includes a molar mass field, so you can adjust the gas mixture. For safety critical designs, verify results with standards, calibrated data, or an engineer.