Macro Calculator: Protein, Carbs & Fats

Calculated using standard mathematical and industry formulas.

Macronutrients—protein (4 kcal/g), carbohydrates (4 kcal/g), and dietary fats (9 kcal/g)—compose your total daily caloric intake. To calculate macros, determine your Total Daily Energy Expenditure (TDEE), adjust for your goal (deficit or surplus), set optimal protein at 1.6–2.2 g/kg, fats at 20–30% of calories, and fill remaining energy with carbohydrates.

How to use this calculator?

  1. Select your unit system (metric or imperial), biological sex, age, height, and body weight.
  2. Choose your daily activity level (accounting for exercise frequency).
  3. Select your primary fitness goal: maintenance, weight loss, fast loss, or muscle gain.
  4. Pick your preferred macronutrient diet plan (Balanced, Low Carb, High Protein, or Keto).
  5. Read your daily calorie target and recommended grams of protein, carbohydrates, and fats.

Formula & calculation method

Mifflin-St Jeor TDEE + Macro Ratio Allocation

Daily Calories = TDEE ± Goal Offset; Protein (g) = Weight (kg) × 1.6 to 2.2; Fat (g) = (Daily Calories × 0.25) ÷ 9; Carbs (g) = [Daily Calories − (Protein × 4 + Fat × 9)] ÷ 4

TDEE = BMR × Activity Factor. BMR calculated via Mifflin-St Jeor equation. P%, C%, F% are determined by selected diet plan ratios.

Step-by-step calculation example

Male 30y, 175cm, 70kg, moderately active (TDEE ≈ 2,556 kcal), maintenance goal, Balanced diet → 2,556 kcal total: 192g Protein, 256g Carbs, 85g Fats.

Key insights to remember

How to interpret your results?

Acceptable Macronutrient Distribution Ranges (AMDR)

Official dietary guidelines establish healthy intake ranges: 45–65% of daily calories from carbohydrates, 10–35% from protein, and 20–35% from dietary fats. Athletes prioritize the higher end of protein for lean muscle recovery.

4-4-9 Caloric Density Rule

Each gram of pure protein contains 4 kcal, each gram of carbohydrate yields 4 kcal, and each gram of fat yields 9 kcal. Tracking macros ensures precise energy balance and hormonal support.

Expert advice & guidance

💡 Nutrition adherence tip: Hit your protein target and total daily calories first before obsessing over the exact split between carbs and fats. Consistency in weekly caloric balance and protein drives 80% of physique results.

Frequently asked questions

What are macros in food and what does the term stand for?
Macros is short for macronutrients—the three primary nutrients your body requires in large amounts for energy, growth, and cellular repair: proteins, carbohydrates, and fats. Unlike micronutrients (vitamins and minerals), macronutrients provide the actual caloric fuel for your body.
How many calories are in a gram of protein, fat, and carbohydrates?
There are 4 calories per gram of protein, 4 calories per gram of carbohydrates, and 9 calories per gram of fat. Dietary fats are more than twice as calorie-dense as protein and carbs, which is why moderate portion sizes are essential when managing body weight.
How to calculate protein needs for muscle gain and fat loss?
For muscle gain or fat loss while lifting weights, consume 1.6 to 2.2 grams of protein per kilogram of body weight (0.7 to 1.0 grams per pound). For a 75 kg (165 lb) individual, this equals 120 to 165 grams of daily protein distributed across 3 to 4 meals.
How do I determine my macros and count macros for beginners?
To determine your macros: calculate TDEE, subtract 300–500 kcal for fat loss or add 200–300 kcal for bulking. Set protein (weight in kg × 2.0g), set fat at 0.8–1.0g per kg, and allocate all remaining calories to carbohydrates. Track meals with a digital kitchen scale and food app.
What is the best macro ratio for weight loss and cutting?
The most effective cutting macro ratio is typically 40% protein, 30% carbohydrates, and 30% fat, or 35% protein, 40% carbs, and 25% fat. High protein preserves lean metabolic tissue, adequate fat supports hormone production, and carbs sustain workout intensity.

Related calculators

See all health & fitness calculators · Explore all online calculators