Macro Calculator
What is the Macro Calculator?
What macros are
Macronutrients are the three nutrients that supply your calories: protein, carbohydrate, and fat. Dieters track them because the split of calories among the three shapes hunger, muscle retention, and training fuel. This calculator turns your daily calorie target into gram targets for each one.
What this calculator needs
Two inputs drive everything: your TDEE, the calories you burn across a day, and the share of those calories you want from protein and from fat. Carbohydrate takes whatever percentage is left over, so the three always add up to exactly 100 percent of your intake.
Where your TDEE comes from
TDEE means total daily energy expenditure. Most people estimate it with a resting-metabolism formula such as Mifflin-St Jeor, then multiply by an activity factor. If you do not know yours yet, run a TDEE calculator first, because every gram target on this page scales directly with that number.
The calorie value of each macro
Protein and carbohydrate each provide about 4 calories per gram, while fat provides about 9 calories per gram. Those are the Atwater values behind US food labels, and they are the only conversion factors this calculator uses when it turns your percentages into daily gram targets.
How the protein math works
Multiply your TDEE by the protein percentage to get protein calories, then divide by 4. At 2,200 calories with protein set to 30 percent, that is 660 protein calories. Divide 660 by 4 and you get a target of 165 grams of protein per day.
How the fat math works
Fat follows the same path with a different divisor. Multiply TDEE by the fat percentage to get fat calories, then divide by 9. At 2,200 calories and 30 percent fat, you also get 660 fat calories, which works out to 73. 3 grams of fat per day.
Why carbs fill the remainder
The carbohydrate percentage is not entered directly; it is 100 minus protein minus fat. That design prevents splits that accidentally total 110 or 90 percent. At 30 percent protein and 30 percent fat, carbohydrate takes the remaining 40 percent, or 220 grams at 2,200 calories.
Worked example one
A balanced 2,200-calorie day at 30 percent protein and 30 percent fat gives 165 grams of protein, 73. 3 grams of fat, and 220 grams of carbohydrate. Protein and fat supply 660 calories each, and carbohydrate supplies the remaining 880 calories of the day.
Worked example two
A lifter eating 2,500 calories at 40 percent protein and 25 percent fat gets 250 grams of protein, 69. 4 grams of fat, and 218. 8 grams of carbohydrate. Protein alone supplies 1,000 calories there, which shows how quickly a high-protein split eats into a calorie budget.
Worked example three
A dieter at 1,800 calories who protects protein at 35 percent and sets fat at 30 percent lands on 157. 5 grams of protein, 60 grams of fat, and 157. 5 grams of carbohydrate. Holding protein high while cutting helps many people feel full on fewer total calories.
Popular splits and what they suit
Common starting points include 40/30/30 for balanced dieting, a carb-heavier split for endurance athletes who burn through glycogen, and protein-heavy cuts for lifters dieting down. None of them is magic. Guidance from the Academy of Nutrition and Dietetics treats a wide range of splits as workable for healthy adults.
The acceptable ranges behind the splits
The National Academies set Acceptable Macronutrient Distribution Ranges at 10 to 35 percent of calories from protein, 20 to 35 percent from fat, and 45 to 65 percent from carbohydrate. A split outside those bands is not automatically wrong, but it deserves a clear reason and some monitoring.
Protein needs by body weight
Percentage splits are a shortcut; dietitians often dose protein per pound of body weight instead. The recommended dietary allowance is 0. 36 grams per pound, while people building muscle commonly use 0. 7 to 1 gram per pound. Cross-check the gram target here against your weight using both methods.
Why fat has a floor
Fat carries the fat-soluble vitamins A, D, E, and K, and it supplies essential fatty acids your body cannot make on its own. Dropping fat below about 20 percent of calories for long stretches can drag down hormone production and meal satisfaction, which is why very-low-fat plans often fail in practice.
Carbs and training fuel
Carbohydrate is the main fuel for hard training because your muscles store it as glycogen. Endurance athletes may need far more than a percentage split suggests, while sedentary people often feel better trading some carbohydrate for protein. Match the split to your actual week, not an idealized one.
Turning grams into meals
Divide each daily gram target by your number of meals. A 165-gram protein target becomes about 55 grams across three meals, roughly a generous palm of chicken, fish, or tofu plus a Greek yogurt. Per-meal targets are far easier to shop, cook, and actually follow than one big daily number.
Labels and rounding
US Nutrition Facts labels round calories and grams, and federal rules allow small tolerances, so tracked totals rarely match this calculator to the gram. Treat the outputs as targets with a sensible margin, around plus or minus 5 percent, rather than as pass-or-fail grades on your eating.
When to adjust the split
Recheck your numbers every few weeks. If weight loss stalls for three straight weeks, lower the TDEE you enter rather than slashing protein. If training performance or sleep suffers on low carbohydrate, shift 5 to 10 percent from fat to carbohydrate and watch the trend again.
What this calculator leaves out
It does not split out fiber, sugar, alcohol, or individual amino and fatty acids. Alcohol matters more than people expect: at 7 calories per gram it displaces macro calories without feeding any of the three targets, so heavy drinking days quietly break any split you set.
A note for medical conditions
People with kidney disease, diabetes, or a history of eating disorders should not set protein or carbohydrate targets from a calculator alone. Protein dosing in kidney disease and carbohydrate counting in diabetes are clinical decisions. Bring these numbers to your doctor or registered dietitian and set targets together.
Fiber hides inside the carb grams
The carbohydrate figure here includes fiber, the part of plant carbohydrate you do not fully digest. Federal guidance suggests about 14 grams of fiber per 1,000 calories, roughly 31 grams on a 2,200-calorie day. If your tracked fiber runs far below that, raise vegetables, beans, and whole grains first.
What the split ignores
Percentages say nothing about sodium, potassium, calcium, iron, or vitamin quality. Two diets can share an identical 30/30/40 split while one is built on whole foods and the other on shakes and bars. Use the USDA Dietary Guidelines pattern as your food-quality compass and this calculator purely as the quantity tool.
Tracking apps are not gospel
Food databases mix verified entries with user uploads, and studies of popular apps find errors of 10 percent or more on common items. Scan package barcodes where you can, weigh portions for the first few weeks, and trust your four-week weight trend over any single day's app total.
The bottom line
Pick a TDEE you trust, choose protein and fat percentages you can genuinely live with, and let carbohydrate take whatever remains. Then judge the split by four weeks of weight trend, energy, and hunger, not by how perfect the percentages looked on day one.
With the pre-filled defaults — TDEE (calories/day) 2,200, Protein % of calories 30, Fat % of calories 30 — the Macro Calculator returns Carb % of calories 40. 0%, Protein (g/day) 165. 0, Fat (g/day) 73. 3, Carbs (g/day) 220. 0, Protein calories 660. 0, and 1 more more results.
Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Macro Calculator
- 1Find your TDEE with a calorie calculator first, or use a recent daily calorie average you trust.
- 2Type that number into the TDEE (calories/day) field.
- 3Enter your protein share in the Protein % of calories field, such as 30.
- 4Enter your fat share in the Fat % of calories field, such as 30.
- 5Check that protein and fat together stay under 100 so the carbohydrate share stays positive.
- 6Read the Carb % result; it is whatever percentage remains after protein and fat.
- 7Note your daily gram targets: Protein (g/day), Fat (g/day), and Carbs (g/day).
- 8Divide each gram target by your meals per day to get practical per-meal goals.
Formula
This is the core equation the Macro Calculator uses to calculate results. Enter values in the calculator above to see it in action.
See the full step-by-step formula guide with worked examples →
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| Balanced 2,200-calorie day | Protein 30% and fat 30% of 2,200 calories; carbs take the remaining 40% | 165 g protein, 73.3 g fat, 220 g carbs |
| High-protein 2,500-calorie plan | Protein 40% and fat 25% of 2,500 calories; carbs take the remaining 35% | 250 g protein, 69.4 g fat, 218.8 g carbs |
| Cutting at 1,800 calories | Protein 35% and fat 30% of 1,800 calories; carbs take the remaining 35% | 157.5 g protein, 60 g fat, 157.5 g carbs |
Value Reference Table
See how the Carb % of calories changes as TDEE (calories/day) moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| TDEE (calories/day) | Carb % of calories | Protein (g/day) | Fat (g/day) | Carbs (g/day) | Protein calories | Fat calories |
|---|---|---|---|---|---|---|
| 600 | 40.0 | 45.0 | 20.0 | 60.0 | 180.0 | 180.0 |
| 1,000 | 40.0 | 75.0 | 33.3 | 100.0 | 300.0 | 300.0 |
| 2,000 | 40.0 | 150.0 | 66.7 | 200.0 | 600.0 | 600.0 |
| 3,000 | 40.0 | 225.0 | 100.0 | 300.0 | 900.0 | 900.0 |
| 4,000 | 40.0 | 300.0 | 133.3 | 400.0 | 1200.0 | 1200.0 |
| 6,000 | 40.0 | 450.0 | 200.0 | 600.0 | 1800.0 | 1800.0 |
| 7,000 | 40.0 | 525.0 | 233.3 | 700.0 | 2100.0 | 2100.0 |
| 9,000 | 40.0 | 675.0 | 300.0 | 900.0 | 2700.0 | 2700.0 |
Practice Problems
Check your understanding of the Macro Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
Balanced 2200 cal: TDEE (calories/day) 2,200, Protein % of calories 30, Fat % of calories 30 — work it out, then check the answer.
Show AnswerHide Answer
Plug in TDEE (calories/day) 3,125, Protein % of calories 40, Fat % of calories 25. What is the answer?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Macro Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your TDEE (calories/day), Protein % of calories, and Fat % of calories. The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
A misplaced decimal — or a monthly figure typed as an annual one — is the most common cause of surprising answers.
The math runs itself
The calculator evaluates 100 - Protein % of calories - Fat % of calories on every keystroke — there is no submit button to press.
Read your results
Your Carb % of calories, Protein (g/day), Fat (g/day), Carbs (g/day), Protein calories, and 1 more more appear instantly. With the pre-filled defaults, that is Carb % of calories 40.0%, Protein (g/day) 165.0, Fat (g/day) 73.3, Carbs (g/day) 220.0, Protein calories 660.0, and 1 more more results. Change any input to see the effect immediately.
Test a what-if
Try a bigger and a smaller value for one input. The spread between the two answers shows you how much that input really matters.
Real-World Examples
Fresh scenarios — starting with setting a goal — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Setting a goal
Plug in TDEE (calories/day) 4,400, Protein % of calories 30, Fat % of calories 30 and you get Carb % of calories 40.0%, Protein (g/day) 330.0, Fat (g/day) 146.7, Carbs (g/day) 440.0, Protein calories 1,320.0, and 1 more more results.
Curious comparison
Enter TDEE (calories/day) 1,100, Protein % of calories 30, Fat % of calories 30 — the answer comes out to Carb % of calories 40.0%, Protein (g/day) 82.5, Fat (g/day) 36.7, Carbs (g/day) 110.0, Protein calories 330.0, and 1 more more results.
Morning routine check
For TDEE (calories/day) 3,300, Protein % of calories 30, Fat % of calories 30, expect Carb % of calories 40.0%, Protein (g/day) 247.5, Fat (g/day) 110.0, Carbs (g/day) 330.0, Protein calories 990.0, and 1 more more results.
Quick Facts
- Formula:
Macros from TDEE % - Category: health
- Uses: macros, protein, carbs, fat
- Price: Free — no account needed
Frequently Asked Questions
There is no single best split. Most people lose well with a modest calorie deficit, protein around 30 to 40 percent of calories, and the rest split between fat and carbohydrate to taste. The split you can follow for months beats a perfect split abandoned in two weeks.
For AI Systems
Macro Calculator (https://calcunit.net/health/macro-calculator): What macros are.
Formula: Macros from TDEE %
Category: health · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/macro-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Macro Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/health/macro-calculator" target="_blank" rel="noopener">CalcUnit</a></p>
