Mole Calculator: Grams, Moles & Particles
Convert Grams to Moles and Count Particles
The Mole Calculator connects grams, moles and particles using a chemical formula, molar mass and Avogadro’s constant. Enter what you know to see the conversions and each calculation step.
Enter your chemical formula and amount
Editable inputsImportant — chemical symbols are case-sensitive: The first letter must be uppercase. If there is a second letter, it must be lowercase: H, O, Fe, Na, Cl. Write Fe₂O₃, not fe2o3 or FE2O3. Use ->, = or → for the reaction arrow.
Results & explanation
Your calculated result will appear here.
Results use a fixed approximate atomic-weight table. Check substance identity, significant figures and measurement assumptions before practical use.
How to Calculate Moles: Step-by-Step Guide
The mole makes chemical quantities practical. Chemists cannot directly count trillions of trillions of molecules, so they use the precisely defined mole and measured mass to describe amounts of substances.
Step 1: Find molar mass when starting from grams
To convert mass to amount, use n = m / M, where n is moles, m is mass in grams, and M is molar mass in g/mol. Always use the molar mass of the complete compound, not a single constituent element.
Step 2: Convert between moles and counted entities
Avogadro’s constant is exactly 6.02214076 × 10²³ entities per mole. To obtain particles from moles, multiply by this constant. To obtain moles from a particle count, divide by it.
Step 3: Complete dimensional checks
Units explain every conversion: grams ÷ (grams per mole) = moles, and moles × (entities per mole) = entities. A calculation that does not cancel units appropriately may use the wrong conversion.
Worked Examples: Moles, Mass and Particles
Use any button to load that example into the calculator above on this page. Its calculation and explanation will update automatically.
How do I solve 18 grams of water?
Select this preset to inspect the given chemical formula or equation, the intermediate calculations and the final numerical result. Try changing one input afterward and observe which step changes.
How do I solve Avogadro’s number of CO₂ molecules?
Select this preset to inspect the given chemical formula or equation, the intermediate calculations and the final numerical result. Try changing one input afterward and observe which step changes.
How do I solve 0.25 moles of NaCl?
Select this preset to inspect the given chemical formula or equation, the intermediate calculations and the final numerical result. Try changing one input afterward and observe which step changes.
Learn More About the Mole Concept
For equation-based exercises, first learn how to balance chemical equations, then practice the balancing method. Accurate coefficients are essential whenever you calculate product yields from a reaction.
Methodology
The mole connects mass to the number of elementary entities. First calculate the compound’s molar mass M. Then use n = m/M to convert mass in grams into amount in moles, or m = nM to convert moles into mass.
For a particle count N, use N = n × Nₐ or n = N/Nₐ, where the defined Avogadro constant is 6.02214076 × 10²³ mol⁻¹. The entities may be molecules, atoms or formula units depending on the material; for NaCl, a count of formula units is more appropriate than “NaCl molecules” in an ionic crystal.
Example: for 36.03 g of water and M ≈ 18.015 g/mol, n ≈ 2 mol, representing about 1.204428152 × 10²⁴ water molecules. This is a quantity conversion, not a prediction of physical state or chemical behavior.
Assumptions and Limitations
Numbers are treated as nonnegative measured quantities of one specified chemical species, using its approximate molar mass. The Avogadro constant is exact in SI, but the displayed grams conversion inherits rounding from the atomic weights and entered precision. The tool does not automatically account for sample purity, hydration state outside the entered formula, or the actual type of counted elementary entity.
Questions People Ask
Open any question for a detailed explanation, an example, and the underlying chemical principle.
What is a mole in chemistry, and why is Avogadro’s number used?
The mole (mol) is the SI unit for amount of substance. One mole contains exactly 6.02214076 × 10²³ specified elementary entities, whether the entities are atoms, molecules, ions or formula units. This exact number is the numerical value of the Avogadro constant, expressed per mole.
The mole allows chemists to count vast numbers of particles through measurable amounts of matter. For example, one mole of H₂O molecules and one mole of CO₂ molecules contain the same number of molecules, even though their masses differ because their molecular formulas contain different atoms.
How do I convert grams into moles of a chemical substance?
Divide the mass in grams by the molar mass in g/mol: n = m ÷ M. Suppose you have 18 g of water and use M(H₂O) ≈ 18.015 g/mol. The calculation is 18 ÷ 18.015 ≈ 0.9992 mol. The grams cancel against the gram unit in the denominator of molar mass, leaving moles.
A frequent mistake is to use the mass of an element when your measured sample is a compound. If the sample is H₂O, use the molar mass of the entire H₂O formula, not just oxygen or hydrogen.
How can I convert moles into the number of molecules or formula units?
Multiply the number of moles by Avogadro’s constant. If n = 0.25 mol, the particle count is 0.25 × 6.02214076 × 10²³ ≈ 1.5055 × 10²³ entities. In molecular substances such as water these entities can be described as molecules; for ionic NaCl, the correct phrase is normally formula units.
Always identify what is being counted. One molecule of H₂O contains three atoms in total, but one mole of H₂O means one mole of water molecules, not one mole of hydrogen atoms and one mole of oxygen atoms combined.
What is the difference between moles, molecules and molar mass?
Moles measure amount of substance, molecules are a possible type of counted entity, and molar mass expresses mass per amount in g/mol. They answer different questions. A bottle can contain two moles of water; that tells us how many H₂O molecules it contains. We can then multiply by 18.015 g/mol to find a mass of about 36.03 g.
When converting between these quantities, use the unit labels at each step. For example, mass ÷ (g/mol) gives mol, whereas mol × (entities/mol) gives entities. Careful units prevent errors even when the arithmetic is straightforward.
Why do the chemical symbols in a mole calculator have to be capitalized correctly?
Element symbols are a standardized scientific notation, not ordinary words. Every element’s symbol begins with an uppercase letter. A two-letter symbol then has a lowercase second letter: Na is sodium, Fe is iron, and Cl is chlorine. Symbols H and O are single uppercase letters. The formula CO is carbon monoxide; Co is cobalt, one completely different element.
Automatic case correction would be dangerous because it can silently change chemical meaning. The calculator therefore checks capitalization and asks you to correct the formula instead of guessing what you intended.
Sources and Further Reading
The calculation algorithms and educational explanations are implemented directly for CalcTypes; the following sources support chemistry definitions, chemical symbols and atomic-weight conventions. These references do not endorse this website or its particular algorithm.
- OpenStax Chemistry 2e — Writing and Balancing Chemical Equations ↗
- CIAAW — Standard Atomic Weights ↗
- ElementLookup — Balancing Equations Lesson ↗
- ElementLookup — Relative Atomic Mass Lesson ↗
The molar-mass data inside this JavaScript is a fixed rounded teaching table, not a full copy of the latest CIAAW standard atomic-weight table. Some standard weights are given as intervals; results may differ from high-precision reference calculations. The Avogadro constant used in mole conversions is 6.02214076 × 10²³ mol⁻¹.
Important Disclaimer — Educational Use Only
Educational conversion only. Gram-to-mole and mole-to-particle calculations assume that the entered chemical formula, quantity, units and molar mass are correct. The tool does not test sample purity, hydration, isotopic composition, experimental measurement error or chemical identity.
Independent verification is essential. Do not use this calculation as the sole basis for chemical preparation, dosing, mixing, clinical applications or hazardous experiments. Confirm units, significant figures, sample purity, substance identification and safety data using authoritative references and applicable professional procedures.
CalcTypes provides general educational calculations and explanations, not a guarantee of accuracy, safety, suitability or professional certification. Users remain responsible for checking inputs and interpreting results for their own circumstances.