Gas Mixture Calculator (Molar Mass, Density, Partial Pressures)

Fuel gases, flue gases, shielding gases and process streams are mixtures. This calculator turns a mole or volume analysis into the mixture molar mass, density, gas constant, specific gravity, mass fractions and partial pressures you need for flow, combustion and safety calculations.

Inputs

%
%
%
%

Results

Mixture molar mass
28.966g/mol
Density at the given conditions
1.225
Specific gas constant
287
Specific gravity relative to air
1
Mass fractions
Nitrogen 75.51 %, Oxygen 23.14 %, Argon 1.283 %, Carbon dioxide 0.06077 %
Partial pressures
Nitrogen 79.11 kPa, Oxygen 21.23 kPa, Argon 0.9423 kPa, Carbon dioxide 0.04053 kPa

    RefENG-CHE-009
    MethodM_mix = Σyᵢ·Mᵢ; ρ = P·M_mix/(R·T); pᵢ = yᵢ·P; wᵢ = yᵢ·Mᵢ/M_mix
    UnitsSI
    Date2026-11-23

    Working

    Calculated in SI base units; inputs are converted from the units you choose.

    1. Molar massM = Σyᵢ·Mᵢ0.7808 × 28.014 + 0.2095 × 31.998 + 0.0093 × 39.948 + 0.0004 × 44.009 = 28.97 g/mol
    2. Densityρ = P·M/(R_u·T)ρ = 101,325 × 0.02897 / (8.314 × 288.2) = 1.225 kg/m³

    Volume equals mole fraction

    For ideal gases, volume fraction and mole fraction are the same, so gas analyser readings in % v/v can be entered directly. Mass fractions differ: a mixture that is 10 % hydrogen by volume is less than 1 % hydrogen by mass in air.

    Assumptions and limits

    • Ideal gas mixture (Dalton's and Amagat's laws).
    • Up to four components; fractions normalised if they do not total 100 %.

    References

    • Çengel, Y. A. and Boles, M. A., Thermodynamics: An Engineering Approach, chapter 13.
    • IUPAC standard atomic weights.

    Questions

    What is the molar mass of dry air?
    About 28.97 g/mol from 78.08 % N₂, 20.95 % O₂, 0.93 % Ar and 0.04 % CO₂, with a density of 1.225 kg/m³ at 15 °C and 1 atm.
    What is the partial pressure of oxygen at sea level?
    About 21.2 kPa (0.2095 × 101.325 kPa).

    This calculator is a design aid. Check results against the governing code or standard and have critical work verified by a qualified engineer. Read the disclaimer.