Amount of Substance Calculator

Calculate the amount of substance (in moles) based on mass and molar mass, or vice versa.

Input Parameters

Calculation Results

Calculation Results

Enter values and click "Calculate" to see results

Calculation Formula

Amount of Substance (n) = Mass (m) / Molar Mass (M)

Where:
n = Amount of Substance (moles)
m = Mass (grams)
M = Molar Mass (g/mol)

Amount of Substance Calculator Calculator Usage Guide

Learn how to use the Amount of Substance Calculator calculator and its working principles

How to Use the Calculator

  1. Select the calculation mode using the radio buttons:
  2. Calculate Moles from Mass and Molar Mass - Use this when you know the mass of a substance and its molar mass, and want to find the amount of substance in moles.
  3. Calculate Mass from Moles and Molar Mass - Use this when you know the amount of substance in moles and its molar mass, and want to find the mass of the substance.
  4. Enter the required values in the input fields.
  5. Click the "Calculate" button to get the result.
  6. Click the "Reset" button to clear all input fields and start over.

Understanding the Formula

The calculator uses the following formula:

n = m / M

Where:

  • n = Amount of Substance (in moles)
  • m = Mass of the substance (in grams)
  • M = Molar Mass of the substance (in grams per mole, g/mol)

Example 1: Calculate Moles from Mass and Molar Mass

Suppose you have 18 grams of water (H₂O) and want to find the amount of substance in moles. The molar mass of water is approximately 18 g/mol.

Calculation: n = 18 g / 18 g/mol = 1 mol

Example 2: Calculate Mass from Moles and Molar Mass

Suppose you have 2 moles of carbon dioxide (CO₂) and want to find the mass. The molar mass of carbon dioxide is approximately 44 g/mol.

Calculation: m = 2 mol × 44 g/mol = 88 g