Determine the mass ratio of carbon to hydrogen in methane. Methane (CH₄) has a molar mass of 12.01 g/mol for carbon and 1.01 g/mol for hydrogen. Since there are four hydrogen atoms, the total mass of hydrogen in methane is 4.04 g/mol. Therefore, the mass ratio of carbon to hydrogen in methane is 12.01:4.04.