molecalculator

Moles & Molar Mass

Scientific Calculator for Moles: Formula and Examples

Calculator No. 01-0176 · Updated · Formula and assumptions shown below

Amount of substance 1.0000 mol
Amount of substance
1,000.0 mmol
= Amount of substance × 1000
Sample mass
18.015 g
Set in the form below
Molar mass
18.015 g/mol
Set in the form below
You enter
Sample mass (g), Molar mass (g/mol)
You get
Amount of substance (mol), Amount of substance (mmol)
Rounding
4 dp · 1 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

A scientific calculator can work out moles when you enter the mass of a substance and its molar mass; the result is the amount in mol. This calculator uses n = m / M, with mass in grams and molar mass in grams per mole, and also shows the equivalent amount in millimoles.

Formula

The formula is n = m / M. Here, n is amount of substance in moles (mol), m is sample mass in grams (g), and M is molar mass in grams per mole (g/mol). The calculator’s second output converts moles to millimoles using 1 mol = 1000 mmol.

For example, water has a molar mass of about 18.015 g/mol. If you have 18.015 g of water, dividing the mass by its molar mass gives 1 mol. This mass-based calculation assumes you know the identity and molar mass of the substance and that the mass entered refers to that substance.

Worked Example

Using the calculator’s default values:

  • Sample mass, m = 18.015 g
  • Molar mass, M = 18.015 g/mol

Amount in moles: n = m / M = 18.015 g / 18.015 g/mol = 1.0000 mol.

Amount in millimoles: n × 1000 = 1.0000 mol × 1000 mmol/mol = 1000.0 mmol.

Assumptions

  • The entered mass is the mass of the substance whose molar mass is supplied, not the mass of a mixture or container.
  • The molar mass is appropriate for the compound’s formula and chemical form, including any waters of hydration when present.
  • This is a calculation for study and lab planning; it does not determine purity or account for measurement uncertainty.

What a Mole Measures

A mole is the SI unit for amount of substance. One mole contains exactly 6.02214076 × 1023 specified entities, such as atoms, molecules, ions, or formula units. The entities must be named: one mole of water means one mole of water molecules, while one mole of sodium chloride means one mole of NaCl formula units.

Moles are useful because chemical equations describe relative numbers of particles, while experiments often measure masses or volumes. Converting a measured quantity to moles makes it possible to compare reactants using a balanced equation. The calculator handles the mass-to-mole conversion; it does not balance equations or decide which reactant is limiting.

How to Find the Molar Mass

Molar mass comes from the chemical formula and the elements’ standard atomic weights. Multiply each element’s atomic weight by its count in the formula, then add the contributions. For water, H2O, using H = 1.008 and O = 15.999 g/mol:

M(H2O) = 2(1.008) + 15.999 = 18.015 g/mol.

For a compound with parentheses, multiply the atoms inside by the outside subscript before adding. A hydrate’s water molecules are part of its formula and therefore affect its molar mass. For example, an anhydrous compound and its hydrated form do not have the same molar mass. Use a reliable formula and consistent atomic-weight convention rather than guessing from a familiar compound name.

Using a Scientific Calculator Correctly

A basic scientific calculator is enough for the mass formula: divide the mass by molar mass. The calculator here also manages the unit conversion to millimoles, but the underlying operation is ordinary division. A general-purpose calculator does not automatically know which substance you have or supply a dependable molar mass unless that information is entered or selected from a verified source.

  1. Identify the chemical substance and its formula.
  2. Determine its molar mass in g/mol, including the correct hydrate or salt form.
  3. Measure or enter the sample mass in grams.
  4. Divide mass by molar mass. Check that the result’s unit is mol.
  5. Keep enough digits during intermediate calculations and round the final result to match the precision of the measurements.

For a very small or large sample, scientific notation is convenient. For instance, 0.001 mol is 1 × 10−3 mol, or 1 mmol. Keep the unit visible: a numerical answer without its unit can be misread by a factor of 1000.

When This Calculation Applies—and Its Limits

The mass formula applies when the amount is inferred from a known sample mass and molar mass. It does not directly calculate moles from solution volume, gas pressure, or particle count; those situations use different relationships and require their own inputs and assumptions. For a solution, for example, concentration and volume may be used to find amount. For a gas, pressure, volume, and temperature may be relevant under an appropriate gas model.

Real samples may contain impurities or absorb moisture. If the entered mass includes other material, n = m / M overestimates the amount of the target compound unless purity is accounted for separately. This calculator does not include a purity correction. Nor does it include uncertainty in the balance reading or molar mass; report practical results with sensible significant figures rather than treating displayed digits as experimental certainty.

Common Mistakes

  • Reversing the division: moles are mass divided by molar mass, not molar mass divided by mass.
  • Mixing units: grams divided by g/mol gives mol. If mass is in milligrams, convert it to grams by dividing by 1000 before using this calculator.
  • Using the wrong chemical form: a hydrate, salt, or different isotope composition can have a different molar mass from the anhydrous or familiar form.
  • Rounding too early: retain calculator precision through the calculation, then round the final result according to the precision of the measured mass and the molar mass used.
  • Confusing moles with molecules: moles measure amount; they are not a particle count. Multiply moles by Avogadro’s constant to estimate the number of specified entities.

For bench work, follow your lab method, the safety data sheet (SDS) and your supervisor. This arithmetic is for study and lab planning and does not replace safe handling, validated methods, or careful measurement.

Frequently Asked Questions

Can I calculate moles with a scientific calculator?
Yes. If mass and molar mass are known, divide mass in grams by molar mass in g/mol. A scientific calculator is sufficient; this page also converts the result to mmol.

What is the formula for calculating moles from grams?
Use n = m / M: divide the sample mass in grams by the substance’s molar mass in grams per mole.

How do I calculate moles without molar mass?
You need another suitable relationship or more information. Moles may be determined from particle count, concentration and volume, or gas measurements under specified conditions, but mass alone is not enough.

How many molecules are in one mole?
One mole contains exactly 6.02214076 × 1023 specified entities. For a molecular substance, those entities are molecules.

Is mol the same as mmol?
No. One millimole is one-thousandth of a mole, so 1 mol = 1000 mmol. Always check which unit a result uses.

Related

Formula used
in m | Sample mass | g | 18.015 | 0
in mm | Molar mass | g/mol | 18.015 | 0.001
out n | Amount of substance | mol | m / mm | 4
out nmm | Amount of substance | mmol | n * 1000 | 1

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →