BMITool · Free health calculator
Macro Calculator
Build your calculation
Your result
Enter your details, then calculate to see your result.
Calories tell you how much to eat, but they do not tell you what to eat, and that gap is where macros come in. Protein, carbohydrate and fat are the three nutrients that supply energy, and each gram carries a fixed amount: 4 calories for protein, 4 for carbohydrate, and 9 for fat. This calculator starts from your daily calorie target and splits it into grams of each, so a single abstract number becomes three concrete daily targets you can actually plan meals around.
The split is built protein-first, and that ordering is deliberate. Protein is set in grams, because its need scales with body weight rather than with calories: the evidence-based range for active people and dieters sits roughly around 1.6 to 2.2 grams per kilogram a day. Fat is set as a share of calories, since it needs to stay in proportion to the day's energy, and carbohydrate takes whatever energy is left over. On a 2,200 calorie day with 140 grams of protein and 30 percent fat, that leaves 980 calories for carbohydrate, or 245 grams.
Fat has a floor that matters more than its percentage. Dropping below roughly half a gram per kilogram a day risks the jobs only fat can do: building steroid hormones, absorbing the fat-soluble vitamins A, D, E and K, and supplying the essential fatty acids the body cannot make itself. A very low-fat split can look tidy on paper and leave you tired, hungry and short of nutrients in practice, so if the calculator returns a fat figure below that floor, raise the percentage rather than accepting it. Very low-fat diets also tend to make meals less satisfying, which is why people on them often snack more between meals and end up no further ahead on calories.
Carbohydrate is the flexible member of the trio, and it should be treated that way. Endurance athletes training for hours a day need a large share of it to refill glycogen, while a sedentary person cutting calories needs far less, and both can be healthy. The split between carbohydrate and fat can swing from day to day without consequence, which is why the calculator gives you targets rather than commandments. What matters most is hitting protein approximately, keeping total calories near the plan, and letting the other two move around as appetite and training demand.
Numbers alone do not make a diet, because the calculator counts grams, not foods. A protein target reached mostly through fish, eggs, legumes and dairy is a different diet from the same grams reached through processed meat, even though the arithmetic is identical. The same holds for the other two: carbohydrate from oats, beans and fruit carries fibre and micronutrients that the same grams from sugary drinks do not, and fat from olive oil and nuts behaves differently from fat in fried food. Use the targets to shape the day, then choose foods that make the grams worth having. A food diary for a week is the fastest way to see whether the targets are realistic for the way you actually eat, because most people discover one macro is far easier to reach than the others, and the fix is usually a single swap, such as Greek yoghurt at breakfast or an extra portion of beans at lunch, rather than a new diet altogether.
This tool can never replace a professional doctor's assessment. If any health condition bothers you, consult a physician.
Worked example: splitting 2,200 kcal three ways
Take a 2,200 kcal day with 140 g of protein and 30% of calories from fat. Protein first: 140 × 4 = 560 kcal, which is 25.5% of the day's energy. Fat next: 30% of 2,200 = 660 kcal, and 660 ÷ 9 = 73.3 g of fat, about 73 g. Carbohydrate is the remainder: 2,200 − 560 − 660 = 980 kcal, and 980 ÷ 4 = 245 g of carbohydrate, about 44.5% of energy. The final split is 140 g protein, 245 g carbohydrate and 73 g fat.
Common macro splits at 2,000 kcal a day
| Split (protein / carb / fat) | Protein | Carbohydrate | Fat |
|---|---|---|---|
| Balanced — 30 / 40 / 30 | 150 g | 200 g | 67 g |
| Higher-protein — 40 / 30 / 30 | 200 g | 150 g | 67 g |
| Lower-carb — 30 / 20 / 50 | 150 g | 100 g | 111 g |
| Endurance — 20 / 55 / 25 | 100 g | 275 g | 56 g |
Calories first, protein in grams, fat as a share
- Start with your daily calorie target, working it out with the calorie calculator on this site first if you do not already have one.
- Set protein in grams per day, using roughly 1.6 to 2.2 grams per kilogram if you train regularly.
- Pick a fat percentage and let carbohydrate fill the remaining energy, which the tool works out for you.
- Look at the three gram figures and their percentages together, and nudge protein or fat if the carbohydrate remainder looks too high or too low for your training.
Exact targets, rest days, and the protein-first rule
Why does the calculator ask for protein in grams but fat as a percentage?
Because protein needs scale with body weight, so grams are the natural unit — 1.6–2.2 g per kilogram. Fat is better set as a share of total energy, since it needs to stay in proportion to the day's calories.
What happens if my protein and fat inputs exceed my calories?
The calculator refuses the combination — it cannot return a negative carbohydrate figure. Lower the protein grams or the fat percentage until the remainder is positive.
Is the higher-protein preset better for weight loss?
Usually, yes, within reason. Higher protein protects muscle during a deficit and helps with satiety, which is why dieters are often steered toward 1.6–2.2 g per kilogram.
How many grams of protein are in a 2,000 calorie diet at 30% protein?
150 g. The maths: 30% of 2,000 is 600 kcal, and protein carries 4 kcal a gram, so 600 ÷ 4 = 150 g. The worked example runs the same three-way split on 2,200 kcal with 140 g of protein and 30% fat: 140 g protein, 245 g carbohydrate and 73 g fat.
Do I need to hit my macros exactly every day?
No. Weekly averages matter far more than any single day. Protein is the one worth keeping closest to target, because it protects muscle and keeps you full, while the carbohydrate and fat split can move around freely as long as total calories stay near the plan. A day that lands 20 grams off on carbohydrate and makes it up the next day is not a failure.
Should my macros change on rest days?
They can, but they do not have to. A common approach is to keep protein steady every day, since muscle repair continues on rest days, and trim carbohydrate a little when training is lighter, which lowers total calories on those days. If that level of detail feels like a chore, keeping one split all week works perfectly well, and total weekly calories still decide the outcome.
Arithmetic that cannot judge a diet
This tool does arithmetic, not nutrition advice. It cannot decide which split suits you, it does not separate saturated from unsaturated fat, and it says nothing about food quality, micronutrients or fibre. The same gram targets can describe a nourishing diet or a poor one, depending on the foods behind them. Anyone with diabetes, kidney disease, liver disease or a condition affecting fat or protein metabolism should not follow a generic split without professional guidance.
Sources: the Dietary Reference Intakes and protein research
- National Academies of Sciences, Engineering, and Medicine. Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids, 2005
- Morton RW, et al. A systematic review, meta-analysis and meta-regression of the effect of protein supplementation on resistance training-induced gains in muscle mass and strength. British Journal of Sports Medicine, 2018
- World Health Organization (accessed November 2026)
Related calculators
Other tools that go with this one are the Protein Calculator, Carbohydrate Calculator, Fat Calculator, Fiber Calculator and Meal Calorie Planner.
Related guides
How Many Calories Should You Eat a Day? A Practical Guide to Calorie Needs