Methods & sources.
The calculation methods and data references used in MealFit development. Values are estimates; preparation, portions, activity, and individual circumstances can affect the result.
Last updated: October 10, 2026
BMR / resting energy
Resting energy needs
MealFit’s code uses the Mifflin-St Jeor equation to estimate resting energy needs from weight, height, age, and a sex parameter. It is a prediction, not a direct measurement.
BMR = 10 × weight (kg) + 6.25 × height (cm) − 5 × age (years) + 5
BMR = 10 × weight (kg) + 6.25 × height (cm) − 5 × age (years) − 161
The result estimates resting energy needs in kcal per day.
Mifflin et al. (1990). A new predictive equation for resting energy expenditure in healthy individuals.TDEE
Estimated daily energy
MealFit multiplies the resting-energy estimate by a user-selected activity factor: 1.2, 1.375, 1.55, 1.725, or 1.9. These are practical app assumptions, not factors validated by the Mifflin study. The FAO/WHO/UNU reference below discusses energy requirements and physical activity broadly; it does not validate these exact multipliers.
WHO · Nutrition
Fibre and daily intake limits
For adult profiles with a calorie target, MealFit uses at least 25 g fibre/day and less than 2,000 mg sodium/day (about 5 g salt). Fibre is a minimum; sodium is a limit, not an amount to reach.
Free sugars are limited to less than 10% of daily energy; 5% or less may offer additional benefits. Saturated fat is limited to no more than 10%. Gram limits follow the calorie target: at 2,000 kcal, less than 50 g free sugars and no more than about 22.2 g saturated fat.
Saturated fat: kcal × 0.10 ÷ 9 g/day
Free sugars include added sugars and sugars in honey, syrups and juices. Total sugar is different and is not compared with the free-sugar limit. Cards show 0 when no value has been recorded. This does not establish that a food contains none of that nutrient when source data is incomplete. Free sugars are not inferred from total sugar. These are daily guidelines, not allowances for each meal.
WHO. Healthy diet — fibre, free sugars and saturated fat.WHO. Sodium reduction — adult intake below 2,000 mg/day.Reynolds et al. (2019). Carbohydrate quality and human health. The Lancet.BMI
Body mass index
BMI is weight divided by height squared. It is a general adult screening index, not an individual diagnosis or direct body-composition measurement.
Food data
Food composition & labels
The development backend includes the Indonesian Ministry of Health’s TKPI 2020 catalogue, Open Food Facts product data, and additional provider adapters. TKPI values use 100 g of edible portion. Product data should be checked against the actual label and serving size. The source attached to each food result matters more than any single reference for all foods.
- Kementerian Kesehatan RI (2020). Tabel Komposisi Pangan Indonesia.
- Open Food Facts. Open food-product data and licensing (ODbL).
- FatSecret Platform API. Additional nutrition-provider integration.
- RDA / NICS Korea. National Standard Food Composition Table.
- MFDS Korea. K-FIND Food and Nutrient Database.
- MEXT Japan. Standard Tables of Food Composition, 2023 supplement.
- FAO/INFOODS. Food composition databases.
- AndraFarm. Tabel Komposisi Pangan Indonesia (TKPI).
If a food is not found in the database, MealFit may use AI to estimate its calories and nutrients. These values are AI estimates rather than values retrieved from a food database. Actual values may differ depending on ingredients, cooking methods, and portion size. Review the food name, portion, and nutrient values before saving.
MET
Estimated exercise calories
MET (Metabolic Equivalent of Task) describes activity intensity. For exercises with a MET value, MealFit uses body weight in kg and duration in minutes. The Compendium of Physical Activities provides intensity references; the value used follows each exercise’s app metadata.
This estimates total energy during activity, including the resting component. The app’s per-set MET calculation uses a one-minute minimum for shorter completed sets.
Duration-based exercises, such as dead hangs and planks, also use this MET formula. Per-set calorie duration comes from the recorded start-to-finish time, converted to minutes. Pull-ups can be logged by repetitions, but calorie estimates still use MET, body weight, and active time rather than repetition count alone. Unfinished sets or sets without start/end timestamps are excluded; without a valid MET value, the calorie estimate is 0.
Treadmill
Distance, duration, and incline
MealFit’s dynamic treadmill logging uses the ACSM running equation. Speed v is distance in metres divided by duration in minutes; grade g is incline (%) divided by 100. The generic calculator also contains the walking equation, but treadmill logging with distance data routes to the running equation.
VO₂ running = 0.2v + 0.9vg + 3.5
VO₂ walking = 0.1v + 1.8vg + 3.5
kcal = VO₂ × weight (kg) ÷ 200 × minutes
VO₂ is expressed in ml/kg/min. Energy conversion assumes approximately 5 kcal per litre of oxygen. Running and walking equations have different application conditions; the current app does not automatically switch between them by speed.
Hall et al. (2004). Energy expenditure of walking and running: comparison with prediction equations.Cycling
Power-based or MET-based estimates
For dynamic exercises requiring watts, such as stationary cycling, MealFit uses power and duration. The 3.6 factor is an app approximation assuming roughly 24% metabolic efficiency; it is not the ACSM cycling VO₂ equation. Exercises configured with MET use the MET formula above.
In the workout summary, watts from completed sets are averaged arithmetically. This depends on the entered power and does not account for individual efficiency differences. Cycling distance alone is not used as a substitute for power.
Compendium of Physical Activities. Cycling intensity references.Food recognition
Identify, review, confirm
Food identification and nutrition lookup are separate processes. AI results, food names, portions, and nutrition estimates need confirmation or editing before saving.