
Convert between mass, moles, and number of atoms
Powered by Toolraxy · Chemistry & conversion calculator

Founder & CEO, Toolraxy
Faiq Ur Rahman is a web designer, digital product developer, and founder of Toolraxy, a growing platform of web-based calculators and utility tools. He specializes in building structured, user-friendly tools focused on health, finance, productivity, and everyday problem-solving.
User Ratings:
ADVERTISEMENT
ADVERTISEMENT
Understanding the relationship between mass, moles, and atoms is fundamental to chemistry. Whether you are a student balancing equations, a researcher preparing solutions, or a professional working with chemical quantities, converting between these units is a common but critical task. Our atom calculator simplifies this process by performing instant conversions using Avogadro’s number, the cornerstone of stoichiometry. You can enter any two known values, mass and molar mass, moles and molar mass, or mass and atoms and the tool will automatically compute the missing quantities. This calculator is designed for educational purposes, laboratory work, and anyone needing quick, accurate chemistry conversions without manual calculations. Toolraxy’s atom calculator runs entirely in your browser, so your data stays private while you focus on the science.
Enter the mass of your substance in grams into the first input field.
Provide the molar mass of the substance in grams per mole (g/mol).
View the calculated moles and number of atoms automatically updated below.
Alternatively, enter the number of moles to calculate mass and atoms instantly.
You can also enter the number of atoms to derive mass and moles.
Use the quick example buttons to test common chemistry scenarios.
Copy your results using the copy button or share them directly.
The atom calculator uses the fundamental relationships that connect mass, moles, and atoms through molar mass and Avogadro’s number.
Formula: Moles = Mass ÷ Molar Mass
Formula: Atoms = Moles × Avogadro’s Number
Avogadro’s number is a constant equal to 6.02214076 × 10²³ particles per mole. This value represents the number of atoms, molecules, or ions in one mole of any substance. The calculator first determines moles from the mass and molar mass, then multiplies by Avogadro’s number to find the total atom count. When you enter atoms directly, it reverses this process by dividing the atom count by Avogadro’s number to find moles. The tool handles any combination of two inputs, ensuring consistency across all four values.
Let’s convert 12 grams of carbon-12 into moles and atoms.
Step 1: Mass = 12 grams, Molar mass = 12 g/mol
Step 2: Moles = 12 ÷ 12 = 1.000 mol
Step 3: Atoms = 1.000 × 6.022 × 10²³ = 6.022 × 10²³ atoms
Result: 12 grams of carbon-12 contains exactly 1 mole and 6.022 × 10²³ atoms. This demonstrates the definition of the mole and why Avogadro’s number is such a crucial constant in chemistry.
One mole of any substance contains exactly 6.022 × 10²³ atoms, molecules, or ions. This is Avogadro’s number and is the same for all substances, regardless of their mass.
Mass and moles are related through the molar mass of a substance. The formula is moles = mass ÷ molar mass, where mass is in grams and molar mass is in grams per mole.
You need the molar mass to convert mass to atoms. Without the molar mass, you cannot determine how many moles are in the sample, so you cannot find the atom count.
Avogadro’s number is large because atoms and molecules are extremely tiny. It takes 6.022 × 10²³ particles to make one mole, which is the number of atoms in 12 grams of pure carbon-12.
Molar mass is the mass of one mole of a substance in grams per mole, while molecular weight is the sum of atomic weights expressed in atomic mass units (amu). Numerically, they are the same but have different units.
To find molar mass, sum the atomic masses of all atoms in the chemical formula. For water (H₂O), add two hydrogen atoms (2 × 1.01) and one oxygen atom (16.00) to get 18.02 g/mol.
Atom counts help you determine the exact number of particles involved in a chemical reaction, allowing you to calculate theoretical yields and ensure proper stoichiometry.
Yes, this calculator is an excellent tool for verifying homework problems and understanding the relationships between mass, moles, and atoms.
Yes, you can use this calculator for molecules by entering the molecular mass instead of molar mass. The result will give you the number of molecules, not just individual atoms.
The calculator will detect the inconsistency and show a warning note. This helps you catch errors in your inputs and ensures you use correct values for accurate results.
ADVERTISEMENT
ADVERTISEMENT