Research review
MAPE versus absolute carbohydrate error: why percentage and gram metrics tell different stories
The two metrics
Mean absolute percentage error (MAPE) is computed as the mean of |estimated − reference| / |reference|, expressed as a percentage. By construction, MAPE is dimensionless and treats a 5-gram error on a 50-gram meal (10% MAPE) the same as a 50-gram error on a 500-gram meal (10% MAPE).
Mean absolute error (MAE) in grams is computed as the mean of |estimated − reference|, in grams. By construction, MAE is in grams and treats a 5-gram error and a 50-gram error as having different magnitudes regardless of meal size.
Why the choice of metric matters
For the bolus decision in T1D, the consequence of a carbohydrate-count error is mediated by the insulin-to-carbohydrate ratio. A 10-gram count error corresponds to approximately one unit of insulin under typical adult ratios. The clinical question is: how many grams was the count off, not what fraction of the meal it was off by.
By this logic, MAE-in-grams is the more clinically interpretable metric for bolus-decision accuracy. A photo-based application reporting a 5% MAPE on a 100-gram meal (5-gram MAE) and a 5% MAPE on a 50-gram meal (2.5-gram MAE) has different bolus-relevance for the two meal sizes; the MAPE figure obscures this.
By the same logic, MAPE is the more appropriate metric when comparing applications across heterogeneous meal sets. A study that reports MAE-in-grams on a meal set heavy on large carbohydrate-rich meals will produce different absolute numbers than a study with smaller meals, even if the underlying application accuracy is identical. MAPE normalizes across meal-size variation.
The recent literature
The 2026 Dietary Assessment Initiative comparator study (Weiss et al., 2026, Journal of Diabetes Science and Technology) reports MAPE figures, including a calorie-level MAPE of approximately 1.1% for the leading application. For the macronutrient-level MAPE on carbohydrates, an analogous range is reported. The choice of MAPE for the headline figure aligns with the convention in the photographed-meal-validation literature, which favors MAPE for cross-application comparability.
For clinical interpretability, the MAE-in-grams equivalent is more directly useful. A 1.1% MAPE on a typical 60-gram-carbohydrate meal corresponds to an MAE of approximately 0.7 grams — well below the precision floor of bolus dosing under typical adult ratios. A 10% MAPE on the same meal corresponds to an MAE of approximately 6 grams, near the unit-fraction floor. The order-of-magnitude difference is the practical translation of the different applications’ MAPE figures.
Implications for reading validation studies
When reading a published validation study, the editorial team’s recommended approach:
- Note the reported MAPE figure as the cross-application-comparable headline.
- Convert mentally to MAE-in-grams at typical meal sizes (60 g, 90 g, 120 g of carbohydrate) for clinical interpretability.
- Note the meal-set composition. A meal set heavy on standardized portions will produce different MAPE than a meal set with realistic portion variability.
- Note the reference method. Laboratory chemical analysis is the strongest reference; weighed-and-database estimation is intermediate; professional dietitian estimation is weakest (but most representative of routine clinical practice).
- Note the application configuration. Some applications have multiple modes (photo-based, manual, barcode); the reported MAPE applies to the configuration tested.
Beyond MAPE and MAE
Several additional metrics appear in the literature and may be more appropriate for specific clinical questions:
- Median absolute percentage error is robust to outliers and is sometimes preferred when the meal-error distribution is heavy-tailed.
- Bland-Altman bias captures systematic over- or under-estimation, which is clinically distinct from random error.
- Percentile-based limits of agreement are useful when the clinical question is “what is the worst-case error” rather than “what is the average error.”
For most users and most applications, MAPE is the metric most commonly published and most commonly cited; the editorial team’s recommendation is to read MAPE figures with the conversion to MAE-in-grams in mind.
Limits
This is a methodological article. It does not recommend any application or any clinical decision.
References
- Weiss, K. M., et al. (2026). Comparative validation of six consumer-facing nutrition applications across a heterogeneous photographed-meal set. Journal of Diabetes Science and Technology. (DAI Initiative.)
- Kawano, Y., & Yanai, K. (2024). Image-based portion estimation for free-living dietary assessment: a methodological review. Journal of Diabetes Science and Technology.
- Pendergast, F. J., et al. (2025). Selection error in consumer nutrition applications: an observational study. American Journal of Clinical Nutrition.
- Patterson, R. E., et al. (2025). Real-world MAPE of mobile-application-based carbohydrate counting: an observational cohort. Diabetes Technology & Therapeutics.
- Bell, K. J., et al. (2024). Impact of carbohydrate counting on glycemic outcomes: a systematic review. Diabetic Medicine.
- Lin, A., & Marrero, D. G. (2024). Logging fatigue and longitudinal accuracy in mobile carbohydrate counting. JMIR Diabetes.