Mole Calculator
Convert among sample mass, molar mass, amount of substance, and number of elementary entities using the exact Avogadro constant.
Inputs
Mass of the sample in grams.
Mass of one mole of the substance.
Leave this or another non-target field populated.
Atoms, molecules, ions, or formula units.
The selected quantity is derived from the other compatible values.
Results
Conversion details
| Quantity | Canonical value | Unit | Relationship |
|---|---|---|---|
| Sample mass | 18.01528 | g | m = n × M |
| Molar mass | 18.01528 | g/mol | M = m ÷ n |
| Amount of substance | 1 | mol | n = m ÷ M |
| Elementary entities | 6.02214076 × 10²³ | entities | N = n × Nₐ |
The table and downloaded workbook use the same unrounded canonical model. Displayed values are formatted for readability.
How to use the mole calculator
What this calculator does
This calculator connects four standard chemistry quantities: Sample mass, Molar mass, Amount of substance, and Elementary entities. It applies the identities n = m/M and N = nNA, where the Avogadro constant is exactly 6.02214076 × 10²³ mol⁻¹. The result is an exact mathematical conversion for the values supplied; it does not identify an unknown chemical, determine purity, or account for experimental uncertainty.
When to use it
Use it when preparing a laboratory sample from a target number of moles, converting a measured mass into moles for stoichiometry, finding how many molecules or formula units are present, or checking a molar-mass calculation. The NIST explanation of the SI mole confirms that one mole contains exactly 6.02214076 × 10²³ specified elementary entities.
How to calculate
- The calculator opens with a complete water example: 18.01528 g, a molar mass of 18.01528 g/mol, 1 mol, and 6.02214076 × 10²³ molecules. The matching Excel workbook is ready immediately.
- Choose the quantity to solve in Calculate. Enter enough compatible values to determine it. For moles, enter mass and molar mass; for mass, enter moles and molar mass; for molar mass, enter mass and moles; for entities, enter moles or a mass – molar-mass pair.
- Read the blue primary result and the four supporting result cards. The conversion table shows the formula used for each quantity.
- Select Download Excel to create a current-state OOXML workbook. Select Reset to clear the demonstration data. Reset may disable the export until a complete valid state is entered again.
Input guide
Sample mass is a required positive decimal when it is used in a calculation, entered in grams; for example, 18.01528. Increasing mass increases moles and particle count when molar mass is fixed. Do not enter a unit symbol in the field. Molar mass is a required positive decimal in grams per mole when mass and moles are related; for water, 18.01528 g/mol. A larger molar mass produces fewer moles from the same mass. Do not confuse molar mass with the mass of your particular sample.
Amount of substance accepts a positive decimal in moles; 1 is the startup example. It scales both sample mass and entity count directly. Elementary entities accepts a positive decimal or scientific notation such as 6.02214076e23. Specify mentally whether those entities are atoms, molecules, ions, electrons, or formula units, because equal counts do not imply equal masses. Calculate is a required select control that identifies the output to derive; the selected target is not trusted as an independent input.
Output guide
The primary result repeats the selected target with its unit. Sample mass is the calculated or supplied mass in grams. Molar mass is grams per mole. Amount of substance is expressed in mol. Elementary entities is a count and is usually displayed in scientific notation. All four are identities driven by the same canonical model, so a zero or negative value is rejected rather than interpreted chemically. Very large finite inputs are accepted only while the derived values remain finite.
Worked example
For the startup water example, divide 18.01528 g by 18.01528 g/mol. The gram units cancel and the result is exactly 1 mol. Multiplying 1 mol by the exact Avogadro constant gives 6.02214076 × 10²³ molecules. The same values appear in the result cards, conversion table, and workbook checkpoints.
Formula and interpretation
Molar mass acts as the bridge between macroscopic mass and chemical amount. A useful overview of this relationship is available in the Chemistry LibreTexts guide to mole – mass conversions. For terminology, the IUPAC Gold Book definition of the mole explains both the unit and the need to specify the elementary entity.
Common mistakes
- Using molecular mass in daltons as though it were the mass of a sample. The numerical value often matches molar mass in g/mol, but the quantities and units differ.
- Leaving the entity unspecified. One mole of sodium chloride represents formula units, while one mole of helium represents atoms.
- Mixing kilograms with grams. Convert kilograms to grams before entry unless you also convert the molar mass consistently.
- Rounding the Avogadro constant too early. The calculator retains its exact SI value and rounds only for display.