Calculator Inputs
Use an element preset or enter a custom molar mass. Results appear above this form after submission.
Formula Used
Mass (g) = (Number of atoms ÷ Avogadro's number) × molar mass
Where Avogadro's number = 6.02214076 × 1023 atoms/mol. First, convert atoms into moles. Next, multiply moles by molar mass in grams per mole. That gives the sample mass in grams. The calculator also converts the answer into kilograms, milligrams, and micrograms.
How to Use This Calculator
- Enter a sample label if you want named exports.
- Select an element preset, or keep custom for manual molar mass.
- Type the molar mass in g/mol when using a custom value.
- Enter the atom count as mantissa and exponent.
- Choose how many decimal places you want displayed.
- Press Calculate Mass to show results above the form.
- Use the CSV or PDF buttons to save the current result.
Example Data Table
| Sample | Molar Mass (g/mol) | Atoms | Mass (g) |
|---|---|---|---|
| Hydrogen | 1.008000 | 1.000000e+20 | 0.00016738 |
| Carbon | 12.011000 | 3.500000e+21 | 0.06980657 |
| Oxygen | 15.999000 | 8.000000e+20 | 0.02125357 |
| Iron | 55.845000 | 2.000000e+22 | 1.85465608 |
| Copper | 63.546000 | 7.500000e+21 | 0.79140462 |
Frequently Asked Questions
1. What does this calculator convert?
It converts a number of atoms into mass using Avogadro's number and molar mass. The main answer is grams, with extra conversions into kilograms, milligrams, micrograms, and moles.
2. Why do I need molar mass?
Molar mass connects one mole of a substance to its mass in grams. Once atoms are converted into moles, molar mass lets you translate that amount into a measurable mass.
3. What is Avogadro's number?
Avogadro's number is 6.02214076 × 1023 particles per mole. It tells you how many atoms are present in one mole of any substance.
4. Can I use this for molecules too?
Yes, if you use the correct molar mass for the molecule instead of a single atom. The relationship between particles, moles, and mass stays the same.
5. What if my atom count is written in scientific notation?
Enter the leading value in the mantissa field and the power of ten in the exponent field. For example, 3.2 × 1022 uses mantissa 3.2 and exponent 22.
6. Does the calculator support custom materials?
Yes. Choose the custom option and enter any positive molar mass in grams per mole. That makes the tool useful for atoms, molecules, compounds, and lab mixtures.
7. Why does the graph change after I calculate?
The graph is generated from your current atom input and molar mass. It shows how mass scales as the atom count increases or decreases around your selected value.
8. What causes very small answers?
Small atom counts or light elements can produce tiny masses. That is normal. Scientific notation helps display these values clearly without losing important precision.