- Home
- Chemistry
- Solutions & concentration
- Mole Fraction Calculator
Mole Fraction Calculator
Mole fractions of solute and solvent from their masses and molar masses.
Practice questions
Textbook-style questions. Press Solve in the tool to load the values and see the full solution. Underlined words are explained below.
Worked example
Here's the first practice question solved in full, so you can see exactly what you'll get. Try it on paper before you read the steps.
Question: 46 g of ethanol (46 g/mol) is mixed with 90 g of water (18 g/mol). Find the mole fraction of each.
- Write the given values in SI units
- Moles of solute
- Moles of solvent
- Mole fraction of solute
- Mole fraction of solvent (they add up to 1)
- Write the given values in SI units
wB = 46 g MB = 46 g/mol wA = 90 g MA = 18 g/mol - Moles of solute
nB = wBMB = 4646 = 1 mol - Moles of solvent
nA = wAMA = 9018 = 5 mol - Mole fraction of solute
xB = nBnA + nB = 15 + 1 = 0.1667 - Mole fraction of solvent (they add up to 1)
xA = 1 − xB = 1 − 0.1667 = 0.8333
Terms used on this page
New to a word in the question or the solution? Here it is in simple language.
- Solute, solvent and solution
- The solute is what you dissolve (salt, sugar), the solvent is what it dissolves in (usually water), and the mixture is the solution.
- Mole (mol)
- A counting unit for particles: 1 mol = 6.022 × 10²³ particles. Moles = mass in grams ÷ molar mass.
- Molar mass
- Mass of one mole of a substance in grams. Add the atomic masses: NaOH = 23 + 16 + 1 = 40 g/mol.
- Molarity (M)
- Moles of solute in one litre of solution, in mol/L (written M). A 1 M NaOH solution has 40 g of NaOH in every litre.
- Pressure (P)
- Force per unit area. For gases it's often given in atm or bar; 1 atm = 101,325 Pa, 1 bar = 100,000 Pa.
Symbols in this solver
What each box asks for, and its unit.
| Symbol | What it means | SI unit |
|---|---|---|
| wB | Mass of solute | g (or mg, kg) |
| MB | Molar mass of solute | g/mol |
| wA | Mass of solvent | g (or mg, kg) |
| MA | Molar mass of solvent | g/mol |
Formula & concept
Mole fractions of the solute and solvent in a two-part solution from their masses and molar masses.
Key idea: Mole fractions have no units and always add up to 1. They're used in Raoult's law for vapour pressure.
How to use this calculator
- Type the known values from your question and pick the unit for each one.
- Press Solve step by step.
- Read the plan first. It lists the steps the solution will follow. Want to try it yourself? Tick Practice mode and the answer stays hidden until you ask for it.
- Check the answer, then go through each numbered step. Where there's a second method, it's shown after the main one.
- Stuck on a word? The terms section explains it in simple language.