Calculator

Mole Fraction / Molar Fraction

With this formula you can calculate the mole fraction (molar fraction), the amount of a constituent and the total amount of all constituents.

xi = ni ntot
() = () [mol] () [mol]

To fill in a variable, click on a bracket "()", a variable or a unit.
Input a number or a calculation, choose a unit and click on the button "Insert input".
The variable that you want to calculate, should be empty or filled in with an "x"/"X".
If everything is filled in correctly, a button ("Calculate") shoud appear, that has to be pressed.

If the calculation duration is too long (over 10 seconds) or an error occurs, check if every variable is filled in correctly.

Variables

xi Mole Fraction
ni Amount of substance
ntot Amount of substance
{solns = solve([}
{(}
{()}
{*}
{1}
{)}
{==}
{(}
{()}
{*}
{1}
{)}
{/}
{(}
{()}
{*}
{1}
{)}
{}