Free tool · Health and fitness
Macro calculator
Start from a TDEE estimate or your own calories, set protein and fat yourself, and get grams per day and per meal. Carbohydrate is what is left.
- Free
- No sign-up
- Runs in your browser
2,556 kcal/dayTDEE 2,556 kcal (no adjustment)
- Protein 112 g
- Carbs 367 g
- Fat 71 g
- BMR (Mifflin-St Jeor)
- 1,649 kcal/day
- TDEE
- 2,556 kcal/day
- Adjustment
- None
- Protein
- 1.6 g/kg × 70.0 kg: 112 g (1.60 g/kg)
- Fat
- 25% of calories: 71 g
- Carbs
- The rest, 57.5%: 367 g
- Per meal (3 meals)
- 37 g protein, 122 g carbs, 24 g fat
| Macro | g/day | kcal | g/meal |
|---|---|---|---|
| Protein | 112 | 44817.5% | 37 |
| Carbohydrate | 367 | 1,46957.5% | 122 |
| Fat | 71 | 63925% | 24 |
| Total | 2,556100% |
Against the adult ranges (NASEM, percent of energy):
- Protein 17.5%: inside 10 to 35%
- Carbs 57.5%: inside 45 to 65%
- Fat 25%: inside 20 to 35%
Method: grams = calories × share ÷ energy per gram, with 4 kcal per gram of protein and of carbohydrate and 9 kcal per gram of fat (Atwater general factors). Carbohydrate is what is left after protein and fat. Alcohol and fibre are not counted separately.
These are planning numbers from an estimate, not a prescription or a goal. Check with a doctor or registered dietitian before you change how you eat.
How to use the Macro Calculator
- Type your Age (years) and Weight, and choose where the Calories come from: My TDEE estimate or Calories I type.
- For a TDEE estimate, fill in the sex, height and Activity level, and set Calories compared with my TDEE if you want a number above or below it.
- Choose Set protein by grams per kg or % of calories, then type the protein, Fat, % of calories and Meals per day. The values marked example are placeholders.
- Read the grams per day and per meal under Result, and the check against the adult ranges.
How do I calculate my macros?
Macros are the three nutrients that supply most of your energy: protein, carbohydrate and fat. To turn a calorie target into grams you need three decisions and one fixed rule. The decisions are the calories, the protein and the fat. Carbohydrate is simply what is left. The fixed rule is the energy per gram, which is 4 kcal for protein, 4 kcal for carbohydrate and 9 kcal for fat. These are the Atwater general factors described in the FAO chapter on calculating the energy content of foods. In short: grams = calories × share ÷ energy per gram.
Worked example 1 is what the tool opens with. Calories come from a TDEE estimate for a 30-year-old man of 70 kg and 175 cm at an example multiplier of 1.55: 2,556 kcal a day. Protein is set at 1.6 g per kg, so 1.6 × 70 = 112 g, which is 448 kcal. Fat is set at 25 percent of calories, so 639 kcal ÷ 9 = 71 g. Carbohydrate gets the rest: 2,556 − 448 − 639 = 1,469 kcal ÷ 4 = 367 g. That is 17.5, 57.5 and 25 percent of the calories for protein, carbohydrate and fat. Divide by three meals and each meal averages about 37 g of protein, 122 g of carbohydrate and 24 g of fat.
Worked example 2 types the calories and sets protein by percent instead. At 2,000 kcal, with protein at 30 percent and fat at 30 percent: protein is 600 kcal ÷ 4 = 150 g, fat is 600 kcal ÷ 9 = 67 g, and carbohydrate is the remaining 800 kcal ÷ 4 = 200 g. These percentages are inputs chosen for the example, not a recommendation.
The TDEE comes from the same engine as the TDEE Calculator on this site: Mifflin-St Jeor BMR times an activity multiplier. If you already know your calories, choose Calories I type and skip the body measurements.
What is a good macro split, and what ranges are accepted?
This tool does not choose a split for you, because the right one depends on the person and on advice from a doctor or dietitian. Every number marked example, including 1.6 g per kg of protein, 25 percent fat and three meals, is a placeholder for you to replace. The one cited reference is the set of adult Acceptable Macronutrient Distribution Ranges in the National Academies of Sciences, Engineering, and Medicine letter report of 2024: protein 10 to 35 percent, carbohydrate 45 to 65 percent and fat 20 to 35 percent of energy. The report describes them as guidance for health professionals, and says that intakes above a range may raise chronic disease risk while intakes below it may cause nutrient insufficiency.
The result checks your split against those three ranges and marks each one inside or outside. In example 1 all three are inside (17.5, 57.5 and 25 percent). In example 2 the 30 percent protein and 30 percent fat are inside their ranges, but carbohydrate at 40 percent is below the 45 to 65 range, so the tool marks it outside. A split outside a range is not an error. It is a prompt to ask a professional whether it suits you. The ranges are for adults, so the tool does not run under age 18.
The goal is yours to set. If you want to eat above or below your TDEE, choose that under Calories compared with my TDEE and type the amount in kcal or percent. As an example of the field, 500 kcal below makes the target of example 1 2,056 kcal. Protein stays at 112 g because it is tied to your weight, fat at 25 percent falls to 57 g, and carbohydrate absorbs the rest at 273 g. If the target lands below your estimated BMR the tool tells you so and suggests speaking to a doctor or registered dietitian, and it stops below 500 kcal.
How many grams of protein, carbs and fat is that at common calorie levels?
The table uses the example settings of the tool for a person of 70 kg: protein at 1.6 g per kg (112 g) and fat at 25 percent of calories. Carbohydrate is what is left. Protein is fixed at 112 g because it depends on weight, so as calories rise the extra goes to fat and carbohydrate. The percentages are each macro's share of the day's calories.
| Calories | Protein | Carbohydrate | Fat |
|---|---|---|---|
| 1,500 kcal | 112 g (29.9%) | 169 g (45.1%) | 42 g (25%) |
| 1,800 kcal | 112 g (24.9%) | 226 g (50.1%) | 50 g (25%) |
| 2,000 kcal | 112 g (22.4%) | 263 g (52.6%) | 56 g (25%) |
| 2,200 kcal | 112 g (20.4%) | 301 g (54.6%) | 61 g (25%) |
| 2,500 kcal | 112 g (17.9%) | 357 g (57.1%) | 69 g (25%) |
| 3,000 kcal | 112 g (14.9%) | 451 g (60.1%) | 83 g (25%) |
Every cell comes from the same function the page uses to split calories. Change the protein, the fat or the weight and the whole table moves, which is why the tool asks you for them instead of fixing them. If protein and fat together would use more than all the calories, the tool says so and asks you to lower one.
Do I count net carbs or total carbs, and how do I split macros per meal?
The tool uses one carbohydrate figure at 4 kcal per gram and does not subtract fibre. Net carbs is a label-reading convention that differs between countries and brands, so if you track net carbs, treat the carbohydrate grams here as your own definition and keep it the same from day to day. Alcohol is not counted as a macro.
Per meal, the tool divides each daily figure by the number of meals you type, from 1 to 12. In example 1, 112 g of protein over 3 meals is about 37 g a meal, and over 4 meals it is 28 g. Real meals are rarely equal, so read the per-meal column as an average to plan around. For the protein figure itself, the Protein Calculator on this site lists ranges by situation with their sources.
These are planning numbers from an estimate, not a prescription or a goal. Check with a doctor or registered dietitian before you change how you eat.
Use it with
- BMR Calculator: basal metabolic rate.
- Calories Burned Calculator: calories by activity and time.
- BMI Calculator: body mass index with chart.
Questions
How do I calculate my macros?
Pick a daily calorie target, set protein (in g per kg or % of calories) and fat (% of calories), and give the remainder to carbohydrate. Divide each share by 4, 4 and 9 kcal per gram for protein, carbohydrate and fat to get grams.
What is a good macro split for weight loss or muscle gain?
This tool does not pick one. The cited reference is the adult range of 10 to 35% protein, 45 to 65% carbohydrate and 20 to 35% fat. A doctor or registered dietitian can help set a split and a calorie target for a goal.
How many calories are in a gram of protein, carbs and fat?
Four for protein, four for carbohydrate and nine for fat, using the Atwater general factors (17, 17 and 37 kJ per gram).
Do I count net carbs or total carbs?
The tool uses one carbohydrate figure at 4 kcal per gram and does not subtract fibre. Net carbs is not a single standard, so use your own definition consistently.
How do I convert macros to grams per meal?
Divide each daily gram figure by the number of meals. The tool does it for you from the Meals per day box, so 112 g of protein over 3 meals is about 37 g a meal.
Why does the tool warn when calories are below my BMR?
BMR is the estimated energy you use at rest, from the Mifflin-St Jeor equation. A target under it is worth a conversation with a doctor or registered dietitian, so the tool says so instead of hiding it.
Sources
- FAO, Chapter 3: Calculation of the energy content of foods - energy conversion factors (section 3.5.1, Atwater general factors), read
- National Academies of Sciences, Engineering, and Medicine 2024, Rethinking the Acceptable Macronutrient Distribution Range for the 21st Century: A Letter Report (Table 3-1, adult ranges), read
- Mifflin et al. 1990, A new predictive equation for resting energy expenditure in healthy individuals, Am J Clin Nutr 51:241-247 (Europe PMC record of PubMed 2305711), read
- FAO/WHO/UNU, Human energy requirements: report of a joint expert consultation (2001), Table 5.3 physical activity levels, read
How this page was made: the tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations were drafted with AI help and checked against the tool's own output.