Macro calculator: protein, carbs and fat

To split your calories into macros, set protein by body weight (1.4 to 2.0 g per kg is enough for most people who train, about 0.6 to 0.9 g per lb), fat at 20% to 35% of calories, and give the rest to carbs. At 2,200 kcal and 154 lb (70 kg), that comes to about 112 g of protein, 301 g of carbs and 61 g of fat. Enter your numbers to see yours.

Updated · Fytform team · Free, no sign-up

Units
kcal

Not sure? Use the TDEE calculator.

lb
Protein (grams per kg of body weight)

That is 0.73 g per lb of body weight.

Fat (% of calories)
Meals per day

Enter your calories and weight. To estimate your calories, use the TDEE calculator.

How does the calculator split macros?

The math starts from your daily calories and follows three steps, in this order:

  • Protein by body weight: grams per kg × your weight in kg. Each gram has 4 kcal.
  • Fat as a percentage of calories: calories × % ÷ 9, because each gram of fat has 9 kcal.
  • Carbohydrate with what is left: (calories − protein kcal − fat kcal) ÷ 4.

Protein (g) = g/kg × weight (kg)

Fat (g) = calories × % fat ÷ 9

Carbs (g) = (calories − protein × 4 − fat × 9) ÷ 4

The 4, 4 and 9 kcal per gram values are the Atwater factors, used on food labels and described in the 2003 FAO report on food energy. If you enter your weight in pounds, the calculator converts it to kilograms (1 lb = 0.4536 kg) and also shows the protein target per pound.

Worked example

Someone who weighs 154 lb (70 kg) and will eat 2,200 kcal a day, with 1.6 g/kg of protein (about 0.73 g/lb) and 25% of calories from fat:

  • Protein: 1.6 × 70 = 112 g (448 kcal, about 20% of calories).
  • Fat: 2,200 × 0.25 ÷ 9 = 61 g (550 kcal).
  • Carbohydrate: (2,200 − 448 − 550) ÷ 4 = 301 g (about 55% of calories).
Example: 2,200 kcal, 154 lb (70 kg), 1.6 g/kg of protein and 25% fat.
Per dayPer meal (4)
Calories2,200 kcal550 kcal
Protein112 g28 g
Carbohydrate301 g75 g
Fat61 g15 g

How much protein should you choose?

The 2017 position stand of the International Society of Sports Nutrition (ISSN) says that 1.4 to 2.0 g of protein per kg per day is enough for most people who train, both to build and to maintain muscle. A 2018 meta-analysis of 49 studies (Morton and colleagues) found no extra gain in lean mass above about 1.6 g/kg per day, with the upper confidence limit near 2.2 g/kg.

That is why the calculator offers 1.4 to 2.2 g/kg (about 0.6 to 1.0 g/lb). In the Fytform plan, protein starts at 2.0 g/kg to lose weight, 1.6 g/kg to maintain and 1.8 g/kg to build muscle, and can go up to 2.2 g/kg when the menu portions deliver more.

If you have kidney disease or another health condition, set your protein with a doctor or registered dietitian.

Which reference ranges does the calculator use?

The acceptable macronutrient distribution ranges (AMDR) for adults, from the Dietary Reference Intakes (DRI) published by the US National Academies in 2005, are:

Reference ranges for adults, as % of calories (DRI, 2005).
MacronutrientRange
Protein10% to 35%
Fat20% to 35%
Carbohydrate45% to 65%

The calculator keeps fat within that range and warns you when protein goes above 35% or carbs drop below 45%. That happens, for example, with high protein and few calories. It is not forbidden, but it is a sign to review the numbers.

Where do the calories come from?

This calculator does not estimate calories: it splits the number you enter. If you do not know how much to eat yet, start with the TDEE calculator, which estimates your daily expenditure and adjusts it for your goal, or the BMR calculator to see your resting expenditure.

Want these numbers turned into a workout and meal plan?

Fytform uses the same math to build your workouts and your diet from a 17-question form. One-time payment, with lifetime access to your plan.

Build my plan

Frequently asked questions

How do I calculate macros to build muscle?

Start from calories slightly above your daily expenditure, choose protein between 1.6 and 2.2 g/kg (about 0.7 to 1.0 g/lb), fat between 20% and 35% of calories, and give the rest to carbs. The calculator does that split.

Do I need to hit my exact macros every day?

No. The numbers are a target. Getting close on most days, especially on protein and calories, works for most people.

Why is fat a percentage and protein in grams per kg?

The protein recommendation for people who train is given per kg of body weight (ISSN, 2017). The fat recommendation is given as a share of calories (DRI, 2005). The calculator follows the form of each reference.

Does splitting into more meals change the result?

The daily total is the same. The per-meal split only helps you plan the menu; choose the number of meals that fits your routine.

Sources

  1. International Society of Sports Nutrition Position Stand: protein and exerciseJäger R et al., Journal of the International Society of Sports Nutrition, 2017
  2. A systematic review, meta-analysis and meta-regression of the effect of protein supplementation on resistance training-induced gains in muscle mass and strength in healthy adultsMorton RW et al., British Journal of Sports Medicine, 2018
  3. Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino AcidsInstitute of Medicine, The National Academies Press, 2005
  4. Food energy: methods of analysis and conversion factors (chapter 3)FAO, 2003

Calculator and text by the Fytform editorial team, checked against the sources above on November 13, 2026. The math runs in your browser: nothing you type is sent or saved.

The result is an estimate and does not replace an assessment by a doctor, dietitian or fitness professional. Spotted a mistake? Write to contato@fytform.com.