Carbohydrates provide approximately 4 calories per gram. This is the same energy value as proteins, while fats provide 9 calories per gram.