About this tool
A macro calculator (macronutrient ratio calculator, carb protein fat split, macros in grams) turns a calorie target and a percentage split into grams you can plan meals around.
The formula is grams = calories x percentage / 100 / calories per gram, using about 4 kcal per gram of carbohydrate, 4 kcal per gram of protein and 9 kcal per gram of fat.
For example, with 2,000 kcal at 50% carbs, 20% protein and 30% fat, carbs are 2,000 x 0.5 / 4 = 250 g, protein is 2,000 x 0.2 / 4 = 100 g and fat is 2,000 x 0.3 / 9 = 66.7 g. What if my percentages do not add up to 100?
The sum row shows the total, and the grams are still calculated from what you typed, so adjust until it reads 100. How do I choose a split?
That depends on your habits and goals, so treat any split as a starting point and not a rule. Why does fat show fewer grams than carbs at the same percentage? Because a gram of fat holds more than twice the calories.
Food labels round numbers and fiber or alcohol may change the totals, so results are approximate.
This is a planning aid for reference only and not nutrition advice; for a plan that fits your body or health, talk to a registered dietitian or other professional.
See the calorie and percent calculators for related math.
How to use
- Enter your daily calorie target and how many meals you eat per day.
- Enter the carb, protein and fat percentages so that they add up to 100.
- Read the grams per day and per meal, plus the check of the percentage total.