what is the empirical formula for the hydrocarbon?
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.