A macro calculator turns a daily calorie target into grams of protein, carbohydrate and fat: protein and carbs give 4 kcal per gram and fat gives 9, so 2,000 kcal split 50% carbs, 20% protein and 30% fat comes to 250 g of carbs, 100 g of protein and 67 g of fat. This one is free, needs no sign-up and runs in your browser.
How the macro calculator works
It needs a daily calorie target: your own (1,200 to 5,000 kcal, or 5,021 to 20,920 kJ), or one worked out from your sex, age, height, weight, activity and goal, exactly as in our meal plan:
- Basal metabolic rate (BMR), from the Mifflin-St Jeor equation: 10 × weight in kg + 6.25 × height in cm − 5 × age, then + 5 for men or − 161 for women.
- Maintenance calories (TDEE) = BMR × an activity factor, from 1.2 (sedentary) to 1.9 (very active).
- Target = TDEE − 500 kcal for “Lose weight” or + 300 kcal for “Gain weight / muscle” (TDEE itself for “Maintain”), never below 1,200 kcal for women or 1,500 kcal for men, rounded to the nearest 10 kcal.
Each macro is then calories × its percentage ÷ 4 for protein and carbs (17 kJ per gram), or ÷ 9 for fat (37 kJ per gram), rounded to whole grams. Units can be lb and ft/in or kg and cm. Energy shows in kcal and kJ, with kJ first if your browser is set to Australia or New Zealand, as on Australian food labels.
Four macro splits inside official ranges
| Preset | Carbs | Protein | Fat |
|---|---|---|---|
| Balanced (default) | 50% | 20% | 30% |
| Higher protein | 45% | 30% | 25% |
| Lower carb (AMDR minimum) | 45% | 25% | 30% |
| Lower fat | 60% | 20% | 20% |
All four fit the Acceptable Macronutrient Distribution Ranges (AMDR) of the US National Academies: carbs 45–65% of calories, protein 10–35%, fat 20–35%. They also fit the European EFSA ranges (carbs 45–60%, fat 20–35%) and the World Health Organization (WHO) advice to keep fat at 30% or less. A custom split needs whole percentages inside the AMDR that add up to 100; above 30% fat, a WHO note appears.
How to read your result
You get grams per day, and per meal if you choose 3 to 6 meals; rounding can move the total a few kcal. You also see limits: saturated fat under 10% of calories, free sugars (added sugars, honey, syrups and fruit juice) under 10% and ideally under 5%, and at least 25 g of fibre a day (US reference: 14 g per 1,000 kcal).
The protein check needs your height and weight. It divides your protein by your weight or, if your BMI is over 30, by your weight at a BMI of 25 (1 g per kg is about 0.45 g per lb). Under 0.8 g/kg, the US Recommended Dietary Allowance, it suggests more protein. Above that, it uses these ranges in g per kg a day, based on the Dietary Guidelines for Americans 2025–2030 and sports nutrition research:
| Activity | Maintain | Lose weight | Gain weight / muscle |
|---|---|---|---|
| Sedentary | 1.2–1.6 | 1.2–1.6 | 1.2–1.6 |
| Light | 1.2–1.6 | 1.2–1.6 | 1.6–2.2 |
| Moderate | 1.2–1.6 | 1.6–2.4 | 1.6–2.2 |
| Active or very active | 1.4–2.0 | 1.6–2.4 | 1.6–2.2 |
Below the range, try “Higher protein”; above it, more hasn't been shown to help most people.
Worked examples
2,000 kcal, balanced split, 4 meals
Your own target of 2,000 kcal (8,368 kJ); 70 kg (about 154 lb), 175 cm (about 5 ft 9 in), “Maintain”, moderate activity:
- Protein 2,000 × 0.20 ÷ 4 = 100 g; carbs 2,000 × 0.50 ÷ 4 = 250 g; fat 2,000 × 0.30 ÷ 9 = 66.7, so 67 g (2,003 kcal once rounded).
- Limits: saturated fat under 22 g, free sugars under 50 g (ideally under 25 g), fibre 25 g or more (US: 28 g).
- Protein: 100 ÷ 70 = 1.43 g/kg, inside 1.2–1.6. Per meal: 25 g of protein, 63 g of carbs, 17 g of fat.
Losing weight with a BMI over 30, higher-protein split
A man of 40, 180 cm (about 5 ft 11 in), 105 kg (about 231 lb), moderately active, chooses “Lose weight”:
- BMR = 1,050 + 1,125 − 200 + 5 = 1,980 kcal; TDEE = 1,980 × 1.55 = 3,069 kcal; minus 500 = 2,569, rounded to 2,570 kcal (10,753 kJ), as in our meal plan.
- At 45/30/25: 193 g of protein, 289 g of carbs, 71 g of fat (2,567 kcal once rounded).
- His BMI is 32.4, so the check uses 81 kg (about 179 lb), his weight at a BMI of 25: 193 ÷ 81 = 2.38 g/kg, inside 1.6–2.4.
- For comparison, the meal plan's own split (2.0 g of protein per kg, 28% fat, carbs for the rest): 162 g of protein, 300 g of carbs, 80 g of fat.
Limits and safety
These are estimates for healthy adults aged 18 and over, not medical advice, and no split can promise a result. With a medical condition or medicines that affect your weight, ask your doctor or a registered dietitian first.
- Not for anyone under 18, and not designed for pregnancy or breastfeeding. With a BMI under 18.5, no weight-loss target is calculated: if you're worried about your weight or your eating, please talk to a doctor.
- Targets under 1,500 kcal for men or 1,200 kcal for women aren't recommended without medical supervision.
- With insulin or other diabetes medicines, eating less or changing your carbs can cause low blood sugar: ask your care team first.
- With kidney disease, don't raise your protein without your doctor's advice (KDIGO 2024: about 0.8 g/kg a day for many people with chronic kidney disease).
- If you have, or have had, an eating disorder, these numbers can be unhelpful or harmful: please talk to your doctor or an eating-disorder support service.
Turn your macros into meals
Our free 7-day meal plan uses the same profile-based target and gives calories and protein for each meal, plus a shopping list. To check your plate, snap it with the free photo calorie counter, no sign-up needed. Our guide to daily calorie needs explains where your target comes from.
Sources
- National Academies (2005): nutrient reference intakes
- EFSA (2017): dietary reference values
- WHO (2023): fats and carbohydrates
- WHO (2015): sugars intake
- Dietary Guidelines for Americans 2025–2030
- FAO (2003): food energy conversion factors
- Mifflin et al. (1990): BMR equation
- Jäger et al. (2017): ISSN protein position stand
- Hector and Phillips (2018): protein in weight loss
- Morton et al. (2018): protein and muscle gains
- KDIGO (2024): chronic kidney disease
- AHA/ACC/TOS (2013): obesity guideline
Frequently asked questions
How do I calculate my macros by hand?
Multiply your daily calories by each percentage, then divide by 4 for protein and carbs and by 9 for fat. At 2,000 kcal with a 50/20/30 split, that is 1,000 kcal ÷ 4 = 250 g of carbs, 400 ÷ 4 = 100 g of protein and 600 ÷ 9 = 67 g of fat. The calculator does exactly this and rounds to whole grams.
What macros should I eat to lose weight?
No split is best for everyone: you lose weight by eating fewer calories than you use, and the 2013 AHA/ACC/TOS obesity guideline found that many different diets work when they cut calories. As a macro calculator for weight loss, this tool takes 500 kcal off your maintenance calories in profile mode, or uses a target you type, such as one from our calorie deficit calculator (which also gives a timeline). Protein matters more when you eat less, so it checks for 1.2–1.6 g per kg if you are sedentary or lightly active, and 1.6–2.4 g/kg if you train 3 or more times a week.
What macros should I eat to build muscle?
Muscle is built by strength (resistance) training, not by protein alone. With “Gain weight / muscle”, profile mode adds 300 kcal to your maintenance calories, and the protein check uses 1.6–2.2 g/kg if you train, because gains level off at about 1.6 g/kg on average. If you choose “Sedentary”, the range stays at 1.2–1.6 g/kg.
Is a 40/30/30 macro split good?
It puts carbs at 40% of calories, below the 45% minimum of the AMDR, and keto goes far lower, so the calculator offers neither. The closest presets are higher protein (45/30/25) and lower carb (45/25/30). If your doctor or dietitian has given you a different split, follow their advice.
Do I need to hit my macros exactly?
No. The grams are rounded (2,003 kcal instead of 2,000 in the first example) and every calorie target is an estimate. Aim to get close on most days, watch your weight for 2–4 weeks and adjust your target by 100–200 kcal a day if needed.
Can I use kilojoules instead of calories?
Yes. With your own target, type 5,021 to 20,920 kJ: the calculator converts it with 1 kcal = 4.184 kJ and shows both units. If your browser is set to Australia or New Zealand, kJ comes first, as on Australian food labels.
Who shouldn't use this calculator?
It is for healthy adults aged 18 and over. It isn't designed for pregnancy or breastfeeding, and it calculates no weight-loss target with a BMI under 18.5. If you have diabetes, kidney disease or another medical condition, or have or have had an eating disorder, talk to your doctor or a registered dietitian first.