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
Results
Total: — mol
Mole fraction = moles of component / total moles. All fractions sum to 1.000.
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
- Add each component of your mixture using the "Add Component" button.
- For each component, enter a name, the amount, and choose the unit: moles or grams.
- If you enter grams, also provide the molar mass (g/mol) so the tool converts to moles.
- Click "Calculate" to compute the total moles and the mole fraction of each component.
- The mole fraction is displayed along with the mole percent and a visual proportion bar.
- 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