Macro calculator
Protein, carbs, and fat.
Turn your calories into macro grams. Enter your details, pick a split from balanced to keto, and the macro calculator shows protein, carbs, and fat for the day.
Grams come from your maintenance calories split by the preset, at 4 calories per gram of protein and carbs and 9 per gram of fat. Eating below maintenance? Scale the grams down with your target.
calorietrack.ai reads the calories and macros from one photo in about two seconds. Free account.Onmode reads the calories and macros from one photo in about two seconds. Free to download.
Calories first, then the split.
Macros are just your calories divided into protein, carbs, and fat. So the calculator starts by estimating your maintenance calories from your stats and activity, then splits that total by the preset you choose.
The conversion uses the standard energy values: 4 calories per gram of protein, 4 per gram of carbohydrate, and 9 per gram of fat. That is why the fat gram number looks smaller than the carbs even at a similar calorie share.
If you are eating in a deficit or surplus, scale the grams to your target rather than maintenance. However you set them, hitting protein is usually the highest-value habit. Log meals in the free calorietrack.ai web app to see your macros add up.
How do you calculate your macros?
Multiply your daily calories by each percentage, then divide by the calories per gram: 4 for protein, 4 for carbohydrate and 9 for fat. The calculator uses your maintenance calories, your BMR times your activity factor. For a 35-year-old man at 80 kg (176 lb) and 178 cm (5 ft 10 in) who exercises 3 to 5 days a week, that is about 2,700 calories, and the balanced 30/40/30 split gives:
- Protein: 30 percent of 2,700 is 810 calories; divided by 4, about 203 g.
- Carbohydrate: 40 percent is 1,080 calories; divided by 4, about 270 g.
- Fat: 30 percent is 810 calories; divided by 9, about 90 g.
How much protein do you need?
For most people who exercise, 1.4 to 2.0 grams per kilogram of body weight a day (about 0.6 to 0.9 grams per pound), according to the International Society of Sports Nutrition’s 2017 position stand. The Recommended Dietary Allowance for adults, set to cover basic needs, is 0.8 g/kg.
For the man above, that is 112 to 160 g a day, or 64 g at the RDA. His balanced split already gives about 203 g, so a percentage split can overshoot when calories are high. Set protein from your body weight first, then share the remaining calories between carbohydrate and fat.
What macro split should you choose?
The Acceptable Macronutrient Distribution Ranges set by the US National Academies (Institute of Medicine, 2005) are 10 to 35 percent of calories from protein, 45 to 65 percent from carbohydrate and 20 to 35 percent from fat. The Dietary Guidelines for Americans use the same ranges.
Our presets serve specific goals, so most sit outside those ranges on purpose. Balanced (30/40/30) is just under the carbohydrate range, high protein (40/30/30) is above the protein range, and low carb (35/25/40) and keto (25/5/70) trade carbohydrate for fat, outside both ranges. Without a particular reason to pick one, a split inside the ranges is the standard advice.

Questions, answered.
Keep reading.
- 01Steps to calories calculatorEstimate the calories you burn for any step count, body weight, and walking pace.
- 04How to use a calorie deficit to lose weightA common calorie deficit to lose weight is about 500 calories a day below what you burn, which points toward roughly 1 pound of loss a week. Since 3,500 calories is a rough stand-in for about 1 pound of fat, a modest daily deficit adds up to steady, sustainable loss.
- 01Protein calculatorYour daily protein target in grams, from your weight, goal and training.
- 02Ideal weight calculatorYour ideal weight by the four classic formulas, next to the healthy range.
- 03Calories in an egg: by size and cooking methodA large egg has about 72 calories and 6.3 grams of protein, and boiling or poaching adds nothing. Size moves the count from about 54 to 90, and the butter or oil in the pan can add more than the egg itself.
- 04Shrimp calories: per shrimp, by size and cooking methodPlain cooked shrimp has about 99 calories per 100 grams, or 84 in 3 ounces, and more than 95% of them come from protein. One shrimp runs from about 6 calories at a 61/70 count to 30 at a 13/15, so the count on the bag tells you more than the size name.
- 05Cronometer vs MyFitnessPalData accuracy vs database size, side by side.
- 06Cronometer alternativesSimpler, AI-first options to Cronometer.
Hit your macros, not a wall.
calorietrack.ai. Snap a meal to see its macros instantly. Free account. Same login on the web and iPhone.Free to download on the App Store.Free to download on Google Play.