Enter Components
Provide either moles directly or mass with molar mass. Moles are computed automatically for mass entries.
| Component (name) | Entry Type | Amount | Molar Mass (g/mol) |
Moles |
|---|
Results
Total moles: 0
| # | Component | Moles | Mole Fraction (xi) | Percentage (%) |
|---|
Formula Used
The mole fraction of component i in a mixture is:
xi = ni / Σ nj
- ni: moles of component i.
- Σ nj: total moles over all components.
If mass is provided instead of moles, then moles are computed as: n = mass / M, where M is molar mass in g/mol.
How to Use
- For each component, choose Entry Type: Moles or Mass.
- Enter the Amount. If using mass, also enter Molar Mass in g/mol.
- Click Calculate to compute moles and mole fractions.
- Download the table via CSV or PDF, or copy values as needed.
- Use Load Example to see a prefilled demonstration.
Tip: Ensure all inputs are positive. Components with zero or invalid values are ignored.
Example Data Table
Illustrative mixture with one mole total:
| Component | Moles | Mole Fraction |
|---|---|---|
| Water | 0.50 | 0.50 |
| Ethanol | 0.30 | 0.30 |
| Acetone | 0.20 | 0.20 |
| Total | 1.00 | 1.00 |
FAQs
1) What is mole fraction?
It is the ratio of moles of a component to total moles in the mixture; it is dimensionless and the sum of all components equals 1.
2) Can I mix units?
Yes. You may enter some components as moles and others as mass with molar mass. The calculator converts mass to moles before computing fractions.
3) How precise are results?
Internally, calculations use full Number precision of your browser. Displayed values are rounded for readability.
4) What if total moles is zero?
If all entries are invalid or zero, the calculator shows zero totals and an empty chart. Provide at least one positive component.
5) Why do my fractions not sum exactly to one?
Minor differences can appear due to rounding in the display. Exports preserve higher precision.
6) Do I need molar masses for all components?
Only for components entered as mass. If you input in moles, molar mass is not required.
7) Can I reorder or remove components?
Yes. Use the remove button to delete a row. You can also add more rows any time.