The letter shows what chemical element each atom is. The subscript shows the number of each type of atom. For example, hydrogen peroxide has the formula HO. Methane has one carbon (C) atom and four hydrogen atoms; the chemical formula is CH. The sugar molecule glucose has six carbon atoms, twelve hydrogen atoms, and six oxygen atoms, so its chemical formula is CHO.