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.
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
- Enter the air temperature and the dew point in the same unit.
- If you entered °F, the calculator converts both to °C.
- It works out the saturation vapor pressure at the dew point and at the air temperature.
- 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.
| T °C \ Td °C | −10 | −5 | 0 | 5 | 10 | 15 | 20 | 25 | 30 | 35 | 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 47 | 69 | 100 | ||||||||
| 5 | 33 | 48 | 70 | 100 | |||||||
| 10 | 23 | 34 | 50 | 71 | 100 | ||||||
| 15 | 17 | 25 | 36 | 51 | 72 | 100 | |||||
| 20 | 12 | 18 | 26 | 37 | 53 | 73 | 100 | ||||
| 25 | 9 | 13 | 19 | 28 | 39 | 54 | 74 | 100 | |||
| 30 | 7 | 10 | 14 | 21 | 29 | 40 | 55 | 75 | 100 | ||
| 35 | 5 | 8 | 11 | 16 | 22 | 30 | 42 | 56 | 75 | 100 | |
| 40 | 4 | 6 | 8 | 12 | 17 | 23 | 32 | 43 | 57 | 76 | 100 |
| T °F \ Td °F | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 |
|---|---|---|---|---|---|---|---|---|---|
| 40 | 44 | 67 | 100 | ||||||
| 50 | 30 | 46 | 68 | 100 | |||||
| 60 | 21 | 32 | 48 | 70 | 100 | ||||
| 70 | 15 | 23 | 34 | 49 | 71 | 100 | |||
| 80 | 11 | 16 | 24 | 35 | 51 | 72 | 100 | ||
| 90 | 8 | 12 | 17 | 25 | 37 | 52 | 73 | 100 | |
| 100 | 6 | 9 | 13 | 19 | 27 | 38 | 53 | 74 | 100 |
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.
- DOE preprint of Alduchov and Eskridge 1996, Eq. (25): UNT Digital Library PDF
- Lawrence 2005: doi:10.1175/BAMS-86-2-225
- NWS El Paso dew point and relative humidity calculator (different constants, for contrast): NWS El Paso dew point / RH calculator
- WPC dew point and relative humidity calculator: WPC dew point / RH calculator
- NWS Glossary, relative humidity: NWS Glossary
This is not an official forecast and not medical or safety advice.