HealthMarch 30, 2026

Macros Calculator: How to Set Protein, Carbs & Fat for Your Goals

By The hakaru Team·Last updated March 2026

Quick Answer

  • *Macros are protein, carbohydrates, and fat. Protein and carbs each provide 4 calories per gram; fat provides 9 calories per gram.
  • *The USDA DRI recommends 45-65% carbs, 20-35% fat, and 10-35% protein for most healthy adults (Dietary Guidelines for Americans 2020-2025).
  • *For weight loss, a 40/30/30 split (protein/carbs/fat) helps preserve muscle while in a calorie deficit.
  • *For muscle building, the ISSN recommends 1.4-2.0 g of protein per kg of body weight daily, paired with a slight calorie surplus.
Health Disclaimer: This guide is for general educational purposes and does not constitute medical or dietetic advice. Individual calorie and macro needs vary based on health status, medications, and medical history. Consult a registered dietitian or healthcare provider before making significant changes to your diet, especially if you have diabetes, kidney disease, or other conditions affecting nutrient metabolism.

What Are Macronutrients?

Macronutrients are the three broad categories of nutrients that supply your body with energy: protein, carbohydrates, and fat. Every calorie you consume comes from one of these three sources. Unlike micronutrients (vitamins, minerals), macros are measured in grams and tracked daily by anyone optimizing body composition.

According to the Dietary Guidelines for Americans 2020-2025, total calorie intake and macronutrient balance are the two strongest dietary levers for managing body weight and metabolic health.

Calorie Density of Each Macro

MacronutrientCalories per GramPrimary Role
Protein4 cal/gMuscle repair, enzymes, hormones
Carbohydrates4 cal/gPrimary energy source, brain fuel
Fat9 cal/gHormone production, fat-soluble vitamins, cell structure

Fat's calorie density is more than double that of protein or carbs, which is why high-fat diets (like keto) can be calorie-dense even with relatively small food volumes.

USDA Recommended Macro Ranges

The USDA Dietary Reference Intakes establish Acceptable Macronutrient Distribution Ranges (AMDRs) for healthy adults. These are ranges, not single targets, because optimal intake varies by individual.

MacronutrientAMDR (% of Calories)On a 2,000-Calorie Diet
Carbohydrates45–65%225–325 g/day
Fat20–35%44–78 g/day
Protein10–35%50–175 g/day

Source: Dietary Guidelines for Americans 2020-2025, U.S. Department of Agriculture and U.S. Department of Health and Human Services. The wide protein range (10-35%) reflects how dramatically needs differ between a sedentary older adult and a competitive athlete.

Macro Ratios for 5 Common Fitness Goals

Below are the evidence-based macro splits used by sports dietitians and research institutions for five distinct goals. All percentages are of total daily calories.

GoalProteinCarbsFatKey Priority
Weight Loss40%30%30%Preserve muscle, sustain satiety
Muscle Building25-30%45-50%20-25%Fuel training, maximize protein synthesis
Maintenance20-25%45-55%25-30%Balance and dietary flexibility
Ketogenic (Keto)25%5%70%Achieve and maintain ketosis
Endurance / Cardio15-20%55-65%20-25%Maximize glycogen stores

Weight Loss: 40% Protein / 30% Carbs / 30% Fat

Protein is elevated during a calorie deficit to prevent muscle loss, a phenomenon called muscle-sparing. A 2017 position statement from the International Society of Sports Nutrition (ISSN) found that protein intakes of 1.2-1.6 g/kg/day are optimal for preserving lean body mass during energy restriction, which maps to roughly 35-40% of calories on a moderate deficit.

Muscle Building: 25-30% Protein / 45-50% Carbs / 20-25% Fat

Carbohydrates take center stage for muscle building because they replenish muscle glycogen between training sessions and drive insulin signaling for nutrient uptake. The American College of Sports Medicine (ACSM) recommends 6-10 g of carbohydrate per kg of body weight daily for strength athletes in a mass-building phase. Protein stays high (1.4-2.0 g/kg) to support muscle protein synthesis after every training session.

