The grams–moles–molar mass triangle is a visual aid that shows the relationship between mass (grams), amount (moles), and molar mass (grams per mole). You use it to convert between these three quantities: given any two, you can find the third using the formula moles = mass ÷ molar mass.
Formula
The core relationship is written as:
n = m / M
- n = amount of substance in moles (mol)
- m = mass of the substance in grams (g)
- M = molar mass in grams per mole (g/mol)
Rearranged, the same equation gives m = n × M and M = m / n. The triangle simply places M at the top and m and n at the bottom corners; covering the quantity you want shows which operation to perform (multiply the bottom two, or divide the top by the bottom one).
Worked Example
Using the default values from the calculator: you have 2.922 g of sodium chloride (NaCl) and want to prepare 250 mL of solution. The molar mass of NaCl is 58.44 g/mol (Na 22.99 + Cl 35.45).
- Convert volume to liters: 250 mL ÷ 1000 = 0.250 L.
- Find moles of NaCl: n = 2.922 g ÷ 58.44 g/mol = 0.05000 mol (rounded to 5 significant figures).
- Calculate molarity: c = 0.05000 mol ÷ 0.250 L = 0.2000 mol/L.
- Convert to millimolar: 0.2000 mol/L × 1000 = 200.0 mM.
The calculator gives 0.2000 mol/L (200.0 mM) for these inputs.
Assumptions
- The molar mass used is for the pure, anhydrous compound.
- The volume is the final solution volume, not the volume of solvent added.
- The solution is assumed to be at a temperature where volume changes are negligible (typically 25 °C).
- For molarity, the solute dissolves completely and no chemical reaction changes the number of particles.
How to Choose the Right Triangle Formula
The triangle works only if you know which quantity you are solving for. Here is a quick guide:
- Given mass and molar mass, find moles: divide mass by molar mass (n = m / M). This is the most common use, e.g., converting a weighed sample to moles for stoichiometry.
- Given moles and molar mass, find mass: multiply moles by molar mass (m = n × M). Use this when you need to weigh out a specific number of moles for a reaction.
- Given mass and moles, find molar mass: divide mass by moles (M = m / n). This is how you determine the molar mass of an unknown substance from experimental data.
In practice, the triangle is a memory aid; the underlying equation is always n = m / M.
Common Mistakes and How to Avoid Them
- Unit mix-ups: Molar mass must be in g/mol, not kg/mol or mg/mmol. If your mass is in milligrams, convert to grams first (divide by 1000).
- Using the wrong molar mass: For hydrated salts (e.g., CuSO₄·5H₂O), include the water molecules in the molar mass. For gases, use the molecular formula (O₂, not O).
- Confusing molarity with moles: Molarity (mol/L) is not the same as moles. The triangle gives moles; molarity requires an additional volume step.
- Rounding too early: Round only at the final answer. Intermediate rounding can cause significant errors, especially in multi-step calculations.
- Forgetting to convert mL to L: When calculating molarity, volume must be in liters. A common error is using mL directly, giving a result 1000× too large.
Why the Triangle Matters in Real Lab Work
The grams–moles–molar mass relationship is the foundation of stoichiometry and solution preparation. Every time you weigh a reagent, you are implicitly using this conversion. For example, to make a 0.5 M solution of sodium chloride, you need to know how many grams to weigh for a given volume. Similarly, when a reaction calls for 0.25 mol of a substance, you use the molar mass to convert that to a weighable mass.
It also appears in gas law calculations (where moles are derived from pressure, volume, and temperature) and in determining empirical formulas from elemental analysis. Without a firm grasp of this triangle, most quantitative chemistry becomes error-prone.
Molar Mass vs. Molecular Weight: What’s the Difference?
In everyday lab use, the terms are often interchangeable, but technically:
- Molar mass (M) is the mass of one mole of a substance, expressed in g/mol. It is an intensive property.
- Molecular weight (MW) is a dimensionless quantity (or sometimes expressed in daltons) that equals the sum of atomic weights of atoms in a molecule. Numerically, it is the same as molar mass when expressed in g/mol.
For ionic compounds like NaCl, “formula weight” is more accurate than “molecular weight” because there are no discrete molecules. The triangle works the same regardless of the term used.
Limits of the Triangle
The triangle assumes a pure substance and a constant molar mass. It does not apply to mixtures (where you would need an average molar mass), nor does it account for isotopic variations (which are usually negligible). For gases, the molar mass is the same as for solids, but you might also need the ideal gas law to find moles from P, V, T. The triangle is a conversion tool, not a physical law—it only works when the molar mass is known or measured.
Frequently Asked Questions
How do I calculate moles from grams and molar mass?
Divide the mass in grams by the molar mass in g/mol. For example, 10 g of water (molar mass 18.015 g/mol) is 10 ÷ 18.015 = 0.555 mol.
What is the molar mass of a compound?
It is the sum of the atomic masses of all atoms in the formula, in g/mol. For carbon dioxide (CO₂), it is 12.011 + 2×15.999 = 44.009 g/mol.
Can I use the triangle for solutions?
Yes, but only to find the moles of solute. To get molarity, you must also divide by the solution volume in liters. The triangle itself does not include volume.
Why is the molar mass of NaCl 58.44 g/mol?
Because sodium has an atomic weight of 22.99 g/mol and chlorine 35.45 g/mol; adding them gives 58.44 g/mol. This is the mass of one mole of NaCl formula units.
What if I have a hydrated salt?
Include the water molecules in the molar mass. For CuSO₄·5H₂O, add 5 × 18.015 to the anhydrous mass. The triangle still works, but you must use the correct molar mass for the hydrated form.
Does the triangle work for gases?
Yes, for the mass–mole conversion. However, to find moles from volume at a given temperature and pressure, you need the ideal gas law (PV = nRT), not the triangle.
Related
Formula used
in m | Mass of solute | g | 2.922 | 0 in mm | Molar mass | g/mol | 58.44 | 0.001 in v | Final solution volume | mL | 250 | 0.001 out c | Molarity | mol/L | m / mm / (v / 1000) | 4 out cmm | Concentration in millimolar | mM | c * 1000 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Right Triangle Trigonometry Angle Calculation
- Mean and Median Calculation Example
- Simple Interest Rate Calculation Example$150.00
- Mean Absolute Deviation Calculation Example
- Ladder Height Calculation Problem?24.74 ft
- Average Speed Calculation Problem?100.00 km