We are pleased to announce that on March 4, 2025, an updated Rich Text Editor will be introduced in the MyFitnessPal Community. To learn more about the upcoming changes, please click here. We look forward to sharing this new feature with you!
myfitnesspal macros and calories calculated how?

sedgrepawk
Posts: 2
Hi,
I'm trying to figure out how myfitnesspal calculates calories because I come up with different numbers than the site. I've always been told 1g carb = 4 cal, 1g protein = 4 cal, and 1g fat = 9cal.
When I look at my totals for today, it says i've had 212g of carb, 53 fat, and 163 protein. This should be 212*4+53*9+163*4 = 1977 calories. However, the website and app are reporting 1876 calories --- which is 101 calories less than my calculation. Why?
I'm perplexed because I'm trying to hit a 2000 cal goal per day. The app says I have had the 1876 calories today, thus 124 calories left. It also says the macros remaining are -12 carbs (at too many), 3 fat, and 12 protein. It's just not adding up; 3g fat and 12g protein would be 75 calories total!
Thanks!
I'm trying to figure out how myfitnesspal calculates calories because I come up with different numbers than the site. I've always been told 1g carb = 4 cal, 1g protein = 4 cal, and 1g fat = 9cal.
When I look at my totals for today, it says i've had 212g of carb, 53 fat, and 163 protein. This should be 212*4+53*9+163*4 = 1977 calories. However, the website and app are reporting 1876 calories --- which is 101 calories less than my calculation. Why?
I'm perplexed because I'm trying to hit a 2000 cal goal per day. The app says I have had the 1876 calories today, thus 124 calories left. It also says the macros remaining are -12 carbs (at too many), 3 fat, and 12 protein. It's just not adding up; 3g fat and 12g protein would be 75 calories total!
Thanks!
0
Replies
-
I tried your calculation method using a few product labels. Using your calculations all the labels had the wrong calorie count! MFP matched the labels for the same foods.0
-
I'm not sure that MFP does any calculation for the calories based on macros. I always assumed it just uses the total caloric content that was used when the food was added to the database.0
-
Roughly 4 and 9 kcals a gram.0
-
Hmm. Strange. It seems the whole point of myfitnesspal is for numbers to add up. Wish someone from the website could chime in.0
-
There is no math in MFP and there really couldn't be. The FDA requires rounding so partial values don't appear. In most cases the rounding is upwards. Also, insoluble fiber is included in the carb grams but excluded from calories. For some foods this can cause a very significant difference. Did you have any fiber or energy bars today? They often have a high amount of insoluble fiber.
Of course, human error can cause rather large errors. If a user enters an item into the database and miskeys or omits a value then the math won't be anywhere close. There are items that have only calories or have a very obvious typo. You may want to check the individual items to see if any appear off.
Finally, alcohol calories will cause the math to go awry, although in the other direction. This fourth category of calories doesn't appear on the tracker but will be in the calories.
If you're a total dork like me and want to read up on the FDA regs, here is the link.
FDA Food labeling guide
http://www.fda.gov/Food/GuidanceRegulation/GuidanceDocumentsRegulatoryInformation/LabelingNutrition/FoodLabelingGuide/default.htm0
This discussion has been closed.
Categories
- All Categories
- 1.4M Health, Wellness and Goals
- 394.3K Introduce Yourself
- 44K Getting Started
- 260.5K Health and Weight Loss
- 176.1K Food and Nutrition
- 47.5K Recipes
- 232.7K Fitness and Exercise
- 442 Sleep, Mindfulness and Overall Wellness
- 6.5K Goal: Maintaining Weight
- 8.6K Goal: Gaining Weight and Body Building
- 153.1K Motivation and Support
- 8.1K Challenges
- 1.3K Debate Club
- 96.4K Chit-Chat
- 2.5K Fun and Games
- 4K MyFitnessPal Information
- 16 News and Announcements
- 1.2K Feature Suggestions and Ideas
- 2.7K MyFitnessPal Tech Support Questions