The answer is: the edible part!
For example, if a corn weighs 200g, the heat given by mint is 106 calories/100g, and the edible part of corn is 100g/46g, then its heat should be calculated as follows:
Heat = (200 * 46/100) *106 = 97.52 kcal.
Knowing the proportion of edible parts of food in the whole, when calculating calories, multiply this ratio, for example, corn is 0.46.
Generally 100% staple food and meat are edible parts, but nuts such as walnuts and pine nuts; Watermelon, banana; Crab, shrimp, these foods with skins and shells should be calculated according to this method, otherwise you think that you have eaten a lot of calories, which is actually not enough.