Macro calculator
Once you know your daily calorie target, this macro calculator turns it into grams of protein, carbohydrate and fat — the numbers you actually track in a food app. It is for anyone following IIFYM (“if it fits your macros”), keto, or a high-protein cut who needs concrete daily gram goals rather than a vague calorie figure. Pick a preset split and read off your targets.
How it works
Each preset assigns a percentage of your total calories to each macro. The tool multiplies your calories by each percentage to get calories-per-macro, then divides by the energy density of that macro to get grams: 4 kcal/g for protein and carbs, 9 kcal/g for fat.
| Split | Protein | Carbs | Fat |
|---|---|---|---|
| Balanced | 30% | 40% | 30% |
| Low carb | 40% | 20% | 40% |
| High protein | 40% | 40% | 20% |
| Keto | 25% | 5% | 70% |
Example
A 2,000 kcal day on the balanced (30/40/30) split:
- Protein: 2,000 × 0.30 = 600 kcal ÷ 4 = 150 g
- Carbs: 2,000 × 0.40 = 800 kcal ÷ 4 = 200 g
- Fat: 2,000 × 0.30 = 600 kcal ÷ 9 = 67 g
Set your daily calories with the TDEE or calorie-deficit calculator first, then split them here. Everything runs in your browser — nothing is uploaded.
Getting your calorie target first
Before splitting macros, you need a daily calorie number. Common approaches:
- TDEE (total daily energy expenditure): multiply your BMR by an activity factor. Use a TDEE calculator for this step.
- Calorie deficit for weight loss: a deficit of roughly 500 kcal/day below TDEE tends to produce about 0.5 kg of weight loss per week, a commonly cited rate that preserves muscle better than aggressive cuts.
- Calorie surplus for muscle gain: a modest surplus of 200–300 kcal/day above maintenance is a typical recommendation for minimizing fat gain while building muscle.
Once you have a target, this tool splits it into concrete gram goals.
How to choose your split
The four presets each suit different goals:
Balanced (30/40/30) is a sensible all-round starting point with adequate protein and a moderate carbohydrate level. Suitable for general fitness, maintenance, or anyone not following a specific protocol.
Low carb (40/20/40) reduces carbohydrate enough to moderate insulin response and shift the body toward fat oxidation, without going as low as keto. Popular for fat loss phases and metabolic health.
High protein (40/40/20) maximizes protein to support muscle preservation during a calorie deficit. The extra protein also has the highest thermic effect (the body burns more calories digesting protein than carbs or fat) and tends to increase satiety.
Keto (25/5/70) drops carbs to around 25 g/day on a 2,000 kcal target — low enough to push most people into ketosis, where the liver produces ketone bodies from fat as the primary fuel source. The high fat percentage supplies the calories that carbs no longer provide.
Protein: the most important macro to get right
Protein drives muscle protein synthesis and is also the hardest to overeat because it is highly satiogenic. A widely cited range in sports nutrition is 1.6–2.2 g per kg of body weight per day for people doing resistance training. For someone weighing 75 kg that is 120–165 g of protein per day. Check the gram output from this tool against your body weight to see whether your chosen split puts you in that range — if not, shift the protein percentage up.
Fat is not the enemy
Fat had a poor reputation for decades due to flawed research and dietary guidelines since revised. Dietary fat provides fat-soluble vitamins (A, D, E, K), supports hormone production (including testosterone and estrogen), and makes food palatable. The minimum healthy intake is roughly 0.5–1 g per kg of body weight. On a keto split, fat becomes the primary calorie source, not an enemy — the body adapts to oxidize it as fuel when carbohydrate is very low.