Skip to content
CalcTide logo
Health & FitnessReviewed Methodology

Macro Calculator

A macro calculator converts your daily calorie target into grams of protein, carbohydrates, and fat based on the percentage split you choose. Instead of guessing how much of each macronutrient to eat, you enter a calorie goal and a percentage breakdown, and the tool handles the conversion math for you. This is useful whether you are cutting, bulking, maintaining, or simply trying to eat a more balanced diet. Lifters tracking a higher-protein split, endurance athletes fueling with more carbohydrate, and anyone following a lower-carb eating pattern can all use the same calculator by adjusting the percentages to match their plan. The result is three gram targets you can log in a food tracking app or use to build meals around. This tool performs the arithmetic only. It does not diagnose, treat, or replace guidance from a registered dietitian or physician.

Health & FitnessBy Reviewed by CalcTide Editorial Review Team

Quick answer

Protein and carbohydrates each supply 4 calories per gram.

What this tells you

  • Protein and carbohydrates each supply 4 calories per gram.
  • Fat supplies 9 calories per gram, more than double protein or carbs.
  • Your protein, carb, and fat percentages must add up to 100% for the math to work.
  • Common splits range from balanced (30/40/30) to high-protein (40/30/30) to low-carb (25/5/70).
  • Macro grams are a planning target, not a fixed rule. Small day-to-day variation is normal.

How to Use

  1. 1Enter your daily calorie target. This usually comes from a TDEE or calorie calculator adjusted for your goal.
  2. 2Set a protein percentage based on your body weight and training goal.
  3. 3Set a carbohydrate percentage based on activity level and preference.
  4. 4Set a fat percentage. The three percentages must total 100%.
  5. 5Calculate to see your daily protein, carbohydrate, and fat targets in grams.
  6. 6Adjust any percentage and recalculate if the total does not add up to 100%.

How It Works

Formula

Macro grams = (calories x macro percentage) / calories-per-gram (4 for protein/carbs, 9 for fat)

The calculator first splits your total calories across the three macronutrients using the percentages you set, so a 2000-calorie target with a 30% protein share allocates 600 calories to protein. Each macro's calories are then divided by its calorie density: 4 calories per gram for protein and carbohydrates, and 9 calories per gram for fat, since fat is more calorie-dense than the other two. The three percentages must sum to 100%, otherwise the calorie allocation would not account for your full calorie target, so the calculator will not return a result until the split is fixed.

Calculation note: values are processed in the order shown above, using the current input units.

Worked Examples

2200 Calories, Balanced 30/40/30 Split

Calories2200
Protein30%
Carbs40%
Fat30%
ResultProtein 165 g, Carbs 220 g, Fat 73.3 g

Protein gets 30% of 2200 calories, or 660 calories, and 660 divided by 4 equals 165 grams. Carbs get 40%, or 880 calories, which is 220 grams. Fat gets the remaining 30%, or 660 calories, and 660 divided by 9 is about 73.3 grams. This balanced split works well as a general starting point for maintenance or overall health.

1800 Calories, High-Protein Cutting Split (40/30/30)

Calories1800
Protein40%
Carbs30%
Fat30%
ResultProtein 180 g, Carbs 135 g, Fat 60 g

At 1800 calories, a 40% protein share allocates 720 calories, and 720 divided by 4 equals 180 grams, a higher protein target commonly used during a calorie deficit to help preserve muscle. Carbs at 30% allocate 540 calories, or 135 grams, and fat at 30% allocates 540 calories, or 60 grams.

2800 Calories, High-Carb Bulking Split (25/50/25)

Calories2800
Protein25%
Carbs50%
Fat25%
ResultProtein 175 g, Carbs 350 g, Fat 77.8 g

A 25% protein share of 2800 calories is 700 calories, or 175 grams. Carbs take the largest share at 50%, or 1400 calories, which converts to 350 grams to fuel training volume during a calorie surplus. Fat at 25% is 700 calories, or about 77.8 grams.

2000 Calories, Low-Carb Split (25/5/70)

Calories2000
Protein25%
Carbs5%
Fat70%
ResultProtein 125 g, Carbs 25 g, Fat 155.6 g

Protein at 25% of 2000 calories is 500 calories, or 125 grams. Carbs are kept minimal at 5%, or 100 calories, which is 25 grams. Fat carries most of the calorie load at 70%, or 1400 calories, which equals about 155.6 grams since fat holds 9 calories per gram instead of 4.

Common Macro Splits by Goal

Typical protein, carb, and fat percentage splits used for different training and diet goals. Use these as a starting point, then adjust based on how your body responds.

GoalProtein %Carbs %Fat %
Balanced / general health30%40%30%
Fat loss / cutting35-40%25-35%25-30%
Muscle gain / bulking25-30%45-55%20-25%
Endurance training20-25%55-65%15-20%
Low-carb / keto20-25%5-10%65-75%

These ranges are common starting points, not fixed prescriptions. Individual needs vary by body size, activity level, and training goal.

Common mistakes

  • Entering percentages that do not add up to 100%, which the calculator will reject
  • Confusing the percentage split with the gram result, since they are not the same number
  • Setting a very low fat percentage without accounting for essential fatty acid needs
  • Using a generic macro split without first setting a calorie goal that matches an actual weight loss, gain, or maintenance target
  • Treating a single day's macro numbers as a strict rule rather than a flexible weekly average

Limitations

Macro grams are a planning estimate built from the calorie target and percentages you enter. They do not account for individual factors such as medical conditions, digestion, food sensitivities, medication interactions, or how your body responds to specific training. Two people with identical macro targets can see different results based on genetics, sleep, stress, and consistency.

Embed this calculator on your site

Drop this single line where you want the calculator to appear. It is responsive, mobile-friendly, resizes automatically, and is free to use with attribution.

<script src="https://calctide.com/embed.js" data-tool="macro-calculator" async></script>

Preview the embed at /embed/macro-calculator/.

Frequently Asked Questions

Macros, short for macronutrients, are protein, carbohydrates, and fat, the three nutrients that supply calories in food. Vitamins and minerals are micronutrients and are not part of this calculation.
Use a TDEE calculator or calorie calculator to find your maintenance calories, then adjust up or down based on whether your goal is weight loss, weight gain, or maintenance. Enter that adjusted number here.
It depends on your goal. A balanced split like 30% protein, 40% carbs, and 30% fat suits general health, while higher-protein splits are common for fat loss and higher-carb splits suit endurance training. There is no single correct answer for everyone.
Because every calorie in your target has to be assigned to one of the three macros. If the percentages do not add up to 100%, some calories would go unaccounted for and the gram totals would not match your calorie goal.
Fat is more energy-dense than protein or carbohydrates. This is a fixed physiological value, not something the calculator adjusts based on your inputs.
Yes. Set a low carbohydrate percentage, such as 5 to 10%, and a higher fat percentage to match, and the calculator returns the gram targets for that split.
Not necessarily. Many people treat their macro targets as a weekly average and allow some day-to-day flexibility around training days, rest days, and social meals.
No. It performs the math for a macro split you choose. A registered dietitian can tailor recommendations to your medical history, food preferences, and goals in ways this tool does not.
It estimates macro calculator outputs using the visible inputs and formula assumptions on this page.

Explore More in Health & Fitness