CALCULATOR TOOL

Macro Calculator

Enter your sex, age, height, weight and activity level, pick a goal and a macro split, and this calculator estimates a daily calorie figure and divides it into grams of carbohydrate, protein and fat. People who log meals in a food-tracking app use it to get gram targets to type in, for example to see how many grams of protein a high-protein split works out to at their calorie level.

Estimates only, based on the Mifflin-St Jeor equation. Not medical advice. Adults only.

About this tool

Macros are the three nutrients that supply calories: protein, carbohydrates and fat. This macro calculator estimates your daily calorie target from your size and activity, adjusts it for your goal, and turns it into grams of protein, carbs and fat using a split you choose. It runs in your browser and nothing is stored.

How to use it

  1. Choose Sex and enter Age (years); the calculator accepts ages 18 to 100.
  2. Pick Units, Metric (cm, kg) or Imperial (inches, lb), then enter Height and Weight. Switching units converts the numbers already in the boxes, rounded to whole values.
  3. Select the Activity level that matches a typical week.
  4. Choose a Goal (from -500 to +500 calories a day) and a Macro split.
  5. Read the daily calories and grams under the form; they update with every change.

The result shows total calories and the grams of each macro. Try the three splits to see how the numbers move. If you only want calories, use the calorie calculator.

How the grams are calculated

First the calculator estimates calories with the Mifflin-St Jeor equation: 10 × weight in kg + 6.25 × height in cm − 5 × age, then +5 for Male or −161 for Female. It multiplies that by the activity factor (1.2 for Sedentary up to 1.9 for Extra active) and adds the goal adjustment. Protein and carbohydrate each provide 4 calories per gram, and fat provides 9. So calories from each macro are divided by those values. For a 2,000 calorie day on a balanced 40/30/30 split, carbs are 800 calories (200 g), protein is 600 calories (150 g) and fat is 600 calories (about 67 g). The three shares always add up to your calorie target.

Worked example

Female, 30 years, 165 cm, 60 kg, Lightly active (1.375), Lose slowly (−250) and High protein: the equation gives 600 + 1,031.25 − 150 − 161 = 1,320.25. Multiplied by 1.375 that is 1,815.34, and subtracting 250 leaves 1,565 daily calories. The 30/40/30 split then gives 1,565.34 × 0.30 ÷ 4 = 117 g carbohydrates, 1,565.34 × 0.40 ÷ 4 = 157 g protein and 1,565.34 × 0.30 ÷ 9 = 52 g fat, each rounded to the nearest gram.

The splits offered

Important limits of any calorie calculator

These numbers are estimates. The equation is based on averages, and real needs differ by muscle mass, genetics, medications and health conditions. Use the result as a starting point, track your weight over two to three weeks, and adjust. Do not eat below the minimum shown without medical supervision, and speak to a doctor or registered dietitian before making big changes, especially if you are pregnant, breastfeeding, under 18, or managing a health condition. This tool is for adults.

Things to watch out for

There is no single ideal split, and total calories matter more than the exact ratio for weight change. Protein needs are also often expressed per kilogram of body weight, so a percentage split may give a low or high figure for very small or large people. Fibre, vitamins and food quality are not captured by macros alone. Treat these grams as targets to adjust, not strict rules.

Frequently asked questions

How many calories are in a gram of protein, carbs and fat?

Protein and carbohydrates provide about 4 calories per gram, and fat provides about 9 calories per gram.

What is the best macro split?

There is no single best split. A balanced split of 40% carbs, 30% protein and 30% fat is a common starting point, and people adjust it based on preference, goals and how they feel.

Do I need to count macros to lose weight?

No. Total calories drive weight change. Tracking macros can help with protein intake and food choices, but it is optional.

Which formula does this macro calculator use?

It uses the Mifflin-St Jeor equation: 10 x weight in kg + 6.25 x height in cm - 5 x age, plus 5 for Male or minus 161 for Female. That figure is multiplied by the activity factor you pick (1.2, 1.375, 1.55, 1.725 or 1.9), and the goal adjustment of -500, -250, 0, +250 or +500 calories is added. Imperial entries are converted first, using 2.54 cm per inch and 2.20462 lb per kg.