Flexible Dieting Macro Calculator

Calculate your optimal macronutrient ratios based on your age, height, weight, gender, and activity level. Use your results with macro counting, flexible dieting, or IIFYM to lose weight, maintain, or gain muscle.



Current Weight


Formula ?If you know your body fat %, Lean Mass formula may be more accurate.

Activity Level





Need Help? Join over 7,000 clients achieving lifechanging results with our new program - The Macro Solution



What Are Macros?

Each of the foods we eat are made up of three “macros” (macronutrients). These macros are carbohydrate (carbs), protein, and fat. Chicken is high in the protein macro, but has no carbs. Rice is high in carbs, but very little fat or protein.

This calculator tells you the best ratio of macros that you should eat to achieve your goals. From there, you need to determine the macros of all the foods you eat. By counting them each day, you can reach a target that leads to fat loss.

Macro counting is extremely successful, and can free you from the “good food, bad food” mindset.

You don’t need to make radical shifts in your diet, nor deprive yourself from your favorite foods. Just make sure you are within your macro counts for each day, and you’re good to go!

If you need help, we publish some extensive guides here.

Lose, Maintain, or Gain?

This macro calculator gives you the ability to adjust your macros at 4 different goal settings.

  • Lose puts you in a 20% calorie deficit which promotes safe, steady weight loss.
  • Lose 10% puts you in a 10% calorie deficit and is intended for those with less than 10 pounds to lose and who also wish to build muscle at the same time.
  • Maintain allows you to eat at macro levels that will keep you at your current weight.
  • Gain puts you in a 20% calorie surplus and is designed for people who are wanting to build muscle fast in conjunction with a comprehensive weight training program. It can also be used by people who are underweight.

How Do You Calculate the Macros?

The following formula is used:

  1. Protein ratio is set at .825 grams per pound of bodyweight.
  2. Fats are set at 25% of daily energy expenditure.
  3. Carbohydrate grams come from the remainder.

Daily energy expenditure is calculated from your age, gender, height, weight, and exercise output.

See the full guide to macro ratios here.

Which Formula – Normal or Lean Mass?

The default (normal) formula is fine for most people. However, there are some exceptions.

1. If you are very lean (low body fat percentage) the default formula may not be accurate. Use the “Lean Body Mass” setting. This uses a formula that factors specific body fat percentage into the equation and since muscle tissue burns many more calories than fat tissue while even at rest, it will give you a higher TDEE. This is perfect for “athletic body types” that want to use macro counting to gain more muscle mass.

2. If you are classified as obese and have a lot of weight to lose, the standard formula will not be accurate because the equation used, factors for an average body fat percentage. If you happen to be above average it will skew the results. Please see this article for more clarification on how to do macro counting if you are obese.

You can calculate your ideal body weight here.

Adjusting Protein

Setting protein to Low adjusts the ratio to .65 grams per pound of body weight. Higher will set to 1 gram / lb.

Higher protein levels may be helpful if you have a strength training component in your exercise routine. There are many differing opinions about this.

Try starting at the Normal level. If however you do a lot of lifting (3 times a week or more), then set to the High level.

Counting Macros per Meals per Day

By default, the results show the amount of grams of macronutrient should be eaten each day. Click on meal numbers to split this into a “per meal” basis for counting macros.

See our Healthy 5 Day Flexible Meal Plan. It includes 3 meals and 2 snacks per day.


By default, the results are for maintaining weight. Select either lose or gain if you are trying to lose fat or gain muscle. These are good starting points, but you may have to play around with your macros until you find your personal goal-reaching sweet spot. You can then count macros until you reach your desired goal.

Activity Level

A higher activity level means a higher daily calorie goal (TDEE). For example; if you can maintain your weight at 2,000 calories per day, then adding vigorous daily exercise to this means you need more calories to maintain your weight.

Figure out your activity level using the Calories Burned Calculator.

The same rule applies even if your goal is to lose weight.

If you are sedentary and your goal is to lose weight, your calorie goal might be (for example) 1,600 calories per day. If you decide to start exercising, the calculator will increase your daily calorie goal (say, to 1,800 calories/day). Although it may seem counter-intuitive, more energy is required to fuel your workouts, and your metabolism is increased – therefore calories should be higher.

Many people struggle with which exercise level to choose. Basically each level breaks down as follows:

  • Sedentary: Just normal everyday activity like a little walking, a couple flights of stairs, eating etc.
  • Light: Any activity that burns an additional 200-400 calories for females or 250-500 calories for a males more than your sedentary amount.
  • Moderate: Any activity that burns an additional 400-650 calories for females or 500-800 calories for males more than your sedentary amount.
  • Extreme: Any activity that burns more than about 650 calories for females or more than 800 calories for males in addition to your sedentary amount.

This varies based on your individual stats, but you can get a more specific amount of calorie burn by simply subtracting your sedentary calorie amount from the chosen exercise level amount.

You also need to determine how many calories you are burning: For this use an exercise database or a good app like MapMyFitness or a device like FitBit.

Too much physical activity combined with low calories could lead to muscle catabolism (breakdown of muscle fiber). This is not a good thing, and can actually stall your weight loss, so eat up!

If you need some inspiration, check out these incredible transformation stories of from people who used counting macros to reach their goals.

You'll Love Our Macro Solution Program

