Determining a molecular formula reveals the exact number of each type of atom in a molecule, which is essential for identifying unknown compounds, predicting reactivity, and verifying chemical synthesis. This process requires knowing the empirical formula and the compound’s molar mass, typically obtained from experimental data like percent composition and mass spectrometry. Without these two pieces of information, you cannot accurately determine the molecular formula.

What You'll Need

  • Percent composition by mass of each element in the compound (from lab analysis or given data)
  • The experimentally determined molar mass of the compound (in g/mol)
  • A periodic table for atomic masses
  • Calculator or spreadsheet software for arithmetic
  • Paper or digital notes to track steps

Step-by-Step

  1. Start with the percent composition by mass for each element. For example, if a compound is 40.0% carbon, 6.7% hydrogen, and 53.3% oxygen, these percentages represent the mass of each element in a 100-gram sample of the compound. Convert these percentages directly into grams: 40.0 g C, 6.7 g H, 53.3 g O.
  2. Convert the mass of each element into moles using its atomic mass from the periodic table. For carbon, divide 40.0 g by 12.01 g/mol to get approximately 3.33 moles. For hydrogen, divide 6.7 g by 1.008 g/mol to get about 6.65 moles. For oxygen, divide 53.3 g by 16.00 g/mol to get 3.33 moles.
  3. Determine the simplest whole-number ratio of moles by dividing each mole value by the smallest number of moles calculated. Here, the smallest value is 3.33. So, C: 3.33/3.33 = 1, H: 6.65/3.33 ≈ 2, O: 3.33/3.33 = 1. This gives the empirical formula CH₂O.
  4. Calculate the molar mass of the empirical formula. For CH₂O: (12.01) + 2(1.008) + (16.00) = 30.026 g/mol.
  5. Divide the experimentally determined molar mass of the compound by the empirical formula’s molar mass. For example, if the experimental molar mass is 180.16 g/mol, then 180.16 ÷ 30.026 ≈ 6.00. This number must be very close to a whole number — if it’s not, revisit your calculations for errors.
  6. Multiply the subscripts in the empirical formula by this whole number to get the molecular formula. Since the multiplier is 6, multiply each subscript in CH₂O by 6: C₁H₂ₓ₆O₁ₓ₆ → C₆H₁₂O₆. This is the molecular formula.
  7. Verify your result by recalculating the molar mass of C₆H₁₂O₆: 6(12.01) + 12(1.008) + 6(16.00) = 72.06 + 12.096 + 96.00 = 180.156 g/mol. Match this to the experimental value — they should be identical within rounding error.

Common Mistakes

  • Using mass percentages as if they were moles — percentages must be converted to grams first, then to moles.
  • Forgetting to use the correct atomic mass; for example, using 1 for hydrogen instead of 1.008 or 16 for oxygen instead of 16.00. Small rounding errors compound.
  • Dividing by the wrong smallest mole value — always use the smallest number from the entire set, not just one element.
  • Assuming the empirical formula is the molecular formula without checking the molar mass multiplier. Many compounds (like formaldehyde and glucose) share the same empirical formula but differ in molecular formula.
  • Incorrectly rounding mole ratios — if you get 1.98, don’t round to 1; it’s likely 2. If you get 1.33, that’s 4/3, meaning multiply by 3 to get whole numbers.
  • Not checking the final molar mass against the experimental value — this is the critical verification step.

Tips

  • Always work with a 100-gram sample when given percent composition — it simplifies conversion from percentage to grams.
  • Use at least four significant figures in atomic masses and experimental molar masses to avoid cumulative rounding errors.
  • If your mole ratio isn’t a clean whole number (like 1.5 or 2.33), express it as a fraction (3/2 or 7/3) and multiply all subscripts by the denominator to get integers.
  • For organic compounds, common molecular formulas often follow patterns: alkanes (CₙH₂ₙ₊₂), alkenes (CₙH₂ₙ), alcohols (CₙH₂ₙ₊₂O). Use this as a sanity check.
  • Double-check your arithmetic with a second calculator or software — most errors occur in division or multiplication steps.
  • If the multiplier is 1, the empirical and molecular formulas are identical — this is common for small molecules like water or ammonia.

Troubleshooting

  • If the multiplier is not close to a whole number (e.g., 4.7 or 2.2), recheck your experimental molar mass. It may be inaccurate or the compound may be impure.
  • If your calculated molecular mass doesn’t match the experimental value, verify that the percent composition was measured correctly — contamination or water absorption can alter results.
  • If you get a ratio like 1:1.33:1, convert 1.33 to 4/3, then multiply all subscripts by 3 to get 3:4:3. Never force a decimal to a whole number without justification.
  • If your molar mass is too low or too high compared to known compounds, confirm the sample purity. A compound with solvent or water of hydration will give incorrect results.
  • If you’re working with an ionic compound, remember that ionic compounds don’t form discrete molecules — they have formula units, not molecular formulas. This method applies only to covalent compounds.
  • If you lack experimental molar mass data, you cannot determine the molecular formula. You can only find the empirical formula. Seek additional data from mass spectrometry or freezing point depression experiments.

Frequently Asked Questions

Can I determine the molecular formula from percent composition alone?

No. Percent composition only gives the empirical formula. You need the experimental molar mass to find how many empirical units make up one molecule.

What if the multiplier is 5.98 or 6.02?

These are acceptable. Rounding errors from atomic masses or measurement uncertainty are common. A value within ±0.05 of a whole number is typically considered exact.

Can molecular formulas be the same as empirical formulas?

Yes. For example, water (H₂O) and ammonia (NH₃) have molecular formulas identical to their empirical formulas because they cannot be simplified further.

Do I need to account for hydration in the formula?

Yes, if the compound is a hydrate (like CuSO₄·5H₂O), include water molecules in your molecular formula. The molar mass must include the water mass.

What if my compound has nitrogen or sulfur?

Treat them the same as carbon and oxygen. Use their atomic masses (14.01 for N, 32.06 for S) in all calculations. The method is universal for all elements.

Can this method be used for polymers or large biomolecules?

Not reliably. Polymers have variable chain lengths, and biomolecules like proteins have complex structures. Molecular formulas are typically not used — instead, monomer units or sequence data are used.