TrackMyCalorie
  • Features
  • AI search
  • Progress
  • Activity
  • Calculator
  • Blog
Get the app
All posts
TrackMyCalorie

Your meal. In your words.

support@trackmycalorie.com

Product

  • AI search
  • Barcode scanning
  • Progress
  • Activity
  • Personal plan
  • Calorie calculator
  • Chipotle calculator
  • Subway calculator
  • Blog
  • About

Get the app

  • App Store
  • Google Play

Legal

  • Privacy Policy
  • Terms of Service
  • Delete your account
  • Contact support

© 2026 TrackMyCalorie. All rights reserved.

Powered by fatsecret Platform API
All posts

October 23, 2026·4 min read

How to Calculate Your Macros

How to calculate your macros: set protein from body weight, fat at about 27.5% of calories, carbs fill the rest. Step-by-step with an example.

The TrackMyCalorie team

Three bowls in a row: chicken and eggs, rice and oats, avocado and nuts

To calculate your macros, you split your daily calories into three: protein first (about 1.6 to 2 grams per kilogram of body weight), fat next (around 27.5 percent of your calories), and carbs fill the rest. Macros are just where your calories come from, and setting them well is the difference between losing fat and losing muscle. Here's the method, with a worked example you can follow.

What macros are

"Macros" is short for macronutrients: protein, carbohydrate and fat, the three things in food that carry calories. Each has its own energy value:

MacroCalories per gramMain job
Protein4Builds and protects muscle
Carbs4Your main fuel
Fat9Hormones and absorption

Your calorie total tells you how much to eat; your macros tell you what those calories should be made of. Two 2,000-calorie days can look completely different: one high in protein and steady, the other mostly refined carbs and leaving you hungry. Same calories, very different results.

Step 1: Set your calories

You can't split a number you don't have, so start with your daily calorie target. That is your TDEE adjusted for your goal: at maintenance to hold, below it to lose, above it to gain. If you haven't got that number yet, our macro calculator works it out and does the whole split for you, and the calorie side is covered in our guide on how to calculate your TDEE.

For this example, take a man who weighs 80 kg with a daily target of 2,260 calories (a moderate deficit to lose weight).

Step 2: Protein first

Protein is the macro to lock in before anything else, because it protects muscle while you diet and keeps you full. Set it from your body weight:

  • 1.6 g per kg to maintain your weight
  • 1.8 g per kg while losing or gaining
  • 2.0 g per kg if you lift weights, to protect muscle

Our 80 kg man who is losing weight uses 1.8 g/kg, so 80 × 1.8 is about 144 grams of protein. At 4 calories a gram, that is 576 calories spoken for.

Step 3: Fat next

Fat is essential, not optional. It runs your hormones and helps you absorb vitamins, so it needs a real share, not the near-zero of old crash diets. A sensible default is about 27.5 percent of your calories.

For our man, 27.5 percent of 2,260 is about 621 calories from fat. Fat has 9 calories a gram, so that is roughly 69 grams of fat.

Step 4: Carbs fill the rest

Carbs get whatever calories are left after protein and fat. They are your main fuel, especially for training, so this is usually the biggest number.

Add up what's spoken for: 576 calories of protein plus 621 of fat is 1,197. Subtract from 2,260 and 1,063 calories remain. Carbs have 4 calories a gram, so that is about 266 grams of carbs.

His day looks like this:

MacroGramsCalories
Protein144576
Fat69621
Carbs2661,063

That is a complete macro target, built from one calorie number and three simple rules.

Adjusting for your goal

The framework holds whatever your goal; only the dials move. Losing weight, keep protein high and let carbs flex down. Building muscle, raise calories and give most of the extra to carbs to fuel training, with protein at 2 g/kg. On a low-carb or keto approach, raise fat and drop carbs, but keep protein where it is. Protein is the anchor in every version, which is why you always set it first.

Do you even need to count macros?

For many people, hitting their calorie target and getting enough protein is 90 percent of the win; the exact carb-to-fat split matters less. If counting three numbers feels like too much, count two: calories and protein. You can always add full macro tracking later if you are chasing a specific physique or performance goal. Our guide on how many calories to lose weight covers the calorie side if that is where you want to start.

People Also Ask

What are the best macros for weight loss?

Keep protein high (around 1.8 to 2 g per kg of body weight) to protect muscle and stay full, set fat near 27.5 percent of your calories, and let carbs fill the rest. The calorie deficit drives the fat loss; the high protein decides how much of what you lose is fat rather than muscle.

How much protein should I eat per day?

Roughly 1.6 to 2 grams per kilogram of body weight. Use the lower end to maintain, the higher end while dieting or if you lift weights. For an 80 kg person that is about 128 to 160 grams a day.

Do I need to count macros to lose weight?

No. A calorie deficit is what drives weight loss. Counting macros, or at least hitting a protein target, helps you keep muscle and feel fuller, but if it feels overwhelming, start by tracking calories and protein only.

The bottom line

Calculating your macros is a four-step split: set your calories, lock protein from body weight, give fat about 27.5 percent, and let carbs fill the rest. For our example that was 144 g protein, 69 g fat and 266 g carbs from a 2,260-calorie target. Protein first, every time.

Want it done automatically? The macro calculator sets your protein, carbs and fat from your goal, and TrackMyCalorie tracks every gram as you log.

Log your next meal in seconds

Search, scan a barcode or snap a photo, and TrackMyCalorie works out the calories and macros for you.

Download on theApp StoreDownload on theGoogle Play

More from the blog

A folded blanket and mug of tea beside running trainers and a water bottle

October 23, 2026·4 min read

BMR vs TDEE: What's the Difference?

BMR vs TDEE: BMR is what you burn at rest, TDEE is your whole day with activity added. Here's the difference and how to use each number.

Read post
Peanut butter toast with banana, rice and beans, nuts and a glass of milk

October 23, 2026·4 min read

Calorie Surplus to Gain Weight & Muscle

A calorie surplus means eating above your TDEE to gain. Here's how big a surplus to run for muscle, with macros and a worked example.

Read post