Macro Calculator
The macro calculator determines your ideal daily protein, carbohydrate and fat intake based on your calorie goal and diet preferences. Whether you're eating for weight loss, muscle gain, athletic performance, or a specific diet like keto or low-carb, this calculator gives you personalized macro targets.
What this calculator does
Enter your TDEE (total daily calories) and choose your goal. The calculator computes how many grams of protein, carbs, and fat you should eat daily. Macros are expressed in both grams and percentage of total calories.
How it works
Protein provides 4 kcal/g, carbohydrates provide 4 kcal/g, and fat provides 9 kcal/g. These caloric densities determine how much food volume you get from each macro, which directly affects satiety and dietary adherence.
Formula
Macro Calculation Formula
Protein (g) = target%/100 × Calories ÷ 4
Carbs (g) = target%/100 × Calories ÷ 4
Fat (g) = target%/100 × Calories ÷ 9
The percentages must sum to 100%. Protein and carbs each have 4 kcal/g; fat has 9 kcal/g.
Worked example
TDEE = 2,400 kcal. Goal: moderate high-protein (40% P / 30% C / 30% F).
- Protein = 0.40 × 2,400 ÷ 4 = 240g
- Carbs = 0.30 × 2,400 ÷ 4 = 180g
- Fat = 0.30 × 2,400 ÷ 9 = 80g
Result: Daily macros: 240g protein, 180g carbs, 80g fat
Frequently asked questions
What are macros?
Macros (macronutrients) are the three main nutrients that provide energy: protein (4 kcal/g), carbohydrates (4 kcal/g), and fat (9 kcal/g). Tracking macros lets you control both total calories and nutrient composition.
How much protein should I eat per day?
For muscle building: 1.6–2.2g per kg (0.7–1g per lb). For maintenance: 0.8g per kg. Higher protein also improves satiety for weight loss.
What is a good macro split for weight loss?
A common split: 40% protein, 30% carbs, 30% fat. Higher protein preserves muscle during a calorie deficit. Low-carb (25% carbs) works well for some; adjust based on personal preference and adherence.