Moyan AI Training Institution LogoMoyan AI
All free tools
Health & Fitness
Sep 7, 2026Free · no sign-up

Macro Split Calculator: Calculate Protein, Carbs, and Fats

Turn a daily calorie target into grams of protein, carbs and fat based on your chosen ratio.

Protein grams
165 g
Carb grams
220 g
Fat grams
73 g

Understanding how to divide your daily caloric intake into macronutrients—protein, carbohydrates, and fats—is the cornerstone of flexible dieting. While calories determine whether you gain or lose weight, your macronutrient ratio determines the quality of that weight change, impacting muscle retention and energy levels.

The Science of Macronutrient Math

Every macronutrient has a specific energy density measured in calories per gram. This is the foundation of the math used in the calculator above:

  • Protein: 4 calories per gram
  • Carbohydrates: 4 calories per gram
  • Fats: 9 calories per gram

When you input your daily calorie goal and a percentage split, the calculator performs a two-step conversion. First, it determines how many total calories are allocated to each nutrient category (Calories × Percentage). Second, it divides those calories by the energy density per gram to arrive at your final target in grams.

For example, if you aim for 2,000 calories with a 30% protein, 40% carbohydrate, and 30% fat split:

  1. Protein: 2,000 × 0.30 = 600 calories. 600 / 4 = 150 grams of protein.
  2. Carbs: 2,000 × 0.40 = 800 calories. 800 / 4 = 200 grams of carbohydrates.
  3. Fats: 2,000 × 0.30 = 600 calories. 600 / 9 = 66.6 grams of fat.

Worked Examples for Daily Targets

To visualize how these ratios change based on your goals, consider these two common scenarios. These figures are estimates intended for personal planning and do not constitute professional medical advice.

Scenario A: The Muscle Maintenance Goal

An individual eating 2,500 calories per day with a high-protein focus (35% Protein, 35% Carbs, 30% Fat):

  • Protein: 875 kcal / 4 = 219g
  • Carbs: 875 kcal / 4 = 219g
  • Fat: 750 kcal / 9 = 83g

Scenario B: The Endurance Athlete Goal

An athlete eating 3,000 calories per day needing higher glycogen replenishment (20% Protein, 60% Carbs, 20% Fat):

  • Protein: 600 kcal / 4 = 150g
  • Carbs: 1,800 kcal / 4 = 450g
  • Fat: 600 kcal / 9 = 67g

Common Mistakes to Avoid

  1. Ignoring Fiber: Many people track total carbohydrates but forget that fiber is a carbohydrate that provides minimal calories. Focus on net carbs if you are following specific metabolic diets.
  2. Alcohol Omission: Alcohol contains 7 calories per gram. If you consume alcohol, it must be accounted for within your total calorie limit, usually at the expense of your carb or fat allotment.
  3. Underestimating Portion Sizes: A calculator is only as accurate as your tracking. Using food scales rather than volumetric measuring cups significantly improves the precision of your macro intake.
  4. Chasing Perfection: Consistency over time is more important than hitting your exact gram targets every single day. If you miss your targets by a small margin, focus on the weekly average rather than the daily variance.

How to Use the Tool Above

  1. Identify your Total Daily Energy Expenditure (TDEE) or your desired caloric intake.
  2. Enter that total number into the calories field in the tool.
  3. Input your preferred percentage split for Protein, Carbs, and Fats (ensuring they total 100%).
  4. Review the output to see exactly how many grams of each nutrient you should aim for to reach your daily goal.

For more advanced tracking and nutrition planning, you can explore our AI Tool Lab to see how automation can help you stay consistent with your dietary habits. If you find yourself tracking these metrics frequently, consider creating a free Moyan AI account to save your preferences and streamline your planning process. Moyan AI is built to help you make sense of your data without the guesswork.

Frequently asked questions

What is the best macro split for weight loss?

There is no single "best" split, but a common starting point is 40% protein, 30% carbohydrates, and 30% fat. Higher protein intake helps preserve muscle mass while you are in a caloric deficit.

How do I calculate my daily calorie needs first?

You can estimate your caloric needs using a TDEE calculator that accounts for your age, weight, height, and activity level. Once you have that number, you can use the macro split calculator above to break it down.

Should I change my macros on rest days?

Some people prefer to lower carbohydrate intake on rest days when their energy expenditure is lower. However, keeping your macros consistent throughout the week can make meal planning and adherence much easier.

Do these gram calculations account for fiber?

Standard macro calculations typically count all carbohydrates, including fiber, toward your daily gram target. If your specific diet requires tracking net carbs, subtract the fiber grams from your daily total after using the calculator.

How often should I adjust my macro ratios?

You should adjust your ratios only after tracking for at least 4 to 6 weeks. If your progress stalls or your energy levels are consistently low, consider shifting your carbohydrate or fat percentages to better suit your training intensity.

Get more done with Moyan AI

Free tools are just the start. A Moyan AI account adds goals, expense tracking, to-dos, the AI Tool Lab and an AI job hub in one place.

More free tools