Calculator: Ideal gas mixture
Enter the labelled inputs to calculate: Molar mass (g/mol); Pressure p₁ (kPa); Pressure p₂ (kPa).
Enter a finite value within the formula’s domain and supported numeric range.
How the calculation works
Mmix=x₁M₁+(1−x₁)M₂; p₁=x₁P; p₂=(1−x₁)P
Use the displayed units and finite inputs. Results follow the stated mathematical model; zero denominators and undefined cases are rejected. Up to ten significant digits are displayed.
Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
Frequently asked questions
How is the result calculated?
Mmix=x₁M₁+(1−x₁)M₂; p₁=x₁P; p₂=(1−x₁)P
What assumptions apply?
Use the displayed units and finite inputs. Results follow the stated mathematical model; zero denominators and undefined cases are rejected. Up to ten significant digits are displayed.
How precise are the displayed results?
Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
How we verified this calculator
The calculator is checked against 3 reference cases computed independently of its code. Last passed: .
| # | Inputs | Expected result |
|---|---|---|
| 1 |
Mole fraction x₁ = 0.21
Molar mass M₁ (g/mol) = 32
Molar mass M₂ (g/mol) = 28
Pressure (kPa) = 101.325
|
Molar mass (g/mol): 28.84
Pressure p₁ (kPa): 21.27825
Pressure p₂ (kPa): 80.04675
|
| 2 |
Mole fraction x₁ = 0.5
Molar mass M₁ (g/mol) = 2.016
Molar mass M₂ (g/mol) = 4.0026
Pressure (kPa) = 200
|
Molar mass (g/mol): 3.0093
Pressure p₁ (kPa): 100
Pressure p₂ (kPa): 100
|
| 3 |
Mole fraction x₁ = 0
Molar mass M₁ (g/mol) = 44.01
Molar mass M₂ (g/mol) = 18.015
Pressure (kPa) = 50
|
Molar mass (g/mol): 18.015
Pressure p₁ (kPa): 0
Pressure p₂ (kPa): 50
|