How to use this tool
- Enter component a amount, component b amount.
- Select Calculate to view the result.
- Check the method and assumptions below before using the result.
Input reference and sample values
Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.
| Input | Format and units | Sample |
|---|---|---|
| Component A amount | Numeric value. Unit: mol. Zero or positive. | 2 |
| Component B amount | Numeric value. Unit: mol. Zero or positive. | 3 |
Result for these sample inputs
0.4
- Component A (mol%)
- 40
- Component B mole fraction
- 0.6
Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.
The method, explained
xA = nA ÷ (nA + nB). xB = 1 − xA. Mole percent = mole fraction × 100.
Using component a amount = 2 mol, component b amount = 3 mol, the result is 0.4. Change these example inputs to match your task; use the method above to check each step.
What to keep in mind
For more than two components, combine all components other than A into the B input. Educational calculation only; use validated procedures for laboratory work.
Reference: OpenStax Chemistry 2e — chemical quantities and models
Common questions
Can I enter masses directly?
No. Convert each mass to moles using its own molar mass first. A mass fraction and a mole fraction are generally different.
Are my inputs uploaded?
No. This calculation runs in your browser without an account or an external API.
Methodology maintained by ClarityKit. How these tools are built and checked.