Mole Calculator
This calculator ties together the four quantities a mole problem juggles: mass in grams, molar mass in grams per mole, amount in moles, and a raw particle count. Enter any combination that pins the answer down, such as mass with molar mass, and it fills in every value it can derive. Moles sits at the hub, linking grams (through molar mass) to particles (through Avogadro's number).
How to use the mole calculator
- Enter a mass in grams and a molar mass in g/mol to get moles, or clear them and start from another field.
- Enter an amount directly in the Amount (mol) box if you already know the moles.
- Or enter a Particles count, in plain or scientific form such as 6.022e23, to work from a number of particles.
- Read the filled-in Mass, Molar mass, Moles and Particles cards as they update live.
- Click Copy to grab all four results as a labelled block of text.
Examples
Grams of water to moles (the default)
mass = 18 g, molar mass = 18.015 g/mol
moles about 0.999167 mol, particles about 6.0171 x 10^23
Moles to particles
moles = 1
particles = 6.0221 x 10^23 (mass 0 with no molar mass)
Mass and molar mass giving a whole number of moles
mass = 36.03 g, molar mass = 18.015 g/mol
moles = 2, particles about 1.2044 x 10^24
Frequently asked questions
How do you convert grams to moles?
Divide the mass in grams by the molar mass in grams per mole: moles = mass / molar mass. For the default 18 g of water at 18.015 g/mol that is 18 / 18.015, which is about 0.999167 mol.
What value of Avogadro's number does it use?
The exact 2019 SI value, 6.02214076 x 10^23 particles per mole. The tool multiplies moles by this to get particles, and divides a particle count by it to get moles.
How do I get particles from moles?
Enter the amount in the moles field and the particle count appears automatically, since particles = moles x Avogadro's number. Enter moles = 1 and you get 6.0221 x 10^23 particles.
Which combinations of inputs work?
You need enough to fix the amount in moles: either moles directly, or a particle count, or both a mass and a molar mass together. Mass alone or molar mass alone is not enough, and the tool will say so.
What happens if I leave molar mass blank?
The tool can still link moles and particles, but with no molar mass it cannot produce a mass, so the Mass card reads 0. Add a molar mass whenever you want grams in the answer.
How are the results rounded?
Mass, molar mass and moles are rounded to nine decimal places, so tiny floating-point tails do not show. The particle count is rounded to the nearest whole particle and then displayed in scientific notation with four decimals, for example 6.0221e23.
Can I enter particles in scientific notation?
Yes. The particles field accepts forms like 6.022e23 or 1.2e24, as well as plain integers. The value is read as a normal number, so either style gives the same result.
Why are negative values rejected?
Mass, molar mass, moles and particle counts are all physical amounts that cannot be below zero, so a negative entry is treated as an error. A molar mass must also be greater than zero because it divides into the mass.
Does it calculate molar mass from a formula?
No. You supply the molar mass yourself. If you need the molar mass of a compound first, use a molar mass calculator, then bring that number back here to convert grams and moles.
Learn more
- Converting between moles, grams and particles
The two formulas that connect moles to grams and to particle counts, worked examples, and how this calculator chains them together.
Related tools
Molar Mass Calculator
Calculate the molar mass and molecular weight of any chemical formula. Get a full per element breakdown for compounds like H2O, NaCl, H2SO4 and hydrates.
Molarity Calculator
Calculate molarity in mol per litre and solve for moles, volume or concentration. Find moles from mass and molar mass, then get the missing value.
555 Timer Calculator
Calculate 555 timer astable frequency, period, high and low times and duty cycle from R1, R2 and the timing capacitor. Free oscillator design helper.
Absolute Humidity Calculator
Calculate absolute humidity in grams of water vapor per cubic meter from air temperature and relative humidity. Fast, free and works in your browser.
Allele Frequency Calculator
Find allele frequencies from genotype counts. Enter the number of AA, Aa and aa individuals to get the A and a allele frequencies and allele totals.
Angular Acceleration Calculator
Find angular acceleration from a change in angular velocity over time, and the torque from a moment of inertia. Enter start and end rad/s and the time.