Carbohydrates: 4 calories per gram
Fat: 9 calories per gram
These values are used to calculate the total number of calories in a food item. For example, a 100-gram serving of chicken breast that contains 20 grams of protein and 5 grams of fat would have a total of 20 * 4 + 5 * 9 = 130 calories.