The macro split formula
Macronutrients carry different amounts of energy. The standard values are:
To turn a calorie target into grams, take each macro's percentage of total calories, then divide those calories by its kcal-per-gram value. Protein and carbs are 4, fat is 9.
Worked example
2,200 kcal on a balanced 30 / 40 / 30 split:
Choosing a split
There's no single "best" ratio — protein needs are the most important to get right (often ~0.7–1 g per pound of body weight when losing fat), while carb and fat amounts are largely personal preference and activity-driven. Endurance athletes lean higher-carb; some people feel better lower-carb. Total calories drive weight change; macros shape body composition and energy.