Advanced

Virtual Temperature Calculator — Moist Air Density

Enter air temperature, relative humidity and station pressure to compute the virtual temperature — the temperature a parcel of dry air would need to have the same density as the actual moist air.

°C

Dry-bulb air temperature

%

Amount of water vapour relative to saturation

hPa

Actual (not sea-level) station pressure; standard sea level = 1013.25 hPa
Virtual temperature (Tv)
21.54°C

Tv is always ≥ T because moist air is less dense than dry air at the same temperature and pressure.

Tv in Kelvin
294.69 K
T in Kelvin
293.15 K
Tv − T (excess)
+1.542 °C
Saturation vapour pressure
23.38 hPa
Actual vapour pressure
14.03 hPa
Mixing ratio (w)
8.73 g/kg
1717.918.919.820.821.722.723.624.5T = 20°CTv = 21.5°CVirtual temperature vs. actual temperature on the same scale (°C)
Step by step
  1. 1

    Saturation vapour pressure (eₛ)

    6.1078 × exp(17.2694 × 20 ÷ (20 + 237.29)) = 23.382
    Tetens formula: maximum water vapour pressure the air can hold at this temperature.
  2. 2

    Actual vapour pressure (e)

    (60 ÷ 100) × 23.382 = 14.029
  3. 3

    Mixing ratio (w)

    0.622 × 14.029 ÷ (1,013.25 − 14.029) = 0.008733
    Mass of water vapour per kg of dry air (kg/kg).
  4. 4

    Virtual temperature (Tv)

    293.15 × (1 + 0.008733 ÷ 0.622) ÷ (1 + 0.008733) − 273.15 = 21.54
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Virtual temperature Tv = T(K) × (1 + w/0.622) / (1 + w), where w is the mixing ratio in kg/kg derived from relative humidity and station pressure. Tv is always ≥ T because moist air is less dense than dry air; the excess is typically 0.5–5 K under normal atmospheric conditions. Meteorologists use Tv to simplify buoyancy calculations without tracking moisture separately.

Formula
Tv = T · (1 + w/ε) / (1 + w) where ε = 0.622, w = mixing ratio (kg/kg), T in Kelvin
How this is calculated

Water vapour (H₂O, molar mass ≈ 18 g/mol) is lighter than dry air (effective molar mass ≈ 28.97 g/mol), so a parcel of moist air at the same temperature and pressure is less dense than dry air. The virtual temperature Tv is a convenient fiction: it is the temperature at which a dry air parcel would have the same density as the actual moist air. Because Tv always equals or exceeds T (moist air appears warmer to a density-based instrument), meteorologists use it to simplify the equation of state and buoyancy calculations without tracking water-vapour concentration separately.

The calculation proceeds in four steps. (1) The Tetens formula gives the saturation vapour pressure es = 6.1078 × exp(17.2694 T / (T + 237.29)) hPa from the Celsius temperature T. (2) The actual vapour pressure is e = (RH/100) × es. (3) The mixing ratio w = 0.622 × e / (P − e) in kg/kg expresses the mass of water vapour per kilogram of dry air. (4) The exact virtual temperature formula Tv(K) = T(K) × (1 + w/0.622) / (1 + w) converts back to Celsius. For typical atmospheric mixing ratios (< 30 g/kg) the simpler approximation Tv ≈ T + 0.608 × T(K) × w differs by less than 0.1 K.

Virtual temperature is widely used in convective meteorology: a rising air parcel is positively buoyant when its Tv exceeds that of the surrounding environment (the basis of convective available potential energy, CAPE). It also enters the density altitude calculation used in aviation and the derivation of the Lifted Index. Station pressure — not sea-level pressure — must be used because density is computed at the actual elevation of the air parcel.

Frequently asked questions

Water vapour is lighter than dry air, so adding moisture to air at constant T and P makes the parcel less dense. To restore that density with dry air, you would need to heat it up — that higher equivalent temperature is the virtual temperature. The excess Tv − T is usually less than 5 K for typical atmospheric conditions.

Dew-point temperature is the temperature to which air must be cooled at constant pressure for condensation to begin — it indicates moisture content directly. Virtual temperature is the temperature dry air would need to match moist air's density — it is used in buoyancy and density calculations, not as a moisture indicator.

Always use actual station (barometric) pressure measured at your location, not the sea-level pressure reported by weather services. Sea-level pressure is corrected upward to remove elevation effects and would give incorrect mixing ratios and virtual temperatures for locations above sea level.

Also known as

virtual temperature meteorology calculator
moist air density temperature
atmospheric virtual temperature Tv
mixing ratio vapour pressure calculator
buoyancy temperature meteorology
Tv atmospheric science
virtual potential temperature calculator

APA

TG we-Calculate Editorial Team. (2026). Virtual Temperature Calculator — Moist Air Density [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/virtual-temperature-calculator

Chicago

TG we-Calculate Editorial Team. "Virtual Temperature Calculator — Moist Air Density." TG we-Calculate. 2026. https://we-calculate.com/calculator/virtual-temperature-calculator.

IEEE

TG we-Calculate Editorial Team, "Virtual Temperature Calculator — Moist Air Density," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/virtual-temperature-calculator

BibTeX

@misc{wecalculate_virtual_temperature_calculator, title = {Virtual Temperature Calculator — Moist Air Density}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/virtual-temperature-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?