Macro Calculator

Protein per day—
Carbs per day—
Fat per day—
Total calories—

How Macro Calculator is calculated: 30/40/30 split by calories: protein 30% ÷ 4 kcal/g, carbs 40% ÷ 4 kcal/g, fat 30% ÷ 9 kcal/g

What are macros, and why split your calories?

Macros — short for macronutrients — are the three things food is made of: protein, carbohydrate, and fat. Every calorie you eat comes from one of the three, and the split between them shapes what your body does with those calories. Two diets with the same calories can feel very different: one high in protein keeps you full and protects muscle, while one high in sugar leaves you hungry an hour later.

This calculator takes your daily calorie target and splits it into grams of each macro, using a balanced 30/40/30 split — 30% of calories from protein, 40% from carbs, and 30% from fat. For the default example of 2,000 calories a day, that works out to 150 g of protein, 200 g of carbs, and 66.7 g of fat. Pick a goal and it adjusts the calories first: lose weight takes 20% off, gain weight adds 15%.

The split matters because each macro does a different job. Protein builds and repairs muscle. Carbohydrate is the body's preferred fuel for hard training. Fat carries vitamins, makes hormones, and keeps you full between meals. None of the three is the enemy, and cutting any one of them to zero causes problems that show up within weeks.

These numbers are estimates for general guidance, not medical advice — talk to a doctor or dietitian before changing your diet or exercise. Macros are a planning tool, not a prescription, and the right split for you depends on your training, your body, and what you can actually stick to.

How the macro split is calculated

The maths is simple once you know that protein and carbs each carry 4 calories per gram, while fat carries 9 calories per gram. That is why fat grams are always the smallest number in the results, even though fat is 30% of the calories — each gram of fat packs more than twice the energy of a gram of protein or carbohydrate.

Here is the default example, worked out step by step. The target is 2,000 calories. Protein gets 30%, which is 600 calories, and 600 divided by 4 is 150 g. Carbs get 40%, which is 800 calories, and 800 divided by 4 is 200 g. Fat gets 30%, which is 600 calories, and 600 divided by 9 is 66.7 g. Add the calories back up — 600 + 800 + 600 — and you get exactly 2,000.

The goal setting changes the total before the split happens. Lose weight multiplies your calories by 0.8, so 2,000 becomes 1,600, and the split gives 120 g of protein, 160 g of carbs, and 53.3 g of fat. Gain weight multiplies by 1.15, so 2,500 becomes 2,875, giving 215.6 g of protein, 287.5 g of carbs, and 95.8 g of fat. The split stays 30/40/30 in every case; only the total moves.

If you do not know your daily calories yet, work them out first with a calorie calculator or a TDEE calculation, then bring the number here. Guessing your calories and then splitting the guess gives you two layers of error, and the macro targets that come out are only as good as the calorie number that went in.

Protein: the macro people get wrong most often

Protein is the macro people under-eat most often, and it is the one that matters most when you are losing weight. When you eat fewer calories than you burn, your body can break down muscle for energy — unless you eat enough protein to protect it. The 150 g in the default example is about 2.1 g per kilo for a 70 kg person, which is on the generous side, and that is deliberate: during a cut, more protein is safer than less.

A common mistake is thinking protein means meat. Lentils, chickpeas, paneer, eggs, curd, milk, soy, and fish all count, and most people need a protein source at every meal to reach 150 g without thinking about it. Three meals with 40 to 50 g each — for example, eggs at breakfast, dal and paneer at lunch, chicken or soy at dinner — gets you most of the way there.

Spreading protein across the day matters more than the total alone. Your body uses protein best in doses of 25 to 50 g per meal, so one huge protein dinner and two protein-free meals is worse than the same total spread evenly. A BMI calculator tells you where your weight sits, which helps you decide whether your protein target should be built around your current weight or a target weight.

If you train hard, your protein need rises. Lifters and athletes often aim for 1.6 to 2.2 g per kilo of body weight, while a sedentary person can get by on 0.8 to 1.0 g per kilo. The 30% split in this calculator lands most active people in the right range, but if you lift weights seriously, check your protein against your body weight with a dedicated protein calculation.

A worked example: three goals, three splits

Let us run three real examples through the calculator. First, the default: 2,000 calories, maintain weight. The split is 150 g of protein, 200 g of carbs, and 66.7 g of fat, totalling 2,000 calories. That is a balanced day of eating for a moderately active adult.

Second, the same 2,000 calories with a lose-weight goal. The calculator takes 20% off first, giving a target of 1,600 calories, then splits it: 120 g of protein, 160 g of carbs, and 53.3 g of fat. Notice that protein falls the least in proportion to its importance — at 120 g it is still 1.7 g per kilo for a 70 kg person, which protects muscle while the calories drop.

Third, 2,500 calories with a gain-weight goal. The calculator adds 15%, giving 2,875 calories, then splits it: 215.6 g of protein, 287.5 g of carbs, and 95.8 g of fat. The carb number is the one that jumps most, because carbs are the easiest way to add calories without feeling stuffed — rice, bread, and potatoes scale up far more comfortably than extra protein.

Compare the three and the pattern is clear: the split never changes, only the total does. That is the point of a fixed split — once you know your calories, the macros follow automatically, and you can focus on food choices instead of arithmetic.

