Introduction
Absolute humidity tells you how much water vapor is in the air. It is the mass of water in each cubic meter of air, usually shown as grams per cubic meter (g/m³). Unlike relative humidity, it changes only a little when the air gets warmer or cooler, as long as no water is added or removed. The ideal gas law for water vapor links it to the vapor pressure and the temperature.1
This Absolute Humidity Calculator works it out for you. Type in the air temperature, the relative humidity, and the air pressure. The tool then gives you the absolute humidity in g/m³ and kg/m³, plus the humidity ratio in g/kg and gr/lb of dry air. If you already know the actual vapor pressure, you can enter that instead of relative humidity.
There is also a second tab that works backward. Give it the temperature and the absolute humidity, and it will find the relative humidity as a percent.
The calculator uses the Wagner and Pruß equation to find saturation vapor pressure, so the results are accurate. You can pick your own units, set how many decimal places you want, and choose your altitude from a table to fill in air pressure fast. A chart shows how humidity changes with temperature, and the step-by-step section shows every part of the math.
How to use our Absolute Humidity Calculator
Type in the air temperature, the humidity, and the air pressure. The calculator gives you the absolute humidity in g/m³ and kg/m³, the humidity ratio in g/kg and gr/lb, the saturation vapor pressure, and the actual vapor pressure. Use the second tab to go the other way and find relative humidity.
Air Temperature: Enter how warm the air is. Pick °C, °F, or K from the drop-down. If you change the unit, the number changes with it.
Relative Humidity: Enter the relative humidity as a percent, from 0 to 100. This is the most common way humidity is reported in weather apps.
Atmospheric Pressure: Enter the air pressure and pick kPa, hPa, Pa, mmHg, or inHg. At sea level it is 101.325 kPa. You can also click a row in the altitude table to fill this in for you.
Actual Vapor Pressure (optional): If you know the vapor pressure, enter it here instead of the relative humidity. If you fill in both, this one is used.
Decimal Places: Slide it to choose how many decimals show in the answers, from 0 to 6.
Vapor pressure output unit: Choose Pa, kPa, hPa, mmHg, or psi for the two vapor pressure results.
Chart humidity unit: Pick the unit shown on the graph of absolute humidity versus air temperature.
Absolute Humidity (second tab): To find relative humidity, enter the water vapor amount in g/m³, kg/m³, g/kg, or gr/lb, along with the temperature and pressure.
Click Calculate to see your results, open Show Calculation Steps to see the full math, or click Reset to Defaults to start over.
What Is Absolute Humidity?
Absolute humidity is the amount of water vapor in the air. It tells you the mass of water floating in a set volume of air. It is usually written in grams per cubic meter (g/m³). If air holds 12 g/m³, then every cubic meter of that air carries 12 grams of water vapor.
Absolute Humidity vs. Relative Humidity
Relative humidity is a percent. It compares the amount of moisture in the air with the amount that would be there if the air were saturated.3 Absolute humidity is not a percent. It is a real mass of water per cubic meter, and it changes only a little when the air gets warmer or cooler (as long as no water is added or removed), because the air expands or shrinks.
That is why 50% relative humidity feels very different in winter than in summer. Saturation vapor pressure rises steeply as the temperature goes up.1 So 50% on a hot day means a lot more water vapor than 50% on a cold day. The temperature where that air would reach 100% is given by the Dew Point Calculator, and how hot it actually feels is shown by the Heat Index Calculator.
How It Is Calculated
The math has three main steps:
- Saturation vapor pressure (Psat): the vapor pressure at which water vapor is in equilibrium with a flat surface of liquid water at that temperature.4 This tool uses the Wagner & Pruß (2002) equation, which is very accurate.
- Actual vapor pressure (Pa): multiply Psat by the relative humidity. So Pa = (RH ÷ 100) × Psat.
- Absolute humidity: use the ideal gas law, AH = Pa ÷ (Rw × T), where Rw is the gas constant for water vapor and T is the temperature in kelvin.1 Rw is 461.5 J/(kg·K).2
Humidity Ratio
The humidity ratio (also called mixing ratio) is a close cousin. It measures water vapor per kilogram of dry air, not per cubic meter. It is shown in g/kg or grains per pound (gr/lb). HVAC engineers use this a lot, because it stays the same when air is heated or cooled at constant pressure without adding or removing water.2 The formula is w = 0.621945 × Pa ÷ (P − Pa), where P is the total air pressure.
Why Air Pressure Matters
Pressure drops as you go higher up a mountain. Lower pressure changes the humidity ratio in g/kg and gr/lb, so entering the right pressure gives better numbers. The standard pressure at sea level is 1013.25 hPa5, which is 101.325 kPa. In the standard atmosphere, the pressure at 2,000 meters is 79,495 pascals.6 That is about 79.5 kPa.
Where Absolute Humidity Is Used
- HVAC and drying: sizing dehumidifiers, air dryers, and cooling coils.
- Greenhouses and farming: plants lose water based on how much vapor the air already holds.
- Museums and storage: paper, wood, and art need steady moisture levels.
- Health and comfort: very dry indoor air can irritate skin, eyes, and lungs.
- Weather: humid air is lighter than dry air and helps fuel storms.
Quick Facts
- Air at 25 °C and 60% relative humidity holds about 13.8 g/m³ of water vapor.
- Saturated air at 30 °C holds roughly 30 g/m³; at 0 °C it holds only about 4.8 g/m³.
- When relative humidity hits 100%, the air is saturated. Further cooling makes some water vapor condense into liquid.1
- One pound avoirdupois is 7,000 grains.7 So 1 g/kg equals 7 grains per pound of dry air.