Table sugar has the molecular formula C₁₂H₂₂O₁₁. This means that each molecule of table sugar is made up of 12 carbon atoms, 22 hydrogen atoms, and 11 oxygen atoms. There are 3 carbon atoms multiplied by 12, 3 hydrogen atoms multiplied by 22, and 3 oxygen atoms multiplied by 11. That is a total of 54 atoms.