The molecular formula of sugar is
C12H22O11
Sugar contains carbon, hydrogen and oxygen atoms. In each sugar molecule there are 12 carbon atoms, 22 hydrogen atoms, and 11 oxygen atoms.
So the molecular formula of sugar will be C12H22O11
That's a huge molecule! And quite a tasty one too.