molecalculator

Moles & Molar Mass

Relative Humidity to PPM Calculator

Calculator No. 01-13418 · Updated · Formula and assumptions shown below

Water vapor concentration 15,630.05 ppm
Absolute humidity
115.10 g/m³
Result, rounded to 2 decimal places
Relative humidity
50 %
Set in the form below
Temperature
25 °C
Set in the form below
You enter
Relative humidity (%), Temperature (°C), Pressure (atm)
You get
Water vapor concentration (ppm), Absolute humidity (g/m³)
Rounding
2 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

This calculator converts relative humidity (RH) into parts per million (ppm) of water vapor in air. You enter the relative humidity, temperature, and pressure, and it returns the water vapor concentration in ppm by volume, along with the absolute humidity in g/m³. The conversion is not a simple multiplication—it depends on temperature and pressure because RH is a percentage of the saturation vapor pressure, which changes with temperature.

Formula

The calculator uses the Magnus formula to estimate saturation vapor pressure (in hPa) at a given temperature:

E_sat = 6.112 × exp((17.67 × T) / (T + 243.5))

where T is temperature in °C. Then the actual vapor pressure is RH × E_sat / 100. To get ppm by volume, divide the actual vapor pressure by the total pressure and multiply by 1,000,000:

ppm = (RH/100) × E_sat × 1000 / (P_atm × 1013.25) × 1000

Here, E_sat is in hPa, P_atm is in atm (1 atm = 1013.25 hPa). The factor 1000 converts hPa to Pa, and the second 1000 converts the fraction to ppm. The absolute humidity in g/m³ uses the ideal gas law with the specific gas constant for water vapor (R_w = 461.5 J/(kg·K)).

Worked Example

Using the defaults: RH = 50%, T = 25°C, P = 1 atm.

  1. Calculate saturation vapor pressure: E_sat = 6.112 × exp((17.67 × 25) / (25 + 243.5)) = 6.112 × exp(441.75 / 268.5) = 6.112 × exp(1.645) ≈ 6.112 × 5.181 ≈ 31.67 hPa.
  2. Actual vapor pressure = 0.50 × 31.67 = 15.835 hPa.
  3. Convert to ppm: (15.835 hPa / 1013.25 hPa) × 1,000,000 = 0.01563 × 1,000,000 ≈ 15,630 ppm.
  4. Absolute humidity: (15.835 hPa × 100) / (461.5 × (25 + 273.15)) = 1583.5 / (461.5 × 298.15) = 1583.5 / 137,600 ≈ 0.01151 kg/m³ = 11.51 g/m³.

The calculator rounds to 15,630 ppm and 11.51 g/m³, matching the default outputs.

Assumptions

  • The Magnus formula is an approximation valid for temperatures roughly between −40°C and +60°C (accuracy about ±0.1% over that range).
  • Air is treated as an ideal gas; this is very good at typical atmospheric pressures.
  • The total pressure is the absolute pressure, not gauge pressure. If you have gauge pressure, add atmospheric pressure.
  • The mixture is assumed to be air plus water vapor only; other gases are not considered.

Why Convert RH to ppm?

Relative humidity is a ratio—it tells you how close the air is to saturation, but not how much water vapor is actually present. For many technical applications, you need an absolute measure. For example:

  • In semiconductor cleanrooms, trace moisture in process gases is specified in ppm.
  • In compressed air systems, water vapor content is often given in ppm to determine drying requirements.
  • In environmental monitoring, ppm is used to compare moisture levels across different temperatures.
  • In HVAC design, absolute humidity (g/m³) is needed for load calculations.

Because RH alone doesn’t tell you the actual amount of water, converting to ppm gives a temperature-independent number that is easier to compare and use in calculations.

How to Use the Calculator

