Skip to content

Mole Fraction Calculator

Result

Calculated result 0.6 Based on the values entered.
↗ Chemistry

Mole Fraction Calculator — free online calculator.

Formula

xA = nA / (nA + nB), xB = nB / (nA + nB)
  • Mole Fraction Calculator calculates its result from Na, Nb. It uses the formula xA = nA / (nA + nB), xB = nB / (nA + nB). Change any input to recalculate the result instantly.
  • The main inputs are Na, Nb. Enter them in the units and format shown in the calculator.
  • Use the units, labels and assumptions shown beside each input so the formula is applied consistently.
  • Changing any input above recalculates the result with the same calculation engine used by this page.

Example: Mole Fraction

Inputs
  • Na: 2
  • Nb: 3

Using Na = 2, Nb = 3, the calculated result is 0.6.

Sample result: Calculating…

Frequently asked questions

What does the Mole Fraction calculate?

Mole Fraction Calculator — free online calculator.

Which values should I enter?

Enter Na, Nb using the units and format shown beside each field.

What formula does this calculator use?

The calculator uses the following relationship: xA = nA / (nA + nB), xB = nB / (nA + nB).

Why might my result differ from another source?

Results can differ when another source uses different units, rounding rules, conventions or assumptions. Compare the inputs and definitions before comparing results.

Does the result update automatically?

Yes. Changing an input updates the result using the same calculation engine shown on this page.

Page information

Updated: October 7, 2026