Ketogenic: 5% Carbs / 25% Protein / 70% Fat

A ketogenic diet restricts carbs to below 20-50 g per day, forcing the liver to produce ketone bodies from fat as the primary fuel. A 2019 review in the Journal of the Academy of Nutrition and Dietetics found keto effective for short-term weight loss and glycemic control in type 2 diabetes, though long-term adherence is challenging and individual response varies widely.

Endurance: 55-65% Carbs / 15-20% Protein / 20-25% Fat

Endurance athletes (runners, cyclists, triathletes) require high carbohydrate intakes to fuel prolonged aerobic exercise. The ACSM recommends 8-12 g/kg/day of carbohydrates during heavy training blocks. Carbohydrate loading before events temporarily pushes intake even higher to maximize glycogen stores.

How to Calculate Your Macros Step by Step

Step 1: Find Your Calorie Target

Your macro targets flow from your daily calorie goal. Start with your Total Daily Energy Expenditure (TDEE) — the number of calories you burn per day accounting for activity level. Use our TDEE Calculator to find yours. Then:

  • Weight loss: TDEE minus 300-500 calories
  • Maintenance: Match TDEE
  • Muscle building: TDEE plus 250-500 calories

Step 2: Apply Your Macro Percentages

Once you have your calorie target, multiply it by each macro's percentage share, then divide by the calorie density to get grams.

  • Protein grams = (daily calories × protein %) ÷ 4
  • Carb grams = (daily calories × carb %) ÷ 4
  • Fat grams = (daily calories × fat %) ÷ 9

Step 3: Example Calculation

A 75 kg person aiming to lose weight with a 1,800-calorie target using a 40/30/30 split:

MacroCaloriesGrams per Day
Protein (40%)720 cal180 g
Carbohydrates (30%)540 cal135 g
Fat (30%)540 cal60 g
Total1,800 cal

Skip the manual math. Our Macros Calculatordoes all of this automatically — enter your calories and goal, get your daily gram targets instantly.

Protein: The Most Important Macro to Get Right

Of the three macros, protein has the strongest evidence for body composition outcomes regardless of goal. It has the highest thermic effect of food (TEF), meaning you burn roughly 20-30% of protein calories just digesting it — compared to 5-10% for carbs and 0-3% for fat. This was confirmed in a 2004 study published in The American Journal of Clinical Nutrition.

Protein is also the most satiating macro. Higher-protein diets reduce hunger hormones (ghrelin) and increase satiety hormones (peptide YY), making it easier to stay in a calorie deficit without feeling deprived.

Protein Intake Recommendations by Goal

GoalProtein (g/kg body weight)Source
Sedentary adult (baseline)0.8 g/kgUSDA DRI
Weight loss (muscle preservation)1.2-1.6 g/kgISSN 2017
Muscle building1.4-2.0 g/kgISSN 2017
Endurance athlete1.2-1.4 g/kgACSM
Older adults (muscle preservation)1.0-1.2 g/kgESPEN Guidelines

Use our Protein Intake Calculator to find your personal daily protein target based on body weight and goal.

How to Track Macros

Tracking macros requires logging the food you eat and tallying protein, carbs, and fat grams against your daily targets. The most reliable methods:

Food Labels

Every packaged food in the United States is required to list total fat, total carbohydrates, and protein per serving on the Nutrition Facts panel. The FDA updated the label format in 2020, making added sugars and serving size information more prominent.

Tracking Apps

  • MyFitnessPal: Largest food database (14 million+ entries), barcode scanner, free tier available. Most popular macro tracker worldwide.
  • Cronometer: More accurate micronutrient data; preferred by dietitians. USDA database is the default source rather than user-submitted entries.
  • Lose It!: Clean interface, strong barcode scanner, free calorie and macro tracking.

How Long to Track

Most nutrition researchers recommend tracking consistently for at least 2-4 weeks to build awareness of your eating patterns. After that, many people transition to “intuitive tracking” where they estimate portions having internalized what macro-balanced meals look like.

Common Macro Tracking Mistakes

Ignoring Liquid Calories

Drinks like protein shakes, juice, alcohol, and flavored coffee can account for hundreds of calories and significant macro grams. A 500 ml bottle of orange juice has roughly 45 g of carbohydrates — a third of a typical weight-loss carb budget.

Not Weighing Food

Visual estimates of portion size are notoriously inaccurate. Research published in the Journal of the Academy of Nutrition and Dietetics (2012) found that even trained dietitians underestimated calorie content by up to 23% when estimating portions visually. A food scale eliminates this error.

Hitting Calories but Missing Macro Balance

Two diets can have identical calorie counts but completely different body composition outcomes based on macro breakdown. Meeting your protein target is especially critical for anyone doing resistance training. Hitting calories through only carbs and fat while under on protein is a common reason people stall on fat loss or fail to build muscle.

Setting Unrealistic Targets

Extreme macro splits — like eating 250 g of protein per day for a 70 kg person — are unnecessarily hard to maintain and may stress the kidneys over long periods. Stick to evidence-based ranges and adjust based on how your body responds over 4-8 weeks.

Macros vs Calories: Which Matters More?

Total calories determine whether you gain, lose, or maintain weight. Macro ratios determine what kind of weight you gain or lose (muscle vs fat) and how you feel while doing it. Both matter — but if you can only track one thing, calories come first. Once calorie intake is roughly dialed in, optimizing macros (especially protein) unlocks the next level of results.

For a deeper look at the calorie side of the equation, see our guide on how to calculate your TDEE and our TDEE and macros guide.

Disclaimer: This content is for educational purposes only and is not a substitute for professional medical or dietary advice. Macro needs vary significantly based on age, health conditions, activity level, and individual metabolism. Consult a registered dietitian or your physician before making major dietary changes.

Frequently Asked Questions

What are macros?

Macros (macronutrients) are the three main energy sources in food: protein, carbohydrates, and fat. Protein and carbs each provide 4 calories per gram; fat provides 9 calories per gram. Every calorie you eat comes from one of these three sources, according to the USDA Dietary Reference Intakes.

What is a good macro split for weight loss?

A common weight-loss macro split is 40% protein, 30% carbohydrates, and 30% fat. Higher protein (around 1.2-1.6 g per kg of body weight) preserves muscle mass in a calorie deficit. The ISSN (2017) found this range optimal for body composition during energy restriction.

How many grams of protein do I need to build muscle?

The International Society of Sports Nutrition recommends 1.4-2.0 grams of protein per kilogram of body weight daily for muscle building. For a 75 kg (165 lb) person that is 105-150 g of protein per day. Space protein across 3-5 meals of 25-40 g each for best muscle protein synthesis.

What is a ketogenic macro ratio?

A standard ketogenic diet uses roughly 70% fat, 25% protein, and 5% carbohydrates. On a 2,000-calorie diet that means about 155 g fat, 125 g protein, and just 25 g carbs per day. Keeping carbs below 20-50 g daily induces ketosis, where the body burns fat for fuel.

How do I calculate my macros from calories?

Multiply your daily calorie target by each macro percentage, then divide by the calorie density. For protein: (calories × 0.30) ÷ 4. For carbs: (calories × 0.40) ÷ 4. For fat: (calories × 0.30) ÷ 9. Example on 2,000 calories at a 30/40/30 split: 150 g protein, 200 g carbs, 67 g fat.

What are the USDA recommended macro ranges?

The USDA Dietary Reference Intakes (DRI) recommend adults get 45-65% of calories from carbohydrates, 20-35% from fat, and 10-35% from protein. These Acceptable Macronutrient Distribution Ranges (AMDRs) are published in the Dietary Guidelines for Americans 2020-2025 and apply to most healthy adults.