Macronutrients | MyFitnessPal’s Evaluated Calories |
---|---|
![]() |
![]() |
Each gram of carbohydrate or protein has 4 calories and each gram of fat has 9 calories. By calculating the calories by hand (156 * 4 + 52 * 9 + 83 * 4)
you end up with 1424 calories, which is 44 more calories than MyFitnessPal claims. If someone were to unknowingly eat 44 extra calories everyday for a year that ends up being 16060 extra calories or 4.6 pounds of body weight.
Well when companies create nutrition labels, they usually round down, and as a result the more you eat, the less accurate the calorie count becomes. You can find the exact rounding rules here. Thus, the app I am creating calculated the calories directly from the macronutrients.
Main Screen | Search Screen |
---|---|
![]() |
will be added soon |
to try it out git clone, cd nutrin
and run flutter pub get
and then flutter run
.
Author: lhao03
Source Code: https://github.com/lhao03/nutrin-macro-tracking-app
#flutter #dart #mobile-apps