Carbs and fat: what each one is actually for

Carbohydrates are fuel. Your muscles store them as glycogen, and hard training burns through that store fast — an hour of intense exercise can use 100 g of carbs or more. The 200 g in the default example covers a moderately active day with room for training, and the number rises with activity: endurance athletes sometimes eat 500 g or more.

Fat is not the enemy the 1990s made it out to be. It carries the fat-soluble vitamins, builds cell membranes, and makes the hormones that regulate hunger and recovery. The 66.7 g in the default example is about a third of calories, which is a sensible middle ground — enough for health, not so much that it crowds out protein and carbs.

The split between carbs and fat is the most flexible part of the plan. Some people feel better with more carbs and less fat, especially if they train hard; others prefer the reverse, especially if they sit most of the day. The 40/30 split here is a starting point, not a law — if you feel sluggish or constantly hungry, shifting 10% from one to the other is a reasonable experiment.

One number worth watching alongside your macros is your daily water intake, because high-protein and high-carb diets both change how much water your body holds. A water intake calculator gives you a personal target, and it is one of the easiest health numbers to get right.

Macro calculator vs calorie counting: which do you need?

Counting calories alone tells you how much you eat, but not what you eat. Two days at 2,000 calories can be 60 g of protein with the rest from sugar, or 150 g of protein with balanced carbs and fat — and the second day will leave you fuller, stronger, and less likely to overeat the next day. Macros add the what to the how much.

That said, calories still come first. If your calorie target is wrong, the perfect macro split will not save you — you will gain on a cut or stall on a bulk. Get your calories right with a TDEE calculation, then split them here. The order matters: calories decide whether your weight moves, macros decide what that movement is made of.

A BMR calculator is the starting point for the calorie side, because it tells you what you burn at rest before activity is added. And if you want to know how your current weight relates to your height, a body fat calculator tells you more than the scale alone, because it separates fat from muscle.

For most people, tracking macros for two to four weeks is enough to learn what a day of eating looks like, and after that you can eat by habit rather than by app. The goal is not to weigh food forever — it is to calibrate your eye, so that a plate with a palm of protein, a fist of carbs, and a thumb of fat becomes automatic.

Common macro mistakes

The first mistake is cutting fat too low. Below about 20% of calories, hormone production suffers, vitamins do not absorb properly, and food gets so dry and joyless that the diet collapses. The 30% in this calculator is there for a reason — fat is not a luxury, it is a requirement.

The second mistake is eating too little protein on a cut. When calories drop, protein is the macro to protect, not the one to cut, because it is what keeps your muscle while the fat comes off. If you cut all three macros equally, you lose muscle along with the fat, and your metabolism drops with it.

The third mistake is treating the split as a daily law instead of a weekly average. One day at 40% protein and the next at 20% averages out fine — your body works on weekly totals, not daily ones. Chasing exact grams every single day is a fast road to burnout, and a weekly average within 10% of target is good enough.

The fourth mistake is forgetting that drinks and snacks count. A sugary drink adds 40 g of carbs, a handful of nuts adds 15 g of fat, and both are easy to leave out of the count. These numbers are estimates for general guidance, not medical advice — talk to a doctor or dietitian before changing your diet or exercise. If your weight is not moving the way the maths says it should, the missing calories are usually in the things you did not count.

How to use this macro calculator

Using the calculator takes seconds. Enter your daily calorie target — your TDEE if you want to maintain, or the number from your diet plan — then pick your goal. Maintain keeps your calories as they are, lose weight takes 20% off, and gain weight adds 15%. The results update live.

You will see your protein, carbs, and fat in grams per day, plus the total calories the split is based on. Write the three gram numbers down, and aim for them as daily targets. A food tracking app makes the first two weeks much easier, because it shows the macros in everything you eat.

Everything runs in your browser. No account, no form, no data sent anywhere — the numbers you type never leave your device. Use it as often as you like, and recalculate whenever your calories change, because a new calorie target means a new split.

Pair the split with your training plan, so your food and your workouts are built from the same numbers. And if your goal is weight loss specifically, check your weight trend weekly rather than daily — the average over seven days is the number that tells you whether the macros are working.

Frequently Asked Questions

A balanced starting point is 30% protein, 40% carbs, and 30% fat, with calories 20% below your TDEE. For a 2,000-calorie TDEE that means 1,600 calories split into 120 g of protein, 160 g of carbs, and 53.3 g of fat. Keep protein high during a cut to protect muscle, and adjust the split after two to three weeks based on how you feel and what the scale says.

30% of 2,000 calories is 600 calories, and protein carries 4 calories per gram, so that is 150 g of protein. The same maths gives 200 g of carbs (40% is 800 calories, divided by 4) and 66.7 g of fat (30% is 600 calories, divided by 9, because fat carries 9 calories per gram).

No — your body works on weekly averages, not daily ones. Hitting your targets within about 10% across the week is good enough, and one day higher or lower than target averages out. Chasing exact grams every day is a fast road to burnout, so aim for the weekly average and keep protein the most consistent of the three.

No. These numbers are estimates for general guidance, not medical advice — talk to a doctor or dietitian before changing your diet or exercise. That matters most if you have diabetes, kidney disease, or any condition that changes how your body handles protein, carbs, or fat, because a standard split may not suit you.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.