Multiply the saturation vapour pressure at that temperature by the relative humidity to get the actual vapour pressure, then apply the ideal gas law for water vapour. The calculator above does it in both directions, and the temperature matters in both, because the same grams of water is a different percentage at every temperature.
Why is converting % RH to g/m³ worth doing?
Converting % RH to absolute humidity in g/m³ removes the temperature-dependent saturation ceiling—showing, for example, that 0°C (32°F) at 80% RH carries just 3.9 g/m³ while 25°C (77°F) at 40% RH carries 9.2 g/m³.
Relative humidity is a ratio, and a ratio hides its denominator. 80% tells you the air is four fifths of the way to full without telling you how big "full" is — and "full" varies by a factor of about seven between a freezing morning and a hot afternoon.
Converting to grams per cubic metre removes the denominator. Two readings in g/m³ can be compared directly, which two percentages cannot. This is the whole content of the claim that 80% in winter is drier than 40% in summer, and once you have the converter it stops being a claim and becomes arithmetic:
25°C at 40% → 9.2 g/m³ The winter air, at twice the percentage, is carrying well under half the water.
How do you calculate absolute humidity in g/m³ step by step?
At 75°F (23.9°C) and 60% RH, saturation vapour pressure is 29.6 hPa, actual vapour pressure is 17.7 hPa (1,770 Pa), and dividing by 461.5 × 297.05 K yields 12.9 g/m³.
Take 75°F (23.9°C) at 60%.
- Saturation vapour pressure at 23.9°C: 6.112 × exp(17.62 × 23.9 / (243.12 + 23.9)) = 29.6 hPa. This is the most vapour pressure that temperature can support.
- Actual vapour pressure: 60% of that, so 17.7 hPa, or 1,770 Pa.
- Density: 1,770 / (461.5 × 297.05 K) = 0.0129 kg/m³, which is 12.9 g/m³.
The capacity figure the calculator shows is step 1 carried through the same arithmetic at 100% — 21.6 g/m³ here. The gap between the two is how much more water this air could take, which is the figure behind how much water is in the air.
How do you convert g/m³ back to relative humidity (% RH)?
To convert density in g/m³ back to % RH, multiply ρᵥ (in kg/m³) by 461.5 × T_K to get actual vapour pressure e and divide by saturation pressure e_s(T)—for instance, 12.9 g/m³ at 23.9°C (75°F) returns 60% RH.
Going from g/m³ back to a percentage is the same chain run backwards, and it is the direction you need when a datasheet, a sensor or a scientific paper gives you the density and you want to know what it would feel like. The one thing to watch: the answer is meaningless without a temperature, so the calculator keeps that input live in both directions.
How do g/m³, mixing ratio (g/kg), and specific humidity differ?
Absolute humidity measures water vapour mass per volume (g/m³), whereas mixing ratio and specific humidity measure mass per kilogram of air (g/kg) and stay within 2% of each other under ordinary surface conditions.
Grams per cubic metre is the SI-adjacent convention and what meteorological instruments report. You will also see g/kg (the mixing ratio, per kilogram of dry air) and occasionally specific humidity (per kilogram of total air, including the vapour). The three differ by under 2% at ordinary conditions, and the mixing ratio calculator covers the distinction properly.
What is the maximum absolute humidity (g/m³) at each temperature?
Maximum moisture capacity at 100% RH climbs steeply from 4.8 g/m³ at 0°C (32°F) to 17.3 g/m³ at 20°C (68°F) and 30.4 g/m³ at 30°C (86°F).
| Temperature (°C / °F) | Saturation Vapor Pressure (hPa) | Max Moisture at 100% RH (g/m³) | Absolute Humidity at 50% RH (g/m³) |
|---|---|---|---|
| 0°C (32°F) | 6.11 hPa | 4.8 g/m³ | 2.4 g/m³ |
| 10°C (50°F) | 12.28 hPa | 9.4 g/m³ | 4.7 g/m³ |
| 15°C (59°F) | 17.06 hPa | 12.8 g/m³ | 6.4 g/m³ |
| 20°C (68°F) | 23.39 hPa | 17.3 g/m³ | 8.7 g/m³ |
| 25°C (77°F) | 31.67 hPa | 23.1 g/m³ | 11.5 g/m³ |
| 30°C (86°F) | 42.47 hPa | 30.4 g/m³ | 15.2 g/m³ |
| 35°C (95°F) | 56.29 hPa | 39.6 g/m³ | 19.8 g/m³ |