Relative humidity calculator

This relative humidity calculator works out relative humidity from air temperature and dew point, in °C or °F. Relative humidity is the moisture in the air as a percent of the amount the air would hold if it were saturated. That amount depends on temperature, so relative humidity on its own doesn't tell you how much moisture is in the air. Inputs stay in your browser, and nothing is sent to a server. If you have the humidity and want the dew point, get the dew point from temperature and humidity.

Temperature unit

Both values use the unit you picked.

Enter values to see the result.

This is not an official forecast and not medical or safety advice.

How to calculate relative humidity

  1. Enter the air temperature and the dew point in the same unit.
  2. If you entered °F, the calculator converts both to °C.
  3. It works out the saturation vapor pressure at the dew point and at the air temperature.
  4. It divides the first by the second and multiplies by 100.

If the dew point is above the air temperature, the input is rejected, because that would mean more than 100%. If the two are equal, the answer is exactly 100%.

Worked example: at an air temperature of 25°C and a dew point of 10°C, the relative humidity is 38.8% (38.7768% before rounding).

Relative humidity formula

RH = 100 × es(Td) / es(T)

where es is the saturation vapor pressure over liquid water, with t in °C:

es(t) = C1 × exp(A1 × t / (B1 + t))

The constants are the same Alduchov and Eskridge 1996 values the dew point calculator uses: A1 = 17.625, B1 = 243.04°C and C1 = 610.94 Pa. In plain words: relative humidity compares the saturation vapor pressure at the dew point with the one at the air temperature. C1 cancels in the ratio. The constants are recommended for temperatures from −40 to 50°C.

Relative humidity chart

Computed from the formula above with the calculator's own code. Not an agency chart.

Relative humidity, °C inputs (air temperature °C × dew point °C)
T °C \ Td °C−10−50510152025303540
04769100
5334870100
1023345071100
151725365172100
20121826375373100
259131928395474100
30710142129405575100
355811162230425675100
4046812172332435776100
Relative humidity, °F inputs (air temperature °F × dew point °F)
T °F \ Td °F2030405060708090100
404467100
50304668100
6021324870100
701523344971100
80111624355172100
908121725375273100
10069131927385374100

Values are rounded to the nearest whole percent. Blank cells are where the dew point would be above the air temperature. When the two are equal, the result is exactly 100%.

Questions

What do I need to calculate relative humidity?

The air temperature and the dew point, both in °C or both in °F. That's all this humidity calculator asks for.

Why can't the dew point be above the temperature?

A dew point above the air temperature would mean more than 100% relative humidity, so the calculator rejects it.

What does 100% relative humidity mean here?

It means the air is saturated: it holds as much moisture as it can at that temperature. In this calculator that happens when the dew point equals the air temperature. Enter the same value in both fields and you get exactly 100%.

Why is my result slightly different from the NWS calculator?

The NWS El Paso calculator uses Tetens constants (6.11, 7.5 and 237.3). We use the Alduchov and Eskridge 1996 constants, so the results won't match exactly.

Methodology and sources

Relative humidity is the inverse of the dew point calculation, using the Magnus form of saturation vapor pressure over liquid water with the Alduchov and Eskridge (1996) constants as quoted by Lawrence (2005): A1 = 17.625, B1 = 243.04°C, C1 = 610.94 Pa. The recommended range is −40 to 50°C. A dew point above the air temperature is rejected, and equal values give exactly 100%. Results won't exactly match the NWS El Paso calculator, which uses a Tetens form. The definition is paraphrased from the NWS Glossary. All the math runs in your browser.

This is not an official forecast and not medical or safety advice.