Free tool · Everyday tools
Humidity calculator
This humidity calculator takes the air temperature and either the relative humidity or the dew point, and returns the missing humidity numbers with the working. Air at 25 °C with a 15 °C dew point is 53.8% relative humidity, and the optional second temperature shows what the same air reads indoors or outdoors.
- Free
- No sign-up
- Runs in your browser
20.9%Same air as 80% at 0 °C
- Dew point -3 °C
- 4.9 hPa vapor pressure
- 3.9 g/m³
- Relative humidity at the air temperature
- 80%
- Dew point
- -3 °C
- Vapor pressure
- 4.89 hPa
- Saturation vapor pressure
- 6.11 hPa
- Absolute humidity
- 3.9 g/m³
- Saturation vapor pressure at 20 °C
- 23.39 hPa
| Temp (°C) | RH (%) |
|---|---|
| -10 °C | over 100 |
| 0 °C | 80 |
| 5 °C | 56 |
| 10 °C | 39.8 |
| 15 °C | 28.7 |
| 20 °C | 20.9 |
| 25 °C | 15.4 |
| 30 °C | 11.5 |
How to use the Humidity Calculator
- Pick Celsius or Fahrenheit under Temperature unit, then type the Air temperature.
- Under I know the choose Relative humidity or Dew point, and fill in the box that appears.
- Optionally type Same air at another temperature, for example the room temperature, to see the relative humidity after warming or cooling. Leave it empty to skip.
- Read the large answer, the dew point, the vapor pressures and the absolute humidity, and check the table for the same air at other temperatures.
How do I calculate relative humidity from temperature and dew point?
Relative humidity is the water vapor pressure in the air divided by the most vapor the air could hold at that temperature, as a percent. The National Weather Service gives the pressure that saturated air holds as es = 6.11 × 10^(7.5 T ÷ (237.3 + T)) hectopascals with T in °C, and relative humidity as 100 × e ÷ es. The actual pressure e is the same formula applied to the dew point.
For air at 25 °C with a 15 °C dew point, es is 31.69 hPa and e is 17.06 hPa, so the relative humidity is 17.06 ÷ 31.69 × 100 = 53.8%. The table shows how that number changes with the dew point while the air stays at 25 °C. When the dew point equals the air temperature the result is 100%, and a dew point above the air temperature is refused, because that would mean more than 100%.
| Dew point | Vapor pressure (hPa) | Relative humidity (%) |
|---|---|---|
| 5 °C | 8.73 | 27.5 |
| 10 °C | 12.28 | 38.8 |
| 15 °C | 17.06 | 53.8 |
| 20 °C | 23.39 | 73.8 |
| 25 °C | 31.69 | 100 |
Why does warming cold outdoor air make it so dry?
Warming air does not remove any water, so the vapor pressure e stays fixed while the saturation pressure es climbs fast with temperature. Outdoor air at 0 °C and 80% has e = 4.89 hPa and a dew point of -3 °C. At 20 °C the saturation pressure is 23.39 hPa, so the same air reads 20.9% relative humidity. Nothing dried out; the room simply could hold about four times as much vapor.
The reverse also holds. Take air at 20 °C and 90% and cool it to 5 °C. Its e of 21.05 hPa is more than the 8.73 hPa that 5 °C can hold, so the calculator shows over 100% and notes that the second temperature is below the dew point of 18.3 °C. In real air that excess forms dew, fog or frost on a cold surface. The model assumes nothing is added or removed and the pressure stays the same.
| Temp (°C) | RH (%) |
|---|---|
| -10 °C | over 100 |
| 0 °C | 80 |
| 5 °C | 56 |
| 10 °C | 39.8 |
| 15 °C | 28.7 |
| 20 °C | 20.9 |
| 25 °C | 15.4 |
| 30 °C | 11.5 |
What is absolute humidity, and how is it calculated?
Absolute humidity is the mass of water vapor in a cubic meter of air, in grams. Treating the vapor as an ideal gas gives e ÷ (Rv × T), where e is in pascals, T is in kelvin and Rv is the specific gas constant of water vapor. Rv is the molar gas constant, 8.314462618 J/(mol K), divided by the molar mass of water, 0.01801528 kg/mol, which comes to about 461.5 J/(kg K).
For the 25 °C example, e is 1706 Pa and T is 298.15 K, so the vapor density is 12.4 g/m³. Unlike relative humidity, this number does not depend on how much vapor the air could hold, only on how much it does hold. It still changes a little with temperature, because warm air is less dense. The table lists the most vapor each cubic meter can carry at five temperatures, which is the value at 100% relative humidity.
| Temperature | Saturation pressure (hPa) | Absolute humidity (g/m³) |
|---|---|---|
| 0 °C | 6.11 | 4.8 |
| 10 °C | 12.28 | 9.4 |
| 20 °C | 23.39 | 17.3 |
| 30 °C | 42.44 | 30.3 |
| 40 °C | 73.77 | 51 |
How accurate is this humidity calculator?
The saturation formula is an approximation that fits the true curve closely but not perfectly, and the calculator accepts air temperatures from -40 to 50 °C (-40 to 122 °F). It assumes ordinary sea level pressure and does not include the small correction that air pressure makes. Readings shown to one decimal place are for comparison, not precision. A cheap hygrometer is often off by several percentage points, so the output of a formula and the reading on a wall dial can differ.
Fahrenheit input is converted to Celsius first, because the formula is written in °C. Air at 68 °F and 50% gives a dew point of 48.7 °F and 8.6 g/m³. The result is an estimate, and this page gives no advice about health, comfort or building moisture. Use a calibrated instrument for decisions about those.
Use it with
- Golden Hour Calculator: golden and blue hour times for a place and date.
- All-in-One Unit Converter: length, weight, volume, area etc.
- Specific Heat Calculator: heat, mass, specific heat or temperature change from the rest.
Questions
How do I calculate relative humidity?
Divide the actual vapor pressure by the saturation vapor pressure at the air temperature and multiply by 100. With the NWS formula, 25 °C air with a 15 °C dew point gives 17.06 ÷ 31.69 × 100 = 53.8%.
What is the difference between relative and absolute humidity?
Relative humidity is a percent of the vapor the air could hold at its temperature. Absolute humidity is the actual mass of vapor per cubic meter, such as 12.4 g/m³ in the 25 °C example.
Why is the humidity indoors lower than outdoors in winter?
The vapor pressure stays about the same when air is warmed, while the room can hold far more at 20 °C. Outdoor air at 0 °C and 80% reads 20.9% at 20 °C.
What is the dew point?
It is the temperature at which the air would be saturated, 100% relative humidity, with the same amount of vapor. For 0 °C air at 80% it is -3 °C.
Can relative humidity be more than 100%?
Not in a stable state. The calculator shows over 100% when air is cooled below its dew point, which means the extra vapor would condense as dew, fog or frost.
How do I convert absolute humidity to relative humidity?
Turn grams per cubic meter back into vapor pressure with e = ρ × Rv × T ÷ 100 (ρ in kg/m³, T in kelvin, e in hPa), then divide by the saturation pressure at that temperature. The calculator works in the other direction: enter the relative humidity or dew point and it shows the absolute humidity next to them.
Sources
The tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations are checked against the tool's own output.