Skip to content
Crumb Count
← Blog

Inside Crumb Count · 10 November 2026 · 5 min read

How do calorie apps calculate calories? The four formulas behind them

How do calorie apps calculate calories? Food databases, Atwater factors, BMR equations and MET values explained, and how Crumb Count uses each one.

Every calorie tracker shows two numbers: what you ate and what you burned. Neither is measured. Both are calculated. So how do calorie apps calculate calories? Behind most of them are the same four things: a food database, the Atwater factors, a BMR equation and MET values. Knowing what each one does tells you how far to trust the number on your screen.

Where do calorie apps get food calories from?

From food composition databases: big tables listing the energy and nutrients in 100 g of each food. The app multiplies that by the amount you log.

For Indian food, the main open resource is the Indian Nutrient Databank (INDB), published in 2024. It holds 1,095 individual foods, mostly taken from the ICMR-NIN Indian Food Composition Tables of 2017, and 1,014 common recipes. For each recipe, the ingredients are matched to foods in the first table, so the nutrient values of a dish are built up from its ingredients. [1] For foods eaten in the US, a widely used source is the USDA's FNDDS, which holds nutrient values and portion weights for foods reported in the national What We Eat in America survey. [2]

Recipe values carry an obvious limit: your dal is not the cookbook's dal. A database tells you the energy in a typical version of a dish.

How are the calories in a food calculated?

Mostly with the Atwater factors: fixed amounts of energy per gram of each macronutrient. India's food labelling rules set them at 4 kcal per gram for protein and carbohydrate, 9 for fat, 7 for alcohol and 2 for dietary fibre. [3] Multiply each nutrient by its factor, add them up, and you have the calories.

These factors work well for most foods, but not all. In a 2012 USDA feeding study, almonds delivered about 129 kcal per 28 g serving, while the Atwater factors predicted 168 to 170 kcal, an overestimate of 32%. [4] The factors are averages, and some foods don't fit them. For more on this, see how accurate calorie labels are.

Are calorie app databases accurate?

It depends on what is in them. A 2020 Belgian study compared the food database of one popular consumer app against a national reference database, using 4-day food records from 50 people. The app's data contained some extreme, likely wrong values. After the researchers set upper limits and removed them (2.8% of entries), energy intake from the app agreed closely with the reference (a correlation of 0.96). [5] The lesson is that a large database is useful, but entries that nobody has checked can quietly skew a day's total.

How do calorie apps calculate calories burned?

In two layers. First, your resting burn, from a BMR equation. A widely used one is Mifflin-St Jeor, built in 1990 from measurements of 498 healthy adults. It needs only your weight, height, age and sex. [6] Everything you do on top of resting then has to be added, either with an activity factor or from the exercise you log. See how the Mifflin-St Jeor equation works for the full formula and its accuracy.

Second, exercise, usually from MET values. A MET says how many times your resting rate an activity costs. The values come from the Compendium of Physical Activities, whose 2024 edition lists 1,114 activities. [7] The standard 1 MET (3.5 ml of oxygen per kg per minute) overestimated measured resting metabolism by about 35% on average in a study of 769 adults, so the authors recommended using each person's own resting rate instead. [8] We go through the arithmetic in the MET calories burned formula.

How Crumb Count calculates calories

Here is what the app actually does with each of those four pieces.

The food catalogue. Crumb Count ships with 6,410 foods built from the Indian Nutrient Databank and USDA FNDDS survey foods, stored on your phone so search works offline. Every row was checked before it went in. Its calories have to agree with 4 × protein + 4 × carbohydrate + 9 × fat to within 30% or 30 kcal, and the macros have to look plausible for the food. Rows that failed were dropped. So you don't get an entry whose calories contradict its own macros.

Portions you actually use. One tap logs a katori (150 g), a bowl (250 g), a cup (200 ml), a glass (250 ml) or a tablespoon. Rotis, idlis, dosas and parathas count by the piece. There is no standard katori, so you can always change the grams (here is why a katori has no fixed size).

Typing or photographing a meal. On Pro, you can type a sentence like "2 rotis and a katori of rajma" or photograph the plate. You get an itemised list, and every line stays editable, so you can fix the amount in katori, grams or pieces. A photo estimate is an estimate, especially for portion size. Crumb Count doesn't keep the photo: it is analysed and discarded, and the privacy policy explains the short time the AI provider may hold a copy.

Your resting burn. Crumb Count uses Mifflin-St Jeor, or Katch-McArdle if you enter a body-fat percentage. Your daily burn is either that figure times an activity level you choose, or your resting burn at a sedentary level plus the workouts you actually log, so exercise isn't counted twice.

Workouts. Most of the app's 1,000+ exercises and sports use the Compendium MET values. Treadmill and running use the ACSM equations. Burn is calculated as MET × (BMR ÷ 1440) × minutes, so 1 MET is your own resting rate per minute, not the textbook constant. If you pair a watch that writes to Health Connect, a session can show the watch's measured calories instead, and your steps can count toward your daily burn.

The working shown. Settings has a Help screen with the formulas and your own numbers plugged in: your resting rate, your 1 MET in kcal per minute, and how a session's burn was split across exercises.

What no app can do

Every number above is an estimate. The database describes a typical dish, Atwater factors are averages, and BMR equations and METs describe groups of people better than any one person. [4] [6] [8] What an app can do is be consistent and open about its working, so you can compare your log with your weight trend over a few weeks and adjust.

Crumb Count is free on Android through Google Play. The food catalogue, workout tracking and burn models need no subscription, and AI meal logging is part of Pro. The iPhone version is not out yet, but you can join the waitlist on our home page.

Sources

  1. Vijayakumar A, Dubasi HB, Awasthi A, Jaacks LM. Development of an Indian food composition database. Curr Dev Nutr. 2024;8(7):103790.
  2. USDA FoodData Central. Data documentation: Food and Nutrient Database for Dietary Studies (FNDDS).
  3. FSSAI. Food Safety and Standards (Labelling and Display) Regulations, 2020, regulation 5(3)(e). Consolidated Version-II, 29.12.2021.
  4. Novotny JA, Gebauer SK, Baer DJ. Discrepancy between the Atwater factor predicted and empirically measured energy values of almonds in human diets. Am J Clin Nutr. 2012;96(2):296–301.
  5. Evenepoel C, Clevers E, Deroover L, et al. Accuracy of nutrient calculations using the consumer-focused online app MyFitnessPal: validation study. J Med Internet Res. 2020;22(10):e18237.
  6. Mifflin MD, St Jeor ST, Hill LA, et al. A new predictive equation for resting energy expenditure in healthy individuals. Am J Clin Nutr. 1990;51(2):241–247.
  7. Herrmann SD, Willis EA, Ainsworth BE, et al. 2024 Adult Compendium of Physical Activities: a third update of the energy costs of human activities. J Sport Health Sci. 2024;13(1):6–12.
  8. Byrne NM, Hills AP, Hunter GR, Weinsier RL, Schutz Y. Metabolic equivalent: one size does not fit all. J Appl Physiol. 2005;99(3):1112–1119.

This article is general information, not medical advice. If you have a medical condition, are pregnant, or have a history of disordered eating, talk to a doctor or registered dietitian before changing how you eat or train.