How to calculate macros: protein, carbs and fat

Learn how to calculate your macros (protein, carbs and fat) step by step, with a worked example, targets for each goal and tips for reading food labels.

Topic: NutritionBy Fytform TeamUpdated on 8 min read

Plate with chicken, rice and avocado beside a phone calculator used to work out daily macros
Article topics
  1. What are macronutrients?
  2. How much protein should you eat per day?
  3. What role do carbohydrates play?
  4. How much fat should you eat?
  5. How should you split your macros for each goal?
  6. What does the math look like in practice?
  7. How do you read a food label?
  8. When should you recalculate your macros?
  9. Sources
  10. Frequently asked questions

To calculate your macros, first set your daily calories based on your TDEE, then your protein (1.4 to 2.0 g per kg for most people who train), then your fat (15% to 30% of calories, according to the WHO), and fill the rest with carbohydrates. Protein and carbs have 4 kcal per gram; fat has 9.

If you have ever looked into eating for training, you have probably come across the word macros. Calculating macronutrients sounds complicated, but it is a four-step calculation anyone can do with the calculator on their phone.

Below: what macronutrients are, how much of each makes sense for each goal and how to turn the numbers into real meals.

What are macronutrients?

Macronutrients are the three groups of nutrients that provide energy (calories). Almost everything you eat is a combination of them:

Energy per gram of each macronutrient

Macronutrientkcal per gram
Protein4
Carbohydrate4
Fat9

Total calories decide whether you lose, maintain or gain weight. The International Society of Sports Nutrition (ISSN) position stand on diets and body composition is clear: fat loss is driven by a sustained calorie deficit, and lean mass gain by a calorie surplus combined with strength training. Within those calories, protein is the macro that matters most for keeping or building muscle.

How much protein should you eat per day?

Protein is involved in building and repairing muscle tissue. The ISSN also mentions its thermic effect (your body spends more energy digesting it) and its effect on satiety.

What the guidelines say

  • For most people who train: 1.4 to 2.0 g per kg of body weight per day (ISSN, 2017).
  • Muscle gain: a meta-analysis of 49 studies (Morton and colleagues, 2018) found no additional average gain in lean mass above about 1.6 g/kg/day.
  • In a deficit, for lean people who already train: the ISSN notes that 2.3 to 3.1 g per kg of lean mass may help preserve muscle.
  • Example: a 70 kg person who trains would land between 98 and 140 g of protein per day in the ISSN's general range.

Want the step-by-step for protein alone? Read how much protein per day.

Good protein sources

  • Animal: chicken, lean red meat, eggs, fish and whey protein
  • Plant: lentils, chickpeas, beans, tofu and edamame
  • Dairy: cottage cheese, plain or Greek yogurt and milk

What role do carbohydrates play?

Carbohydrates are one of the main sources of energy, especially during intense exercise. They are stored in your muscles and liver as glycogen.

Carbs do not make you gain fat on their own. According to the ISSN, very different approaches (from low fat to low carb and everything in between) can be similar for improving body composition; what decides fat loss is the calorie deficit, and long-term success depends on being able to stick to the diet.

Types of carbohydrates

  • High in fiber and less processed: brown rice, oats, sweet potatoes, whole-grain bread and pasta. They keep you fuller.
  • Simpler and quick to digest: fruit, honey, white bread, white rice. Handy around your workout.
  • Fiber: vegetables, greens and fruit with the skin on. They help digestion and satiety.

Is there a right time to eat carbs?

Timing matters less than your daily total. The ISSN notes that the best time to eat protein around training is largely a matter of individual tolerance. A practical way to organize it:

  • Before training: a meal with carbs and protein that does not sit heavy in your stomach
  • After training: a full meal with protein and carbs
  • Throughout the day: favor higher-fiber sources

How much fat should you eat?

Fat is essential: it helps you absorb the fat-soluble vitamins (A, D, E and K) and is part of your cell membranes. The problem is too much of it, and the type of fat.

The WHO recommends that adults get at least 15% and up to 30% of their calories from fat, with no more than 10% from saturated fat and no more than 1% from trans fat.

