Just like other carbohydrates, such as starch, sugar provides 4 kilocalories (kcal) or 17 kilojoule (kJ) of energy per gram. This is the same as proteins, but it is lower than fat and alcohol: