Macro Calculator
This tool calculates your macronutrient (macro) needs based on your daily calorie requirements and dietary preferences. It breaks down the appropriate proportions and quantities of fats, proteins, and carbohydrates to consume, expressed both as a percentage of total calories and as grams per day. Tracking macros in grams rather than counting calories gives you a clearer picture of what you are actually eating and why it matters.
Not sure of your daily calorie target? Estimate it with the TDEE Calculator for All Ages, or see how to set your macros for weight loss or muscle gain below.
The calculator offers predefined macro ratios for eleven diet types. See the descriptions below. You can also fine-tune the ratios for any diet using the Customize button, which enables the arrow controls on each macro bar. Adjusting one macro automatically redistributes the remainder to keep the total at 100%.
Suggested Macronutrient Intakes
According to the Food and Nutrition Board of the Institute of Medicine (IOM), 45% to 65% of your total calorie consumption should come from carbohydrates, 10% to 35% from protein, and 20% to 35% from fat.
To turn those percentages into amounts, multiply your daily calories by each percentage, then divide by the calories in one gram: 4 kcal for carbohydrate and protein, and 9 kcal for fat.
| Macro | % of calories | kcal | Grams |
|---|---|---|---|
| Carbs | 45–65% | 900–1,300 | 225–325 g |
| Protein | 10–35% | 200–700 | 50–175 g |
| Fat | 20–35% | 400–700 | 44–78 g |
The combined quantity of carbohydrates, protein, and fat determines the total caloric intake of a macro diet. The suggested IOM ranges are broad enough to accommodate the needs of most physically active individuals.
Diet Types
The calculator includes eleven evidence-based diet presets. Each uses default ratios within the ranges set by peer-reviewed guidelines and research for that diet. A brief description of each is provided below.
Balanced Diet — Carbs 57% · Protein 18% · Fat 25%
The balanced diet aligns with the IOM Acceptable Macronutrient Distribution Ranges (AMDR). It is the most broadly applicable starting point and suits the majority of healthy adults regardless of activity level. No food group is restricted, making it sustainable and easy to follow long-term.
Low Fat Diet — Carbs 65% · Protein 17% · Fat 18%
A low-fat diet targets fat intake at or below 20% of total calories, with carbohydrates compensating at 60–70%; very-low-fat programs such as Ornish's go as low as 10%. It is most commonly recommended for individuals managing LDL cholesterol or cardiovascular risk, and has a strong evidence base in those populations.
Low Carb Diet — Carbs 25% · Protein 28% · Fat 47%
A clinically defined low-carb diet restricts carbohydrates to below 26% of total calories — roughly under 130 grams per day on a 2,000 kcal intake. Fat rises to compensate while protein is moderately elevated to support satiety and muscle retention. This pattern is well-studied for weight loss and blood sugar management.
High Protein Diet — Carbs 40% · Protein 35% · Fat 25%
Protein is elevated to 30–40% of calories, consistent with the Zone diet. Higher protein intake promotes satiety, supports lean muscle mass, and is particularly effective when combined with resistance training. Fat and carbs are kept moderate to avoid excess saturated fat while maintaining training fuel.
Standard Keto Diet — Carbs 8% · Protein 22% · Fat 70%
The standard ketogenic diet keeps carbohydrates at or below 10% of calories (20–50 grams per day) to induce nutritional ketosis, a metabolic state in which the body burns fat as its primary fuel. Fat is elevated to 65–75% and protein is capped at around 20–25%, since excess protein may be converted to glucose and suppress ketosis. This diet has strong evidence for epilepsy management and is widely used for fat loss.
High Protein Keto Diet — Carbs 7% · Protein 33% · Fat 60%
A modified ketogenic approach that elevates protein to 30–35% to maximize lean muscle retention during fat loss, while still sustaining mild-to-moderate ketosis. Fat is reduced slightly compared to standard keto to accommodate the higher protein load. This pattern is popular among athletes and bodybuilders who want the fat-burning benefits of ketosis without sacrificing muscle.
Mediterranean Diet — Carbs 45% · Protein 17% · Fat 38%
Characterized by high intake of monounsaturated fats from olive oil and nuts, moderate fish and legume protein, and carbohydrates from whole grains and vegetables. The PREDIMED trial demonstrated significant cardiovascular benefits. Fat is higher than standard guidelines (35–40%) but is predominantly cardiovascular-protective. It is consistently ranked among the healthiest and most sustainable dietary patterns.
Paleo Diet — Carbs 30% · Protein 30% · Fat 40%
Based on estimated macronutrient patterns of pre-agricultural hunter-gatherer populations. The diet eliminates grains, legumes, dairy, and processed foods, relying on lean meats, fish, eggs, nuts, seeds, fruit, and non-starchy vegetables. Fat and protein are both elevated relative to typical diets; carbs are lower and come entirely from whole-food sources. Individual results vary considerably depending on food selection within the diet.
Vegetarian Diet — Carbs 53% · Protein 17% · Fat 30%
A vegetarian diet excludes meat and fish but includes dairy and eggs. It naturally trends higher in carbohydrates due to greater reliance on grains, legumes, and fruit. Protein comes from dairy, eggs, legumes, and soy, and makes up a slightly smaller share of calories than in a typical omnivore diet. Fat comes from dairy, eggs, nuts, seeds, and plant oils. Macro ratios fall within IOM AMDR guidelines.
Vegan Diet — Carbs 60% · Protein 15% · Fat 25%
The vegan diet excludes all animal products and is one of the highest-carbohydrate patterns in the calculator due to exclusive reliance on plant foods. Protein is a smaller share of calories because plant foods supply less of it; since plant protein is somewhat less digestible, aim for slightly more in grams than the Recommended Dietary Allowance of 0.8 grams per kilogram of body weight. Fat comes from nuts, seeds, avocado, and plant oils; ensuring adequate omega-3 fatty acids (ALA, EPA, DHA) requires deliberate food choices or supplementation.
Gluten-Free Diet — Carbs 52% · Protein 18% · Fat 30%
A gluten-free diet is an exclusion diet rather than a macronutrient-defined diet — it removes wheat, barley, and rye, but does not inherently alter the balance of fat, protein, or carbohydrates. The macro ratios therefore stay close to the balanced diet, with slightly more fat and fewer carbohydrates. It is medically necessary for individuals with celiac disease or non-celiac gluten sensitivity. Note that many processed gluten-free products are higher in fat and sugar than their gluten-containing equivalents; whole-food gluten-free sources such as rice, potato, quinoa, and certified gluten-free oats are preferred.
Macros in Grams for Common Calorie Targets
The tables below show the daily grams of carbohydrates, protein, and fat for each diet preset at three common calorie targets. They use the same ratios and rounding as the calculator; for any other target, enter your calories above.
Macros for 1,500 Calories a Day
| Diet | Carbs | Protein | Fat |
|---|---|---|---|
| Balanced | 214 g | 68 g | 42 g |
| Low Fat | 244 g | 64 g | 30 g |
| Low Carb | 94 g | 105 g | 78 g |
| High Protein | 150 g | 131 g | 42 g |
| Standard Keto | 30 g | 83 g | 117 g |
| High Protein Keto | 26 g | 124 g | 100 g |
| Mediterranean | 169 g | 64 g | 63 g |
| Paleo | 113 g | 113 g | 67 g |
| Vegetarian | 199 g | 64 g | 50 g |
| Vegan | 225 g | 56 g | 42 g |
| Gluten-Free | 195 g | 68 g | 50 g |
Macros for 2,000 Calories a Day
| Diet | Carbs | Protein | Fat |
|---|---|---|---|
| Balanced | 285 g | 90 g | 56 g |
| Low Fat | 325 g | 85 g | 40 g |
| Low Carb | 125 g | 140 g | 104 g |
| High Protein | 200 g | 175 g | 56 g |
| Standard Keto | 40 g | 110 g | 156 g |
| High Protein Keto | 35 g | 165 g | 133 g |
| Mediterranean | 225 g | 85 g | 84 g |
| Paleo | 150 g | 150 g | 89 g |
| Vegetarian | 265 g | 85 g | 67 g |
| Vegan | 300 g | 75 g | 56 g |
| Gluten-Free | 260 g | 90 g | 67 g |
Macros for 2,500 Calories a Day
| Diet | Carbs | Protein | Fat |
|---|---|---|---|
| Balanced | 356 g | 113 g | 69 g |
| Low Fat | 406 g | 106 g | 50 g |
| Low Carb | 156 g | 175 g | 131 g |
| High Protein | 250 g | 219 g | 69 g |
| Standard Keto | 50 g | 138 g | 194 g |
| High Protein Keto | 44 g | 206 g | 167 g |
| Mediterranean | 281 g | 106 g | 106 g |
| Paleo | 188 g | 188 g | 111 g |
| Vegetarian | 331 g | 106 g | 83 g |
| Vegan | 375 g | 94 g | 69 g |
| Gluten-Free | 325 g | 113 g | 83 g |
How to Set Your Macros for Weight Loss or Muscle Gain
A diet preset gives you a ratio, but the right macros for losing fat or building muscle depend on two things a ratio can't set on its own: your calorie target and your protein intake in grams. Three steps get you there.
Step 1: Find Your Maintenance Calories
Start with your total daily energy expenditure (TDEE), the number of calories that keeps your weight stable. The TDEE Calculator for All Ages estimates it from your age, sex, height, weight, and activity level.
Step 2: Adjust Calories for Your Goal
To lose fat, eat less than your TDEE. A deficit of about 500 kcal a day is a common starting point and works out to roughly 0.5 kg (1 lb) a week at first. Weight loss slows over time, because a lighter body burns fewer calories. Women should not go below about 1,200 kcal a day, or men below 1,500, without medical supervision. The Calorie Deficit Calculator for Realistic Weight Loss Goals works out a realistic deficit and timeline, and the Calorie Calculator to Lose, Maintain or Gain Weight plans the daily calories to reach a goal weight.
To build muscle, eat a little more than your TDEE and train with weights. A review of nutrition for bodybuilders recommends a surplus of about 10% to 20% above maintenance, aiming to gain 0.25% to 0.5% of your body weight a week. For a 75 kg (165 lb) person, that is roughly 0.2 to 0.4 kg (0.4 to 0.8 lb) a week. Beginners can aim toward the top of that range, while experienced lifters should stay nearer the bottom, since gaining faster mostly adds fat. If you are new to training or returning after a break, you may be able to lose fat and build muscle at the same time; the Body Recomposition Calculator estimates calorie and protein targets for that.
Step 3: Set Protein in Grams, Then Choose a Diet
When your goal is changing your body composition, set protein from your body weight rather than as a percentage of calories. A meta-analysis of resistance training studies found no further gains in muscle mass from protein intakes above about 1.6 grams per kilogram of body weight a day, and 1.6 to 2.2 g/kg (about 0.7 to 1.0 grams per pound) is the range generally recommended for people who lift weights. Aim toward the top of the range while in a calorie deficit, when muscle is harder to keep.
A percentage can miss that range in either direction. For a 70 kg (154 lb) person, 1.6 to 2.2 g/kg is 112 to 154 grams a day. At 1,500 kcal, the Balanced preset gives only 68 grams of protein, well short of the target; at 2,500 kcal, the High Protein preset gives 219 grams, far more than needed. So pick a preset, check its protein grams against your target, and use Customize to move protein up or down until it fits. Carbohydrates and fat then share the remaining calories. The Protein Intake Calculator works out a gram target from your weight, activity, and goals.
Which Diet Presets Suit Each Goal?
For weight loss, any preset works as long as your calories and protein are right, so choose the one you can stick with. The High Protein, Low Carb, and High Protein Keto presets make the protein target easiest to reach at lower calories, which helps with hunger and with keeping muscle.
For muscle gain, the same bodybuilding review recommends at least 3 to 5 grams of carbohydrate per kilogram of body weight a day to fuel training, or 225 to 375 grams for a 75 kg (165 lb) person. At 3,000 kcal, the Balanced, High Protein, and Mediterranean presets all fall in or above that range, while the keto presets supply only 53 to 60 grams. Protein also adds up at higher calories: even the Balanced preset's 18% of 3,000 kcal is 135 grams.
What Are the Benefits of Tracking Macros Instead of Counting Calories?
Tracking macros doesn't replace counting calories; it includes it. Your total calories still decide whether you lose, maintain, or gain weight, and every calorie you eat comes from carbohydrate, protein, or fat (or alcohol). Because grams convert straight to calories, at 4 kcal per gram of carbohydrate or protein and 9 kcal per gram of fat, hitting all three macro targets puts you on your calorie target too. What macros add is information about what those calories are made of.
Protein shapes what you lose or gain. It is the most filling macronutrient and helps you keep muscle while you lose fat, yet a calorie count alone won't tell you whether a day's food delivered 50 grams of protein or 150.
Carbohydrate targets show where your energy comes from. Tracking carbs makes it easier to see how much comes from fiber-rich foods such as vegetables, legumes, fruit, and whole grains, which fill you up for fewer calories, and how much from sugar and refined starch. The Institute of Medicine recommends about 14 grams of fiber for every 1,000 kcal you eat, or 28 grams a day on a 2,000 kcal diet.
Fat is where calories add up fastest. At 9 kcal per gram, small amounts matter: one tablespoon of olive oil adds about 120 kcal. A fat target makes cooking oils, nuts, and dressings visible in a way a rough calorie estimate often misses. It also works as a floor, since too little fat makes it harder to absorb the fat-soluble vitamins A, D, E, and K.
Some diets are defined by their macros. A ketogenic diet only works if carbohydrates stay low enough to maintain ketosis, and a high-protein or low-fat plan only does what it promises if you actually reach the ratio. Tracking that macro is the only way to know you are following the diet.
Tracking all three macros takes more effort than counting calories, and it doesn't need to be exact. If tracking everything feels like too much, start with total calories and protein, which have the most effect on weight and body composition, and add carbohydrate and fat targets once that becomes routine.
Frequently Asked Questions about Macros
References
- A review by M.M. Manore, published in Current Sports Medicine Reports (2005), examined how the Institute of Medicine's nutrition recommendations apply to physically active individuals. View
- The Institute of Medicine's Dietary Reference Intakes report (2005), published by the National Academies Press, establishes the Acceptable Macronutrient Distribution Ranges used as the foundation across diet presets in this calculator. View
- A study by D. Ornish, L.W. Scherwitz, J.H. Billings, and colleagues, published in JAMA (1998), demonstrated that intensive lifestyle changes, including a low-fat diet, can reverse coronary heart disease. View
- A paper by E.C. Westman, R.D. Feinman, J.C. Mavropoulos, and colleagues, published in the American Journal of Clinical Nutrition (2007), reviewed the science of low-carbohydrate nutrition and its effects on metabolism. View
- Research by D.K. Layman, R.A. Boileau, D.J. Erickson, and colleagues, published in the Journal of Nutrition (2003), found that a lower carbohydrate-to-protein ratio improved body composition and blood lipid profiles during weight loss in adult women. View
- A review by A. Paoli, A. Rubini, J.S. Volek, and K.A. Grimaldi, published in the European Journal of Clinical Nutrition (2013), examined the therapeutic applications of very-low-carbohydrate ketogenic diets beyond weight loss, including their established use in epilepsy management. View
- A study by J.S. Volek, M.J. Sharman, D.M. Love, and colleagues, published in Metabolism (2002), investigated changes in body composition and hormonal responses following a carbohydrate-restricted diet, informing the High Protein Keto preset. View
- The PREDIMED trial by R. Estruch, E. Ros, J. Salas-Salvadó, and colleagues, published in the New England Journal of Medicine (2018, a republication of the 2013 original with corrected analyses), demonstrated that a Mediterranean diet significantly reduced the risk of major cardiovascular events compared to a low-fat control diet. View
- Research by L. Cordain, J.B. Miller, S.B. Eaton, and colleagues, published in the American Journal of Clinical Nutrition (2000), estimated the plant-to-animal food ratios and macronutrient profiles of traditional hunter-gatherer diets worldwide, forming the scientific basis for the Paleo preset. View
- The American Dietetic Association's position paper on vegetarian diets, authored by W.J. Craig and A.R. Mangels and published in the Journal of the American Dietetic Association (2009), reviewed the health implications and nutritional considerations of vegetarian eating patterns. View
- A review by D. Rogerson, published in the Journal of the International Society of Sports Nutrition (2017), provided practical guidance on meeting macronutrient and micronutrient needs, including protein, omega-3 fatty acids, and vitamin B12, on a vegan diet for active individuals. View
- A meta-analysis by R.W. Morton, K.T. Murphy, S.R. McKellar, and colleagues, published in the British Journal of Sports Medicine (2018), found that protein intakes above about 1.6 g/kg of body weight per day produced no further resistance training-induced gains in fat-free mass. View
- A review by J. Iraki, P. Fitschen, S. Espinar, and E. Helms, published in Sports (2019), set out nutrition recommendations for building muscle, including a 10–20% calorie surplus, weight gain of 0.25–0.5% of body weight per week, 1.6–2.2 g/kg of protein, and at least 3–5 g/kg of carbohydrate per day. View