Last updated:

Macro Calculator

Creators

Saba ShaukatSaba ShaukatEducational Content Writer & Technical Conversion WriterSaba Shaukat is an educational content writer with an MSc in Media Studies and more than 14 years of teaching experience. She specialises in explaining information clearly, developing educational materials and making complex topics easier for everyday readers to understand. At EverydayCalcPro, she contributes practical calculator guides, tool explanations and user-friendly educational content. See full profileCheck our editorial policy

Reviewers

Faheem AliFaheem AliSoftware Developer, Digital Marketing Specialist & Technical WriterLinkedInWebsiteFaheem Ali is a software developer, digital marketing specialist and technical writer with over 12 years of experience in programming, digital marketing and content development. He holds two master’s degrees in Management Sciences and has professional certifications in programming and digital marketing. Based in Finland, Faheem focuses on developing reliable calculators, verifying mathematical formulas and calculation logic, and making technical and financial information accessible through clear, practical guides. See full profileCheck our editorial policy

2 people find this calculator helpful

Turn your daily calories into grams of protein, carbs and fat. Split by percentage or set protein by body weight first. Results update as you type.

Don't know your number? Use the calorie calculator.
Used to show protein per kg.
Split
Your daily macros
150 / 200 / 67 g
protein / carbs / fat at 2,000 kcal
Protein150 g (30%)
Carbs200 g (40%)
Fat67 g (30%)
Protein per kg1.9 g/kg
Protein 30%Carbs 40%Fat 30%
Per meal (3 meals)
  • Calories~667 kcal
  • Protein~50 g
  • Carbs~67 g
  • Fat~22 g

Did we solve your problem today?

How macros are calculated

Macronutrients are protein, carbohydrate and fat. Protein and carbs provide 4 kcal per gram and fat provides 9 kcal per gram. To convert a calorie target into grams, multiply it by the percentage for each macro and divide by the calories per gram.

Worked example: 2,000 kcal at 30% protein, 40% carbs, 30% fat

  1. Protein = 2,000 × 0.30 ÷ 4 = 150 g.
  2. Carbs = 2,000 × 0.40 ÷ 4 = 200 g.
  3. Fat = 2,000 × 0.30 ÷ 9 = 67 g.

The calorie target itself comes from your maintenance level and your goal. If you do not have one, start with the calorie calculator.

Common macro splits in grams

The table shows what each split means at 2,000 kcal a day:

SplitProteinCarbsFat
Balanced (30/40/30)150 g200 g67 g
High protein (35/40/25)175 g200 g56 g
Low carb (30/20/50)150 g100 g111 g
Keto (25/5/70)125 g25 g156 g
Endurance (15/55/30)75 g275 g67 g

The Dietary Guidelines for Americans give acceptable ranges for adults of 10 to 35% of calories from protein, 45 to 65% from carbohydrate and 20 to 35% from fat. Low-carb and keto splits sit outside the carbohydrate range, so talk to a doctor or dietitian first if you have a medical condition.

The protein first method

Instead of a percentage, you can set protein by body weight and let carbs and fat share what is left. For the 175 lb (79.4 kg) example at 2,000 kcal with the remaining calories split 50/50 between carbs and fat:

Protein per kgProteinCarbsFat
0.8 g per kg64 g218 g97 g
1.2 g per kg95 g203 g90 g
1.6 g per kg127 g187 g83 g
2 g per kg159 g171 g76 g
2.2 g per kg175 g163 g72 g

What the research says about protein

  • 0.8 g per kg The recommended dietary allowance, set to prevent deficiency in most adults.
  • 1.4 to 2.0 g per kg The range the International Society of Sports Nutrition position stand calls enough for most exercising people.
  • About 1.6 g per kg A meta-analysis of resistance training trials by Morton and colleagues (2018) found muscle gains levelled off at about 1.62 g per kg, with a confidence interval of 1.03 to 2.20.

Needs vary with age, training and health. People with kidney disease should get medical advice before raising protein. For a personal protein target, use the protein calculator.

