Mole Calculator
Calculates the number of moles by dividing a sample's mass in grams by its molar mass in grams per mole.
What this calculator does
The Mole Calculator estimates your result instantly from the values you enter, using standard science & engineering formulas. Calculates the number of moles by dividing a sample's mass in grams by its molar mass in grams per mole. Calculations run in your browser, so nothing you type is sent to a server, and the output is an estimate rather than a certified or official figure.
Result
About Mole Calculator
This mole calculator computes n = mass / molar mass, converting a sample mass in grams into an amount in moles. Enter the mass in grams and the molar mass in grams per mole (g/mol).
The molar mass is the mass of one mole of the substance, so dividing the sample mass by it gives the number of moles present.
Formula & Mathematical Calculation
Moles (mol) = f(Mass (g), Molar Mass (g/mol))
Calculated according to standard science formulas implemented in the calculator core.
Calculation Example
A 18.015 g sample of a substance with molar mass 18.015 g/mol contains n = 18.015 / 18.015 = 1 mol.
Key Benefits
- Computes moles as mass in grams divided by molar mass in g/mol
- Converts a weighed sample directly into an amount of substance
- Reports the result to five decimal places for small quantities
- Flags a molar mass of zero or below as invalid
How to Use this Calculator
-
Enter the mass
Type the sample mass in grams in the Mass (g) field. -
Enter the molar mass
Type the substance's molar mass in grams per mole in the Molar Mass (g/mol) field. -
Calculate
Press Calculate to get the number of moles.
Assumptions & Limitations
What the calculation assumes
- Every value you enter is treated as an exact, known amount.
- Any rate or interval you enter is assumed to hold for the whole period unless the form asks for it separately.
- Results use standard published formulas and account only for the values entered above.
- Rounding is applied for display; the underlying calculation uses your full precision.
- Results are returned in the same units you enter, unless the tool states the output unit.
What it does not cover
- Mole Calculator produces a calculated result for reference and learning, not a certified or official measurement.
- Real-world outcomes differ when tolerances, rounding rules or local standards apply.
- Definitions and standards vary by region and change over time; verify the convention that applies to your case.
- Figures are only as accurate as the inputs you supply — check them before acting on the result.
- For work where the result carries real consequences, confirm it against an authoritative source.
Frequently Asked Questions
Free to use, no account needed. Calculations run in your browser, so nothing you type is sent to a server. Results are estimates — how we build and check our calculators.