Home · Math · Fractions · Mole Fraction Calculator

Mole Fraction Calculator

A mole fraction states one component's share of the total amount of substance; the fractions of all components always add to exactly 1.

Your figures

Example result — edit the figures to make it yours

0.2

Mole fraction of A

Mole fraction of B0.3000
Mole fraction of C0.5000
Total moles10.00

What this calculator does

A mole fraction states one component's share of the total amount of substance; the fractions of all components always add to exactly 1. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

Mole fraction of A = Moles of A ÷ Total moles

A mole fraction states one component's share of the total amount of substance; the fractions of all components always add to exactly 1.

Inputs use the units shown in the field labels and every denominator or total must be non-zero. The result is an arithmetic value from the stated formula only; it is not a quote, a rating or professional advice.

Worked example

With the example inputs this page opens with (moles of component a 2, moles of component b 3, moles of component c 5), the result is 0.2000 — mole fraction of a. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying moles of component a
Moles of component AMole fraction of A
10.1111
1.60.1667
20.2000
2.50.2381
30.2727
40.3333

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Mole Fraction Calculator work?

A mole fraction states one component's share of the total amount of substance; the fractions of all components always add to exactly 1. Moles of component A · Moles of component B · Moles of component C → Mole fraction of A. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Mole Fraction Calculator need?

Moles of component A · Moles of component B · Moles of component C → Mole fraction of A. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Mole Fraction Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.