An absolute humidity calculator in g/m³ works out the mass of water vapor present in a cubic meter of air. You enter the air temperature and relative humidity (or dew point), and it returns the absolute humidity in grams per cubic meter. This is a direct measure of moisture content, independent of temperature, unlike relative humidity which is a percentage.
Formula
The calculator uses the standard meteorological formula for absolute humidity (AH) in g/m³:
AH = (RH/100) × 6.112 × exp((17.67 × T) / (T + 243.5)) × 2.1674 / (T + 273.15)
Where:
- T = air temperature in degrees Celsius (°C)
- RH = relative humidity in percent (%)
- exp = the exponential function (e raised to a power)
- 6.112 = saturation vapor pressure at 0°C in hectopascals (hPa)
- 17.67 and 243.5 = constants from the Magnus formula (valid for temperatures roughly −40°C to +60°C)
- 2.1674 = conversion factor that incorporates the gas constant for water vapor (in g·K/(J·hPa))
The first part (RH/100 × 6.112 × exp(…)) gives the actual water vapor pressure in hPa. Multiplying by 2.1674 and dividing by (T + 273.15) converts that pressure to grams per cubic meter.
Worked Example
Using the default values: T = 25°C, RH = 50%.
Step 1: Calculate the saturation vapor pressure (es):
es = 6.112 × exp((17.67 × 25) / (25 + 243.5)) = 6.112 × exp(441.75 / 268.5) = 6.112 × exp(1.6453) = 6.112 × 5.181 = 31.67 hPa
Step 2: Actual vapor pressure (e) = (RH/100) × es = 0.50 × 31.67 = 15.84 hPa
Step 3: Absolute humidity = e × 2.1674 / (T + 273.15) = 15.84 × 2.1674 / 298.15 = 34.33 / 298.15 = 0.1151 g per liter = 11.51 g/m³
The calculator rounds to two decimals, giving 11.51 g/m³.
Assumptions
- The Magnus formula is an approximation; it is accurate to within about 0.5% for temperatures between −40°C and +60°C.
- Air is assumed to behave as an ideal gas; this is valid for normal atmospheric conditions.
- Relative humidity is given as a percentage (0–100).
- The formula assumes a standard atmospheric pressure of 1013.25 hPa. At higher altitudes, absolute humidity will be slightly lower for the same RH and temperature, but the error is small for most practical purposes.
How to Use the Calculator
Enter the air temperature in degrees Celsius and the relative humidity as a percentage. The calculator immediately gives you:
- Absolute humidity in g/m³ – the main result.
- Vapor pressure in hPa – the partial pressure of water vapor.
- Dew point in °C – the temperature at which condensation would start.
For example, a warm humid day (30°C, 70% RH) gives an absolute humidity of about 21.3 g/m³, while a cold dry day (0°C, 30% RH) gives about 1.4 g/m³. This shows why absolute humidity is a more meaningful measure of actual moisture content than relative humidity.
Why Use Absolute Humidity Instead of Relative Humidity?
Relative humidity tells you how close the air is to saturation, but it changes with temperature even if the actual moisture content stays the same. For example, if you heat air from 20°C to 25°C without adding moisture, the relative humidity drops, but the absolute humidity stays constant. Absolute humidity is essential for:
- Drying processes (e.g., in food or timber production)
- HVAC design and indoor climate control
- Meteorology and climate studies
- Predicting condensation on surfaces and in building cavities
- Calculating the moisture load in compressed air systems
In many engineering calculations, you need the actual mass of water vapor per volume of air, not a percentage.
Common Mistakes and Misconceptions
- Confusing absolute humidity with relative humidity. They are different: RH is a ratio, AH is a density.
- Using the wrong units. The formula requires temperature in °C and pressure in hPa. If you have temperature in Kelvin, subtract 273.15 first.
- Forgetting that the formula is temperature-dependent. The same RH at different temperatures gives very different AH values.
- Using the dew point directly as absolute humidity. Dew point is a temperature, not a mass density.
- Assuming absolute humidity is constant with altitude. It decreases with altitude because total air pressure decreases, but the formula above assumes sea-level pressure.
Limitations and Alternatives
The Magnus formula is accurate for most practical purposes, but for very high precision (e.g., in calibration laboratories), you should use the more complex equations from the World Meteorological Organization (WMO) or the Goff-Gratch formula. Also, the calculator assumes a fixed atmospheric pressure; if you need absolute humidity at a specific altitude, you must adjust the pressure factor. A more precise method is to measure the dew point directly with a chilled mirror hygrometer and then use the dew point in the formula: AH = 6.112 × exp((17.67 × Td)/(Td+243.5)) × 2.1674 / (T+273.15), where Td is the dew point.
Frequently Asked Questions
What is the difference between absolute humidity and relative humidity?
Absolute humidity is the mass of water vapor per cubic meter of air (g/m³). Relative humidity is the ratio of the actual vapor pressure to the saturation vapor pressure at that temperature, expressed as a percentage. RH depends on temperature; AH does not.
How do I convert relative humidity to absolute humidity?
Use the formula above: first calculate the saturation vapor pressure at the air temperature, multiply by RH/100 to get actual vapor pressure, then multiply by 2.1674 and divide by (T+273.15) to get g/m³.
What is a typical absolute humidity value indoors?
In a comfortable indoor environment (20–25°C, 40–60% RH), absolute humidity ranges from about 7 to 14 g/m³. In winter with heating, it can drop below 5 g/m³, causing dry skin and static electricity.
Does absolute humidity change with temperature?
If no water is added or removed, absolute humidity stays constant when temperature changes. That is why heating air lowers relative humidity but leaves absolute humidity unchanged.
Is absolute humidity the same as dew point?
No. Dew point is the temperature at which air becomes saturated. A high dew point means more moisture in the air, but dew point is measured in °C, not g/m³. You can convert between them using the formula, but they are different quantities.
Why does my absolute humidity reading seem low?
Check that you entered temperature in Celsius and RH as a percentage (not a fraction). Also, at high altitudes or in very cold air, absolute humidity is naturally low because cold air holds less moisture.
Related
Formula used
in t | Air temperature | °C | 25 | -40 | 60 in rh | Relative humidity | % | 50 | 0 | 100 out ah | Absolute humidity | g/m³ | (rh/100) * 6.112 * exp((17.67 * t) / (t + 243.5)) * 2.1674 / (t + 273.15) | 2 out vp | Vapor pressure | hPa | (rh/100) * 6.112 * exp((17.67 * t) / (t + 243.5)) | 1 out td | Dew point | °C | (243.5 * ln((rh/100) * exp((17.67 * t) / (t + 243.5)) / 6.112)) / (17.67 - ln((rh/100) * exp((17.67 * t) / (t + 243.5)) / 6.112)) | 1
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
- DNA to RNA in the Nucleus: How Transcription Works0.2000 mol/L
- DNA Sequence Example Code: A Practical Guide0.2000 mol/L
- RNA Sequence Reverse Complement Tool
- DNA Sequence Quality Q15: What It Means
- T4 RNA Ligase 2 Sequence & Function15,485.0 g/mol
- T7 RNA Polymerase Sequence: Full Gene & Key Features97.5 kDa