Macro Calculator

Turn your calorie goal into daily protein, carb, and fat targets — free, no sign-up needed.

Don't know yours? Use the calorie calculator first.

30% protein · 40% carbs · 30% fat

Enter your daily calories to see your macro targets.

Embed this calculator

Add this calculator to your website

Copy the code below and paste it into your page's HTML. The calculator is free to use and stays up to date.

The script is optional: it resizes the frame to fit the calculator.

What this calculator tells you

Macronutrients, or “macros”, are the three nutrients that provide energy: protein, carbohydrates and fat. This calculator takes your daily calorie target and splits it into grams of each macro according to the eating style you choose. The calories decide whether you lose, keep or gain weight; the split shapes how full you feel, how well you train and how much muscle you keep.

The formula

Each gram of protein and carbohydrate provides about 4 kcal and each gram of fat about 9 kcal. The calculator multiplies your calories by each percentage and divides by those energy values:

Protein (g) = calories × protein % ÷ 4

Carbs (g) = calories × carbs % ÷ 4

Fat (g) = calories × fat % ÷ 9

StyleProteinCarbsFatGood for
Balanced30%40%30%Most people, general health
High protein40%30%30%Fat loss and muscle building
Keto / low-carb25%5%70%People who prefer very low carb
Endurance25%50%25%Runners, cyclists, high training volume

Worked example

On 2,000 kcal with the balanced split: protein 2,000 × 30% ÷ 4 = 150 g, carbs 2,000 × 40% ÷ 4 = 200 g, fat 2,000 × 30% ÷ 9 = 67 g. Switching to high protein on the same calories gives 200 g protein, 150 g carbs and 67 g fat.

Macros for fat loss

In a calorie deficit, protein is the macro to protect. Research on lean, resistance-trained people suggests higher protein helps keep muscle while dieting, and protein is also the most filling macro, which makes a deficit easier to stick to. Choose the high-protein split, keep fat at a comfortable level (very low fat is hard to sustain) and let carbs fill the rest.

A useful check: protein should land around 1.6–2.4 g per kg of body weight when you are losing fat and training. If your split gives far less, raise the protein percentage.

Macros for muscle gain

For building muscle, a meta-analysis of resistance-training studies found that benefits from protein level off around 1.6 g per kg of body weight per day, with some people benefiting up to about 2.2 g/kg. Above that, extra carbohydrates fuel training better than extra protein. The balanced or high-protein split on a small calorie surplus covers most people.

Staying within healthy ranges

The U.S. Dietary Reference Intakes set acceptable ranges for adults of 10–35% of calories from protein, 45–65% from carbohydrates and 20–35% from fat. The balanced split sits close to these. The keto style deliberately falls outside them, so it is not for everyone; check with a doctor first if you have diabetes, kidney disease or take medication.

Hitting your macros with real food

  • Build each meal around a protein source: chicken, fish, eggs, Greek yogurt, lentils, chickpeas or lean lamb.
  • Let carbs follow your activity: more on training days, fewer on rest days.
  • Treat fat as the remainder; olive oil, nuts and tahini add up quickly.
  • Landing within about 10 g of each target counts as a good day; consistency over weeks matters more than precision.
  • Mixed dishes such as biryani, mandi or tagine can be tracked too; our guide to tracking macros with cultural meals shows how.

Limitations

  • The split is only as good as the calories it divides. If you do not know your target yet, start with the calorie calculator.
  • Percentages ignore body size: a small person on a high-calorie plan may get more protein than needed, and a large person on a low-calorie plan may get too little. Check grams per kg of body weight.
  • This is general information, not medical advice. People with kidney disease, diabetes or other conditions, and anyone pregnant or breastfeeding, should get personal advice from a doctor or registered dietitian.

Frequently asked questions

What macro split is best for weight loss?

A higher-protein split (around 35–40% protein) helps preserve muscle and keeps you full in a deficit. The calorie deficit itself, not the exact split, is what drives weight loss.

How much protein do I need to build muscle?

Around 1.6 g per kg of body weight per day covers most people, and up to about 2.2 g/kg may help some. Spread it across 3–4 meals.

Do macros matter more than calories?

Calories decide whether your weight changes; macros affect how much of that change is fat or muscle and how you feel. Set calories first, then the split.

Is keto better for fat loss?

Not when calories and protein are equal. Low-carb diets can suit people who find them easier to follow, but they are not automatically more effective, and they are not suitable for everyone.

Can I track macros with halal or cultural food?

Yes. Mixed dishes like biryani or tagine have known macro profiles, and MyNutriRise covers 30+ world cuisines with protein, carbs and fat per serving.

Related calculators

Related guides

Track your macros automatically

Snap a photo and MyNutriRise logs the protein, carbs, and fat for you — with daily breakdowns against your targets.

Get the free app