Start typing to discover tools…

Mole Fraction Calculator

Calculate mole fraction from component moles and total moles, or enter multiple components to calculate the mole fraction and mole percentage of every component automatically.

Instant Calculation Chemistry Tool Multiple Components

Calculate Mole Fraction

Choose a simple calculation or analyze a multi-component mixture.

Mole Fraction Formula: xi = ni / ntotal. Mole fraction is dimensionless, and the mole fractions of all components in a mixture add up to 1.
Enter the number of moles of the selected component.
Enter the total number of moles in the mixture.
Component Name Moles
Mole Fraction Formula
xi = ni ÷ ntotal
Mole Percentage = xi × 100
Mole Fraction
0
Dimensionless
Mole Fraction -
Mole Percentage -
Total Moles -
Chemistry Guide

What Is Mole Fraction?

Mole fraction is a way to express the composition of a mixture. It represents the number of moles of one component divided by the total number of moles of all components in the mixture.

Because it is a ratio of two quantities measured in moles, mole fraction has no physical unit. Its value generally ranges from 0 to 1.

Main Formula

Mole Fraction Formula

To calculate the mole fraction of a component, divide the moles of that component by the total moles of all substances in the mixture.

xᵢ = nᵢ / ntotal xᵢ = mole fraction of component i   •   nᵢ = moles of component i   •   n total = total moles in mixture
How It Works

How to Use the Mole Fraction Calculator

01

Enter Component Moles

Enter the amount in moles for the component whose mole fraction you want to calculate.

02

Enter Total Moles

Add the total number of moles present in the entire mixture.

03

Get the Result

The calculator divides component moles by total moles and also provides the mole percentage.

Worked Example

Mole Fraction Calculation Example

Suppose a mixture contains 2 moles of component A and 3 moles of component B. The total amount is therefore 5 moles.

x(A) = 2 / 5 = 0.40 Mole percentage of A = 0.40 × 100 = 40%

Component B has a mole fraction of 3 ÷ 5 = 0.60. The two mole fractions add to 1.00.

Key Properties

Important Mole Fraction Properties

Total Equals 1

The sum of the mole fractions of every component in a mixture equals 1.

No Unit

Mole fraction is dimensionless because both the numerator and denominator are measured in moles.

Easy Percentage

Multiply a mole fraction by 100 to express the same composition as a mole percentage.

Formula Reference

Mole Fraction Equations

Calculation Formula Result
Mole Fraction xᵢ = nᵢ / n total Dimensionless
Total Moles n total = Σnᵢ mol
Mole Percentage xᵢ × 100 %
Two-Component Mixture xA + xB = 1 1
Multi-Component Mixture Σxᵢ = 1 1
Applications

Where Is Mole Fraction Used?

Mole fraction is commonly used in chemistry and thermodynamics to describe mixture composition. It is especially useful because it expresses the relative amount of each component without depending on a mass or volume unit.

Solution Chemistry

Describe the relative amounts of components present in liquid mixtures and solutions.

Gas Mixtures

Mole fractions are useful when describing the composition and partial pressures of gas mixtures.

Thermodynamics

Mole fraction appears in many mixture, equilibrium, and thermodynamic relationships.

Quick Check: For a complete mixture, all calculated mole fractions should add up to approximately 1. Small differences may occur when displayed values are rounded.
Frequently Asked Questions

Mole Fraction Calculator FAQs

What is the formula for mole fraction?
Mole fraction is calculated using xᵢ = nᵢ / n total, where nᵢ is the number of moles of the selected component and n total is the total moles in the mixture.
Does mole fraction have a unit?
No. Mole fraction is dimensionless because it is calculated by dividing moles by moles.
Can mole fraction be greater than 1?
No. For a component in a mixture, its mole fraction normally ranges from 0 to 1.
What should all mole fractions add up to?
The mole fractions of all components in a complete mixture add up to 1.
How do I convert mole fraction to mole percent?
Multiply the mole fraction by 100. For example, a mole fraction of 0.35 corresponds to 35 mole percent.
How do I calculate total moles in a mixture?
Add the number of moles of every component. For example, 2 mol + 3 mol + 1 mol gives a total of 6 mol.
Can I calculate multiple components at once?
Yes. Select Multiple Components and enter the moles of each substance. The calculator automatically finds the total moles and mole fraction of each component.
What is the difference between mole fraction and molarity?
Mole fraction compares the moles of a component with the total moles in a mixture. Molarity expresses moles of solute per liter of solution.