Humidity Ratio Calculator

Humidity ratio9.86 g/kg dry air
Humidity ratio in grains per pound69.0 grains/lb
Dew point13.9 C
Enthalpy of the moist air50.3 kJ/kg dry air
How this was calculated
  1. Saturation vapour pressure at 25 C from the Magnus formula: pws = 3.162 kPa.
  2. Actual vapour pressure: pv = 50% x 3.162 = 1.581 kPa.
  3. Humidity ratio W = 0.6219 x pv / (P - pv) = 0.6219 x 1.581 / (101.325 - 1.581) = 9.86 g per kg of dry air, using the full-precision constant 0.6219 (ratio of the molar masses of water vapour and dry air).
  4. The dew point for this vapour pressure is 13.9 C, and the enthalpy is 50.3 kJ/kg of dry air.

This humidity ratio calculator tells you how much water vapor is mixed into a given amount of dry air. You enter the air temperature, relative humidity, and barometric pressure, and the calculator returns the humidity ratio in grams of water per kilogram of dry air, along with the dew point. For example, air at 25 C and 50% relative humidity has a humidity ratio of 9.86 g per kg of dry air, the same air holds 69.0 grains of water per pound of dry air, and its dew point is 13.9 C. Hot humid air at 30 C and 70% RH reaches 18.75 g/kg with a dew point of 23.9 C, while dry heated air at 20 C and 30% RH holds only 4.33 g/kg with a dew point of 1.9 C. The 25 C, 50% example also has an enthalpy of 50.3 kJ per kg of dry air.

The method behind this calculator is the standard psychrometric approach. Saturation vapor pressure comes from the Magnus formula, and the humidity ratio is then found from W = 0.6219 pv / (P - pv), where pv is the vapor pressure and P is the total pressure. That is why the results match published psychrometric data, such as the 9.86 g/kg figure for 25 C and 50% RH. On this page you will find the full formula, step-by-step workings, and worked examples for each case above, plus the sources the method is drawn from, so you can check every number yourself.

Worked examples

Room air

(25 C · 50 % · 101.325 kPa)

Humidity ratio9.86 g/kg dry air
Humidity ratio in grains per pound69.0 grains/lb
Dew point13.9 C
Enthalpy of the moist air50.3 kJ/kg dry air

Humid day

(30 C · 70 % · 101.325 kPa)

Humidity ratio18.75 g/kg dry air
Humidity ratio in grains per pound131.3 grains/lb
Dew point23.9 C
Enthalpy of the moist air78.1 kJ/kg dry air

Dry air

(20 C · 30 % · 101.325 kPa)

Humidity ratio4.33 g/kg dry air
Humidity ratio in grains per pound30.3 grains/lb
Dew point1.9 C
Enthalpy of the moist air31.1 kJ/kg dry air

How the humidity ratio is calculated

To see how a humidity ratio calculator arrives at its answer, it helps to follow the arithmetic in order. The humidity ratio is a mass ratio: grams of water vapor per kilogram of dry air. It is built from two pressures — the saturation vapor pressure at the air temperature, and the actual vapor pressure at the stated relative humidity.

The first step is the saturation vapor pressure, the pressure water vapor would exert if the air were completely saturated at that temperature. This value comes from the Magnus formula. The second step scales it down to the actual vapor pressure: at 50% relative humidity, the actual vapor pressure is half the saturation value. The third step plugs that actual vapor pressure into W = 0.6219 pv / (P - pv), where pv is the vapor pressure and P is the total air pressure. The constant 0.6219 is the ratio of the molecular weight of water to that of dry air, which is why the result comes out as a mass of vapor per mass of dry air.

Running the numbers for air at 25 C and 50% relative humidity gives a humidity ratio of 9.86 g per kg of dry air. That same air holds 69.0 grains of water per pound of dry air and has a dew point of 13.9 C. Its enthalpy is 50.3 kJ per kg of dry air. Each of these is a different way of describing the same moist air, and a humidity ratio calculator typically reports them together because they answer different questions: the ratio tells you how much vapor is present by mass, the dew point tells you the temperature at which condensation begins, and the enthalpy captures the total heat content.

The same procedure explains why conditions that feel similar can hold very different amounts of water. Hot humid air at 30 C and 70% relative humidity reaches 18.75 g/kg, with a dew point of 23.9 C. Dry heated air at 20 C and 30% relative humidity holds only 4.33 g/kg, with a dew point of 1.9 C. Temperature drives the saturation pressure, and relative humidity sets how far below saturation the air sits, so the two inputs together determine the ratio.

One practical note: the formula assumes the total pressure P is known and held constant. Change the barometric pressure — as happens with altitude — and the denominator shifts, so the same temperature and relative humidity produce a different humidity ratio. That is why a humidity ratio calculator asks for pressure alongside temperature and relative humidity, and why results are quoted per kilogram of dry air rather than per kilogram of the moist mixture.