Choosing a split for your goal

  1. Set your calories first. Macros divide a calorie target; they do not replace one.
  2. Pick protein. For most people, 1.2 to 2.0 g per kg is a practical range, higher when you are in a calorie deficit or training hard.
  3. Keep fat at 20% of calories or more, the lower end of the Dietary Guidelines range.
  4. Fill the rest with carbohydrate, more of it if you train a lot.
  5. Follow the plan for two to four weeks, then adjust based on energy, hunger and results.

Who should be careful

This calculator is for healthy adults aged 18 and over. Talk to a doctor or registered dietitian before changing how you eat if you are pregnant or breastfeeding, have a medical condition, take medication that affects weight or appetite, or have a history of disordered eating. Energy needs for children and teenagers are different and should be set with a professional.

Macro calculator FAQ

How do I calculate my macros?
Set your daily calories, then split them by percentage. Protein and carbs have 4 kcal per gram and fat has 9. At 2,000 kcal with a 30/40/30 split: protein is 2,000 × 0.30 ÷ 4 = 150 g, carbs 2,000 × 0.40 ÷ 4 = 200 g and fat 2,000 × 0.30 ÷ 9 = 67 g.
What is a good macro split?
There is no single best split. The Dietary Guidelines for Americans give acceptable ranges for adults of 10 to 35% of calories from protein, 45 to 65% from carbohydrate and 20 to 35% from fat. A balanced 30/40/30 split sits inside those ranges for protein and fat. Choose a split you can follow, then adjust based on how you feel and your results.
How much protein do I need?
The recommended dietary allowance is 0.8 g per kg of body weight a day, the amount to prevent deficiency in most adults. The International Society of Sports Nutrition position stand says 1.4 to 2.0 g per kg is enough for most exercising people. For the 175 lb example (79.4 kg), 0.8 g per kg is 64 g and 1.6 g per kg is 127 g.
What does the protein first method do?
You choose protein in grams per kg of body weight, and the calculator sets protein first. The remaining calories are then split between carbs and fat. This keeps protein steady when your calories change, which the percentage method does not.
How many calories are in a gram of protein, carbs and fat?
Protein and carbohydrate provide about 4 kcal per gram and fat about 9 kcal per gram. Alcohol provides about 7 kcal per gram and is not counted in these macros.
What are macros for weight loss?
The calorie deficit matters most for weight loss. Within it, keeping protein higher is a common approach because protein helps you feel full and helps preserve muscle. Set your calorie target with the calorie calculator, then use this tool to turn it into grams.
What are macros for muscle gain?
Eat a small calorie surplus and keep protein in the 1.4 to 2.0 g per kg range supported by sports nutrition guidance, with carbohydrate fuelling training. A protein-first split makes this easy: pick your g per kg, then divide the rest between carbs and fat.
Does the macro calculator work for keto?
It can show a keto-style split such as 25/5/70, but low-carb and keto splits fall outside the 45 to 65% carbohydrate range in the Dietary Guidelines. Talk to a doctor or dietitian first if you have a medical condition or take medication.
Do I need to hit my macros exactly?
No. Estimates of calories and food labels are rounded, and day-to-day variation is normal. Aiming to be within about 5 to 10 g of each target over a week is a practical goal.
How many meals should I split my macros across?
Any number works. The calculator divides your daily totals evenly across two to six meals so you can plan portions. Total daily intake matters more than meal timing for most people.

About this calculator

Method: Protein and carbohydrate = 4 kcal per gram; fat = 9 kcal per gram. By percentage: grams = calories × share ÷ kcal per gram. Protein first: protein = body weight in kg × g per kg, and the remaining calories are split between carbs and fat. The maths runs in your browser, so nothing you enter is sent to our servers. This tool gives estimates for healthy adults and is not medical advice. Last reviewed November 24, 2026. Spotted a mistake? Tell us and we will correct it.

Sources: Dietary Guidelines for Americans; Jäger R et al., International Society of Sports Nutrition position stand: protein and exercise, J Int Soc Sports Nutr 2017; Morton RW et al., protein supplementation and resistance training gains: systematic review and meta-analysis, Br J Sports Med 2018; Institute of Medicine, Dietary Reference Intakes for Macronutrients (2005), source of the 0.8 g per kg allowance.