Skip to content

How does MyFitnessPal calculate your goal? The algorithm explained

4 min read

According to MyFitnessPal, the app uses the Mifflin-St. Jeor equation as a basis to calculate your goal, widely considered the most accurate estimation. This article explores the precise inputs and steps MyFitnessPal takes, from your basal metabolic rate to your activity level, to help you understand how your goal is set.

Quick Summary

MyFitnessPal determines your calorie target using your basal metabolic rate (BMR), activity level, and weight goals. Exercise is added back as 'earned' calories, while regular weigh-ins lead to automatic goal adjustments based on progress.

Key Points

  • Mifflin-St. Jeor Equation: MyFitnessPal uses this formula with your age, gender, height, and weight to calculate your basal metabolic rate (BMR).

  • Activity Level Multiplier: The app multiplies your BMR by a factor based on your self-reported activity level to estimate your total daily energy expenditure (TDEE).

  • Weight Goal Adjustment: A calorie deficit or surplus is applied to your TDEE based on your chosen rate of weight loss or gain, typically involving a +/- 500 calorie adjustment.

  • Dynamic Exercise Calorie 'Earns': When you log exercise, the calories burned are added to your daily budget, allowing you to consume more food while staying on track with your net calorie goal.

  • Automatic Goal Refinement: Your calorie targets are automatically re-calculated as you log weight changes, ensuring your goals remain accurate for your current body weight.

  • Customizable Macros (Premium): While a default macro split is provided for free users, Premium members can customize macro percentages for more targeted dietary plans.

In This Article

The Foundational Calculation

MyFitnessPal's system for determining a user's daily calorie goal is based on a few key pieces of information you provide when setting up your account. The core of this calculation relies on scientifically-backed metabolic formulas, modified by your activity and goals. Understanding these components can help you optimize your tracking for better results.

Basal Metabolic Rate (BMR)

The first step is for the app to estimate your Basal Metabolic Rate (BMR). Your BMR is the number of calories your body burns at rest to perform basic life-sustaining functions like breathing, circulation, and cell production. MyFitnessPal uses the Mifflin-St. Jeor equation for this calculation, which is considered more accurate than the older Harris-Benedict formula.

To calculate your BMR, MyFitnessPal uses the following inputs:

  • Gender: A key factor as hormonal differences affect metabolism.
  • Age: Metabolism naturally slows with age.
  • Height: A taller person has more body mass and requires more energy.
  • Weight: Your current body weight is a primary determinant of metabolic output.

Total Daily Energy Expenditure (TDEE)

Once the app has an estimate of your BMR, it then multiplies that number by an activity factor to account for your daily movement and exercise. This provides your Total Daily Energy Expenditure (TDEE), an estimate of the total calories you burn in a day. When you set up your account, you are prompted to select your typical daily activity level from a list. The options are generally:

  • Sedentary: Little to no exercise.
  • Lightly Active: Light exercise 1–3 days per week.
  • Moderately Active: Moderate exercise 3–5 days per week.
  • Very Active: Hard exercise 6–7 days per week.
  • Extra Active: Very hard exercise and a physical job.

Adjusting for Your Goal

With your TDEE established, MyFitnessPal then modifies this number based on your specific weight loss or weight gain goal. Since approximately 3,500 calories equals one pound of body fat, a weekly goal of losing one pound requires a daily deficit of 500 calories (3500 divided by 7). The app makes similar adjustments for weight gain or maintenance goals. This results in your initial daily calorie target.

Dynamic Adjustments from Exercise

One of the unique features of MyFitnessPal's system is how it handles exercise. Instead of setting a high calorie target and expecting you to meet it through exercise, it calculates a net calorie goal. This means you start with a lower calorie budget, and as you log exercise, the calories you burned are added back into your daily allowance, allowing you to eat more. The formula is:

  • Calories Consumed (Food) - Calories Burned (Exercise) = Net Calories

This approach helps users stay consistent with their weekly goals, especially those who exercise regularly.

The Role of Macronutrients

Beyond total calories, MyFitnessPal also sets default macronutrient targets for carbohydrates, protein, and fat. The standard distribution for free users is 50% carbs, 20% protein, and 30% fat. However, this is a very general setting. Premium users and those with more specific needs can customize their macro percentages to better align with specific dietary plans, such as high-protein or low-carb approaches. It's important to remember that for any health or fitness plan, especially with specific macro targets, consulting a qualified nutritionist or dietitian is recommended.

Default vs. Premium Features

For users seeking more control, MyFitnessPal Premium offers several key advantages regarding goal setting and tracking.

Feature Default (Free) Calculation Method Customization (Premium)
BMR Equation Uses the accurate Mifflin-St. Jeor equation. No change to the underlying formula.
Activity Level Multiplier is based on your chosen activity level. You can choose a 'not very active' baseline and rely on synced exercise data for greater accuracy.
Macro Split Fixed percentages: 50% carbs, 20% protein, 30% fat. Allows customization of macro percentages and even setting different macro goals for different days.
Calorie Adjustments Adjusts based on weight check-ins and logged exercise calories. Offers more precise control over exercise adjustments and syncing with fitness trackers.

The Importance of Consistent Tracking

For MyFitnessPal's algorithm to function optimally, consistent tracking and regular weigh-ins are essential. The app uses new weight entries to re-calculate and adjust your daily calorie goals, ensuring your targets remain relevant to your current body composition. If you stop logging, the app cannot make these crucial dynamic adjustments. This regular refinement loop is key to the app's effectiveness.

Conclusion

So, how does MyFitnessPal calculate your goal? It’s a multi-stage process that uses your personal data to generate a basal metabolic rate, factor in your activity level, and then adjust based on your specific weight goals. While the algorithm provides a robust and scientifically-backed starting point, the power of MyFitnessPal lies in its dynamic nature, constantly refining your goals as you log food, record exercise, and update your weight. While a great tool, remember to consider personalized professional advice for the most accurate health guidance. For more detailed information on calculating calorie needs, check the MyFitnessPal blog for helpful guides.

Frequently Asked Questions

MyFitnessPal uses the Mifflin-St. Jeor equation to estimate your basal metabolic rate. This is widely considered one of the most accurate BMR estimation formulas available.

Yes. MyFitnessPal will automatically adjust your calorie goal as you lose weight, provided you regularly update your weight in the app. This ensures your goal remains relevant to your current metabolism.

MyFitnessPal calculates a 'net calorie' goal. When you log exercise, it credits you with the calories burned, effectively increasing your daily budget to maintain your intended weight loss rate.

While the free version provides a default macro distribution (50/20/30), Premium users can customize their macronutrient percentages. This can be done in the app's Goals settings.

To promote healthy eating habits, MyFitnessPal will not set a goal lower than 1200 calories per day for women or 1500 calories per day for men.

Your chosen activity level acts as a multiplier for your BMR. A higher activity level results in a higher initial TDEE, and therefore a higher baseline calorie goal.

Yes, you can sync many fitness trackers and other apps with MyFitnessPal. This allows the app to factor in your specific daily activity and calorie burn more accurately than a fixed activity level.

References

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Medical Disclaimer

This content is for informational purposes only and should not replace professional medical advice.