Skip to content
PesaFit
PesaFit

How to Calculate Macros: Protein, Carbs and Fat for Your Goals

Published on · Updated on

Calculate your essential macronutrients: protein first, then fat, and carbohydrates to fill your daily calories, optimizing your diet for your goal.

Vegetables and fruit served on several plates
Photo by TudorTulok (CC BY-SA 4.0) on Wikimedia Commons

Calculating macronutrients (protein, carbohydrates and fat) is a strategic approach that goes beyond simple calorie counting. It gives you precise control over your body composition, energy levels and athletic performance. The method is always the same: first you determine protein, then fat, and finally carbohydrates.

Affiliate disclosure: As an affiliate of Amazon España, Amazon US, Amazon.de, I earn from qualifying purchases at no extra cost to you. Prices and availability may vary.

Step 1: Calculate your target calories

The starting point for any macro plan is knowing your daily calorie needs. To do that, you need to calculate your Total Daily Energy Expenditure (TDEE). Once you have that number, adjust your calories according to your goal:

  • Calorie deficit (fat loss): Reduce your TDEE by 15% to 25%. A 20% deficit is a good starting point for most people.
  • Maintenance (keeping your weight): Eat roughly your TDEE. Small fluctuations are normal.
  • Calorie surplus (muscle gain): Increase your TDEE by 5% to 15%. A surplus that is too large can lead to excessive fat gain.

For example, if your TDEE is 2,800 kcal and your goal is cutting, a 20% deficit would give you 2,240 kcal per day. You can use our TDEE calculator to get an accurate estimate.

Step 2: Set protein (the muscle pillar)

Protein is essential for building and repairing tissue, for satiety and for preserving muscle mass, especially during a calorie deficit. Recommendations vary slightly depending on your activity level and goal:

  • Sedentary people: 1.0-1.2 grams per kilogram (g/kg) of body weight.
  • Active people (maintenance or bulking): 1.6-2.0 g/kg of body weight.
  • Hypertrophy / strength: 1.8-2.2 g/kg of body weight. Some studies suggest up to 2.4 g/kg to maximize protein synthesis.
  • Cutting (preserving lean mass): 2.2-2.6 g/kg of body weight. In very aggressive deficits, even up to 3.0 g/kg may be beneficial.

For an 80 kg person who is cutting and wants to preserve as much muscle as possible, an intake of 2.5 g/kg would be 80 kg * 2.5 g/kg = 200 g of protein. Since each gram of protein provides 4 kcal, that adds up to 200 g * 4 kcal/g = 800 kcal from protein. You can use our protein calculator to adjust these values.

On top of dietary protein, supplements such as creatine monohydrate are an excellent support for performance and muscle gain, especially if your goal is hypertrophy or strength.

Step 3: Determine fat (essential for health)

Fats are vital for hormone production, absorption of fat-soluble vitamins and cell health. They should not be cut too far. Fat is recommended to make up between 20% and 35% of your total daily calories. A minimum of 20% is crucial for hormonal reasons.

  • General range: 20-30% of total calories.
  • Aggressive cut: You can go down to 20%, but no lower, to avoid long-term health problems.
  • Bulking: You can stay in the 25-35% range to ensure enough energy.

Continuing with the 2,240 kcal example, if we set fat at 25%: 2,240 kcal * 0.25 = 560 kcal. Since each gram of fat provides 9 kcal, that equals 560 kcal / 9 kcal/g = 62 grams of fat. Prioritize healthy fat sources such as avocados, nuts, extra virgin olive oil and oily fish.

Search on Amazon (affiliate)
Extra Virgin Olive Oil
See options on Amazon →

Step 4: Carbohydrates are the rest (your main energy source)

Once you have calculated your target calories, protein and fat, carbohydrates fill the rest of your calories. They are your main source of energy, especially important for exercise performance and recovery. To calculate grams of carbohydrates, subtract the calories from protein and fat from your total target calories, then divide the result by 4 (since 1 gram of carbohydrate provides 4 kcal).

Going back to our example: 2,240 kcal (total) - 800 kcal (protein) - 560 kcal (fat) = 880 kcal left for carbohydrates. Dividing by 4 kcal/g, we get 880 kcal / 4 kcal/g = 220 grams of carbohydrates. Choose complex carbohydrates such as whole grains, potatoes, legumes and fruit, which provide fiber and micronutrients.

