Mole Fraction Calculator

Enter the components of a mixture in moles or grams to instantly calculate the mole fraction and mole percent of each component.

Mixture Components

Add at least two components and click Calculate

Summary

Enter the components of a mixture in moles or grams to instantly calculate the mole fraction and mole percent of each component.

How it works

  1. Add each component of your mixture using the "Add Component" button.
  2. For each component, enter a name, the amount, and choose the unit: moles or grams.
  3. If you enter grams, also provide the molar mass (g/mol) so the tool converts to moles.
  4. Click "Calculate" to compute the total moles and the mole fraction of each component.
  5. The mole fraction is displayed along with the mole percent and a visual proportion bar.
  6. Adjust any value and recalculate at any time; the table updates immediately.

Use cases

  • Determine vapor composition from Raoult's Law calculations.
  • Express gas mixture composition for ideal gas law problems.
  • Prepare solutions with a precise molar ratio of solutes.
  • Verify stoichiometric ratios in reaction mixtures.
  • Convert mass-based mixture data to mole-based quantities.
  • Calculate partial pressures from total pressure and mole fractions.
  • Teach or study colligative property calculations in physical chemistry.
  • Quality control checks for industrial chemical blending.

Frequently Asked Questions

Last updated: 2026-06-18 · Reviewed by Nham Vu