Mass to Moles Calculator
Converts a mass and molar mass into moles (mol, mmol, umol, nmol or pmol), the reverse of moles-to-mass. Educational reference, not medical or dosing advice.
Molecular & Mass
Calculator inputs
This is a mathematical and laboratory reference tool. It does not diagnose, treat or recommend a dose, and it is not medical advice.
Every mole calculation on this site starts here. The mass to moles calculator takes a mass in any metric unit, divides it by the molar mass of the substance, and returns the amount in moles, millimoles, micromoles or nanomoles.
Moles are the unit that makes chemistry comparable. You cannot meaningfully compare 5 mg of one peptide with 5 mg of another, because they are different molecules with different molar masses. You can compare 5 micromoles of one with 5 micromoles of the other, because a mole is a fixed number of molecules for any substance.
Use this before any concentration, extinction coefficient or Beer-Lambert calculation that is specified in molar terms.
Why moles and not milligrams
A mass is only interpretable alongside a molar mass, because two substances of equal mass are not equal amounts of anything. Five milligrams of one peptide and five milligrams of another are different numbers of molecules, since the two molecules differ in mass. Five micromoles of each are the same number of molecules, since a mole is a fixed count of particles regardless of what the particle is. Converting between the two is what the average molecular weight calculator exists to make possible, and the conversion itself has no room for interpretation.
It is a dimensional identity rather than a model. Mass divided by molar mass gives an amount, the units cancel exactly, and there is no equilibrium, no yield and no recovery percentage anywhere in it. That is why the same figure in moles is what stoichiometry, molarity and absorbance calculations are all written in, and why a specification given in molar terms has to be converted before it can be weighed. Nothing in the calculation knows anything about the substance except its molar mass, which makes the result exactly as good or as bad as that single number and nothing more.
The shortcut that makes micromoles readable
Because one micromole of a substance with molar mass M weighs M micrograms, there is a shortcut worth internalising: multiply the mass in milligrams by one thousand, divide by the molar mass in grams per mole, and the answer is in micromoles. Check it on five alanine residues, whose molar mass is 373.4093, with one milligram of material. The full route gives 0.001 divided by 373.4093, which is 2.678 micromoles, and the shortcut returns the same figure without writing the gram conversion anywhere. Writing the two routes next to each other is worth doing once, because it makes the factor of a thousand visible instead of buried inside a unit conversion.
The reasoning extends down the ladder, and it stops being convenient at the far end where the numbers stop being readable. What it does give is a fast order of magnitude estimate before anything is typed. Peptides in this mass range land in the micromole to millimole band for milligram quantities, so a mass in the low milligrams against a molar mass in the low thousands produces a fraction of a micromole, while the opposite corner produces a figure too large to read. The mole unit converter moves between prefixes when a result arrives in a unit that was not asked for.
Behind the mole is a count that is exact rather than measured. Since the redefinition of 2019 a mole is the amount containing exactly 6.02214076e23 elementary entities, so the molecule count in 2.678 micromoles is about 1.6e18 and it is exactly that rather than approximately. Worth doing this conversion once purely for scale, because a mass small enough to sit on a fingertip corresponds to a particle count with eighteen digits in it, and the two statements are the same statement. It is also why a mole count is the right unit to hand to an instrument, since an absorbance reading becomes a concentration through a molar quantity and the mass never reappears anywhere in that chain.
Precision passes through the division unchanged
Because the division is a ratio, the relative error in the answer equals the relative error in the molar mass, and that is the whole error budget for this calculation. Supply a molar mass quoted to four significant figures and the answer carries a relative uncertainty of about one part in ten thousand. Supply a catalogue figure rounded to the nearest whole number and the answer is good only to about one part in three hundred, however many digits are printed afterwards. The rounding happens at the input, never at the output.
That points directly at where a real error enters. The molar mass is frequently the one number on the page that was copied by hand from a specification, and specifications disagree about convention as well as about rounding, so a monoisotopic figure used where an average was wanted introduces a relative error of a few hundredths of a percent. Deriving the value from the sequence removes the transcription step entirely, and where a quoted figure has to be used, the molar mass cross check calculator shows whether it agrees with the sequence before anything is divided by it.
What a mole count is not
A mole count is stoichiometry and nothing more. It says how many molecules are present, which is the input to a molarity once a volume exists and to an absorbance calculation once an extinction coefficient exists, and both of those are computed directly elsewhere on this site. It says nothing about what those molecules do. It also says nothing about whether they are all the molecule that was meant, since a sample at 95 percent purity contains five percent fewer molecules of the named substance than its gross mass suggests, and no calculation built from a mass and a molar mass can detect that.
Nor is an amount in the sense of a quantity anyone might use. A mole count describes a sample; what a sample is for, and how much of it is appropriate, is a question this site does not address and does not try to. The two useful steps out from here are straightforward. Divide by a volume in litres for a molarity, which the molarity calculator does, or feed the mole count through an extinction coefficient calculation and then a concentration from absorbance, the whole route being set out in Beer Lambert concentration from an absorbance reading . Mass concentration against molar concentration is a separate matter, covered in molarity against mass concentration .
How this calculator works
One division. The mass is converted to grams, divided by the molar mass, and then expressed in the mole unit you asked for.
The number of molecules comes out for free if you want it: multiply the number of moles by Avogadro s constant, 6.02214076e23 per mole. That is an exact SI definition rather than a measurement.
The formulas
-
n = m / M
- n
- amount of substance, in mol
- m
- mass in grams
- M
- molar mass in g/mol
A dimensional identity, not an approximation. There is no model here to doubt.
-
number of molecules = n x 6.02214076e23
Avogadro constant, exact by SI definition since 2019.
Worked example
Moles in 2.5 mg of a 3755 g/mol peptide
Illustrative example. The numbers are chosen to make the arithmetic easy to check. They are not a dose, a protocol or a recommendation.
Given
- Mass
- 2.5 mg
- Molar mass
- 3755 g/mol
- Output unit
- micromoles
- Convert the mass to grams
- Substitution
- 2.5 mg = 0.0025 g
- Result
- 0.0025 g
- Divide by the molar mass in moles
- Substitution
- 0.0025 g / 3755 g/mol
- Result
- 6.6578e-7 mol
- Convert moles to micromoles
- Substitution
- 6.6578e-7 mol x 1,000,000
- Result
- 0.66578 umol
What this shows
Under one micromole. Expressed in molecules that is 0.66578e-6 x 6.02214076e23, roughly 4.0e17 molecules, which is why a mass this small still represents an enormous number of particles.
Understanding the inputs
- Mass
- The mass of the substance.
- Watch for: Make sure it is the mass of the pure active substance, not the mass of a lyophilised vial including excipients.
- Mass unit
- The unit the mass was typed in: grams, milligrams, micrograms or nanograms.
- Molar mass (g/mol)
- Molar mass in g/mol, numerically equal to the average molecular weight in Da.
- Watch for: If you have a sequence, get this from the average molecular weight calculator rather than typing a number from memory. A wrong molar mass is not flagged anywhere.
- Mole unit
- The unit the answer is returned in. It does not change the answer, only how it is written.
Understanding the results
- Amount of substance
- The amount of substance, expressed in the unit you selected.
Units explained
- mol
- The amount containing exactly 6.02214076e23 elementary entities.
- mmol
- One thousandth of a mole.
- umol
- One millionth of a mole. Note the spelling: micro is abbreviated u, and a micromole is written uMol, not mMol.
- nmol
- One billionth of a mole.
Common mistakes
- Confusing a mass for a number of moles. 5 mg is not 5 mg of anything comparable across different peptides, because molar masses differ.
- Abbreviating micromole as mMol. mMol means millimole, one thousand times larger, and the two are visually near identical.
- Using a monoisotopic mass where the average molecular weight was wanted. The error is small per residue but it is a real difference in convention.
Important limitations
- Pure single compound only. A mixture has no single molar mass and this calculation does not apply to it.
- Purity is ignored. A sample that is 95 percent pure contains 5 percent less of the named substance than its gross mass suggests.
- This is a stoichiometry tool. It says nothing about activity or safety.
Frequently asked questions
What does the mass to moles calculator compute?
It converts a mass of a substance into the amount of substance in moles, given the molar mass, using moles = mass (g) / molar mass (g/mol).
How do I use the mass to moles calculator?
Enter the mass and its unit, the molar mass in g/mol, and choose the mole unit you want the answer in: mol, mmol, umol, nmol or pmol.
What units does the mass to moles calculator support?
Mass units g, mg, mcg (micrograms) and ng; mole units mol down to pmol. The calculator converts the mass to grams internally before dividing by molar mass.
What is the difference between the mass to moles calculator and the molarity calculator?
This calculator returns an absolute amount in moles; the molarity calculator additionally divides by a solution volume to give a concentration in mol/L. Use this one when you only need the amount of substance, not a concentration.
What happens if the molar mass is zero or missing on the mass to moles calculator?
A molar mass of zero or less is rejected as invalid, since dividing mass by a non-positive molar mass is undefined.
Can I convert moles back to mass with the mass to moles calculator?
No, use the companion moles to mass calculator on this site for the reverse direction.
Does a negative mass produce a result on the mass to moles calculator?
No, mass must be zero or greater; a negative mass is rejected as invalid input.
Is the mass to moles calculator free?
Yes, entirely client side, no data sent to any server.
Related calculators
- Average Molecular Weight Calculator Adds each residue's average mass from a pasted sequence plus one water for the two free termini, giving the peptide's average molecular weight. Educational reference, not medical or dosing advice.
- Monoisotopic Mass Calculator Adds each residue's monoisotopic mass from a pasted sequence plus one monoisotopic water, giving the peptide's exact monoisotopic mass. Educational reference, not medical or dosing advice.
- Molecular Formula Calculator Sums the free amino acid formula for each residue and removes (n-1) waters for the peptide bonds to output the peptide's molecular formula. Educational reference, not medical or dosing advice.
- Molarity Calculator Calculates molarity as M = (mass / molar mass) / volume from a mass, unit, molar mass and volume you supply. Educational reference, not medical or dosing advice.
Learn more
- How to Calculate Peptide Molecular Weight From a Sequence The sum-of-residue-masses method for finding a peptide molecular weight from its amino acid sequence, and how it connects to mass, mole and molarity calculators.
- A Practical Guide to Peptide Unit Conversions The peptide unit conversion guide: crossing mass and mole units needs a molecular weight; a worked mg-to-mM example shows which calculator handles each step.