Good fat sources

  • Unsaturated (prefer these): olive oil, avocado, peanuts, nuts, fish such as sardines and salmon, flaxseed, chia and walnuts
  • Saturated (in moderation): fatty meat, butter and hard cheeses
  • Avoid: industrially produced trans fat, found in some cookies, packaged snacks and commercially fried foods

How should you split your macros for each goal?

The logic is always the same: calories first, then protein, then fat, and carbs fill in the rest. What changes between goals is the calorie adjustment and the protein target. The table shows the targets Fytform uses when it builds a plan, which fall within the ranges of the references above:

Targets used in the Fytform plan by goal

GoalCaloriesProteinFatCarbohydrate
Fat loss20% below TDEE (max 750 kcal)2.0 g/kgabout 25% of caloriesthe rest
Muscle gain10% above TDEE (max 350 kcal)1.8 g/kgabout 25% of caloriesthe rest
Maintenanceat TDEE1.6 g/kgabout 25% of caloriesthe rest

Don't know your TDEE (total daily energy expenditure) yet? Work it out with the free TDEE calculator and see how many calories to eat per day.

What does the math look like in practice?

Let's calculate the macros for a 65 kg woman who wants to lose fat, trains 4 times a week and has an estimated TDEE of 2,000 kcal.

Step 1: calories. TDEE (2,000) minus 500 = 1,500 kcal/day.

Step 2: protein. 1.8 g x 65 kg = 117 g of protein = 468 kcal (117 x 4).

Step 3: fat. 25% of 1,500 kcal = 375 kcal. 375 ÷ 9 = about 42 g of fat.

Step 4: carbohydrates (the rest). 1,500 - 468 - 375 = 657 kcal. 657 ÷ 4 = about 164 g of carbohydrates.

Summary: 1,500 kcal | 117 g protein | 164 g carbohydrates | 42 g fat.

How do you read a food label?

Reading the nutrition facts panel helps you track macros without guessing. What to look at:

  • Serving size: always check the reference serving size. Many are smaller than what you actually eat.
  • Calories: energy per serving.
  • Carbohydrates: includes sugars. Keep an eye on added sugars.
  • Protein: grams per serving.
  • Total fat: also check saturated and trans fat. Avoid products with trans fat.
  • Dietary fiber: the more, the better for satiety.

When comparing similar products, always compare per 100 g, not per listed serving. That removes the difference in serving sizes between brands.

When should you recalculate your macros?

Your macros are not fixed. As your body changes, the numbers need to keep up. Signs it is time to recalculate:

  • Your weight has stopped changing for a few weeks: if your goal is fat loss and nothing has changed, a small calorie adjustment usually fixes it.
  • Your weight is going up too fast while building muscle: reduce your surplus a little.
  • Your training performance has dropped: you may be short on energy. Review your calories and the carbs around your workouts.
  • Your weight has changed a lot: recalculate your TDEE with your new weight.
  • Your goal has changed: switching from fat loss to muscle gain (or the other way around) changes your calories and protein.

Calculating macros feels like work at first, but it quickly becomes intuitive. After a few weeks of logging what you eat, you start estimating portions by eye.

What matters most is that your macros are spread across practical meals that fit your routine. For sample meal plans, see the weight loss diet with a full meal plan and the nutrition hub.

Sources

Frequently asked questions

What is the right order for calculating macros?

Calories first, then protein, then fat. Carbohydrates get the calories that are left over.

How much protein do I need per day if I train?

The ISSN recommends 1.4 to 2.0 g per kg of body weight per day for most people who train. A 2018 meta-analysis found no extra average gain in lean mass above about 1.6 g/kg.

How much fat can I eat?

The WHO recommends that adults get 15% to 30% of their calories from fat, with no more than 10% from saturated fat and 1% from trans fat.

Do carbs at night make you gain fat?

What decides fat gain or loss is your calorie balance for the day, not the time you eat. Spread your carbs in whatever way works best for your routine.

Do I have to weigh my food forever?

No. Weighing and logging for a few weeks helps you learn portion sizes; after that you can estimate by eye and check now and then.

Fytform Team

Written and reviewed by the Fytform editorial team on November 17, 2026. This is general information: it does not replace an individual assessment by a doctor, dietitian or fitness professional. Spotted a mistake? Write to contato@fytform.com.

Keep reading

Nutrition

Do you need whey protein to build muscle?

8 min read