Macro Calculator

Daily protein, carbs and fat in grams for your goal – lose, maintain or gain – and diet style, per day and per meal.

About you

Sex
Units
Heightftin

Goal and diet

Macros for every diet style

Calculated in your browser – nothing you enter is sent or stored.

Macros – protein, carbohydrates and fat – are where all your calories come from. This macro calculator turns your daily calorie needs into grams of each macro for your goal (lose weight, maintain or build muscle) and diet style (balanced, high protein, low carb or keto), per day and per meal.

Macro Calculator with ShrinkBee

How to Use the Macro Calculator

  1. Enter your age, sex, height, weight and activity level. The calculator estimates your maintenance calories with the Mifflin-St Jeor equation.
  2. Choose a goal: a 250–500 calorie deficit to lose fat, maintenance, or a 250–500 calorie surplus to gain.
  3. Choose a diet style, or set your own percentages with Custom.
  4. Pick how many meals you eat to see grams per meal.

How Macros Are Calculated

Each gram of protein and carbohydrate has 4 calories; each gram of fat has 9. So:

  • Protein grams = calories × protein % ÷ 4
  • Carb grams = calories × carb % ÷ 4
  • Fat grams = calories × fat % ÷ 9

Example: a 30-year-old man, 5 ft 9 in, 170 lb and moderately active needs about 2,668 calories a day to maintain his weight. On a balanced 30/40/30 split that is 200 g protein, 267 g carbs and 89 g fat – about 67 g of protein per meal over three meals.

2,668 caloriesProteinCarbsFat
Balanced (30/40/30)200 g267 g89 g
High protein (40/30/30)267 g200 g89 g
Low carb (40/20/40)267 g133 g119 g
Keto (25/5/70)167 g33 g208 g

How Much Protein Do You Need?

The U.S. RDA is 0.8 g of protein per kg of body weight (0.36 g per lb) – the minimum to avoid deficiency. People who lift weights or are losing weight often benefit from 1.6–2.2 g per kg (about 0.7–1 g per lb) to keep and build muscle. If a percentage split gives you much more than that, you can move some of the protein calories to carbs or fat.

Recommended Ranges

The Dietary Guidelines for Americans suggest adults get 10%–35% of calories from protein, 45%–65% from carbohydrates and 20%–35% from fat. Low-carb and keto diets fall outside these ranges; they can work for weight loss, but talk to your doctor first if you have diabetes, kidney disease or take medication.

Tips for Hitting Your Macros

  • Build each meal around a protein source – chicken, fish, eggs, Greek yogurt, tofu or beans.
  • Choose fiber-rich carbs such as oats, potatoes, rice, fruit and vegetables.
  • Measure oils, nut butters and dressings – fat adds calories fastest.
  • Aim to be within about 5–10 g of each target; consistency over weeks matters more than perfection.

Not sure about your calorie target? Start with the TDEE calculator or the calorie deficit calculator.

Sources

Last reviewed: October 2026 by the ShrinkBee team. Macro targets are general estimates for healthy adults and are not medical or dietary advice.

TDEE Calculator Calorie Calculator BMR Calculator Calorie Deficit Calculator

Frequently Asked Questions

How do I calculate my macros?
Find your daily calories, choose a split such as 30% protein, 40% carbs and 30% fat, then divide: protein and carb calories by 4 and fat calories by 9 to get grams.
What is the best macro ratio for weight loss?
The calorie deficit matters most. A higher-protein split, such as 40/30/30, helps you stay full and keep muscle while you lose fat.
How many grams of protein do I need a day?
The minimum is 0.8 g per kg of body weight (0.36 g per lb). Active people and those losing weight often aim for 0.7–1 g per pound.
What are keto macros?
Typically about 70%–75% of calories from fat, 20%–25% from protein and 5%–10% from carbs, usually under 50 g of carbs a day.
How many calories are in a gram of protein, carbs and fat?
Protein and carbohydrates have 4 calories per gram, fat has 9 and alcohol has 7.
Do I need to hit my macros exactly?
No. Staying within about 5–10 grams of each target most days works well. Weekly consistency matters more than any single day.
Is this macro calculator free?
Yes. The Macro Calculator is completely free, with no sign-up and no limit on how many times you use it.
Is the information I enter saved?
No. The numbers you enter are calculated in your web browser and are not sent to a server or stored. Your inputs are not added to the page address, and a share link is created only if you click "Copy link to these results" (health calculators have no share link at all).

More Calculator Tools

Made With ♥ By ShrinkBee