Macro Calculator
Calories say how much you eat; macros say what it is made of. Enter your daily calories and pick a split to get protein, carbs and fat in grams.
Health note: this calculator gives a general estimate from standard published formulas. It is not medical advice and cannot replace guidance from your own doctor or another qualified professional, who knows your situation.
The Only Maths Behind Macros
Protein and carbohydrate carry about 4 kcal per gram; fat carries 9. That is the whole engine. Take the calories assigned to a macro, divide by its kcal-per-gram, and you have grams. At 2,200 kcal on a balanced 30/40/30 split, protein gets 660 kcal → 165 g, carbs get 880 kcal → 220 g, and fat gets 660 kcal → about 73 g. The presets here cover the splits people actually use — balanced, high-protein for muscle and satiety, low-carb, and a keto-style split where carbs drop to around 5% — and the custom mode accepts any three percentages that add up to 100.
Which Split Fits Which Goal?
For fat loss, protein is the macro worth protecting: it preserves muscle in a deficit and keeps hunger manageable, which is why the high-protein preset exists. For endurance training, carbs do the heavy lifting and most athletes sit at 45–60% carbohydrate. Keto-style splits suit people who have chosen that way of eating deliberately and stick to it; the benefit comes from adherence, not magic — total calories still decide whether weight goes up or down. The honest summary: the best split is the one you can still be following in three months.
The Per-Kilogram Sanity Check
Percentage splits can quietly give odd protein numbers at very high or low calorie levels, so the calculator also shows protein per kilogram of body weight. Research on active adults generally supports roughly 1.6–2.2 g per kg for building or keeping muscle, and around 0.8 g per kg as a minimum for sedentary adults. If your percentage split lands far outside the band that fits your training, adjust the percentages rather than forcing the grams. This page gives general nutrition information, not personal dietary advice.
Frequently Asked Questions
How are macro grams calculated?
Each macro gets its percentage of your calories, then the calories are divided by 4 for protein and carbs, or 9 for fat. At 2,200 kcal with 30% protein, that is 660 kcal ÷ 4 = 165 g of protein.
What is a good protein target for building muscle?
Studies on active adults generally support about 1.6–2.2 g of protein per kilogram of body weight per day. The calculator shows your per-kg figure so you can check a percentage split against it.
Do the percentages have to add up to 100?
Yes — a split describes the whole day, so protein + carbs + fat must total 100%. If your custom numbers add up to anything else, the calculator flags it instead of silently rescaling.
Is keto just about the percentages?
A keto-style split (about 5% carbs) is the usual starting point, but what matters is the absolute carb grams — often under 50 g a day — and sticking to it. This page is general information, not medical advice.