Macro Calculator: Protein, Carbs and Fat Grams

Use this macro calculator to split your daily calories into protein, carbs and fat. Enter your age, height, weight, activity and goal, pick a balanced, high protein or lower carb split, and get grams per day. It is a general guide, not medical advice. To get a random halal-friendly meal idea, open the What Should I Eat.

Macro Calculator

Protein, carbs and fat in grams.

0Protein (g/day)
0Carbs (g/day)
0Fat (g/day)
This tool gives general estimates for healthy adults and is not medical advice. Talk to a doctor or dietitian for personal guidance.
Everything runs in your browser. Nothing you enter or upload is sent to a server.

This free macro calculator turns a daily calorie goal into grams of protein, carbohydrates and fat, per day and per meal. Pick a preset split such as balanced, low carb, keto or muscle gain, or type your own percentages. If you do not know your calories yet, find your maintenance number with a TDEE calculator first. The Carb Calculator can also help you work out how many carbs to eat per day.

How to use the Macro Calculator

  1. Enter your daily calorie goal.
  2. Pick a diet preset: Balanced 30/40/30, Low carb 40/20/40, High carb 25/50/25, Keto 25/5/70, Zone 30/40/30 or Muscle gain 35/45/20 (protein/carbs/fat). Choose Custom to set your own.
  3. Make sure the three percentages add up to 100%.
  4. Set meals per day and read grams per day, grams per meal and calories from each macro.

Macro formula

Protein and carbohydrates have 4 calories per gram and fat has 9. Grams = daily calories × percent ÷ 100 ÷ calories per gram.

Worked examples

  • 2,000 calories, balanced: 150 g protein, 200 g carbs, 67 g fat.
  • 2,200 calories, muscle gain, 4 meals: 193 g protein, 248 g carbs and 49 g fat a day, or about 48 g, 62 g and 12 g per meal.
  • 1,800 calories, keto: 113 g protein, 23 g carbs, 140 g fat.

These are general nutrition estimates, not medical advice.

Frequently asked questions

How do I calculate my macros?

Multiply your daily calories by each macro percent, then divide by 4 for protein and carbs or by 9 for fat. The calculator does this and rounds to whole grams.

What is a good macro split for weight loss?

Total calories matter most. Many people find a higher protein split, such as 40/30/30 or 35/35/30, easier to stick with because protein is filling.

How much protein do I need per day?

Many active adults aim for 1.6 to 2.2 grams per kilogram of body weight. Less active adults often need less.

Do I need to hit my macros exactly?

No. Staying within about 5 to 10 grams of each target most days is close enough for most goals.

Why must the percentages add up to 100%?

Each percent is a share of your total calories. If they add up to more or less than 100%, the grams would not match your calorie goal, so the tool asks you to fix them.

Related tools: Protein Calculator, Calorie Deficit Calculator, Daily Calorie & TDEE Calculator, Calorie Counter, BMR Calculator.

Plan your macros

How to use it

  1. Enter your details.
  2. Pick your goal.
  3. Choose a macro split.
  4. Read your daily grams.

More questions

How many calories in a gram of protein?

4, the same as carbs; fat has 9.

Can I set my own split?

Yes. Use the custom option to set your own protein, carb and fat percentages.

Should I ask a doctor?

Yes. Talk to a doctor or dietitian first if you have health conditions.

Related tools: Daily Calorie & TDEE Calculator (With Custom Extra Calories), BMR Calculator, Calorie Counter.