The chemical formula for sucrose, commonly known as table sugar, is C12H22O11.