Enter the relative humidity (0–100%), temperature in °C, and absolute pressure in atm. The calculator outputs both ppm and absolute humidity (g/m³). For example, at 20°C and 60% RH, the saturation vapor pressure is about 23.4 hPa, so the actual vapor pressure is 14.0 hPa, giving about 13,800 ppm at 1 atm. If you double the pressure to 2 atm, the ppm halves to about 6,900 ppm, because the same amount of water vapor is diluted in more air.

Note that ppm here is by volume (mole fraction × 10⁶), not by mass. To convert to ppm by mass, multiply by the ratio of molecular weights (18.015 / 28.97 ≈ 0.622).

Common Mistakes

  • Using gauge pressure instead of absolute pressure. Always add atmospheric pressure (about 1 atm) to gauge readings.
  • Forgetting that RH is a percentage. The formula uses RH/100, so 50% means 0.50.
  • Using °F or K without converting to °C. The Magnus formula requires °C.
  • Mixing up ppm by volume and ppm by mass. They differ by about 38% for water in air.
  • Assuming RH is independent of temperature. If you heat air without adding moisture, RH drops but ppm stays the same.

Limitations and Alternatives

The Magnus formula is accurate for most practical purposes, but for very high precision (e.g., calibration standards), use the more complex Goff-Gratch equation or the WMO reference formula. Also, the calculator assumes pure water vapor in air; if the gas is not air, the saturation vapor pressure changes slightly due to the presence of other gases (the Poynting effect), but this is negligible at normal pressures.

If you need ppm from a dew point measurement, you can first convert dew point to vapor pressure using the same Magnus formula, then to ppm. Alternatively, if you have a direct measurement of water vapor mass concentration (e.g., in mg/m³), you can convert to ppm using the ideal gas law: ppm = (mg/m³ × 8.314 × T) / (18.015 × P × 1000).

Frequently Asked Questions

What is the difference between RH and ppm?

Relative humidity is a percentage that compares the current vapor pressure to the saturation vapor pressure at that temperature. PPM (parts per million) is an absolute measure of the amount of water vapor present, typically by volume. At a given RH, the ppm value changes with temperature because warm air can hold more water vapor.

Why does temperature affect the conversion?

Because saturation vapor pressure increases exponentially with temperature. At 50% RH, 0°C air has about 2,500 ppm water, while at 40°C it has about 35,000 ppm. The RH percentage alone doesn’t tell you the actual moisture content.

Can I use this for gases other than air?

The formula works for any gas as long as the total pressure is known and the gas behaves ideally. However, the saturation vapor pressure of water over a liquid surface can be slightly different if the gas is not air, but the difference is usually negligible for engineering purposes.

How do I convert ppm back to relative humidity?

Rearrange the formula: RH = (ppm × P_atm × 1013.25) / (E_sat × 1000 × 1000) × 100. You need the same temperature and pressure. For example, if ppm = 10,000 at 1 atm and 25°C, RH = (10,000 × 1013.25) / (31.67 × 1,000,000) × 100 ≈ 32%.

What is a typical ppm value for indoor air?

Indoor air at 21°C and 50% RH has about 9,000 ppm water vapor. Outdoor air in humid climates can exceed 20,000 ppm, while dry desert air might be below 5,000 ppm.

Is ppm the same as mg/m³?

No. PPM by volume is a mole fraction; mg/m³ is a mass concentration. To convert, use the ideal gas law: mg/m³ = ppm × 18.015 × P / (0.082057 × T), where P is in atm and T in K. At 25°C and 1 atm, 10,000 ppm equals about 7,360 mg/m³.

Related

Formula used
in rh | Relative humidity | % | 50 | 0 | 100
in t | Temperature | °C | 25 | -40 | 60
in p | Pressure | atm | 1 | 0.1 | 10
out ppm | Water vapor concentration | ppm | (rh/100) * 6.112 * exp((17.67 * t) / (t + 243.5)) * 1000 / (p * 1013.25) * 1000 | 2
out ah | Absolute humidity | g/m³ | (rh/100) * 6.112 * exp((17.67 * t) / (t + 243.5)) * 1000 / (0.4615 * (t + 273.15)) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →