Humidity Ratio Calculator
Compute humidity ratio using validated scientific equations. See step-by-step derivations, unit analysis, and reference values.
Calculator
Adjust values & calculateFormula
Where w is humidity ratio in kg/kg, e is actual vapor pressure in hPa, P is total pressure. 0.622 is ratio of molecular weights of water to dry air.
Last reviewed: December 2025
Worked Examples
Example 1: Standard Office Air
Example 2: Cold Winter Air
Background & Theory
The Humidity Ratio Calculator applies the following established principles and formulas. Earth science calculators draw on a wide range of measurement scales and physical principles that quantify natural phenomena across geological, atmospheric, and hydrological systems. Earthquake magnitude is most precisely described by the Moment Magnitude Scale (Mw), which replaced the original Richter scale for larger events. Mw is calculated as Mw = (2/3) log10(M0) โ 10.7, where M0 is the seismic moment in dyne-centimeters. The Richter scale, while still referenced colloquially, is a local magnitude (ML) measurement derived from peak seismograph amplitude at a standard 100 km distance. Wind intensity is classified using the Beaufort Scale, a 13-point empirical scale (0โ12) relating wind speed in knots to observable sea and land effects, with Beaufort 12 corresponding to hurricane-force winds above 64 knots. Tropical cyclone intensity is further categorized by the Saffir-Simpson Hurricane Wind Scale, which assigns Categories 1 through 5 based on sustained wind speed, correlating with expected structural damage. Mineral hardness is quantified on the Mohs scale (1โ10), comparing scratch resistance relative to reference minerals from talc (1) to diamond (10). Soil composition analysis measures the proportions of sand, silt, and clay by particle size, alongside organic matter content, bulk density, and porosity, which together determine engineering and agricultural suitability. Seismic wave velocity in rock varies by material: P-waves travel at approximately 5โ7 km/s in granite and 1.5 km/s in water, while S-waves travel at roughly 60% of P-wave speeds. Atmospheric pressure decreases with altitude according to the barometric formula: P = P0 ร exp(โMgh / RT), where M is molar mass of air, g is gravitational acceleration, h is altitude, R is the universal gas constant, and T is temperature in Kelvin. Standard sea-level pressure is 101,325 Pa. Tidal calculations use harmonic analysis of gravitational forcing by the Moon and Sun, with the principal lunar semidiurnal tidal constituent (M2) having a period of approximately 12.42 hours.
History
The history behind the Humidity Ratio Calculator traces back through the following developments. The systematic study of Earth's structure and processes spans millennia, but the scientific foundations were laid in the seventeenth century. In 1669, Danish naturalist Nicolas Steno published his principles of stratigraphy, establishing the laws of superposition, original horizontality, and lateral continuity โ foundational rules for reading rock layers that remain in use today. Scottish geologist James Hutton introduced the concept of uniformitarianism in 1788, proposing that geological processes observable in the present have operated throughout Earth's history at broadly consistent rates. This idea of deep time challenged prevailing biblical chronologies and set the stage for modern geology. Charles Lyell systematized these ideas in his landmark three-volume work Principles of Geology, published beginning in 1830, which directly influenced Charles Darwin's thinking on biological evolution during the voyage of the Beagle. The nineteenth century saw growing curiosity about continental shapes, but a coherent theory awaited Alfred Wegener, a German meteorologist who proposed continental drift in 1912, arguing that the continents had once formed a supercontinent he called Pangaea. His evidence included matching fossil records and geological formations across the Atlantic, but his mechanism was disputed for decades. The theory gained acceptance in the 1960s when seafloor spreading was confirmed through paleomagnetic studies, and plate tectonics emerged as the unifying framework of modern geoscience. The United States Geological Survey was established by Congress in 1879 to classify public lands and examine the geological structure, mineral resources, and products of the national domain. The twentieth century brought instrumental advances, including the global seismograph network deployed after World War II, initially to monitor nuclear tests, which dramatically improved earthquake detection and characterization. Satellite Earth observation began in earnest with the Landsat program launched in 1972, enabling continuous global monitoring of land use, glacier retreat, and vegetation patterns. Today, GPS networks, LIDAR scanning, and ocean-floor mapping provide centimeter-scale precision for tracking tectonic motion, sea level rise, and volcanic deformation in near real time.
Frequently Asked Questions
Formula
w = 0.622 * e / (P - e)
Where w is humidity ratio in kg/kg, e is actual vapor pressure in hPa, P is total pressure. 0.622 is ratio of molecular weights of water to dry air.
Worked Examples
Example 1: Standard Office Air
Problem: Calculate humidity ratio for air at 25 C, 60% RH, at 1013.25 hPa.
Solution: es = 31.67 hPa, e = 0.60*31.67 = 19.00 hPa w = 0.622*19.00/(1013.25-19.00) w = 11.89 g/kg Dew point = 16.69 C
Result: Humidity Ratio: 11.890 g/kg | Dew Point: 16.69 C
Example 2: Cold Winter Air
Problem: Find humidity ratio for air at -10 C, 80% RH, at 1000 hPa.
Solution: es=2.863 hPa, e=2.290 hPa w=0.622*2.290/(1000-2.290) w=1.428 g/kg Very low shows why winter air feels dry indoors
Result: Humidity Ratio: 1.428 g/kg | Very Dry
Frequently Asked Questions
What is the humidity ratio and how is it defined?
The humidity ratio also called mixing ratio is defined as the mass of water vapor per unit mass of dry air in a given volume of moist air. It is typically expressed in grams of water vapor per kilogram of dry air or as a dimensionless kg/kg ratio. The humidity ratio is calculated using w = 0.622 times e divided by (P minus e) where e is actual vapor pressure and P is total atmospheric pressure. Unlike relative humidity the humidity ratio is an absolute measure of moisture content that does not change with temperature alone. It is fundamental in psychrometrics and atmospheric thermodynamics.
How does humidity ratio differ from specific humidity and relative humidity?
Humidity ratio is mass of water vapor per unit mass of dry air while specific humidity is mass of water vapor per unit mass of total moist air including the vapor itself. The relationship is q = w/(1+w) where q is specific humidity and w is humidity ratio. For typical atmospheric conditions the numerical difference is small usually less than 2 percent. Relative humidity is the ratio of actual to saturation vapor pressure as a percentage. Relative humidity changes with temperature even without moisture changes while humidity ratio remains constant during dry adiabatic processes.
Why is humidity ratio important in HVAC and engineering?
The humidity ratio is the primary moisture variable in HVAC system design and psychrometric analysis because it directly quantifies actual water content of air. Engineers use it to calculate moisture that must be added or removed to achieve desired indoor conditions. On psychrometric charts humidity ratio is plotted on the vertical axis making it easy to visualize air conditioning processes. Cooling coils humidifiers and dehumidifiers are sized based on humidity ratio differences between supply and return air. Moist air enthalpy depends directly on humidity ratio for calculating heating and cooling loads.
How does atmospheric pressure affect the humidity ratio?
Atmospheric pressure has a direct inverse relationship with humidity ratio for a given vapor pressure. At lower pressures or higher altitudes the same vapor pressure produces a higher humidity ratio because the denominator P minus e becomes smaller. For example air with vapor pressure of 12 hPa has humidity ratio of about 7.5 g/kg at sea level but about 8.8 g/kg at 850 hPa. This pressure dependence is why meteorologists often prefer specific humidity or vapor pressure when comparing moisture across different altitudes or pressure levels.
What is the saturation humidity ratio and how is it used?
The saturation humidity ratio is the maximum water vapor air can hold at a given temperature and pressure. It increases approximately exponentially with temperature roughly doubling for every 10 Celsius increase. The ratio of actual to saturation humidity ratio gives the degree of saturation which is slightly different from relative humidity. Meteorologists use the difference between saturation and actual humidity ratios to assess proximity to condensation. The saturation humidity ratio at 30 Celsius and sea level is about 27 g/kg while at 0 Celsius it is only about 3.8 g/kg.
How is the humidity ratio measured in practice?
Humidity ratio is not measured directly but calculated from other measured quantities. The most common approach measures temperature and relative humidity using electronic sensors then computes vapor pressure and humidity ratio. Sling psychrometers measure dry-bulb and wet-bulb temperatures from which humidity ratio can be determined. Chilled mirror hygrometers measure dew point directly providing another calculation path. For laboratory work gravimetric methods that directly weigh moisture from a known air volume provide the most reliable results.
References
Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy