FatCalc

Macro Calculator

Last updated · By FatCalc

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.

Macro Calculator
 kcal 
For a Balanced Diet of 2000 kcal
Carbs: 57% = 1140 kcal = 285 grams
Protein: 18% = 360 kcal = 90 grams
Fat: 25% = 500 kcal = 56 grams
  

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.

For a 2,000 kcal daily intake, the IOM ranges work out to:
Macro% of calorieskcalGrams
Carbs45–65%900–1,300225–325 g
Protein10–35%200–70050–175 g
Fat20–35%400–70044–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.

Macro split of each diet preset, as a percentage of calories. Select a diet to read its description.

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

DietCarbsProteinFat
Balanced214 g68 g42 g
Low Fat244 g64 g30 g
Low Carb94 g105 g78 g
High Protein150 g131 g42 g
Standard Keto30 g83 g117 g
High Protein Keto26 g124 g100 g
Mediterranean169 g64 g63 g
Paleo113 g113 g67 g
Vegetarian199 g64 g50 g
Vegan225 g56 g42 g
Gluten-Free195 g68 g50 g

Macros for 2,000 Calories a Day

DietCarbsProteinFat
Balanced285 g90 g56 g
Low Fat325 g85 g40 g
Low Carb125 g140 g104 g
High Protein200 g175 g56 g
Standard Keto40 g110 g156 g
High Protein Keto35 g165 g133 g
Mediterranean225 g85 g84 g
Paleo150 g150 g89 g
Vegetarian265 g85 g67 g
Vegan300 g75 g56 g
Gluten-Free260 g90 g67 g

Macros for 2,500 Calories a Day

DietCarbsProteinFat
Balanced356 g113 g69 g
Low Fat406 g106 g50 g
Low Carb156 g175 g131 g
High Protein250 g219 g69 g
Standard Keto50 g138 g194 g
High Protein Keto44 g206 g167 g
Mediterranean281 g106 g106 g
Paleo188 g188 g111 g
Vegetarian331 g106 g83 g
Vegan375 g94 g69 g
Gluten-Free325 g113 g83 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

Enter your daily calorie target and choose a diet type to see your carbohydrates, protein, and fat as percentages, calories, and grams. To fine-tune the ratios, press Customize and use the arrows on each macro bar; the other two macros adjust to keep the total at 100%, and Reset restores the diet's defaults.
Macronutrients are the main components of food that provide energy: carbohydrates, proteins, and fats. Each plays a unique role in your diet and overall health. Carbohydrates are the main fuel for your brain and for intense exercise, protein supports muscle repair and growth, and fat is essential for hormone production, brain function, and the absorption of fat-soluble vitamins.
There is no single best ratio. Weight loss comes from eating fewer calories than you burn, and trials comparing low-fat and low-carb diets find similar weight loss after a year. A higher protein share, about 25% to 35% of calories, makes the deficit easier to sustain and helps preserve muscle, but the best ratio is the one you can stick with.
The Recommended Dietary Allowance for healthy adults is 0.8 grams per kilogram of body weight a day (about 0.36 grams per pound), a minimum rather than a target for active people. The International Society of Sports Nutrition recommends 1.4 to 2.0 g/kg for people who exercise regularly. For building or keeping muscle with weight training, 1.6 to 2.2 g/kg is generally advised, toward the top of that range during weight loss. The Protein Intake Calculator works out a personal target.
The Standard Keto preset gets 8% of calories from carbohydrates, 22% from protein, and 70% from fat: about 40, 110, and 156 grams on 2,000 kcal a day. The carbohydrate limit matters most; most people need to stay around 20 to 50 grams a day to reach and stay in ketosis.
Alcohol supplies about 7 kcal per gram but is not one of the three macronutrients, so the calculator does not give it a target. Its calories still count toward your daily total. A common approach is to take the alcohol's calories out of your carbohydrate or fat allowance: divide them by 4 to find the grams of carbs to drop, or by 9 for grams of fat. Any sugar in beer, wine, or mixers counts as carbohydrate as usual. The Alcohol Calorie Calculator shows the calories in a drink from its pour size and ABV.
Net carbs are total carbohydrates minus fiber, and sometimes minus sugar alcohols. Fiber is only partly digested, so it supplies fewer calories than other carbohydrates and has little effect on blood sugar. The carbohydrate grams in this calculator are total carbohydrates, which matches the Total Carbohydrate line on US nutrition labels; labels in many other countries list carbohydrate with fiber already excluded. For most diets, tracking total carbohydrates is simpler and accurate enough. People following a keto or low-carb diet often track net carbs instead, since fiber does not count against the carbohydrate limit that keeps them in ketosis. "Net carbs" is not a regulated term, and sugar alcohols vary in how much they affect blood sugar, so treat net carb claims on packaging with some caution.
The Balanced, Vegetarian, Vegan, and Gluten-Free presets fall within standard IOM guidelines and are appropriate for most healthy adults. Low Fat, High Protein, and Mediterranean sit just outside one IOM range each, by design, and stay close to the guidelines. Low Carb and Paleo fall well below the carbohydrate range and above the fat range, since cutting carbohydrates is what defines them. Some diets require more consideration: Keto and High Protein Keto differ substantially from conventional guidelines and are not appropriate for everyone, particularly people with kidney disease, or with diabetes treated with insulin or SGLT2 inhibitors, who should only start under medical supervision. Paleo eliminates entire food groups, which can affect micronutrient intake. Vegan diets require careful planning to ensure adequate protein bioavailability, omega-3 fatty acids, vitamin B12, iron, and calcium. Consult a healthcare professional or registered dietitian before starting any restrictive dietary pattern.

References

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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