Macro Calculator
Turn your daily calories into grams of protein, carbohydrate and fat for fat loss, maintenance or muscle gain.
Calculated in your browser. Nothing you enter is stored or sent anywhere.
How to use this calculator
- Choose your units. Select metric (kg, cm) or imperial (lb, ft, in). The fields change to match.
- Enter your details. Fill in sex, age, height, weight, activity level, goal and diet style. Fields marked optional can be left empty.
- Calculate. Press "Calculate macros". The result appears under the form straight away.
- Read your result. Check the main figure, its category and the detail rows beneath it. The colour shows whether the value is in a typical, borderline or higher-risk range.
- Understand what it means. Use the guide below to see how the number is worked out, what its limits are and when to speak to a doctor.
What are macros?
Macronutrients, or macros, are the three nutrients that supply energy: protein, carbohydrate and fat. Counting macros means aiming for a set number of grams of each, rather than only a calorie total. It can help you keep muscle while losing fat and fuel training properly.
How the calculator works
It estimates your maintenance calories (Mifflin-St Jeor equation × activity level), adjusts them for your goal, then splits the total by the diet style you choose.
Carbohydrate: 4 kcal per gram
Fat: 9 kcal per gram
Grams = (calories × share) ÷ kcal per gram
Fat loss uses about 20% below maintenance. Muscle gain uses about 10% above.
Recommended ranges
| Macro | Share of calories for adults |
|---|---|
| Carbohydrate | 45 to 65% |
| Fat | 20 to 35% |
| Protein | 10 to 35% |
These are the Acceptable Macronutrient Distribution Ranges set by the US National Academies. The balanced and higher-carb styles here sit inside them. The lower-carb style falls below the carbohydrate range, which suits some people but is not necessary for fat loss.
Choosing a diet style
- Balanced: a sensible default for general health and steady fat loss.
- Higher protein: helps protect muscle and control appetite during a calorie deficit.
- Lower carb: some people find it easier for appetite control. Quality of carbohydrate matters more than the amount.
- Higher carb: suits endurance training and very active jobs.
Limitations
No macro split is best for everyone. Total calories and enough protein explain most results. Food quality, fibre and micronutrients still matter, so hitting numbers with highly processed food is not the goal.
When to get advice
See a doctor or dietitian before changing your diet if you have diabetes (especially if you take insulin), kidney disease, or are pregnant.
References
- Institute of Medicine. Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids. 2005.
- Mifflin MD, St Jeor ST, Hill LA, et al. A new predictive equation for resting energy expenditure in healthy individuals. Am J Clin Nutr. 1990;51:241–247. PubMed
- Jäger R, Kerksick CM, Campbell BI, et al. International Society of Sports Nutrition Position Stand: protein and exercise. J Int Soc Sports Nutr. 2017;14:20. PubMed
- National Academies of Sciences, Engineering, and Medicine. Dietary Reference Intakes for Energy. 2023.
Frequently asked questions
A calorie deficit with protein at about 1.6 to 2.2 g per kg of body weight works well for most people. The balance of carbohydrate and fat can follow your preference.
Most active adults do well with 1.2 to 1.6 g per kg of body weight a day, and up to 2.2 g per kg when building muscle or dieting.
No. Being within about 5 to 10 g of each target and close on calories is enough. Consistency over weeks matters more than precision.
Trials that match calories and protein show similar fat loss on lower-carb and higher-carb diets. Choose the one you can stick to.
Protein and carbohydrate each provide 4 kcal per gram. Fat provides 9 kcal per gram, and alcohol provides 7.
