Mole Calculator

Convert mass to moles, particles, and ideal-gas volume using molar mass, Avogadro's constant, and standard temperature and pressure.

Mass to moles calculator
Enter a sample mass and its molar mass to calculate the amount of substance and related quantities.

About the mole calculator

The mole is chemistry's bridge between the measurable mass of a sample and the enormous number of atoms, molecules, ions, or formula units it contains. One mole represents exactly 6.02214076 × 10²³ specified entities, a value called Avogadro's constant. Because laboratory balances measure grams rather than individual particles, chemists use molar mass to move between mass and amount of substance. This calculator performs that conversion with the relationship moles = mass divided by molar mass. Molar mass is expressed in grams per mole and is numerically equal to the sum of the atomic weights in a chemical formula. Water, for example, has a molar mass near 18.015 g/mol because it contains two hydrogen atoms and one oxygen atom. A sample weighing 18.015 grams therefore contains one mole of water molecules. Once the amount in moles is known, multiplying by Avogadro's constant gives the number of representative particles. This connection is essential for stoichiometry, solution preparation, reaction yields, and quantitative chemical analysis. The calculator also reports an ideal-gas volume at standard temperature and pressure. It uses the common molar volume of 22.414 liters per mole at 0 degrees Celsius and 1 atmosphere. This is a theoretical ideal-gas relationship, so actual gas volumes may differ when pressure is high, temperature differs, or intermolecular forces are important. For room-temperature work or another pressure, use the ideal gas law with the required conditions rather than the STP result. Enter values in grams and grams per mole, keeping units consistent. The sample mass can be zero, but molar mass must be positive because division by zero has no physical meaning. Significant figures are not imposed automatically; the calculator shows useful precision so you can round the answer according to the least precise measurement in your experiment. For mixtures, calculate each chemical species separately. For reactions, combine the resulting mole amounts with coefficients from a balanced chemical equation. These practices make the mole calculator a reliable starting point for homework, laboratory planning, reagent preparation, and checks of hand calculations.

Mole conversion examples

Given valuesCalculated resultWhy it matters
18.015 g H₂O; 18.015 g/mol1 mol; 6.02214076 × 10²³ moleculesOne molar mass of water corresponds to exactly one mole.
88.02 g CO₂; 44.01 g/mol2 mol; 44.828 L at STPTwo moles of an ideal gas occupy twice the standard molar volume.
5.844 g NaCl; 58.44 g/mol0.1 mol; 6.02214076 × 10²² formula unitsA tenth of a molar mass gives one tenth of a mole.

How to calculate moles

  1. Measure or enter the sample mass in grams.
  2. Find the compound's molar mass in grams per mole from its chemical formula.
  3. Select Calculate Moles to divide mass by molar mass.
  4. Review the mole amount, particle count, and ideal-gas volume at STP.
  5. Round the displayed values to the significant figures appropriate for your data.

Mole calculator FAQ

How do I convert grams to moles?

Divide the mass in grams by the molar mass in grams per mole. The gram units cancel, leaving the amount in moles.

What is Avogadro's number?

Avogadro's constant is exactly 6.02214076 × 10²³ entities per mole. The entities may be atoms, molecules, ions, electrons, or formula units depending on the substance.

How is molar mass found?

Add the atomic weights of every atom shown in the chemical formula, multiplying each weight by its subscript. The resulting formula mass is used as grams per mole for ordinary mole conversions.

Does every mole of gas occupy 22.414 liters?

That volume applies to an ideal gas at 0 degrees Celsius and 1 atmosphere. Real gases and other temperature or pressure conditions require an adjusted gas-law calculation.

Can this calculator be used for atoms and molecules?

Yes, because the particle result follows directly from moles times Avogadro's constant. Label the entities correctly for the substance, such as atoms for an element or molecules for a covalent compound.