Search on Amazon (affiliate)
High-quality Whey Protein
See options on Amazon →

Worked example of a macro calculation

Here is a summary of the calculation for an 80 kg person with a TDEE of 2,800 kcal and a cutting goal (20% deficit = 2,240 kcal):

MacronutrientCalculationGramsKcal
Target CaloriesTDEE - 20%--2,240 kcal
Protein2.5 g/kg * 80 kg200 g800 kcal
Fat25% of 2,240 kcal / 9 kcal/g62 g560 kcal
Carbohydrates(2,240 - 800 - 560) / 4 kcal/g220 g880 kcal

Spreading your macros across the day

How you distribute macronutrients across the day can affect satiety, performance and recovery. A common strategy is to split protein into 4-5 servings of 30-45 grams each to optimize muscle protein synthesis. Carbohydrates can be concentrated before and after training to maximize energy and glycogen recovery.

Fat is more flexible in its timing, but it is advisable to avoid large amounts right before training, since it slows digestion and can cause discomfort. Experiment to see which distribution works best for your energy and feeling of fullness.

The 80/20 rule of nutrition: if 80% of your calories come from minimally processed foods (lean meats, fish, eggs, vegetables, fruit, whole grains, dairy), the remaining 20% can be flexible without compromising your health and body composition results.

Monitoring and adjustments: the key to progress

The initial macro calculation is just the starting point. Your body is a dynamic system and your needs will change. It is crucial to monitor your progress (weight, measurements, photos, gym performance) and adjust your macros every 2-4 weeks.

If you are not seeing the results you expected (fat loss, muscle gain), review your calorie intake and your macro distribution. Small adjustments (for example, +/- 100-200 kcal) are usually enough. A bioimpedance scale can be useful for tracking your body composition at home.

Common mistakes when calculating and following macros

  • Not adjusting your TDEE: TDEE is not static; it changes with your weight and activity level. Recalculating it periodically is key.
  • Obsessing over perfection: It is easy to fall into the trap of hitting your macros to the gram. Precision is good, but flexibility is more sustainable in the long run.
  • Ignoring food quality: Counting macros does not mean all foods are equal. Always prioritize nutritious sources for most of your macros.
  • Not being patient: Changes in body composition take time. Be consistent and do not expect dramatic results overnight.

Frequently asked questions about macros

Do I need to weigh all my food to calculate macros?

At first, weighing your food is the most accurate way to learn the nutritional content of what you eat. Over time, you will develop a good visual estimate and be able to be more flexible, but to start out accurately, yes, using a kitchen scale is recommended.

Can I vary my macros from day to day (carb cycling)?

Yes, carb cycling is a popular strategy in which carbs (and therefore fat) are varied between intense training days and rest days. This can optimize performance and body composition for some people, but it is not strictly necessary for most people looking for general results.

What do I do if I don't hit my macros perfectly one day?

Don't stress. Long-term adherence matters more than daily perfection. If you slip up one day, simply get back to your plan the next day. Don't try to compensate drastically by cutting or raising calories to extremes, as this can create an unhealthy cycle.

How do I know if my macros are working for my goal?

Assess your progress holistically: body weight, measurements (waist, hips, arms), progress photos, gym performance (strength and endurance), energy levels and sleep quality. If you see consistent improvements in these areas, your plan is working. If you stall, it is time to adjust.

About this guide

Last reviewed
. We review content at least once a year, and sooner if relevant literature comes out. Update policy.
How it is verified
We prioritize meta-analyses, systematic reviews and official positions (ISSN, ACSM, EFSA, WHO, Cochrane). Full methodology · topic: Nutrition and calories.
Conflicts of interest
Some product links are affiliate links from Amazon España, Amazon US, Amazon.de and earn us a small commission at no extra cost to you. How we fund the project.
Medical disclaimer
Educational content. Does not replace consultation with a healthcare professional. More detail.

Spotted an error in a formula or recommendation? Email us at jesus.narvaez.tames@hotmail.com. Corrections are published as an updated note on the guide.

Comments

Ask questions, share your experience or suggest improvements. You need a GitHub account to comment; threads are hosted on Giscus over GitHub Discussions and are public.