Macronutrient Ratio Calculator

A Calorie Target Is Only Half the Plan

Knowing you need 2,000 calories a day says nothing about how those calories should be split between protein, carbohydrate, and fat — and that split is what most named diets actually differ on. This calculator converts between the two representations: percentages and total calories going one way, grams of each macronutrient coming back, or the reverse.

The Formula

Grams = (Total Calories × Percentage) ÷ Calories per Gram
Calories per gram: Protein = 4, Carbohydrate = 4, Fat = 9

Protein and carbohydrate both provide 4 calories per gram; fat provides more than double that at 9 calories per gram — which is why the same percentage of calories translates into noticeably fewer grams of fat than of protein or carbs. Converting the other direction (grams to percentages) just runs this arithmetic in reverse.

Common Splits at 2,000 Calories

Macronutrient grams by ratio, 2,000 kcal/day
Protein / Carb / FatProtein (g)Carbs (g)Fat (g)
40 / 30 / 30200.0 g150.0 g66.7 g
30 / 40 / 30150.0 g200.0 g66.7 g
30 / 30 / 40150.0 g150.0 g88.9 g
25 / 50 / 25125.0 g250.0 g55.6 g
20 / 50 / 30100.0 g250.0 g66.7 g

Computed with the calculator's own formula. Note that a higher fat percentage produces a smaller change in grams than the same shift in protein or carb percentage would — a direct result of fat's higher calorie density per gram.

Two Directions, One Underlying Formula

  • From calories and percentages — start with a daily calorie target and a target ratio (say, from a named diet plan), and get the grams to actually track.
  • From grams — start with grams logged in a food tracker and get the resulting calorie total and percentage split, useful for checking whether your actual intake matches your intended ratio.
Note: This calculator performs a unit conversion, not a recommendation. There is no single macronutrient ratio proven optimal for everyone; appropriate ratios vary by goal, activity level, and individual health status. Consult a registered dietitian for personalized targets.

How to Use This Calculator

  1. Select a mode: From Calories & Percentages or From Grams.
  2. For the first mode, enter Total Calories (kcal) and Protein, Carb, and Fat Percentage (must sum to 100).
  3. For the second mode, enter Protein (g), Carbs (g), and Fat (g).
  4. Select Calculate for the converted grams or the resulting calories and percentage split.

Related Calculations

To find your total calorie target before splitting it, use the Daily Calorie Needs Calculator. To translate a daily gram target into per-meal amounts, see the Meal Prep Portion Calculator.