How this instrument works
The mole (mol) is the SI base unit for amount of substance: one mole is defined as exactly 6.02214076 x 10^23 elementary entities, a fixed number called the Avogadro constant. Chemists work in moles instead of raw particle counts because reactions happen between whole numbers of atoms and molecules, but atoms are far too small to weigh individually — moles are the bridge that lets a balance reading in grams stand in for an actual particle count.
Getting from mass to moles takes one division: moles = mass (g) / molecular weight (g/mol), where molecular weight is the compound's per-molecule mass, the same figure a molar mass or molecular weight calculation produces. Getting from moles to an actual molecule count takes one multiplication: multiply the mole quantity by 6.02214076 x 10^23. This calculator runs both steps back to back, so entering just a mass and a molecular weight gets you both numbers at once.
This combined mass-to-mole-to-molecule-count scope deliberately overlaps with a plain grams-to-moles conversion and a separate moles-to-molecules conversion — it's the same two calculations chained together for the common case where you want both answers from the same starting mass, rather than running two calculators back to back.
- Enter the sample's mass in grams into Mass (g).
- Enter the compound's molecular (molar) weight in Molecular/molar weight (g/mol) — look this up or compute it with a molar mass calculator if you don't already know it.
- Read Moles below the inputs for the mole quantity, and Number of molecules for the actual particle count.
- Both outputs recalculate instantly as either input changes.
Worked example — 10 grams of hydrochloric acid
Enter 10 into Mass (g) and 36.5 into Molecular/molar weight (g/mol), HCl's approximate molecular weight. Moles reads about 0.27397 mol (10 / 36.5), and Number of molecules reads about 1.65 x 10^23 (0.27397 x 6.02214076 x 10^23) — roughly a quarter of a full Avogadro's number of individual HCl molecules.
That 0.274-mole figure is exactly what a chemist needs to know before using this HCl in a reaction written with mole ratios: a balanced equation like HCl + NaOH -> NaCl + H2O reacts one mole of HCl for every mole of NaOH, so 0.274 mol of HCl calls for 0.274 mol of NaOH to react completely — a quantity you'd never read directly off a balance, only compute through the mole.
Questions
Why can't I just use grams directly in a chemical equation?
Because a balanced chemical equation's coefficients count molecules (or moles of molecules), not grams — two substances with very different molecular weights need very different masses to supply the same number of reacting molecules. Converting every mass to moles first puts every substance in a reaction on the same particle-counting footing, which is the only way the equation's coefficients apply correctly.
What exactly is Avogadro's number, and why 6.02214076 x 10^23?
It's the fixed number of elementary entities in exactly one mole, formally called the Avogadro constant. Since 2019, it has been defined as exactly 6.02214076 x 10^23 per mole as part of the SI system's redefinition around fixed fundamental constants, rather than measured experimentally — before that redefinition it was an experimentally determined value that happened to be extremely close to this same figure.
Where do I get a compound's molecular weight if I don't already know it?
Sum the standard atomic weights of every atom in its formula, each multiplied by how many times that atom appears — the same calculation a molar mass or molecular weight calculator runs. For water it's 2 x 1.008 (H) + 15.999 (O) = 18.015 g/mol; for table salt (NaCl) it's 22.98977 + 35.45 = 58.44 g/mol, and so on for any formula.
What if my mass is in milligrams or kilograms, not grams?
Convert to grams first — divide milligrams by 1000, or multiply kilograms by 1000 — since Mass (g) expects grams specifically. The molecular weight field always expects g/mol regardless of what mass unit you started with, so getting the mass into grams is the only conversion needed before entering it here.
Does 'moles' mean the same thing as 'molecules'?
No — moles and molecules are related but different quantities. A mole is a fixed count (6.02214076 x 10^23) used as a convenient bulk unit, the same way 'a dozen' means 12 regardless of what's being counted. 'Number of molecules' here is the actual raw particle count you get by multiplying the mole quantity by that fixed number — moles is the practical lab unit, molecules is the literal count it represents.