Macro Calculator: Protein, Fat, Carbs

Enter calories, weight and goal and the calculator splits your daily intake into protein, fat and carbs in grams, percent and per meal. Separate tabs: a split by a ready ratio (for example 30/30/40) and a reverse calculation of calories from grams. If you do not know your calories, use the calorie calculator first.

Enter data

Sport
What to find

Result

CalcCore
Enter the known quantities — the result will appear here.

What macros are and how many calories a gram has

Macros are protein, fat and carbohydrates, the three main macronutrients that make up the calories in food. A gram of protein and a gram of carbs give 4 kcal each, a gram of fat gives 9 kcal. That is why one and the same daily calorie target can be split in different ways: from a usual balanced plate to an athletic pattern with a lot of protein. The calculator converts calories into grams and back and shows the share of each nutrient.

How macros by goal are calculated

The “Macros by goal” tab first sets protein in grams per kilogram of weight, then fat as a percent of calories, and carbs get whatever is left. Typical values depend on the goal: weight loss — 2.0 g of protein per kg and 30% fat, maintenance — 1.8 g/kg and 30%, muscle gain — 1.8 g/kg and 25%. For example, for 75 kg and 2200 kcal on maintenance you get protein 135 g (540 kcal, 24.5%), fat 73 g (660 kcal, 30%), carbs 250 g (1000 kcal, 45.5%). All three values can be changed.

How much protein you need

For people who train, the position of the International Society of Sports Nutrition (ISSN) is 1.4 to 2.0 g of protein per kg of weight a day; in a calorie deficit slightly more helps keep muscle. For sedentary adults the basic norm is lower, about 0.8 g/kg. The calculator accepts 0.8 to 3.0 g/kg and warns when the value is above about 2.4 g/kg: beyond the usual ranges a benefit is not proven, and with kidney disease a lot of protein is dangerous.

Fat and carbs

Fat is needed for hormones, absorbing vitamins A, D, E, K and cell membranes, so too low a share is not advised: a common minimum is about 20% of calories, and the calculator warns when fat is lower. By the acceptable ranges of the US Institute of Medicine (AMDR) for adults, fat is 20–35% of calories, carbs 45–65% and protein 10–35%. Carbs are the main fuel for intense training, so for muscle gain and strength sports their share is usually raised.

Ready ratios

The “By ratio” tab lets you pick a pattern or enter your own percentages (they must add up to 100): balanced 20/30/50, athletic 30/30/40, high-protein 40/30/30, low-carb 30/40/30 and keto 20/70/10 (protein/fat/carbs, %). For 2200 kcal the athletic pattern gives 165 g of protein, 73 g of fat and 220 g of carbs. These are examples of a split, not recommendations for everyone; keto and other strict patterns should be agreed with a doctor. If you add weight, the calculator shows how much protein that is per kg.

Calories from grams and meals

The “Calories from grams” tab works the other way: enter how many grams of protein, fat and carbs are in your diet and you get the calories and shares. For 150 g of protein, 70 g of fat and 250 g of carbs that is 2230 kcal (27% / 28% / 45%); if you add a target of 2200 kcal the calculator shows a difference of +30 kcal. Alcohol (7 kcal per gram) is not included here. On the goal tab the intake is also split into 3–6 meals, and fibre is given as a guide of 14 g per 1000 kcal.

When protein and fat “do not fit” into calories

If protein and fat together need more calories than you set (for example 1000 kcal for 100 kg while losing weight), carbs cannot be negative. The calculator zeroes them, shows the real calorie total and percentages of it, and warns you: raise the calories or lower protein or fat. That way the result never misleads with a “sum over 100%”.

This is an estimate for planning, not medical advice: protein, fat and calories are best adjusted by a doctor or dietitian, especially with kidney disease or pregnancy.

FAQ

What do macros mean?

Protein, fat and carbohydrates — the three macronutrients that make up the calories in food. Protein and carbs give 4 kcal per gram each, fat 9 kcal.

How do I calculate macros?

Set daily calories, protein in g per kg of weight and a fat share; carbs are the remainder. For 75 kg and 2200 kcal that is 135 g of protein, 73 g of fat and 250 g of carbs.

How much protein should I eat a day?

For people who train, usually 1.4–2.0 g per kg of weight (the ISSN position). Sedentary adults need about 0.8 g/kg.

What is the best macro ratio?

There is no single best one: it depends on the goal, training and tolerance. For most people anything from a balanced 20/30/50 to an athletic 30/30/40 works.

How much fat do I need?

Usually 20–35% of calories. Going below 20% is not advised: fat is needed for hormones and for absorbing fat-soluble vitamins.

Do I need to count macros to lose weight?

The main thing is a calorie deficit. But more protein (about 2 g/kg) helps keep muscle and fullness, so tracking macros is useful.

What if carbs come out as zero?

Protein and fat do not fit into your calories. Raise the calories or lower protein or fat — the calculator shows a warning in that case.

Where does the fibre value come from?

The calculator shows a guide of 14 g per 1000 kcal. It is a general recommendation for adults, not a required norm for everyone.

Does the calculator include alcohol?

No. Alcohol gives another 7 kcal per gram, so if you drink, part of your calories comes from it.

How do I split macros across meals?

The calculator splits protein, fat and carbs equally across 3–6 meals. You can adjust the real split to your schedule and training.

Where do I get calories for the calculation?

Use the calorie calculator: it gives the daily need and calories for your goals. Then enter that number here.

Is a keto pattern suitable for everyone?

No. Keto (about 70% fat) is a very strict pattern; it is not advised without a doctor's supervision, especially with kidney, liver or pancreatic disease and pregnancy.