Macro calculator: protein, carbs and fat for your goal
See your daily calories first, then how many grams of protein, carbs and fat make them up. It’s free and works in kg or lb, with no sign-up.
Your details
Your result
Enter your age, height and weight to see your macros.
What are macros?
Macros, short for macronutrients, are the three main nutrients that give food its calories: protein and carbohydrates have 4 kcal per gram, and fat has 9. Your macro targets are your daily calories split into grams of each. Counting them helps you eat enough protein while you keep to a calorie target.
Calories decide whether you lose or gain weight. Macros are what those calories are made of, and that affects how much muscle you keep and how full you feel.
How the macro calculator works
It follows the same steps the FitDiary app uses to set your targets:
- Daily calories: your TDEE, from the Mifflin-St Jeor equation and your activity level, adjusted up or down by 250, 500 or 750 kcal for your goal. The TDEE calculator shows each step.
- Protein from your body weight and goal (see the table below).
- Fat at 25% of your calories.
- Carbs make up the rest.
Protein by goal
| Goal | Per kg of body weight | Per lb |
|---|---|---|
| Build muscle | 2.2 g | 1.0 g |
| Lose weight | 2.0 g | 0.9 g |
| Maintain or gain weight | 1.8 g | 0.8 g |
The three macro splits
- Balanced follows the steps above and is the default.
- High-protein raises protein to at least 2 g per kg and splits the remaining calories between carbs and fat in the same proportions as the balanced split.
- Low-carb keeps protein the same, caps carbs at 100 g a day and puts the remaining calories into fat.
The 1.8 and 2.0 g levels sit within the 1.4 to 2.0 g per kg that the International Society of Sports Nutrition recommends for most people who exercise. The 2.2 g for building muscle is the upper end found by a 2018 meta-analysis of 49 studies of strength training. Fat at 25% is within the 20 to 35% of calories that the US National Academies set as the acceptable range for adults.
In the FitDiary app these three splits are the Balanced, High-protein and Low-carb focus modes, and each meal shows how much protein, carbs and fat it adds to your day.
Worked example
Take a 30-year-old woman who is 165 cm (5 ft 5 in) tall, weighs 70 kg (154 lb), is lightly active and wants to lose about 0.5 kg a week:
- Calories: TDEE 1,952 kcal − 500 = 1,452 kcal a day.
- Protein: 70 kg × 2.0 g = 140 g, which is 560 kcal (39% of her calories).
- Fat: 25% of 1,452 kcal = 363 kcal, rounded down to 40 g (360 kcal).
- Carbs: 1,452 − 560 − 363 (fat before rounding) = 529 kcal, rounded down to 132 g (528 kcal, 36%).
Over three meals that’s about 47 g of protein, 44 g of carbs and 13 g of fat per meal. With the low-carb split she would eat 100 g of carbs and 55 g of fat (rounded) instead.
Getting that much protein at every meal is easier with a protein-rich start to the day and a snack in between: see these high-protein breakfast ideas and high-protein snacks, with the grams of protein and kcal for each.
What is the best macro ratio for weight loss?
Here is how some common ratios (carbs/protein/fat, as a percentage of calories) work out in grams:
| Ratio and calories | Carbs | Protein | Fat |
|---|---|---|---|
| 40/30/30 at 1,500 kcal | 150 g | 113 g | 50 g |
| 40/30/30 at 1,800 kcal | 180 g | 135 g | 60 g |
| 50/25/25 at 1,500 kcal | 188 g | 94 g | 42 g |
| 50/25/25 at 1,800 kcal | 225 g | 113 g | 50 g |
| 30/40/30 at 1,500 kcal | 113 g | 150 g | 50 g |
| 30/40/30 at 1,800 kcal | 135 g | 180 g | 60 g |
No single ratio is best for losing weight. In a two-year trial of 811 adults published in the New England Journal of Medicine, people on reduced-calorie diets lost similar amounts of weight whether they ate more fat, protein or carbs. Your calorie deficit matters most; enough protein helps you keep muscle while you lose fat.
Macros for women
Balanced-split macros for a lightly active 30-year-old woman, 165 cm tall, losing about 0.5 kg a week, at three different weights:
| Weight | Calories | Protein | Carbs | Fat |
|---|---|---|---|---|
| 55 kg (121 lb) | 1,246 kcal | 110 g | 123 g | 34 g |
| 70 kg (154 lb) | 1,452 kcal | 140 g | 132 g | 40 g |
| 85 kg (187 lb) | 1,659 kcal | 170 g | 141 g | 46 g |
A percentage split like 40/30/30 ties protein to calories, not body weight, so the heavier the woman, the less protein per kg she gets. Setting protein by body weight avoids that.
See your macros add up meal by meal
Type what you ate in one sentence and FitDiary shows the protein, carbs and fat in it, and how much is left for today.
See how the FitDiary calorie counter works.
Frequently asked questions
How do I calculate the macros I need to lose weight?
Work out your TDEE and take off 250 to 750 kcal. Set protein at about 2 g per kg of body weight, fat at around 25% of your calories, and give the rest to carbs. The calculator above does this for you.
Is a 40/30/30 macro split good for weight loss?
It can work, as long as your calories are below your TDEE. A large trial found that weight loss was similar on diets with quite different macro ratios. Check that the protein it gives you is at least 1.6 g per kg of body weight.
Should I count macros or calories?
Calories first, because they decide whether your weight goes down or up. Then protein, because it helps you keep muscle and stay full. Carbs and fat can move around from day to day as long as the calories add up.
How much protein do I need?
For people who exercise, 1.6 to 2.2 g per kg of body weight a day covers most goals. This calculator uses 1.8 g to maintain, 2.0 g to lose weight and 2.2 g to build muscle. Our protein calculator works it out for you.
Do macros change when I lose weight?
Yes. Protein follows your body weight and your calories drop as you get lighter, so work your macros out again after every few kilos.
Is there a free macro counting app?
Yes. FitDiary’s free plan shows the protein, carbs and fat of everything you log. You can log by hand or scan a barcode, and send three chat messages a day to log a meal in one sentence.
Related calculators
- TDEE calculator
How many calories you burn in a day, and how many to eat to lose or gain weight.
- Calorie deficit calculator
How many calories to eat to lose weight, and roughly when you could reach your goal.
- Water intake calculator
How much water to drink a day for your size, activity and the weather.
- Protein calculator
How many grams of protein to eat a day for your weight and goal, and per meal.
- BMI calculator
Your body mass index in kg or lb, what it means and the healthy weight range for your height.
- Weight loss calculator
When you could reach your goal weight, with the date and a week-by-week plan.
- Weight loss percentage calculator
What percentage of your body weight you’ve lost, and how close you are to 5%, 10% and your goal.
- Intermittent fasting calculator
Your eating window for 16:8, 18:6, 20:4, OMAD or 5:2, with meal times and calories per meal.