At 25 C and 50% relative humidity, the humidity ratio is 9.86 g/kg — the same air holds 69.0 grains per pound of dry air and has a dew point of 13.9 C.

Humidity ratio versus relative humidity

Relative humidity and humidity ratio are easy to confuse because both describe water vapor in air, but they measure different things. Relative humidity is a percentage: it tells you how full the air is relative to the maximum amount of vapor it could hold at that temperature. Humidity ratio is an absolute quantity: the mass of water vapor carried by a given mass of dry air, usually expressed in grams of water per kilogram of dry air (g/kg). A humidity ratio calculator converts between these views, so it helps to see how far apart the two numbers can be for the same air.

Take air at 25 C and 50% relative humidity. Its humidity ratio is 9.86 g per kg of dry air. The same air holds 69.0 grains of water per pound of dry air and has a dew point of 13.9 C. Now warm that air to 30 C and raise the relative humidity to 70%: the humidity ratio climbs to 18.75 g/kg, and the dew point rises to 23.9 C. The percentage went from 50% to 70%, but the actual mass of water per kilogram of dry air nearly doubled. That gap is the core difference between the two measures.

Relative humidity alone can mislead because it is tied to temperature. Dry heated air at 20 C and 30% relative humidity holds only 4.33 g/kg, with a dew point of 1.9 C. Compare that with the 25 C, 50% case at 9.86 g/kg: the relative humidity is lower in the heated air, yet the absolute moisture is less than half. If you care about how much water the air actually contains, or about condensation risk as surfaces cool, the humidity ratio and dew point are the more direct indicators.

The link between the two measures runs through saturation vapor pressure. Saturation vapor pressure comes from the Magnus formula, and the humidity ratio follows from W = 0.6219 pv / (P - pv), where pv is the vapor pressure and P is the total pressure. Because saturation vapor pressure rises steeply with temperature, a given relative humidity corresponds to a larger humidity ratio in warmer air. That is why the 30 C, 70% example reaches 18.75 g/kg while the cooler cases stay well below it.

For a fuller picture of the air's energy content, the enthalpy of the 25 C, 50% example is 50.3 kJ per kg of dry air. When you use a humidity ratio calculator, read the result as an absolute moisture content and the relative humidity as a percentage of saturation at the current temperature. Keeping the two distinct makes it much easier to judge comfort, drying, and condensation.

Relative humidity is a percentage of saturation; humidity ratio is an absolute mass of water per mass of dry air. At 25 C and 50% RH the ratio is 9.86 g/kg, while at 30 C and 70% RH it reaches 18.75 g/kg.

Grains per pound and the dew point

American HVAC work often measures moisture in grains of water per pound of dry air rather than in grams per kilogram. The two numbers describe the same quantity of water vapor, just on different scales. Take the standard example used throughout this page: air at 25 C and 50% relative humidity has a humidity ratio of 9.86 g per kg of dry air. Expressed the imperial way, that same air holds 69.0 grains of water per pound of dry air. A humidity ratio calculator that reports both units is simply showing one physical result in two conventions, so you can read the figure that matches your equipment, chart or specification.

The dew point in that example is 13.9 C, and it follows directly from the vapor pressure the air carries. The calculation starts with saturation vapor pressure from the Magnus formula, which gives the pressure at which water vapor would condense at a given temperature. Multiplying that by relative humidity yields the actual vapor pressure pv. The humidity ratio then comes from W = 0.6219 pv / (P - pv), where P is the total atmospheric pressure. Because the ratio and the vapor pressure are locked together by that equation, once you know the moisture content you can work backward to the vapor pressure, and from there to the temperature at which that vapor pressure becomes the saturation pressure. That temperature is the dew point, 13.9 C here.

The same relationship holds across the other cases on this page, and the dew points move in the expected direction. Hot humid air at 30 C and 70% RH reaches 18.75 g/kg, with a dew point of 23.9 C, close to the air temperature because so much moisture is present. Dry heated air at 20 C and 30% RH holds only 4.33 g/kg, with a dew point of 1.9 C, far below room temperature. In each case the grains-per-pound figure is the same ratio as the g/kg value, and the dew point is the temperature implied by the vapor pressure behind it.

It helps to keep the units straight when you compare readings. The grain is a small imperial mass unit, and there are 7,000 grains in a pound; the humidity ratio counts grains of water vapor against one pound of dry air, not against a pound of the moist mixture. That is why the dry-air basis matters in both metric and imperial work. Enter a temperature and relative humidity into the humidity ratio calculator and you get the moisture content, the dew point and the grains-per-pound equivalent from one calculation, so a US mechanical schedule and a metric psychrometric chart can be checked against each other without a separate conversion step.

