How the calculation works
Every food in the built-in database carries an average energy value per 100 grams, and the calculator scales that value by the amount you enter: 250 g of rice at 130 kcal/100 g contributes 325 kcal. Units are converted to grams first — one ounce counts as 28.35 g, one cup as roughly 240 g, and one serving as about 100 g.
Foods that are not in the database default to 100 kcal per 100 g, which is a reasonable middle ground for mixed dishes but can be far off for specific items. If you know the label value of your brand, enter the food as a custom item and adjust the amount until the calories match the label — the totals then stay honest.