How macro splits are calculated
You start with a daily calorie figure and decide what share of those calories should come from each macronutrient. The calculator turns those percentages into actual calories, then converts calories into grams using the energy density of each macro.
Protein and carbohydrate each release about 4 calories per gram, while fat is more than twice as dense at roughly 9 calories per gram. That is why a 30% fat target produces far fewer grams than a 30% carb target even though both claim the same slice of your calories.
Reading the gram targets
The headline numbers are the grams of protein, carbs and fat to aim for across the whole day, not per meal. Spreading them across your meals and snacks is up to you.
The pie chart shows how your calories are divided between the three macros so you can see the balance at a glance. A common starting point is a higher protein share to support muscle and satiety, with carbs and fat filling the rest according to preference and how you train.
Tips for hitting your numbers
Targets only help if they are realistic to follow day after day. A few practical habits:
- Anchor each meal around a protein source first, then fill in carbs and fat.
- Weigh foods for a week or two until you can eyeball portions accurately.
- Treat the grams as a target range rather than an exact figure — being within 5 to 10 grams is fine.
- Revisit the percentages if your goals change, for example more carbs when training volume increases.
A note on individual needs
These ratios are a flexible framework, not medical advice. Protein, carbohydrate and fat needs vary with age, training, health conditions and personal goals. If you have a medical condition, are pregnant, or are managing your diet for a specific clinical reason, talk to a registered dietitian or doctor before making large changes.
Formula
grams = calories · percent / 100 / (4 protein/carb, 9 fat)Frequently asked questions
- Why must the percentages add to 100?
- The three macros together account for all of your calories, so their shares must sum to exactly 100%. The calculator rejects any other total.