For the 25 C, 50% example, the enthalpy is 50.3 kJ per kg of dry air, a reminder that moisture content feeds into every other property of the air.

25 C at 50% RH: 9.86 g/kg, or 69.0 grains per pound of dry air, with a dew point of 13.9 C.

Why HVAC engineers use it

An HVAC engineer rarely needs the humidity ratio for its own sake. It matters because it is the bridge between a psychrometric reading and the actual energy a coil has to move. Take air at 25 C and 50% relative humidity: a humidity ratio calculator returns 9.86 g per kg of dry air, which is the same as 69.0 grains of water per pound of dry air, with a dew point of 13.9 C. Those three numbers describe one parcel of air, and the last two are what let an engineer size equipment and check a design against a spec sheet.

The decisive figure is enthalpy. That same 25 C, 50% air carries 50.3 kJ per kg of dry air. Enthalpy bundles the sensible heat you feel on a thermometer together with the latent heat stored in the water vapour, so it is the number that tracks total load rather than temperature alone. This is why a cooling coil cannot be sized from a dry-bulb difference. The coil must remove sensible heat to lower the air temperature and, separately, remove the latent heat in the water vapour by condensing it out. A coil that only pulls the temperature down will leave the moisture behind and the space will still feel clammy.

The contrast between humid and dry air makes the point sharper. Hot humid air at 30 C and 70% RH reaches 18.75 g/kg, with a dew point of 23.9 C, so a coil meeting that airstream faces a heavy latent load and must condense a large amount of water. Dry heated air at 20 C and 30% RH holds only 4.33 g/kg, with a dew point of 1.9 C, so the latent load is small and the coil's job is mostly sensible. Same equipment, very different duty, and the humidity ratio is what separates the two cases before any tonnage is chosen.

Behind the calculator, saturation vapour pressure comes from the Magnus formula and the humidity ratio from W = 0.6219 pv / (P - pv). The barometric pressure term matters: the same vapour pressure at a different altitude gives a different humidity ratio, so load figures should be read against the pressure the project actually sees. That is why engineers keep the humidity ratio calculator in the loop from early load estimates through coil selection and final commissioning checks.

Used this way, the humidity ratio is not a curiosity from a psychrometric chart. It is the input that keeps latent load visible, so the coil is chosen to remove both kinds of heat rather than just the one a thermometer shows.

At 25 C and 50% RH, the air carries 50.3 kJ per kg of dry air. A cooling coil must remove the sensible heat and the latent heat in the water vapour, not just lower the temperature.

FAQs

What is the humidity ratio of air at 25 C and 50% RH?

At 25 C and 50% relative humidity, the humidity ratio is 9.86 grams of water per kilogram of dry air. In inch-pound units that same condition equals 69.0 grains of moisture per pound of dry air. The calculator reports both units so you can use whichever your work requires.

What is the formula for humidity ratio?

The humidity ratio is W = 0.6219 pv / (P - pv). Here pv is the water vapor partial pressure, found from the relative humidity and the Magnus saturation pressure at the air temperature, and P is the barometric pressure. The result is a mass of water per mass of dry air.

How is humidity ratio different from relative humidity?

Humidity ratio is an absolute mass ratio, not a percentage. Relative humidity only says how full the air is relative to saturation. For example, 30 C air at 70% RH holds 18.75 g/kg, far more moisture than 20 C air at 30% RH, which holds 4.33 g/kg.

What dew point goes with 25 C and 50% RH?

At 25 C and 50% relative humidity, the dew point is 13.9 C. That means any surface colder than 13.9 C will condense moisture out of the air onto itself. The calculator shows dew point alongside the humidity ratio so you can judge condensation risk.

What is a grain of moisture?

A grain is one seven-thousandth of a pound. It is a small unit used for moisture in air in inch-pound work. The 25 C, 50% RH example holds 69.0 grains per pound of dry air, which matches the same condition stated as 9.86 grams per kilogram.

Does altitude change the humidity ratio?

Yes. At the same temperature and relative humidity, a lower barometric pressure gives a higher humidity ratio. The vapor partial pressure stays the same, but the denominator P - pv in the formula shrinks as P falls, so the ratio rises. Altitude therefore matters when you compare sites.

Sources

Related calculators

Dew Point Calculator
The dew point from air temperature and relative humidity (Magnus formula) — the absolute moisture number behind fog, condensation and how muggy a day feels.
Air Density Calculator
Moist air density from pressure, temperature and humidity (Magnus vapour pressure), with dry-air density, dew point and vapour content.
Compression Ratio Calculator
Compression ratio from bore, stroke and clearance volume, with the swept volume worked out per cylinder.