There are two main methods used to calculate the energy content in food and drinks.