A calorie, or kilocalorie, is a unit used to measure energy. Specifically, a calorie is the amount of energy needed to raise 1 kg of water by 1 degree Celsius. Calories in our diet come from fat, protein, carbohydrates, and alcohol. Carbohydrates and protein contain 4 calories per gram. Each gram of alcohol contains 7 calories.