Macro Calculator
Calories decide whether you lose or gain weight — but macros decide what that weight is made of. This calculator converts your daily calorie target into grams of protein, carbohydrates, and fat using proven diet presets, or your own custom split.
Protein and carbs = 4 kcal/g · Fat = 9 kcal/g. Percentages refer to share of total calories.
How to use this macro calculator
- Enter your daily calorie target (from our TDEE calculator if you don’t have one).
- Choose a diet preset that matches your approach.
- Hit your protein number daily — it’s the macro that matters most — and let carbs and fat fall where they fit your meals.
The math
Carb grams = calories × carb% ÷ 4
Fat grams = calories × fat% ÷ 9
Protein and carbohydrate each provide 4 calories per gram; fat provides 9. That’s why a “high fat” diet still means far fewer fat grams than the percentage suggests.
Which preset should you pick?
- Balanced: the best default for most people, easy to sustain.
- High protein: ideal while cutting — protects muscle in a deficit.
- Low carb / keto: useful if you feel better with fewer carbs; not inherently superior for fat loss.
Worked example
Take a 2,500-calorie target on the high-protein preset (40% protein, 30% carbs, 30% fat):
Carbs: 2,500 × 0.30 ÷ 4 = 188 g
Fat: 2,500 × 0.30 ÷ 9 = 83 g
Check the math: 250 × 4 = 1,000, plus 188 × 4 = 752, plus 83 × 9 = 747, totaling 2,499 — right on target. Now compare a 1,600-calorie cut on the balanced preset (30% protein): that gives 120 g of protein. For an 80 kg person that is only 1.5 g/kg, below the 1.6 to 2.2 g/kg range that protects muscle while dieting. The percentage looked fine; the grams were not enough.
Accuracy and limits
Macro percentages are a starting point, not a prescription. The real constraint is protein in grams per kilogram of body weight: set that first, then split the remaining calories between carbs and fat however you like. At low calorie targets, percentages can quietly under-deliver protein, and at high targets they can overshoot it. The calculator’s presets are sensible defaults, but the protein number from our protein calculator should always have the final say.
Two more limits worth knowing. First, food labels are legally allowed a margin of error, so even perfect tracking is approximate — aim for consistency, not precision to the gram. Second, fiber, alcohol, and sugar alcohols do not fit neatly into the three macros, so a day that looks perfect on paper can still be short on fiber or heavy on alcohol calories.
Common mistakes
- Treating the percentages as sacred. A 40/30/30 split and a 35/35/30 split are effectively the same diet. Do not rebuild your meals over five grams.
- Forgetting liquid calories. Cooking oil, salad dressing, sauces, and drinks are where most tracking error lives. A "splash" of oil is easily 100 calories.
- Cutting protein to make the numbers fit. When calories get tight, people shave protein first because it is the hardest macro to hit. That is backwards: protein is the last macro to cut.
- Chasing exact fat grams. Fat is the most flexible macro. Land within about 10 g of the target and you are fine.
How to interpret your result and act on it
Think of your macros as a hierarchy, not a checklist. Protein is the target you hit every day. Total calories are the ceiling when cutting and the floor when gaining. Carbs and fat fill the space between, and you should bias them toward whatever makes training and hunger easiest for you: more carbs if you train hard, more fat if you prefer richer meals. When progress stalls for two to three weeks, keep protein fixed and cut 100 to 200 calories from carbs, or from fat if carbs are already low. And if you hate tracking, track just protein and calories — that covers most of the benefit with a fraction of the effort. One practical note: weighing food for two weeks teaches you more than a year of eyeballing it. Most people underestimate portions by 20 to 30 percent at first, especially with calorie-dense foods like oil, nuts, and cheese. You do not need to weigh forever — two weeks of honest weighing calibrates your eye, and then you can estimate with far smaller errors.
References
- Institute of Medicine. Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids. National Academies Press; 2005. DOI
- Jäger R, Kerksick CM, Campbell BI, et al. International Society of Sports Nutrition position stand: protein and exercise. J Int Soc Sports Nutr. 2017;14:20. DOI
- Morton RW, Murphy KT, McKellar SR, et al. A systematic review, meta-analysis and meta-regression of the effect of protein supplementation on resistance training-induced gains in muscle mass and strength in healthy adults. Br J Sports Med. 2018;52(6):376-384. DOI
- Helms ER, Aragon AA, Fitschen PJ. Evidence-based recommendations for natural bodybuilding contest preparation: nutrition and supplementation. J Int Soc Sports Nutr. 2014;11:20. DOI
- Lichtman SW, Pisarska K, Berman ER, et al. Discrepancy between self-reported and actual caloric intake and exercise in obese subjects. N Engl J Med. 1992;327(27):1893-1898. DOI
- U.S. Department of Agriculture, Agricultural Research Service. FoodData Central. Link
Frequently asked questions
What are macros?
Macros (macronutrients) are protein, carbohydrates, and fat — the three nutrients that supply essentially all of your food calories.
How much protein do I really need?
For active adults, 1.6–2.2 grams per kilogram of body weight per day covers most goals. Higher intakes help most during fat loss.
Do I need to hit my fat macro exactly?
Fat is the most flexible macro. Treat protein as a target, calories as a ceiling (when cutting), and let carbs and fat fill the rest.
Is keto better for fat loss?
No — controlled trials show fat loss comes down to sustained calorie deficit. Keto works for people who find it easier to stick with, not because of metabolic magic.
Should my macros change on rest days?
Optional. Some people eat slightly fewer carbs on rest days, but keeping macros constant is simpler and works fine for most.
Should I count alcohol calories in my macros?
Yes. Alcohol provides 7 calories per gram but does not fit neatly into protein, carbs, or fat. Count it inside your total calories, keep protein on target, and expect slower progress if drinking is a daily habit.
What if my protein target is higher than my macro percentage allows?
Set protein by body weight first — 1.6 to 2.2 g/kg per day — then split the remaining calories between carbs and fat. Percentages are a starting point; the protein grams are the rule that matters.
Can I eat the same macros every day?
Yes, and for most people that is the easiest way to stay consistent. Adjust only when your weight trend stalls for two to three weeks, and change one thing at a time so you know what worked.