How to Calculate the Mixing Ratio of Air
The mixing ratio (also called the humidity ratio) is the mass of water vapor carried by each unit mass of dry air. Meteorologists and HVAC engineers prefer it over relative humidity for many calculations because it does not change when air is heated or cooled without adding or removing moisture. This calculator derives the mixing ratio from air temperature, relative humidity, and atmospheric pressure using the standard vapor-pressure formula w = 0.622 × e / (P − e), where e is the actual (partial) vapor pressure of water in the air, P is the total atmospheric pressure, and 0.622 is the ratio of the molar mass of water (18.02 g/mol) to the molar mass of dry air (28.97 g/mol).
Deriving vapor pressure from temperature and humidity
The calculator first estimates the saturation vapor pressure e_s at your input temperature using the Magnus (Alduchov-Eskridge) approximation: e_s = 6.1094 × exp(17.625T / (T + 243.04)), with T in °C and e_s in hPa. This is the maximum vapor pressure the air could hold before water starts condensing out at that temperature. The actual vapor pressure is then e = (RH / 100) × e_s, where RH is the relative humidity you entered. Plugging e and your input pressure P into w = 0.622e / (P − e) gives the mixing ratio, typically reported in grams of water vapor per kilogram of dry air (multiply the kg/kg result by 1000). The closely related specific humidity, q = 0.622e / (P − 0.378e), expresses the same water vapor mass per kilogram of moist (total) air instead of dry air — the two values differ by less than 2% at typical atmospheric conditions.
Practical notes and typical ranges
- Pressure matters: at high altitude, lower atmospheric pressure P pushes the mixing ratio higher for the same temperature and relative humidity, because there is less total air mass to dilute the same vapor pressure.
- Sea-level standard pressure is 1013.25 hPa (1 atm); use your local station pressure for the most accurate result if you have it.
- Typical mixing ratios: cold winter air near 0°C often carries under 3 g/kg; warm, humid summer or tropical air can exceed 20 g/kg.
- Valid range: the Magnus formula used here is accurate to within about 0.1% for temperatures between roughly -40°C and 50°C — extreme temperatures outside that band are flagged as invalid.
Frequently Asked Questions
What is the mixing ratio of air?
The mixing ratio is the mass of water vapor mixed with each unit mass of dry air, usually reported in grams of water vapor per kilogram of dry air (g/kg). It is computed as w = 0.622 × e / (P − e), where e is the actual (partial) vapor pressure, P is the total atmospheric pressure, and 0.622 is the ratio of the molar mass of water vapor to the molar mass of dry air.
How is mixing ratio different from relative humidity?
Relative humidity is a percentage that compares the actual vapor pressure to the saturation vapor pressure at the same temperature, so it changes with temperature even if the actual amount of water vapor stays constant. Mixing ratio measures the actual mass of water vapor per kilogram of dry air, so it stays constant as air is heated or cooled (as long as no vapor condenses or evaporates).
How is mixing ratio different from specific humidity?
Mixing ratio (w) expresses water vapor mass per unit mass of dry air, w = 0.622e/(P-e). Specific humidity (q) expresses water vapor mass per unit mass of moist (total) air, q = 0.622e/(P-0.378e). The two values are numerically very close at typical atmospheric humidities and only diverge noticeably when the air is very warm and very moist.
What is a typical mixing ratio value?
Cold, dry winter air near 0°C can have a mixing ratio below 2 g/kg, while warm, humid tropical air near 30°C and high relative humidity can exceed 25 g/kg. Room-temperature air at 25°C and 50% relative humidity has a mixing ratio of roughly 10 g/kg.
Common Tip Percentages
| Service | Typical Tip Range | Notes |
| Restaurant (sit-down) | 15–20% | 20%+ for exceptional service |
| Food delivery | 10–20% | Consider extra for long distances |
| Taxi / rideshare | 10–20% | More for assistance with luggage |
| Hotel housekeeping | $2–5/night | Leave daily, not just at checkout |
| Barber / hair salon | 15–20% | On pre-discount total |
| Pizza delivery | 10–15% or $3–5 minimum | Higher in bad weather |
General Household Budget Ratios (50/30/20 Rule)
| Category | % of Net Income | Examples |
| Needs | 50% | Rent, groceries, utilities, insurance |
| Wants | 30% | Dining out, entertainment, hobbies |
| Savings / Debt | 20% | Emergency fund, retirement, extra payments |
Common Measurement Conversions for Everyday Use
| Quantity | US / Imperial | Metric Equivalent |
| 1 cup | 8 fl oz | 237 mL |
| 1 pint | 16 fl oz | 473 mL |
| 1 quart | 32 fl oz | 946 mL |
| 1 gallon | 128 fl oz | 3.785 L |
| 1 lb | 16 oz | 453.6 g |
| 1 ft | 12 in | 30.48 cm |