Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Two-Gas Partial Pressures

Calculate mole fractions and partial pressures of a two-component ideal gas.

Chemistry workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaFirst partial pressure = pressure*a/(a+b); Second partial pressure = pressure*b/(a+b); First gas mole fraction = a/(a+b)
Sources and model references

Worked example

Inputs

First gas amount
2 mol
Second gas amount
3 mol
Total pressure
100 kPa

Expected results

First partial pressure
40 kPa
Second partial pressure
60 kPa
First gas mole fraction
0.4

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Calculate mole fractions and partial pressures of a two-component ideal gas.
  2. Set first gas amount, second gas amount, total pressure in the indicated units.
  3. Calculate and compare first partial pressure, second partial pressure, first gas mole fraction.

Try this example

{
  "a": 2,
  "b": 3,
  "pressure": 100
}

Accuracy and scope

Idealized educational model. Enter measured values in the displayed units; real systems may require additional corrections.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.