Step-by-step ebooks, or fully customized personal macros coaching. Now with complete vegan edition.


  • Mifflin, M. D., St Jeor, S. T., Hill, L. A., Scott, B. J., Daugherty, S. A., & Koh, Y. O. (1990). A new predictive equation for resting energy expenditure in healthy individuals. The American Journal of Clinical Nutrition, 51 (2), 241-247. Link
  • McArdle, W. D., Katch, F. I., & Katch, V. L. (2010). Exercise physiology: nutrition, energy, and human performance. Lippincott Williams & Wilkins. Link
  • Lemon, P. W., Tarnopolsky, M. A., MacDougall, J. D., & Atkinson, S. A. (1992). Protein requirements and muscle mass/strength changes during intensive training in novice bodybuilders. Journal of Applied Physiology, 73(2), 767-775. study abstract link


  1. Damon 5 days ago

    Hope I will gain more muscle

  2. Kris Blankenship 2 weeks ago

    What is the definition of “light” activity vs. moderate? I workout at Orangetheory 4x a week for an hour each class. So 30 mins of HIIT cardio, 30 mins of weights.

    • Ted Kallmyer 2 weeks ago

      Hi Kris, We have it defined in the article below the calculator. That should help make it more clear.

  3. Alicia 2 weeks ago

    I’ve been tracking my macros and the protein says to hit 111g and 154g carbs. I’m usually always over on protein and hit around 130 and my carbs are under 154 but my total calories are still at what they should be or a little under. Is this ok if I’m trying to loose weight?

    • Alicia 2 weeks ago


    • Alicia 2 weeks ago

      I do also want to gain muscle and I workout with dumbbells.

    • Ted Kallmyer 2 weeks ago

      Hi Alicia, There’s always some wiggle room when it comes to macro ratios and the calculator is giving you a good place to start but it’s not set in stone. If what you’re doing is working then keep doing it. If it’s not helping you reach your goals then you may have to adjust things.

  4. Gail 2 weeks ago

    What should my macros be if I’m
    59 years old 4”11” weight is 151 and at a sitting job?

    • Ted Kallmyer 2 weeks ago

      Hi Gail, plug your stats into the calculator and choose sedentary, low protein. The macro totals default by showing your daily totals but you can switch this to meals by clicking the number of meals you want it to divide your macros by.

  5. Gail 2 weeks ago

    On the macros is it at the end of the day you make sure your in range? Or is it every meal??!

  6. Eleanor 3 weeks ago

    Hi, I am a vegetarian who doesn’t have dairy either so find it hard to take in a good amount of protein each day. I sometimes have more eggs or a vegan protein shake but it’s never enough. I am 22, 5ft 6, 140lbs w/roughly 22% bf, do light exercise and want to lose weight as well as strengthen myself. The macros suggest I eat 219g carbs (49. 1%) 115g pro (25.9%) and 50g fat (25%), this is with protein set as normal. I’ve tried tracking macros before and find I only hit 10-12% protein on a regular day or 15-18% on days I really push for more protein. Do you have any advice for someone with a diet like mine to lose weight as well as gain strength and take in more protein? Thanks, Eleanor 🙂

  7. Tara 4 weeks ago

    Hi! At the normal protein setting, it says my carb goal is 42g per meal… my brain tells me that it’s a little too high… also, do veggies count as carbs?

    • Ted Kallmyer 4 weeks ago

      Hi Tara, Your brain is misleading you. Carbs in themselves do not cause weight gain or prevent weight loss when eaten in relation to your weight loss TDEE. Yes, veggies count towards your carb total and a little to your protein goal as well. A few veggies also have a bit of fat. Also, it’s better to divide your macros over 3 meals and 2 snacks so that you’re eating about 2-3 hours.

  8. Devyn 1 month ago

    How do you calculate for a breastfeeding mom. Baby is only 7 weeks and eats often

  9. DJ 1 month ago

    So is the goal to stay under your macros or hit that exact amount? I.e is the macros listed the maximum amount you should be getting or are they the daily aim

    • Ted Kallmyer 1 month ago

      Hi DJ, You goal is to hit your targets as closely as possible. We encourage people to try to be within 5 grams of your macro targets.

  10. Naina 1 month ago

    Hi Ted,

    So as per your suggestion I was looking to readjust my macros in MFP after losing 10lbs. However, i soon realized that since i don’t have the premium version it doesn’t let me adjust my macros at 1% increment and therefore i need to round it of to the nearest 5% increment. By doing so my macros are still the same (40C,30P,30F) as before when I was 10lbs heavier. Is there a better way to adjust or represent it? If not, how do i ensure i continue losing weight?

    • Ted Kallmyer 1 month ago

      Hi Nania, with 10 pounds lost you won’t see that much difference in your macros. About 2-3 grams lower in carbs and protein and 1 gram lower in fat. Therefore, don’t stress over it and continue as is. Great job on the 10 pounds, that’s awesome!

      • Naina 1 month ago

        Thank you! 😊👏😊

  11. BG 2 months ago

    What if my activity varies day to day? 3 days I run 10km-20km (road and trail) 3 days I do strength work, and 1 or 2 days, I rest. so is it moderate? light?

    • Ted Kallmyer 2 months ago

      For people who have varying degrees of activity, often it’s a good strategy to use your sedentary TDEE as your base and then add in the calories burned by various exercises. This way you are eating better in tune with what your body needs on a given day. We show you how to set this up in MyFitnessPal here.