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 or flexible dieting to lose fat or gain muscle.



Current Weight


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

Activity Level





Want Results? Join over 9,000 successful clients using 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 of 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 but this can be adjusted depending on your individual stats and goals.
  2. Fats are set at 30% 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 Moderate adjusts the ratio to .65 grams per pound of body weight. This is appropriate for sedentary individuals or for people with higher body fat percentages.

High is appropriate for people who are active, do moderate strength training, and have an average body fat percentage.

Maximum will set to 1 gram / lb. This is appropriate for those who are wanting to gain weight/muscle mass and do intense training.

We go into greater detail about how to choose an appropriate protein level when counting macros so give that article a read if you’re still unsure.

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 our exercise calorie burn MET database or a good app like MapMyFitness or a wearable device like FitBit or Apple Watch. (Note that activity trackers tend to overestimate calorie burn.)

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
Ted Kallmyer is an ISSA certified Specialist in Fitness Nutrition and is our lead macro coach. If you need help reaching your weight loss/fitness goals see our personal coaching options.


  1. Jenny 4 days ago

    Hi Ted, I am 17 and I have lost 10 kilos in the past 4-6 months. My goal is to build muscle and burn slightly more fat, is this possible? I have been eating at around 1100-1300 calories since 4-6 months. I weigh 56kg and 156cm tall. What and how much should I be eating?
    Thank you!

    • Ted the Macro Coach 3 days ago

      Hi Jenny, You’ll have to up your calories if you want to add some muscle. I suggest you use the calculator and then do “lose 10” and max protein. I can calculate everything for you but only if you sign up for our macros-coaching program.

      • Jenny 3 days ago

        Thank you Ted, I will surely sign up for the macros-coaching program and get back to you!

        • Ted the Macro Coach 2 days ago

          Awesome, I look forward to coaching you.

  2. Nancy 1 week ago

    Hello Ted! I’m 5’6 and 134 pound female. I have a desk job but I workout 5 days a week (1hr) and other 2 days I go for hike anything ranging from 5-10miles hike. I’m confused about activity level. Main goal is to loose body fat and I’m not worried about weight. Currently, I am taking 1300 cal with 100-120 gm protein, 40-50 fat and 150gms of carbs. I have also tried 1600 and 1800 calories. But I’m not loosing much body fat. I’m stagnant . Should I try with activity level as moderate? Please suggest.

    • Ted the Macro Coach 6 days ago

      Hi Nancy, You definitely need to be eating more. You’re already at a healthy weight for your height so it seems like you should set the calculator to moderate exercise and “lose 10” this will allow you to strengthen muscle tissue and lose fat tissue slowly.

      • Nancy 5 days ago

        Thanks Ted. I’ll try it. Should I also try max protein ?

        • Ted the Macro Coach 5 days ago

          Sure, since that would cap at 1 gram per pound which would fine in your case.

  3. Marian Spencer 1 week ago

    Looking for a good app(free) to count protein, carbs and fat. One that I can put my daily percentage goal in for each one.

  4. Debo 1 week ago

    Hi there! Would love some help with this. I’m 5’9”, 157 pounds with a body fat percentage of 17% currently, and I don’t know how many calories I should be eating, so I’ve kept it around 1750 t0 1850 range.
    Is that about right considering the following?:

    I am training to potentially do a bikini contest in a few months and want to healthily decrease my weight. I workout 6 days a week, with 4 days of strength training/weight lifting, 2 days of HIIT cardio, and one day of rest. I’m super new to this, so I wonder how much protein and carbs I should be consuming in particular. My trainer told me I need to gain muscle in this stage, and cut later on, so that’s about where I’m at.


    • Debo 1 week ago

      OH! And I’m 28 years old.

    • Ted the Macro Coach 1 week ago

      Hi Debo, What does the calculator tell you? It seems like what you need is some coaching. Based on your comment, I really can’t give a recommendation because I don’t know enough about your workout and other lifestyle factors. Perhaps consider coaching where I can put a detailed plan together for you. Personalized Macros Coaching

  5. Tracie Banks 1 week ago

    Hello, I’m 5’2 and 232 pound and I’ve lost 32 lbs so far. I’m struggling with setting my macros in cal but I’m doing a 1500 cal diet but I never reach my protein but end up goin over in carbs. I workout 6 days a week doing strength/ cardio HIIT workouts.

    • Ted the Macro Coach 1 week ago

      Hi Tracie, Thanks for stopping by. Since you have a fair bit of fat tissue weight (greater than 50 pounds) you need to adjust for that which the calculator doesn’t do. Also, this fat tissue weight skews the protein calculation causing you to think you need more than you do. In your case, it’s probably best if an expert like myself calculates everything for you. I offer several different options here: Personalized Macros Coaching

  6. Kate 2 weeks ago


    How would I adjust my macros if I’m breastfeeding ? I read the article but there seem to be some typos on the math section (the adjusted example uses the same numbers as the original example and I’m not sure where the 400 came from) so I’m not exactly sure how to adjust the numbers that were given to me !

    I was told: 1513 calories with 144g Carbs (37.9%) 121g Protein (32.1%) and 50
    G Fat (30%). I’m 29 and 5’7”.

    I was relatively fit before pregnancy and I am down to my pre-pregnancy weight but my body composition is definitely different. Just trying to lose some weight and tone back up, not sure if that has any effect on your response.

    Thanks !

    • Ted the Macro Coach 1 week ago

      Hi Kate, I just looked at the article and there aren’t any typos with the math. In the example given the postpartum woman who had a weight loss TDEE of 1531 calories would now eat 1941 calories with the 400 calorie breastfeeding adjustment. The 400 calories are divided using the percentages for each macro. If you want to lose fat, you’ll have to be in a calorie deficit. Perhaps choose “lose 10” and then add in the 400 calories for breastfeeding and monitor your milk production/supply.

  7. JA 2 weeks ago

    Hi Ted,

    I am confused which activity level to choose between sedentary or light. I used the calculator and just chose sedentary since I have a desk job but I go to the gym at least 3 to 4 times a week and is pretty active. I do strength training and cardio. My goal is to gain weight, which activity level would you recommend?


    • Ted the Macro Coach 2 weeks ago

      Hi JA, You should use sedentary on days you don’t workout and light on days you do. If you find you aren’t gaining weight at a steady rate, then switch to moderate on workout days.

  8. Laura 2 weeks ago

    Hi, really struggling to choose which activity level and protein is right. I am female, 5’2”, 148 lbs. My body fat is pretty high after having my baby. It’s at 40.7% and my muscle is at 25.3% (roughly as I know each scale is different but using a Doctors one). I’m trying to lose fat and gain muscle and hoping to lose a further 22lbs (already lost 14lbs). I play Badminton (doubles) on Monday for 2hrs and on Tuesday, Thursday & Saturday I do 20mins HIIT & 40 min weight training (high weight, low reps. Your help would be muchly appreciated! Thanks

    • Ted the Macro Coach 2 weeks ago

      Hi Laura, You should use sedentary on your rest days and moderate on your workout days. Set your protein to high. All the best!

      • Laura 2 weeks ago

        Thank you so much for taking the time to reply! Really looking forward to seeing results!

  9. Angi 2 weeks ago

    Hello. Can you tell me if all 3 macros need to be consumed together at all meals/snacks? Or is it just important that I stay within the set range for each macro by the end of the day? I have followed a PFC approach in the past, eating all 3 macros together every 3-4 hours, and while I did have great fat % loss, it completely messed with my gut and I had to stop. I love the idea of macros, but not sure my body likes having to combine all 3 together. I’d love your feedback. Thx!

    • Ted the Macro Coach 2 weeks ago

      Hi Angi, You really just need to keep it simple and make sure you are close to your targets by the end of the day. They only timing issues are eating some protein after a workout as well as having some carbs later in that day to help replenish muscle glycogen.

  10. Kayla Fuentes 3 weeks ago

    I’m 5’2” and 150 lbs. I am also 2 weeks postpartum. When I calculate my macros, do I then add the 500 calories into the results of the macro calculator? Also, I’m technically “overweight” so should I set my proteins to moderate rather than high?

    • Ted the Macro Coach 2 weeks ago

      Hi Kayla, Since you have a bit of fat to lose you can use the low end of the breastfeeding adjustment and add 400 calories to the weight loss TDEE the calculator gives you. Yes, set the protein to moderate which will be plenty. Divide up the 400 calories by the same percentages.

  11. Karen Nissen 3 weeks ago

    This calculator does not work for petite women.

    • Ted the Macro Coach 3 weeks ago

      Hi Karen, It has a pretty big range height-wise. What are your stats and what settings did you use?

  12. Ella 3 weeks ago

    Hi! I’m 19 years old (162cm and my weight is 53kg) Im trying to lose fat and build muscle (so on the macro count i chose for the lose 10% option) I am just not sure which activity level i should chose and which protein level (high?) I work out 2-3 times in a week with weights and no weights (no cardio) for 2 hours. Which activity level and protein level should i choose?

    And i also wonder why people dont understand the macro counting, it makes me unsure about whether i get it or not. So for example if I buy a cookie which has 10g protein 30g carbs and 5g fat, i should deduct these numbers from the daily macros im allowed, right? for example from the 1600 calories i deduct those per category(carb/protein/fat)

    • James 3 weeks ago

      Activity level should be light, and protein level can be left at moderate. You are exactly right with your example and understanding.

      • Ella 3 weeks ago

        Im sorry I meant for Ted to answer to my comments/questions..

        another question I have:is it better for me to lose fat first and then build muscle, instead of choosing the lose 10% option/doing it at the same time? or does it not matter?

        • Ted the Macro Coach 3 weeks ago

          Hi Ella, If you’re working out for two hours on a given day, your activity level would be moderate on those days. On the days you don’t workout you should use your sedentary macros. I think 10% would be appropriate. You are already at the lower range of the recommended weight for a woman of your height.

          • Ella 3 weeks ago

            thank you so much!

    • Alexander 2 weeks ago

      Hello! So this is the only thing that is holding me back from changing my entire life from counting calories to IFYM. I am 15 years old , 5 feet 4 inches , 116 pounds and I have lost 14 pounds in 6 weeks. I started at 130 but now I just want to be able to lose that last little bit of belly and get my abs to start being visible and grow muscle mass , the thing is i was eating very low calories 1200-1400 everyday and now my macros are telling me for me to achieve my goals I will need to be eating 284g of carbs , 117g of protein , and 77g of fat and I totally understand everything i’ve studied it for the last 4 hours just the only thing that I have is that isn’t that a lot more food than I was originally eating i’m jus scared that if i eat those macros i’m just going to get fat and go back to 130. I did it today and i ate healthy and good and i enjoyed it a lot i just don’t want this flexible dieting to be good to be true considering i was at very low calorie intake before and now i added 700-800 calories but follow my macros. I also weight train 5 days a week , HIIT 7 days a week and regular cardio 7 days a week. This is long but please reply when you have the chance ! THANK YOU

      • Ted the Macro Coach 2 weeks ago

        Hi Alexander, Since your body is growing and developing, you don’t want a severe deficit especially since you are training heavily. You do need to eat more. You can end up stunting your growth and you don’t want that.

  13. Jay Garcia 4 weeks ago

    Hi Ted
    I’ve started to do a meal plan but I get very confused with how much calories I should be eating. Currently I weigh 133lbs and i’m a 5’7 female w. a sedentary job . I want to gain a few more lbs but with muscle weight. I’m doing toning exercises at home 3x a week. I use resistance bands. So I assume I should be eating 1500-1600 calories the day I work out?? And 1300-1400 calories the days I dont?? Im just worried I’m eating too much for the exercises i’m doing that I’m going to gain fat weight rather than muscle.

    • Ted the Macro Coach 4 weeks ago

      Hi Jay, I would really have to look at your stats, your workout program before I could give you advice concerning your goal. Adding lean muscle weight can be tricky because you don’t want to also add fat tissue. It seems like you’ll still be eating in a calorie deficit most days based on those numbers. Also, you may have to beef up your workout. Perhaps consider one of our coaching options? Personalized Macros Coaching

  14. Sergio Carvajal 1 month ago

    Hi Ted,
    I am new to this and I have an idea of the grams that I should be consuming on daily basis for carbs, protein, & fats. Could you point me to an article to determine how many grams are in my meals that I prepare and how I can count them without a digital scale. That would be of great help. thanks

    • Ted the Macro Coach 1 month ago

      Hi Sergio, It’s gonna be tough to count macros without a digital scale unless you are eating all packaged foods. Fresh Meat is almost always calculated by weight. I suggest you download our book which takes you through the whole system step-by-step. However, we do offer free articles on the site too. For food measuring, this one is good: How To Find Macro Amounts in Foods

      • Luis 4 days ago

        Hi Ted. So I am 18 years old. I am 6’5 and weigh 165 pounds. So I still have some lower belly fat. But it’s most from the front, not much from the sides. Like it still pops out a little. My goal is to try to lose that and try to look leaner. I know the workouts for it, but I want to know with the food that I eat, how much should be fat, how much should be protein, and how much should be carbs.

        • Ted the Macro Coach 4 days ago

          Hi Luis, It seems like the calculator should give you a good estimation. You’re underweight for your height so you probably don’t want to be in too much of a deficit. Set the calculator to “lose 10” and max protein. I can calculate things for you but only if you become a coaching client.