Home › Health, Fitness & Education › Macro Calculator
Macro Calculator
Use this free macro calculator to turn a daily calorie target into grams of protein, carbohydrates and fat. Type your calories, pick a ready-made split — balanced, high-protein, low-carb or keto — or enter your own percentages, and the calculator does the gram maths for you. It is the practical first step for meal planning, muscle gain and fat loss diets.
The three percentages must add up to 100. Choosing a preset fills them in; you can still adjust any number.
| Protein | 30% · 750 kcal · 187.5 g |
| Carbohydrates | 40% · 1,000 kcal · 250 g |
| Fat | 30% · 750 kcal · 83.3 g |
How to use this calculator
- Enter your daily calorie target. If you do not know it, estimate maintenance calories with a TDEE calculator first, then add or subtract for your goal.
- Choose a preset split, or pick Custom and type your own three percentages.
- Check the percentages add up to 100.
- Press Calculate macros.
- Plan your meals against the gram figures in the table — those are the numbers on food labels.
How macro splits work
Every calorie you eat arrives as protein, carbohydrate or fat, and each gram carries a fixed energy value: protein 4 kcal, carbs 4 kcal, fat 9 kcal. A split is just a budget. Give protein 30 percent of 2,500 kcal and it gets 750 kcal, which is 750 divided by 4 — 187.5 grams. The formulas are:
| Preset | Protein | Carbs | Fat | Suits |
|---|---|---|---|---|
| Balanced | 30% | 40% | 30% | Everyday eating, general fitness |
| High-protein | 40% | 30% | 30% | Muscle gain, dieting |
| Low-carb | 35% | 20% | 45% | Reducing carbs without full keto |
| Keto | 20% | 5% | 75% | Ketogenic diets |
Fat grams always look small next to the others for the same calories — that is the 9 kcal per gram at work, not an error.
Worked example
A person eating 2,500 kcal a day chooses the Balanced split: 30 percent protein, 40 percent carbs, 30 percent fat.
Step 1: protein — 2,500 × 30% = 750 kcal, and 750 ÷ 4 = 187.5 g.
Step 2: carbs — 2,500 × 40% = 1,000 kcal, and 1,000 ÷ 4 = 250 g.
Step 3: fat — 2,500 × 30% = 750 kcal, and 750 ÷ 9 = 83.3 g.
Those are the exact figures the calculator opens with. The same day on keto would look very different: protein 125 g, carbs just 31.3 g, fat 208.3 g — try the preset and compare.
FAQ
What are macros?
Macros — short for macronutrients — are the three nutrients that provide your calories: protein, carbohydrates and fat. Protein and carbohydrates give about 4 kilocalories per gram, and fat gives about 9. A macro split is simply the share of your daily calories you plan to take from each one. This calculator turns a calorie target and a split into grams, because grams are what food labels and kitchen scales actually measure.
Why are protein and carbs divided by 4 but fat by 9?
Those are the standard energy values of the nutrients: one gram of protein provides roughly 4 kilocalories, one gram of carbohydrate roughly 4, and one gram of fat roughly 9, because fat is a more concentrated fuel. So a balanced 2,500 kcal day at 30 percent fat allows 750 fat kilocalories, which is 750 divided by 9, about 83 grams — less than half the gram weight of the protein share even though both provide the same energy.
Which macro split should I choose?
Start with Balanced (30 percent protein, 40 percent carbs, 30 percent fat) if you have no strong reason to pick another — it suits most active people. High-protein (40/30/30) fits muscle building and dieting, when protecting muscle matters most. Low-carb (35/20/45) suits people who prefer fewer carbs without going fully keto. Keto (20/5/75) is a strict medical-style pattern that many people find hard to sustain; research it properly and consider medical advice before living on 5 percent carbs.
Do my percentages have to add up to exactly 100?
Yes — the three shares are parts of one whole day of eating, so together they must total 100 percent. If you type a custom split that adds up to anything else, this calculator stops and tells you the total you entered, because grams worked out from 110 percent of your calories would quietly overfeed you and grams from 90 percent would underfeed you. Adjust any one of the three numbers until the total reads 100.
How do I use macros to gain muscle or lose fat?
The split decides the shape of your diet, but the calorie total decides the direction. For muscle gain, eat a little above maintenance — our TDEE calculator can estimate it — and use the Balanced or High-protein split so protein stays high. For fat loss, set calories a few hundred below maintenance and lean on High-protein, which protects muscle while you lose. Weigh yourself weekly and adjust the calorie input, not the split, when progress stalls.
Are fibre, sugar and alcohol counted in these macros?
Fibre is part of the carbohydrate figure on food labels, so it sits inside your carb grams rather than being a fourth macro. Sugar is also a carbohydrate and counts the same way — the split does not judge quality, only quantity. Alcohol is separate: it provides about 7 kilocalories per gram and is not included in any of the presets, so drinks add calories on top of your macro budget. Within each macro, whole foods remain the healthier choice.