molecalculator

Moles & Molar Mass

Relative Formula Mass Calculations Explained

Calculator No. 01-16872 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

Relative formula mass (RFM) is the sum of the relative atomic masses of all atoms in a compound’s formula, expressed in atomic mass units (amu). You calculate it by adding the standard atomic weights of each element, multiplied by their respective counts in the formula.

Formula

The relative formula mass (RFM) is calculated using the formula:

RFM = Σ (number of atoms of element × relative atomic mass of element)

Where:

  • number of atoms of element: the subscript for each element in the chemical formula (e.g., 2 in H₂O for hydrogen)
  • relative atomic mass of element: the IUPAC abridged standard atomic weight (unit: amu or g/mol)

Standard atomic weights used in this calculator:

  • Hydrogen (H): 1.008 amu
  • Carbon (C): 12.011 amu
  • Oxygen (O): 15.999 amu
  • Nitrogen (N): 14.007 amu
  • Sulfur (S): 32.06 amu
  • Chlorine (Cl): 35.45 amu
  • Sodium (Na): 22.990 amu
  • Calcium (Ca): 40.078 amu

Worked Example

Calculate the relative formula mass of ethanol, C₂H₅OH, which contains 2 carbon atoms, 6 hydrogen atoms (5+1 from OH), and 1 oxygen atom.

Using the default values in the calculator: C = 2, H = 6 (entered as 6), O = 1.

Step 1: Multiply each atom count by its atomic mass:

  • Carbon: 2 × 12.011 = 24.022
  • Hydrogen: 6 × 1.008 = 6.048
  • Oxygen: 1 × 15.999 = 15.999

Step 2: Add the contributions:

RFM = 24.022 + 6.048 + 15.999 = 46.069

Rounded to 2 decimal places: 46.07 amu

The calculator returns 46.07 amu, matching the result.

Assumptions

  • The compound is neutral (no net charge affecting mass)
  • Atomic weights are the IUPAC standard abridged values
  • Isotopic abundance is average (natural abundance)
  • The formula represents the empirical or molecular formula as written

Background and Importance

Relative formula mass, sometimes called formula weight, is a dimensionless quantity but numerically equal to molar mass in grams per mole (g/mol). It is essential in stoichiometry, where it links the mass of a substance to the number of moles. This connection allows chemists to convert between grams and moles, which is crucial for reaction balancing, yield calculations, and solution preparation.

For ionic compounds like NaCl, the term “relative formula mass” is preferred over “relative molecular mass” because they do not exist as discrete molecules. For covalent compounds like H₂O or C₆H₁₂O₆, either term may be used, but RFM is commonly used as a general term in educational contexts.

How It Works

To calculate RFM:

  1. Identify the chemical formula of the compound.
  2. Determine the number of atoms of each element present.
  3. Look up the relative atomic mass of each element (from IUPAC tables).
  4. Multiply each atomic mass by the number of atoms of that element.
  5. Sum all the values.

Example: Calcium carbonate (CaCO₃)

  • Ca: 1 × 40.078 = 40.078
  • C: 1 × 12.011 = 12.011
  • O: 3 × 15.999 = 47.997
  • RFM = 40.078 + 12.011 + 47.997 = 100.086 ≈ 100.09 amu

Common Problems and Mistakes

Errors in RFM calculations often arise from:

  • Incorrect atom counting: Forgetting atoms in polyatomic ions (e.g., in Mg(OH)₂, there are 2 O and 2 H, not 1 each).
  • Using atomic number instead of atomic mass: Atomic number is the proton count (e.g., 6 for carbon), not the mass (12.011).
  • Mixing units: RFM is in amu, not grams. It is numerically equal to molar mass in g/mol, but the concepts differ.
  • Ignoring brackets: In Al₂(SO₄)₃, there are 3 sulfate groups, so 3 × 4 = 12 oxygen atoms, not 4.

Applications in Chemistry

RFM is foundational in:

  • Mole calculations: moles = mass (g) / RFM (g/mol)
  • Percentage composition: % element = (total mass of element in formula / RFM) × 100
  • Empirical formula determination: using mass ratios and RFM to find simplest formula
  • Solution preparation: determining how much solute to weigh for a desired molarity

For example, to make 1 L of 1 M NaCl solution, you need 1 mole of NaCl. RFM of NaCl = 22.990 + 35.45 = 58.44 g/mol, so weigh 58.44 g.

Frequently Asked Questions

What is the difference between relative formula mass and molar mass?
Relative formula mass is a ratio (dimensionless) but numerically equal to molar mass in g/mol. Molar mass includes the unit (g/mol) and refers to one mole of substance.

Do I use atomic mass or atomic number in RFM calculations?
Always use the relative atomic mass (e.g., 35.45 for Cl), not the atomic number (17 for Cl). Atomic mass is usually the decimal number on the periodic table.

How do I handle brackets in formulas?
Multiply all atoms inside the bracket by the subscript outside. For example, in Ca(NO₃)₂, there are 2 nitrogen atoms and 6 oxygen atoms (2 × 3).

Is relative formula mass the same as molecular mass?
For covalent molecules, yes. But for ionic compounds like NaCl, “formula mass” is correct because they form lattices, not molecules.

Why are atomic masses not whole numbers?
Most elements have multiple isotopes. The atomic mass is a weighted average of all naturally occurring isotopes (e.g., Cl-35 and Cl-37).

Can RFM be used for hydrates?
Yes. Include the water molecules. For CuSO₄·5H₂O, add the mass of 5 H₂O molecules (5 × 18.015 = 90.075) to CuSO₄ (159.62) for a total RFM of 249.69 amu.

Related

Formula used
in h | Hydrogen atoms | - | 1 | 0 | 100
in c | Carbon atoms | - | 2 | 0 | 50
in o | Oxygen atoms | - | 1 | 0 | 30
in n | Nitrogen atoms | - | 1 | 0 | 20
in s | Sulfur atoms | - | 0 | 0 | 10
in cl | Chlorine atoms | - | 0 | 0 | 10
in na | Sodium atoms | - | 0 | 0 | 10
in ca | Calcium atoms | - | 0 | 0 | 10
out rfm | Relative Formula Mass | amu | h*1.008 + c*12.011 + o*15.999 + n*14.007 + s*32.06 + cl*35.45 + na*22.990 + ca*40.078 | 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

The whole Moles & Molar Mass section →