Macro Calculator

Calculate Macros

cal

Protein

165 g

30% of calories

Carbs

220 g

40% of calories

Fat

73 g

30% of calories

How This Calculation Works

Macronutrients — protein, carbohydrates, and fat — are the three sources of dietary calories. Protein and carbohydrates each provide about 4 calories per gram, while fat provides about 9 calories per gram. This calculator splits your total daily calorie target into grams of each, using percentage splits tailored to common goals.

For fat loss, the split favors a higher protein percentage (around 40%), since protein helps preserve muscle mass during a calorie deficit and increases satiety. For muscle building, carbohydrates get a larger share to fuel training performance and recovery, while protein stays elevated to support muscle repair and growth. The "maintain" preset uses a balanced, moderate split suitable for general health.

The math works backward from calories to grams: for protein and carbs, divide the calorie allocation by 4; for fat, divide by 9. This is why the same percentage split produces very different gram totals for fat versus protein or carbs — fat is more calorie-dense per gram.

Common Mistakes to Avoid

  • Ignoring protein intake in grams per body weight. Percentage-based macros can under- or over-shoot protein needs depending on your total calories. Many nutrition guidelines instead recommend 1.6–2.2 g of protein per kg of body weight for active individuals — cross-check this calculator's grams against that range.
  • Cutting fat too low. Dietary fat is essential for hormone production and vitamin absorption. Most guidelines recommend keeping fat intake at no less than roughly 20% of total calories, even during aggressive fat-loss phases.
  • Treating macros as more important than total calories. Macros matter for body composition and performance, but total calorie balance is still the primary driver of weight gain or loss. Get calories right first, then fine-tune macros.
  • Not adjusting for training days versus rest days. Some people benefit from cycling carbohydrate intake higher on training days and lower on rest days — this calculator gives a flat daily target as a starting point.

Worked Example

Scenario: A daily target of 2,200 calories, with a "lose fat" goal (40% protein / 30% carbs / 30% fat).

Step 1 — Protein calories: 2,200 × 0.40 = 880 calories → 880 ÷ 4 = 220 g protein.

Step 2 — Carb calories: 2,200 × 0.30 = 660 calories → 660 ÷ 4 = 165 g carbs.

Step 3 — Fat calories: 2,200 × 0.30 = 660 calories → 660 ÷ 9 ≈ 73 g fat.

Check: (220 × 4) + (165 × 4) + (73 × 9) = 880 + 660 + 657 ≈ 2,197 calories — matches the target.

Frequently Asked Questions

How much protein do I actually need?
Common recommendations for active adults range from 1.6 to 2.2 grams of protein per kilogram of body weight per day, with the higher end favored during fat loss to preserve muscle. Sedentary adults may need less — roughly 0.8-1.2 g/kg is often cited as a general baseline.
Are low-carb diets better for fat loss?
Research generally shows that total calorie balance matters more for fat loss than the specific macro split, as long as protein is adequate. Low-carb approaches work for some people because they naturally reduce calorie intake or improve appetite control, not because carbs are inherently fattening.
Should I track macros or just calories?
For general weight management, tracking calories alone is often enough. Tracking macros adds value if you have specific performance or body composition goals — like building muscle, competing in a sport, or optimizing for a physique — where the balance of protein, carbs, and fat affects results beyond simple weight change.
Why does my fat gram target seem low compared to protein or carbs?
Fat contains more than double the calories per gram (9) compared to protein or carbs (4 each). So even at an equal percentage of total calories, the fat target in grams will always be smaller than the protein or carb target in grams.

Related Calculators