Moles Calculator
Find moles from mass and molar mass.
Result
How it is calculated
The amount of substance in moles is the mass divided by the molar mass: n = m / M. Here m is the mass of the sample in grams and M is the molar mass in grams per mole (g/mol). The tool does not look up compounds, so you add the molar mass yourself: sum the atomic masses on the periodic table, each multiplied by the number of atoms of that element in the formula. For water, H₂O, that is 2 × 1.008 + 15.999 ≈ 18.015 g/mol. The molar mass must be above zero, otherwise no result is shown. The answer is rounded to two decimals and shown in mol. To go the other way, multiply moles by M to get grams, or by 6.022 × 10²³ to count particles.
Worked example
How many moles are in 36 g of water? The molar mass of H₂O is 18.015 g/mol. Divide the mass by the molar mass: 36 / 18.015 = 1.998. Rounded to two decimals the tool shows 2.00 mol. That is almost exactly two moles, which makes sense because 36 g is about twice the 18 g in one mole of water. Using that result in a reaction, the sample contains about 2 × 6.022 × 10²³ water molecules.
Common mistakes
- Using the atomic mass of one atom instead of the molar mass of the whole formula, for example 16 for H₂O instead of 18.
- Entering the mass in kilograms or milligrams while the molar mass is in g/mol. Convert the mass to grams first.
- Forgetting to multiply by subscripts, such as using 12 for CO₂ instead of 12 + 2 × 16 = 44 g/mol.
- Ignoring hydrates, where the water in the crystal counts toward the molar mass (CuSO₄·5H₂O is far heavier than CuSO₄).
About this calculator
This calculator applies the basic stoichiometry relationship n = mass ÷ molar mass, where molar mass (in g/mol) comes from summing the atomic weights of every atom in the compound's formula.
It's used by chemistry students converting between grams and moles for lab reports, lab technicians preparing solutions of a specific molarity, and pharmacy or manufacturing staff calculating reagent quantities for a recipe or synthesis.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
The mass is read in grams, so a sample weighed in milligrams has to be divided by 1,000 first, and the answer is shown to two decimals. A small lab quantity such as 0.004 mol therefore displays as 0.00 mol. A fast sanity check: a mass below the molar mass must give less than one mole. For a solution concentration you still divide by the volume in litres. Which compound's molar mass do you most often look up?