Relative Humidity Calculator From Vapor Pressure
Compute RH accurately using measured vapor pressure and either saturation vapor pressure or air temperature.
How to Calculate Relative Humidity from Vapor Pressure: Expert Guide
Relative humidity (RH) is one of the most practical and misunderstood weather and indoor air metrics. People often treat it as a simple moisture number, but RH is actually a ratio between how much water vapor is in the air and how much the air could hold at the same temperature. The most accurate way to compute RH in scientific, industrial, and engineering settings is with vapor pressure values. If you know actual vapor pressure and saturation vapor pressure, you can calculate RH directly with excellent precision.
This guide explains the exact formula, unit handling, temperature effects, real data examples, and practical interpretation for homes, HVAC work, agriculture, and weather analysis. You can use the calculator above for quick decisions and use this section as a technical reference.
Core Formula and Why It Works
Relative humidity is defined as:
RH (%) = (e / es) × 100
- e = actual vapor pressure (the partial pressure of water vapor currently in air)
- es = saturation vapor pressure at the same air temperature (the maximum vapor pressure before condensation starts)
Because warmer air can support higher vapor pressure before saturation, RH always depends on temperature. This is why RH can change during the day even if the actual moisture content changes very little.
When You Have Temperature but Not Saturation Vapor Pressure
In many practical cases, you measure temperature and actual vapor pressure, but not es directly. In that case, es can be estimated from temperature using the Magnus equation (widely used in meteorology for near-surface conditions):
es(hPa) = 6.112 × exp((17.67 × T°C) / (T°C + 243.5))
This gives saturation vapor pressure over liquid water and is accurate enough for most weather, indoor, and process control use. For very cold or specialized ice-surface conditions, alternate coefficients may be preferable.
Step-by-Step Calculation Workflow
- Measure air temperature and actual vapor pressure from your sensor or station data.
- Convert units so that both e and es are in the same pressure unit.
- If es is unknown, compute it from temperature (Magnus method).
- Apply RH (%) = (e / es) × 100.
- Interpret the result in context, since comfort and material risk depend on use case.
Unit Conversion Reference
Pressure unit mistakes are a major source of humidity calculation error. Keep units consistent:
- 1 kPa = 10 hPa
- 1 hPa = 100 Pa
- 1 mmHg ≈ 1.33322 hPa
Example: if e = 2.1 kPa and es = 31.7 hPa, convert one of them first. Since 2.1 kPa = 21 hPa, RH = (21 / 31.7) × 100 = 66.2%.
Comparison Table 1: Saturation Vapor Pressure by Temperature (Real Physical Data)
The values below are representative saturation vapor pressures over water and illustrate how quickly moisture capacity rises with temperature.
| Temperature (°C) | Saturation Vapor Pressure es (hPa) | Saturation Vapor Pressure es (kPa) | Relative Increase vs 0°C |
|---|---|---|---|
| 0 | 6.11 | 0.611 | Baseline |
| 10 | 12.27 | 1.227 | +101% |
| 20 | 23.37 | 2.337 | +282% |
| 30 | 42.43 | 4.243 | +594% |
| 35 | 56.23 | 5.623 | +821% |
These magnitudes explain why warm air can have a lot of moisture but still show moderate RH, while cold air can feel damp at much lower absolute moisture.
Comparison Table 2: Example Relative Humidity Outcomes at 25°C
At 25°C, saturation vapor pressure is approximately 31.67 hPa. With that fixed temperature, RH changes directly with actual vapor pressure.
| Actual Vapor Pressure e (hPa) | Computed RH (%) | Likely Perception | Operational Implication |
|---|---|---|---|
| 9.5 | 30.0% | Dry | May increase static electricity and dryness complaints |
| 15.8 | 49.9% | Comfortable for many spaces | Often aligned with indoor comfort targets |
| 22.2 | 70.1% | Humid | Condensation risk grows on cooler surfaces |
| 28.5 | 90.0% | Very humid | High dew and mold risk in poorly ventilated areas |
Why Relative Humidity Changes Even When Moisture Does Not
RH is temperature-sensitive. If actual vapor pressure stays steady but temperature rises, saturation vapor pressure rises, so RH falls. If temperature drops with the same moisture in air, RH rises. This principle is essential in:
- Morning fog development
- Nighttime condensation on roofs and windows
- HVAC cycling and comfort fluctuations
- Warehouse and archival moisture control
Engineers and meteorologists therefore track both moisture amount and thermal state. RH alone is useful, but vapor pressure and dew point provide stronger diagnostics.
Practical Interpretation Ranges
Typical interpretation bands:
- Below 30% RH: Air is usually dry. Can increase skin, eye, and throat dryness in occupied buildings.
- 30% to 60% RH: Common comfort zone for many interior environments, depending on temperature and air movement.
- Above 60% RH: Increased potential for condensation on cool surfaces and microbial growth in vulnerable materials.
- Above 80% RH: High moisture stress for buildings, storage, and processes without dehumidification.
Common Measurement and Calculation Errors
- Unit mismatch: e in kPa and es in hPa without conversion.
- Temperature mismatch: using es from a different temperature than the one tied to e.
- Rounding too early: heavy rounding can skew RH by several percentage points.
- Assuming one sensor is enough: poor sensor placement near vents, sunlit surfaces, or doors can bias vapor pressure readings.
- Ignoring calibration drift: field instruments can drift over time and should be checked periodically.
Applied Use Cases
Weather and forecasting: RH from vapor pressure supports fog potential, cloud base insights, and heat stress interpretation.
HVAC and buildings: Moisture control depends on understanding whether high RH is from high moisture load, low temperature, or both.
Agriculture: Leaf wetness duration and disease pressure correlate strongly with nighttime RH and vapor pressure behavior.
Industrial processes: Drying, coating, packaging, and pharmaceutical handling depend on stable RH and dew point management.
Authoritative Technical References
For deeper equations, atmospheric context, and humidity fundamentals, review these sources:
- U.S. National Weather Service (.gov): Relative Humidity Calculator and definitions
- NOAA JetStream (.gov): Humidity concepts and atmospheric moisture basics
- Penn State Meteorology (.edu): Vapor pressure, saturation, and humidity relationships
Final Takeaway
Calculating relative humidity from vapor pressure is straightforward and robust when done correctly: keep units consistent, align temperature and pressure data in time, and use a reliable saturation equation. For field use, this method gives highly actionable results for comfort management, weather analysis, and moisture-risk control. Use the calculator above to get immediate RH values, plus visual context of how close your air mass is to saturation.