molecalculator

Moles & Molar Mass

Mole Fraction to Mass Fraction: How to Convert

Calculator No. 01-12456 · Updated · Formula and assumptions shown below

Mass fraction of component A 0.1153
Mass fraction of component B
0.8847
= 1 − Mass fraction of component A
Mass percent of component A
11.53 %
= Mass fraction of component A × 100
Mole fraction of component A
0.25
Set in the form below
You enter
Mole fraction of component A, Molar mass of component A (g/mol), Molar mass of component B (g/mol)
You get
Mass fraction of component A, Mass fraction of component B, Mass percent of component A (%)
Rounding
4 dp · 2 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

This guide shows you how to convert a mole fraction into a mass fraction (also called weight fraction or mass percent when multiplied by 100). You provide the mole fraction of each component and their molar masses; the calculator returns the mass fraction of each component, which is essential for preparing solutions by weight, interpreting analytical data, and scaling reactions. No prior knowledge beyond basic chemistry is assumed.

Formula

For a binary mixture (two components, A and B):

Mass fraction of A, wA = (xA × MA) / (xA × MA + xB × MB)

where:

  • xA = mole fraction of component A (dimensionless, 0 to 1)
  • xB = mole fraction of component B = 1 − xA (dimensionless)
  • MA = molar mass of component A (g/mol)
  • MB = molar mass of component B (g/mol)
  • wA = mass fraction of component A (dimensionless, 0 to 1)

Mass fraction of B is simply wB = 1 − wA. To get mass percent, multiply by 100.

Worked Example

Using the default values: xA = 0.25 (water), MA = 18.015 g/mol, MB = 46.07 g/mol (ethanol).

Step 1: Find xB = 1 − 0.25 = 0.75.

Step 2: Compute the numerator for A: xA × MA = 0.25 × 18.015 = 4.50375 g/mol (units are g/mol because mole fraction is dimensionless).

Step 3: Compute the numerator for B: xB × MB = 0.75 × 46.07 = 34.5525 g/mol.

Step 4: Sum them: 4.50375 + 34.5525 = 39.05625 g/mol.

Step 5: Divide: wA = 4.50375 / 39.05625 ≈ 0.1153 (or 11.53%).

Step 6: wB = 1 − 0.1153 = 0.8847 (or 88.47%).

The calculator gives wA = 0.1153, wB = 0.8847, and mass percent of A = 11.53%.

Assumptions

  • The mixture has exactly two components. For more than two, the formula extends to wi = xiMi / Σ(xjMj).
  • Molar masses are known and constant.
  • No chemical reaction occurs; the mole fractions refer to the final mixture.
  • The mixture is homogeneous at the molecular level.

When to Use This Conversion

Use this conversion when you have a composition given in mole fraction (common in gas mixtures, vapor-liquid equilibrium, or reaction stoichiometry) but need to prepare a mixture by mass (e.g., weighing out solids or liquids). It is also used to convert between different concentration units in data analysis. The conversion is purely mathematical and does not depend on temperature or pressure.

How to Read the Result

The mass fraction is a number between 0 and 1. Multiply by 100 to get mass percent. For example, a mass fraction of 0.1153 means 11.53 grams of A per 100 grams of total mixture. The sum of all mass fractions is always 1 (or 100%).

Common Mistakes

  • Forgetting that mole fractions must sum to 1. If you enter xA = 0.25, the calculator assumes xB = 0.75. For a multi-component mixture, you must sum all xiMi in the denominator.
  • Using mass fraction as if it were mole fraction. They are different; the conversion is not linear unless molar masses are equal.
  • Mixing up units: molar mass must be in g/mol, and the result is dimensionless. If you use kg/mol, the result is the same because the units cancel, but be consistent.
  • Rounding intermediate values too early. Keep at least 4-5 significant figures until the final step.

Tips

  • Always check that your mole fractions sum to 1. If not, normalize them first.
  • For a quick sanity check: if the molar masses are equal, then mass fraction equals mole fraction.
  • If you need mass percent, just multiply the mass fraction by 100.
  • For mixtures with more than two components, extend the formula: wi = xiMi / (x1M1 + x2M2 + …).

Troubleshooting

If your result seems off, first verify that the mole fraction you entered is between 0 and 1. If you entered a percentage (e.g., 25% as 25), the calculator will reject it because the maximum is 1. Convert to decimal (0.25).

If you get a mass fraction greater than 1 or negative, check that your molar masses are positive and that xA is within 0–1. Also ensure you are using the correct molar mass for the correct component.

If you are converting a multi-component mixture, the calculator only handles two components. Use the extended formula manually or break it into steps.

If the result does not match a published value, check whether the published value is mass percent or mole percent. Also verify the molar masses you used; different sources may use slightly different atomic weights.

Frequently Asked Questions

Q: Can I convert mass fraction back to mole fraction?
A: Yes, the reverse formula is xA = (wA/MA) / (wA/MA + wB/MB). Use it when you have mass data and need mole fractions.

Q: What is the difference between mole fraction and mass fraction?
A: Mole fraction is the ratio of moles of one component to total moles. Mass fraction is the ratio of mass of one component to total mass. They are equal only when all components have the same molar mass.

Q: Does temperature or pressure affect the conversion?
A: No, the conversion is based on molar masses and mole fractions, which are intensive properties. Temperature and pressure do not change the relationship.

Q: How do I convert mole percent to mass percent?
A: Mole percent is just mole fraction × 100. Convert mole percent to mole fraction (divide by 100), then apply the formula, then multiply the resulting mass fraction by 100 to get mass percent.

Q: What if I have more than two components?
A: The formula extends: wi = xiMi / Σ(xjMj) for all j. You can use this calculator for each component by treating the rest as a combined ‘B’ only if you combine them appropriately, but it is easier to do the full sum manually.

Q: Why does the sum of mass fractions equal 1?
A> Because the total mass is the sum of all component masses, and each mass fraction is that component’s mass divided by the total, so they must add to 1.

Related

Formula used
in xa | Mole fraction of component A | - | 0.25 | 0 | 1
in ma | Molar mass of component A | g/mol | 18.015 | 0.001 | 1000
in mb | Molar mass of component B | g/mol | 46.07 | 0.001 | 1000
out wa | Mass fraction of component A | - | xa * ma / (xa * ma + (1 - xa) * mb) | 4
out wb | Mass fraction of component B | - | 1 - wa | 4
out wp | Mass percent of component A | % | wa * 100 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →