Flexible Dieting Macro Calculator

Ultimate Macro Calculator

This macro calculator shows your optimal macronutrients and calories based on your age, height, weight, gender, and activity level. Use your results with macro counting or flexible dieting/IIFYM to lose fat or gain muscle.



Current Weight


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

Activity Level





Get Faster Results! Join the 11,000+ successful people who use The Macro Solution



Why Macros are Important

The foods we eat are made up of three “macros” (macronutrients). These macros are carbohydrates (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.

These 3 macronutrients (macros) are from which the human body obtains energy and raw materials for growth and repair.

What Are the Right Macros for You?

The right macros for you are based on your personal Total Daily Energy Expenditure (TDEE) and goals.

Our macro calculator defaults at the best macro ratio that’s proven to work for the most number of people. You should achieve your goals using the default setting.

However, there is nothing wrong with adjusting this ratio if needed. Perhaps you’re an extreme endomorph and do better with fewer carbs. Or, perhaps you only have one kidney and need to eat less protein. You can adjust the macros to levels that are right for you personally with a little math, which is explained in detail here.

How to Calculate the Right Daily Protein Amount

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.

Using the Macro Calculator to Calculate Daily Fat Amount

Fats are set at 30% of daily energy expenditure. This is a healthy moderate amount that most people do well with and is based on recommendations by nutritional guidelines.

When choosing foods that contain fat, focus on getting predominately healthy fats as part of that 30%.

Using the Calculator to Calculate the Right Carb Amount

After protein and fat are calculated, the calculator assigns the remainder of your calories as carbohydrates. This usually results in a moderate amount of carbs that are in the healthy range recommended for most people. Carbs fuel your body and workouts and are the body’s preferred energy source.

Many people coming from a “low carb” type of dieting may feel like this calculator calculates carbs on the high side. However, this is a moderate amount of carbs according to respected nutritional guidelines and the notion that carbs cause weight gain or prevent fat loss when eaten in relation to your TDEE has been debunked.

How the Calculator Adjusts Your TDEE Based on Your Goals

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

You can easily use the macro calculator to adjust your energy levels to lose fat, maintain your current weight, or gain muscle.

By default, the results are for losing 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.

See the full guide to macro ratios here.

Setting the Calculator for Weight Loss (Fat Loss)

  • The Lose button puts you in a 20% calorie deficit which promotes safe, steady weight loss.
  • The Lose 10% button 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.

For Maintaining Your Current Weight

The Maintain button shows you the macro levels that will keep you at your current weight. This is good for people who have lost weight and who don’t want to gain the weight back.

Settings for Gaining Weight or Building Muscle

The Gain button 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.

Some people may want to use the maintenance button and then gradually increase calories from there if they want their muscle gains to be lean.

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.

How Do I Calculate My Daily Macros

By default, the results show the number of grams of each macronutrient you should eat each day. Simply make sure you have eaten those macro amounts by the end of the day.

How Do I Calculate My Macros for a Meal

Click on meal numbers to split this into a “per meal” basis for counting macros. For some people, this is easier, while for others it becomes too much to keep track of. Do what works for you. Either method is fine.

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

Setting Activity Level Accurately

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 (the breakdown of muscle fiber). This is not a good thing, and can actually stall your weight loss, so if you love to exercise, eat up!

Which App is Best for Tracking Macros?

After you have your personal macro calculations, you need to determine the macros in all the foods you eat. By tracking and counting them each day, you can reach your recommended macro targets that encourage fat loss, muscle gain, or whatever your goal may be.

While this may seem like a lot of work, there are some really good smartphone macro apps that do most of the work for you. We rank the best macro tracking apps here so you can get started tracking quickly.

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!

Accelerate Your Diet and Fitness Goals with My Macro Solution System

Step-by-step self-guided program -or- fully customized personal macros coaching. Feel exhilarated as you conquer your goals!


  • 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
  • Grundy, S. M. (1999). The optimal ratio of fat-to-carbohydrate in the diet. Annual review of nutrition, 19(1), 325-341. abstract
Ted Kallmyer BA, M.Ed., is an ISSA certified Specialist in Fitness Nutrition, Certified Trainer, the author or Healthy Eater, and a professional nutritional coach. If you need help reaching your weight loss/fitness goals see his personal coaching options.
Last Updated: February 17, 2021


  1. Sarah 15 hours ago

    New to this. So got a lot of learning to do. Fingers crossed I can make some good progress in my weight loss. Heard amazing things about the product.

  2. Nik Bale 1 day ago

    Gonna look into a macro counting app right away!

  3. Andrea Boyn 6 days ago


  4. Trish Ingram 2 weeks ago

    Hi there I love your information and this is the most understanding I’ve gained about figuring out macros. But how do I combine this knowledge with carb cycling as well. Any advice is greatly appreciated.

    • Ted Kallmyer (Certified Macro Coach) 1 week ago

      Hi Trish, Carb cycling isn’t needed and just adds restriction here’s an article I’ve written on the subject. Carb Cycling While Flexible Dieting

  5. Charlotte Morgan 1 month ago

    Hi Ted, I always sleep late now and wake up at around noon/midday, because I snack a lot more now than I did when I was younger, so I don’t eat breakfast in the mornings anymore because I’m scared of accidentally gaining weight. So I just have two meals a day now, something at lunch and then a cooked meal at dinner, with snacks for the rest of the day. I never used to do this when I was younger but like I said I didn’t snack much at all back then either. My diet is a lot more varied now, with some “junk” foods thrown in as well as fruits and veggies etc. It never used to bother me when I was younger but I was a lot skinnier back then, and people say I look much healthier now. But I’m scared now that if I start getting up early in the mornings again, then I would have to eat a morning meal, and then, throughout the rest of the day, consume too low or too little calories which will lead to me unintentionally losing or gaining too much weight? Could you maybe help me past this? If it works for me, whatever the reason for doing it is, and it satisfies me, then there’s no reason to worry or try to change it, right? Otherwise, how would you give advice on how to change this habit? Would it just be a matter of adjusting portion sizes if I’m eating too much or too little? Thanks.

    • Ted Kallmyer (Certified Macro Coach) 1 month ago

      Hi Charlotte, Thanks for sharing. It can be pretty freeing to understand how much energy your unique body needs during a 24 hour period and then learning how to eat to accomplish your goals in relation to that amount. What’s also great is the flexibility it offers. You can still have those foods/snacks you love and you can still eat during an 8-10 hour window if you want to. I’d be happy to calculate everything for you and get you started on the journey the right way. Please check out my coaching options and we’ll take it from there.

  6. Zuzana 2 months ago

    I have to stop Keto diet as I have some health complications and malnutritioned myself.
    Skipping meals and doing IF altogether with 5x a week exercise has led me to almost collapse.
    Please do not judge me🙈
    I have had eating disorder at younger age.
    I am 5ft 6inches and 115 pounds.
    If I gain weight I want to gain it through muscles and stop being so obsessed with carbs.
    Is it ok to start also with exercise or first adjust my macros and then add the exercise.
    Thank you.

    • Ted Kallmyer (Certified Macro Coach) 2 months ago

      Hi Zuzana, No judgment here. The dieting world is a place full of misinformation and bad advice. You want to factor two sets; A rest day set and an exercise day set. Start at your maintenance levels and then gradually add a bit more to promote lean gains. Macros for Gaining Muscle and Cutting Fat

  7. Ava 2 months ago

    Hi Ted, can you please help me calculate my macros? I’m counting my macros and have been doing so for a few months and losing weight. I’m lifting heavy daily and very active daily. My current macros are here: 2020 calories made up of 110g protein // 60 g fat // 260 g carbs and the scale is continuing to drop. I’m 35 yo and 133 lbs. I am pregnant and need help calculating my macros now – assuming the current breakdown of macros above is not my maintenance – what should my current maintenance be and I know based on the “maintenance” level I need to add 300 calories for pregnancy trimesters 1-2. What do you recommend?

    • Ted Kallmyer (Certified Macro Coach) 2 months ago

      Hi Ava, Great job so far and pregnancy does indeed complicate things. I’d have to look at everything in detail before I could calculate things for you and could only do so as part of my coaching services here: Personalized Macros Coaching

  8. Debbie Smith 2 months ago

    Looking forward to results

  9. Robert 2 months ago

    I am a 40 year old male, trying to lose body fat and according to this website, I should be eating 215 gms of carbs, and 155g of protein. I was curious, if your trying to lose weight/body fat you decrease your carb intake? is this accurate or can you provide more clarity regarding this.


    • Ted Kallmyer (Certified Macro Coach) 2 months ago

      Hi Robert, Counting macros reduces calories (energy consumption) in a balanced way instead of targeting one macro group. It’s more precise because it is looking at the energy needs of someone with your unique stats and then establishes a safe deficit. Restricting carbs is just a method of calorie restriction and carbs in of themselves aren’t the problem. Here’s a good article of mine to read that will give you more info. concerning this method: What is Flexible Dieting? A Macro Based Diet Plan to Get Started Quickly