Question: what is the empirical formula for the hydrocarbon?
Answer: Add up the atomic masses of the atoms in the empirical formula. For example, the empirical formula of a hydrocarbon is CH 2 and its M r is 42. The molecular formula of the hydrocarbon is therefore C 3H 6.