Free Grams to Moles Calculator

Fill Mass or Moles (not both), then enter Molar Mass - result updates automatically.

Enter values to see the result

Overview of the Grams to Moles Converter

This online chemistry converter acts as both a grams to moles calculator and a moles to grams calculator, allowing users to switch between mass and amount of substance effortlessly. Whether you are a student, researcher, or laboratory professional, the tool simplifies stoichiometric calculations and eliminates manual computation errors. It also features a built‑in molar mass reference, supporting common compounds and the option to enter custom values for any chemical. The same interface handles the mol to g conversion with a simple mode toggle, making it a complete chemistry converter for everyday work.

The Underlying Formula

The core relationship used for the conversion is:

n=mMn = \frac{m}{M}

where:

  • nn is the number of moles (mol),
  • mm is the mass of the substance in grams (g),
  • MM is the molar mass of the substance in grams per mole (g/mol).

Given any two of these values, the third can be determined. Therefore the tool also functions as a molar mass calculator when mass and moles are known, and it provides the molar mass for any compound entered.

What Is a Mole?

In chemistry, the mole is the SI base unit for quantifying the amount of a substance. One mole always contains approximately 6.022×10236.022 \times 10^{23} elementary entities (atoms, molecules, ions, etc.). This number is known as Avogadro’s number. Because dealing with such huge numbers directly is impractical, chemists prefer to work in moles. The g to mol converter bridges the gap between macroscopic mass (measured in grams) and the microscopic count of particles.

How to Use the Calculator

Operating the tool is straightforward:

  1. Select the substance – Choose a compound from the provided list, or manually input its molar mass.
  2. Enter the mass – Provide the mass of the sample in grams (or moles if performing the reverse conversion).
  3. Get the result – The calculator instantly displays the corresponding moles (or grams).

The same interface supports the mol to g conversion by simply switching the input/output mode. No additional software or plug‑ins are required.

Worked Example: Converting Grams of Sodium Chloride to Moles

Let us illustrate the process with sodium chloride (NaCl). Suppose we have a sample weighing 50.0 g of NaCl.

  • Step 1: Find the molar mass of NaCl. From the periodic table:
    MNa=22.99 g/molM_{\text{Na}} = 22.99\ \text{g/mol}, MCl=35.45 g/molM_{\text{Cl}} = 35.45\ \text{g/mol}.
    Therefore, MNaCl=22.99+35.45=58.44 g/molM_{\text{NaCl}} = 22.99 + 35.45 = 58.44\ \text{g/mol}.

  • Step 2: Apply the formula:

    n=50.0 g58.44 g/mol≈0.856 moln = \frac{50.0\ \text{g}}{58.44\ \text{g/mol}} \approx 0.856\ \text{mol}

Thus, 50.0 grams of NaCl corresponds to approximately 0.856 moles. This example shows how easily the conversion can be performed manually or verified with the calculator.

Additional Capabilities

Beyond basic conversions, the tool can assist in preparing solutions of precise molarity (when combined with volume measurements) and in interpreting reaction stoichiometry. Because it also outputs the molar mass for any entered compound, it doubles as a molar mass calculator that is always at hand.

Conclusion

Whether you need a grams to moles calculator, a moles to grams calculator, or a simple chemistry converter, this online tool delivers fast, accurate results. Mastering the relationship n=mMn = \dfrac{m}{M} is fundamental to countless chemical calculations, and having a dedicated converter streamlines your workflow both in the classroom and the laboratory.

FAQ

1. What formula does the grams to moles calculator use?

The calculator uses n = m / M, where n is the number of moles, m is the mass in grams, and M is the molar mass in g/mol.

2. How do I convert a sample, for example 50 g of NaCl, to moles using this tool?

First find the molar mass of NaCl (58.44 g/mol). Then apply n = m / M: 50.0 g ÷ 58.44 g/mol ≈ 0.856 mol. The calculator does this instantly when you select the substance and enter the mass.

3. Can I perform the reverse moles‑to‑grams conversion?

Yes, the tool supports both directions. Simply switch to moles‑to‑grams mode, enter the number of moles and the molar mass, and it calculates the corresponding mass.

4. What is Avogadro’s number and why is it important for this conversion?

Avogadro’s number (6.022 × 10²³) is the number of particles in one mole. It connects the macroscopic mass (grams) to the particle count, which is fundamental in stoichiometry.

5. Does the calculator include molar masses for common substances?

Yes, it provides a built‑in list of common compounds with their molar masses. You can also enter a custom molar mass for any substance not in the list.

How to Use

  1. Enter the mass in grams or the number of moles you want to convert.
  2. Enter the molar mass of the substance in g/mol.
  3. Click Calculate to get the converted value.