Density calculators / Gas, air & temperature
A clear measure of matter.
Gas Mixture Density Calculator
Calculate a two-component gas density using mole fractions and a supplied mixture compressibility factor.
Your measurements & units
Your result
Ready to calculateEnter your values and press Calculate. The result will open on the calculation page.
Published references · Clear assumptions · No sign-up
The method
Formula and calculation steps
Mmix=y1 M1+(1−y1)M2; ρ=pMmix/(ZRT).
Calculate a two-component gas density using mole fractions and a supplied mixture compressibility factor.
- Confirm the sample, reference state, measurement basis and units.
- Enter actual measurements and compatible reference values.
- Submit the form, then interpret the result with the assumptions and limits below.
Mole fractions are not mass fractions. No reaction, condensation or automatic mixing rule for Z.
Gas Mixture Density: method and interpretation
Calculate a two-component gas density using mole fractions and a supplied mixture compressibility factor. Mole fractions are not mass fractions. No reaction, condensation or automatic mixing rule for Z.
Gas density changes with absolute pressure, absolute temperature, composition and nonideal behavior. Gauge pressure must first be converted using the actual atmospheric reference. A supplied compressibility factor is not automatically a real-gas property calculation.
Standard atmosphere describes a reference profile rather than observed weather. Water and moist-air equations have explicit temperature and pressure boundaries. Cryogenic liquids, steam tables, salinity and supercritical properties cannot be inferred from an ideal-gas or pure-water relation.
Continue with: Ideal Gas Density Calculator · Air Density Calculator · Hydrogen Gas Density Calculator · Nitrogen Gas Density Calculator
Check the numbers
Gas Mixture Density Calculator: calculated examples
These scenarios are computed with the same method as the form. They are not product recommendations, code design values or complete standards tables.
Worked example with stated inputs
Component 1 mole fraction = 0.79 ratio; Component 1 molar mass = 28.0134 g/mol; Component 2 molar mass = 31.9988 g/mol; Absolute pressure = 101.325 kPa absolute; Temperature = 293.15 K; Mixture Z (supplied) = 1 ratio.
| Output | Computed result |
|---|---|
| Gas density for supplied p, T, M and Z | 1.199343 kg/m³ |
| Molar mass | 28.850334 g/mol |
| Specific gas constant | 288.192941 J/(kg·K) |
| Absolute pressure | 101.325 kPa absolute |
| Mass density | 0.001199 g/cm³ or g/mL |
| Mass density | 0.074873 lb/ft³ |
| Mass density | 4.332901e-5 lb/in³ |
| Mass density | 0.010009 lb/US gal |
| Mass density | 0.01202 lb/Imperial gal |
How the stated input changes the result
| Scenario | Changed input / basis | Result |
|---|---|---|
| 0.395 ratio | Component 1 mole fraction | 1.264786 kg/m³ |
| 0.5925 ratio | Component 1 mole fraction | 1.232064 kg/m³ |
| 0.79 ratio | Component 1 mole fraction | 1.199343 kg/m³ |
| 0.9875 ratio | Component 1 mole fraction | 1.166622 kg/m³ |
| 1 ratio | Component 1 mole fraction | 1.164551 kg/m³ |
| 1 ratio | Component 1 mole fraction | 1.164551 kg/m³ |
Unchanged inputs use: Component 1 mole fraction = 0.79 ratio; Component 1 molar mass = 28.0134 g/mol; Component 2 molar mass = 31.9988 g/mol; Absolute pressure = 101.325 kPa absolute; Temperature = 293.15 K; Mixture Z (supplied) = 1 ratio. Results retain the model limitations described above.
Common questions
What measurement or model limitation matters here?
Mole fractions are not mass fractions. No reaction, condensation or automatic mixing rule for Z.
How are the example tables calculated?
Each row changes the labelled component 1 mole fraction while retaining the other worked-example inputs. The table uses the same Mmix=y1 M1+(1−y1)M2; ρ=pMmix/(ZRT). calculation as the form.
How do I use this gas mixture density calculator?
Calculate a two-component gas density using mole fractions and a supplied mixture compressibility factor. Mmix=y1 M1+(1−y1)M2; ρ=pMmix/(ZRT).
Which units should I enter?
Use the unit printed beside each input or chosen in its selector. The dimension-unit switch converts only the length or area fields that carry it. Other quantities retain their printed units. Mass density has dimensions M L⁻³; a ratio, number per area or probability density is a different quantity.
Are starting values measured material or reference data?
They are editable worked-example inputs unless a specific source and reference condition are explicitly identified. Measure or obtain the properties appropriate to the actual sample, temperature and method.
Can I export the result to Excel?
After calculating, Export CSV saves numerical results and submitted inputs. CSV is a text table, not an Excel formula workbook or a certified test report.
Where are the formula sources?
Full source addresses are printed below as ordinary text. The equations, worked examples and comparison tables are contained in these pages and do not require an online data service.
Related calculators
Formula sources and references
References support the underlying methods and units. Chosen example inputs are not universal recommendations, supplier ratings, market prices or code limits.
- NASA Glenn: Equation of State, ideal gas lawhttps://www1.grc.nasa.gov/beginners-guide-to-aeronautics/equation-of-state/
- NIST Guide to the SI: conversion factorshttps://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors
- Penn State: Z-factor definition and PV=ZnRThttps://courses.ems.psu.edu/png520/node/1945