Skip to content
Calc.
← All articles
healthBy Emil BjörkJuly 25, 2026

Macro Calculator: How to Calculate Your Macros

Macros are the protein, carbohydrate and fat that make up your calories. Setting macro targets means taking a daily calorie target and dividing it between the three; below are the conversion factors, worked examples of common splits, and how the macro calculator does it.

What Are Macronutrients and Why Do They Matter?

Macronutrients are the three primary nutrients your body needs in large quantities: protein, carbohydrates, and fats. Each serves distinct functions and provides different amounts of energy per gram. Protein delivers 4 calories per gram and supports muscle repair, immune function, and satiety. Carbohydrates also provide 4 calories per gram and serve as your body's preferred energy source, particularly for brain function and high-intensity exercise. Fats contain 9 calories per gram and are essential for hormone production, nutrient absorption, and cellular health.

The split depends on the goal. Someone focused on building muscle might put more of their calories into protein, while an endurance athlete usually needs more carbohydrate. For reference, the U.S. Dietary Guidelines' acceptable ranges for adults are 10–35% of calories from protein, 45–65% from carbohydrate and 20–35% from fat.

How Macro Calculators Work

The process has three steps. First estimate your basal metabolic rate (BMR) from age, sex, height and weight: for a 30-year-old woman who weighs 140 pounds and is 5'6" tall, the Mifflin-St Jeor equation gives about 1,370 calories.

Next, multiply by an activity factor from 1.2 (sedentary) to 1.9 (extremely active) to get total daily energy expenditure (TDEE). With moderate exercise 3–5 days a week (× 1.55), she burns about 2,125 calories a day.

Finally, set a calorie target for the goal and divide it. For fat loss at 20% below TDEE (about 1,700 calories), a 40% protein / 30% carbohydrate / 30% fat split gives about 170 g protein (1,700 × 0.40 ÷ 4), 128 g carbs and 57 g fat (1,700 × 0.30 ÷ 9).

Different Approaches to Macro Distribution

Flexible dieting ("If It Fits Your Macros") lets you eat any foods as long as you hit the targets. A common split for strength training is 30% protein, 40% carbohydrate and 30% fat.

Ketogenic diets look very different: roughly 70–75% fat, 20–25% protein and 5–10% carbohydrate. At 1,800 calories, a 75/20/5 split is 150 g fat, 90 g protein and about 23 g carbs. Endurance athletes often go the other way, with something like 15% protein, 60% carbohydrate and 25% fat.

The Zone Diet uses 30% protein, 30% fat and 40% carbohydrate. Pick an approach you can sustain; what suits a competitive bodybuilder may not suit someone eating for general health.

How to Use Our Macro Calculator

The Macro Calculator takes three inputs: your daily calorie target, your goal (cutting, maintenance or bulking) and your body weight in kilograms. It sets protein by body weight (2.4 g/kg when cutting, 2.0 g/kg when bulking, 1.7 g/kg for maintenance), puts 25% of calories into fat, and gives the rest to carbohydrates.

Example: a man who weighs 180 pounds (81.6 kg), eating 2,800 calories to build muscle, gets about 163 g protein (81.6 × 2.0), 78 g fat (2,800 × 0.25 ÷ 9) and 362 g carbohydrates (the remaining calories ÷ 4).

If you don't have a calorie target yet, the Daily Calorie Needs Calculator estimates maintenance calories from weight, height, age, sex and an activity level, and can take off or add a set amount for a weight-loss or weight-gain goal; the TDEE Calculator gives the maintenance figure alone. Both use the revised Harris-Benedict equation, so their BMR step will differ slightly from the Mifflin-St Jeor figure above. Treat the numbers as starting points: monitor your weight for 2–3 weeks, then eat a little more if you're losing faster than intended or 100–200 calories less if nothing is changing.

Hitting Your Targets Day to Day

Use a food-tracking app and weigh your food for the first few weeks to learn what portions look like; "1 cup" of rice varies, 150 g doesn't.

Batch cooking makes the targets easier to hit: cook proteins, carbohydrates and vegetables in bulk and combine them through the week, for instance a portion of grilled chicken, brown rice and avocado as a bowl, wrap or salad.

Swap within a category when you need to: if the plan says oatmeal and you want rice, match the carbohydrate grams. Log cooking oil, sauces and drinks too, since they add up fast. And treat the targets as ranges, not exact numbers; landing within 5–10 g of each is close enough and far easier to keep up.

These targets are estimates for healthy adults, not medical advice. Anyone pregnant, under 18, or managing a condition such as kidney disease or diabetes should get targets from a clinician or registered dietitian.

Related guides

Sources

Related articles

Looking for a calculator?

Calculator Collection has 1,400+ free calculators. Browse all calculators →