Macros18 min read

Free Macro Calculator Guide: How Macros Are Calculated for Weight Loss, Low-Carb and Keto (Plus Date and Almond Macro-Counting Recipes)

A macro calculator turns your TDEE into grams of protein, carbs and fat. Here’s how it works for weight loss, low-carb and keto, how accurate it is, plus date and almond macro-counting recipes with full numbers.

Free macro calculator guide: dates, almonds, a food scale and a notebook of macro targets on a marble counter — MacrosMeasure
Free macro calculator guide: dates, almonds, a food scale and a notebook of macro targets on a marble counter — MacrosMeasure
D
Dr. Aisha, RD
Registered Dietitian & Sports Nutritionist, MS

In this guide

  1. What is a macro calculator? (and what "macro cal" means)

  2. How a macros calculator works: four steps

  3. Free macro calculator: two worked examples

  4. Macro calculator for weight loss

  5. Low-carb macro calculator

  6. Keto macro calculator (free keto macro calculator)

  7. How accurate is a macro calculator?

  8. Macro counting: how to do it well

  9. Macro counting date recipe: date and almond energy balls

  10. Macro counting almond recipe: keto almond bites

  11. How to enter a recipe in a nutrition calculator

  12. Adjusting your macros after three weeks

  13. Common mistakes

  14. The bottom line

  15. Frequently asked questions

Search for "macro calculator" and you'll find dozens, all asking for the same few numbers and replying with three more: grams of protein, carbohydrate and fat. They look identical. They aren't. Some are built on a sound sequence of steps and tell you how to adjust the results. Some are a lookup table that hands everyone a 40/30/30 split. And almost none explain what the numbers are, where they come from, or how wrong they might be for you.

This guide opens the box. We'll go through what a macro calculator (or "macros calculator," or "macro cal" if you like the shorthand) actually does, work two examples by hand, and show how the answer changes for weight loss, low-carb and keto. We'll be honest about accuracy, using the published evidence on how far prediction equations miss, and then put it into practice with macro-counting recipes built from dates and almonds, with every number calculated from USDA food data. The calculator itself is free: use our free macro calculator alongside this guide.

The short version: a macro calculator estimates your daily calories (BMR × activity, then a deficit or surplus), then converts them into grams: protein first (about 1.2–2.2 g per kg, depending on your goal), fat in the 20–35% range, and carbohydrate as the remainder (calories ÷ 4 for protein and carbs, ÷ 9 for fat). For weight loss, a 15–20% deficit with high protein works as well as any particular split; in a 609-person trial, healthy low-fat and healthy low-carb diets gave similar results. A low-carb plan uses under about 26% of calories from carbohydrate; keto uses roughly 5–10% (about 20–50 g a day). Calculators are starting estimates: the equations they use can miss by 10% or more, so check your result against your weekly weight trend.

What Is a Macro Calculator? (and What "Macro Cal" Means)

"Macros" is short for macronutrients: protein, carbohydrate and fat, the three nutrients that supply nearly all your calories. A macro calculator (also called a macros calculator, or macro cal in search shorthand) takes your body stats and goal and returns daily targets in grams. The conversion uses the standard energy values (the Atwater factors): protein and carbohydrate provide about 4 calories per gram, fat 9, and alcohol 7.

The official healthy ranges, the Acceptable Macronutrient Distribution Ranges from the US Institute of Medicine, are 45–65% of calories from carbohydrate, 20–35% from fat and 10–35% from protein. Most calculators work inside (or slightly outside) those bands, and the real differences between tools come from how they set calories and which end of each range they pick.

How a Macros Calculator Works: Four Steps

  1. Estimate your BMR (the calories you burn at rest) with an equation. The standard is Mifflin–St Jeor: men: 10 × weight (kg) + 6.25 × height (cm) − 5 × age + 5; women: the same, minus 161 instead of plus 5.
  2. Multiply by an activity factor to get TDEE (maintenance calories): roughly 1.2 for sedentary, 1.375 for lightly active, 1.55 for moderately active, 1.725 for very active.
  3. Apply your goal. A deficit of 10–25% for weight loss, maintenance, or a surplus of about 5–15% for gaining.
  4. Split calories into macros. Set protein by body weight, set fat as a percentage (or per kg), and give the remainder to carbohydrate.

Our TDEE calculator and calorie calculator handle steps 1–3, and the macro calculator handles step 4. Notice what's not in the list: there's no research-defined "perfect split." Steps 1–3 are physiology. Step 4 is largely convention, informed by evidence on protein and a lot of flexibility on carbs and fat.

Free Macro Calculator: Two Worked Examples

StepMan, 30 y, 80 kg, 175 cm, moderately active, losing fatWoman, 35 y, 65 kg, 165 cm, lightly active, losing fat
BMR (Mifflin–St Jeor)10×80 + 6.25×175 − 5×30 + 5 = 1,74910×65 + 6.25×165 − 5×35 − 161 = 1,345
Maintenance (TDEE)× 1.55 = 2,711× 1.375 = 1,850
Goal calories (20% deficit)2,1701,480
Protein2.0 g/kg = 160 g (640 kcal)1.8 g/kg = 117 g (468 kcal)
Fat25% = 542 kcal ÷ 9 = 60 g30% = 444 kcal ÷ 9 = 49 g
Carbohydrate (remainder)2,170 − 640 − 542 = 988 kcal ÷ 4 = 247 g1,480 − 468 − 444 = 568 kcal ÷ 4 = 142 g
Resulting split (P/F/C)30% / 25% / 45%32% / 30% / 38%

If you're of South or East Asian descent, remember that the standard equations tend to overestimate resting energy use by roughly 7–11% in research on Indian and Chinese adults (see our BMR article). In that case it's sensible to start your TDEE 5–10% lower and let your weekly weight trend settle the question.

Macro Calculator for Weight Loss

For fat loss, three things matter in order: calories (a moderate deficit), protein (high enough to protect muscle) and consistency. The split of the remaining calories between carbohydrate and fat matters much less.

NutrientEvidence-based target while losing fatSource of the target
Calories10–25% below maintenance; about 0.5–1% of body weight per weekCommon clinical practice; the dynamic weight model (Hall, 2011) shows pace slows as you lose
ProteinAbout 1.2–1.6 g/kg for most adults; 1.6–2.2 g/kg if you lift; up to 2.3–3.1 g/kg of lean mass for very lean athletes in a deficit2025–2030 US Dietary Guidelines range; Morton meta-analysis (2018); Helms review (2014)
Fat20–35% of calories; avoid staying below 20% for long periodsUS Institute of Medicine range; sports-nutrition position stand
CarbohydrateThe remainder; scaled to training and preferenceConvention; DIETFITS found similar results for low-fat and low-carb
FibreAbout 25–38 g a dayDietary guidelines

The DIETFITS trial (Gardner and colleagues, JAMA, 2018) is the best evidence that the split isn't magic. It randomised 609 adults to a healthy low-fat or healthy low-carbohydrate diet for 12 months: average weight loss was 5.3 kg and 6.0 kg, a difference that wasn't statistically significant. So pick the split you can live with.

Starter macro table for weight loss (30% protein, 40% carbohydrate, 30% fat)

Daily caloriesProteinCarbohydrateFat
1,400105 g140 g47 g
1,600120 g160 g53 g
1,800135 g180 g60 g
2,000150 g200 g67 g
2,200165 g220 g73 g

Check the protein figure against your body weight using the protein intake calculator. A percentage split can give a person with a low calorie target too little protein, and one with a high target far more than they need. For the fat side, see our guide to how much fat per day, and for the full method, our macro calculator guide for weight loss, muscle gain and recomposition.

Low-Carb Macro Calculator

"Low carb" has no single definition, which is why low-carb macro calculators disagree. A widely used framework from Feinman and colleagues (Nutrition, 2015) defines the bands this way:

CategoryCarbohydrate intake
Very low-carbohydrate ketogenic diet20–50 g a day, or under about 10% of calories
Low-carbohydrate dietUnder 130 g a day, or under about 26% of calories
Moderate-carbohydrate dietAbout 26–45% of calories
High-carbohydrate dietAbove 45% of calories

Low-carb macros at common calorie levels (25% carbohydrate, 30% protein, 45% fat)

Daily caloriesCarbohydrateProteinFat
1,50094 g113 g75 g
1,800113 g135 g90 g
2,000125 g150 g100 g
2,500156 g188 g125 g

Choose carbohydrate from fibre-rich sources (vegetables, legumes, berries, intact whole grains) and spread protein across meals. Use the carb calculator to see how a particular carbohydrate target translates into food. If you want a fuller picture of carbohydrate quality, see our post on which carbs are genuinely "good."

Keto Macro Calculator (Free Keto Macro Calculator)

A ketogenic diet restricts carbohydrate enough to shift the body toward producing ketones. A good keto macro calculator (including our free keto macro calculator) follows the same four steps as above, with a different split: carbohydrate fixed low first, protein set by body weight, and fat filling the remainder.

NutrientTypical keto targetNotes
Carbohydrate20–50 g total carbs a day (roughly 5–10% of calories); many aim for 20–30 g of net carbsNet carbs = total carbohydrate − fibre; see our net-carbs guide
ProteinAbout 1.2–2.0 g per kg (15–25% of calories)Moderate-to-adequate protein generally does not prevent ketosis and protects muscle
FatThe remainder, usually 65–80% of caloriesPrefer olive oil, nuts, avocado, fish; keep saturated fat in check
FibreAs high as you can manage from non-starchy vegetables, nuts and seedsHelps with digestion and fullness
ElectrolytesAdequate sodium, potassium and magnesiumThe usual fix for "keto flu"

Keto macros at common calorie levels (5% carbohydrate, 20% protein, 75% fat)

Daily caloriesCarbohydrateProteinFat
1,40018 g70 g117 g
1,60020 g80 g133 g
1,80023 g90 g150 g
2,00025 g100 g167 g
2,50031 g125 g208 g

Two cautions. First, "high fat" doesn't mean "unlimited fat": the calories still have to fit your goal, and on a keto fat-loss plan, a lot of the fat should come from your own body, so your dietary fat target is lower than the table suggests if you're in a deficit. Second, keto isn't suitable for everyone. People using SGLT2 inhibitors, insulin or sulfonylureas, those who are pregnant, and people with pancreatic, liver or gallbladder disease need medical advice first. Long-term evidence is limited, as we discuss in our recent look at a randomised trial of keto versus Mediterranean diets, and our guides to calculating your ketogenic diet macros go deeper.

How Accurate Is a Macro Calculator?

Honestly, it's accurate to within about 10–15% for calories, and the macro split inherits that. Where the error comes from:

  • The BMR equation. A systematic review (Frankenfield and colleagues, 2005) found Mifflin–St Jeor predicted resting energy within 10% for about 82% of non-obese adults and 70% of adults with obesity, which means roughly one person in five is further off.
  • Ethnicity and body composition. Equations built on mostly European data tend to overshoot in Asian adults.
  • The activity multiplier. People routinely over-select their activity level, which inflates TDEE.
  • The split itself. Outside protein, the split is a convention, not a measurement.
  • Food labels. In the US, the nutrient values on labels are allowed to differ from the actual content by up to roughly 20%.

That's not a reason to avoid calculators. It's a reason to treat the result as a hypothesis and test it: eat to your numbers for two to three weeks, track the weekly average of your weight, and adjust by 100–200 calories if you aren't moving the way you expected.

Macro Counting: How to Do It Well

  • Weigh, don't eyeball. A food scale beats measuring cups. Almonds, oils and nut butters are where eyeballing errs most.
  • Weigh raw or cooked consistently. Use the same state as the database entry you log. Cooking changes weight (rice and pasta absorb water, meat loses it) but not calories.
  • Log oils, dressings and bites. They're the biggest hidden source of fat calories.
  • Hit protein first. It's the macro you're most likely to under-eat and the one with the best evidence behind a target.
  • Use weekly averages. You don't need to land every day exactly. Being within about 5–10% of targets on most days is fine.
  • Prefer simple foods or verified entries. User-created database entries for packaged foods can be wrong.

Macro Counting Date Recipe: Date and Almond Energy Balls

Dates are a classic ingredient for macro counters because they sweeten and bind without refined sugar, but they're also dense in carbohydrate, which makes weighing essential. A single Medjool date (about 24 g) provides roughly 66 calories and 18 g of carbohydrate, with only about 0.4 g of protein and no fat. Almonds are the mirror image: about 164 calories, 6 g of protein and 14 g of fat in a 28 g handful. Combined, they make a snack where the macros are easy to calculate, and easy to get wrong if you don't weigh.

Date and almond energy balls (makes 12)

IngredientAmountCaloriesProteinFatCarbsFibre
Medjool dates, pitted288 g (about 12)7985.2 g0.4 g215.9 g19.3 g
Raw almonds100 g57921.2 g49.9 g21.6 g12.5 g
Rolled oats40 g1525.3 g2.6 g27.1 g4.0 g
Almond butter32 g (2 tbsp)1976.7 g17.8 g6.0 g3.3 g
Unsweetened cocoa powder15 g342.9 g2.1 g8.7 g5.0 g
Whole batch1,75941.3 g72.8 g279.3 g44.1 g
Per ball (÷ 12)1473.4 g6.1 g23.3 g3.7 g

Method: blitz the almonds in a food processor until coarse, add the dates, oats, almond butter, cocoa and a pinch of salt, and pulse until the mixture clumps (add a teaspoon of water if it's dry). Roll into 12 equal balls (weigh the mixture and divide by 12 for accurate portions). Chill for an hour. Keeps in the fridge for a week or in the freezer for a month.

Macro-counting notes: the values above use USDA FoodData Central averages (for example, Medjool dates at about 277 kcal per 100 g and raw almonds at about 579 kcal per 100 g). Brands vary by a few percent, and calories come from USDA's energy values, so the macros won't multiply out exactly (fibre and rounding). Two balls make a snack of about 293 calories, 6.9 g protein, 12.1 g fat and 46.6 g carbohydrate. These suit a carbohydrate-containing plan or pre-workout fuel, not keto.

Higher-protein version

Add 60 g (about two scoops) of unflavoured whey isolate and 2–3 tablespoons of water or milk to bind. Whole batch: about 1,981 calories, 93 g protein, 74 g fat and 282 g carbohydrate. Per ball: about 165 calories, 7.8 g protein, 6.2 g fat, 23.5 g carbohydrate and 3.7 g fibre.

Quick referenceCaloriesProteinFatCarbsFibre
1 Medjool date (24 g)660.4 g0 g18.0 g1.6 g
1 Deglet Noor date (7 g)200.1 g0 g5.4 g0.6 g
10 raw almonds (12 g)702.5 g6.0 g2.6 g1.5 g
Almonds, 28 g handful1646.0 g14.0 g6.1 g3.5 g
Almond butter, 1 tbsp (16 g)983.4 g8.9 g3.0 g1.6 g

Macro Counting Almond Recipe: Keto Almond Bites

For low-carb and keto plans, almonds shine, because they supply fat, a little protein and fibre with few net carbs. This recipe has no dates or added sugar, so the net carbohydrate per piece is very low.

Keto almond butter bites (makes 12)

IngredientAmountCaloriesProteinFatCarbsFibre
Almond butter (no added sugar)150 g92131.4 g83.3 g28.2 g15.5 g
Coconut oil30 g2590 g30.0 g0 g0 g
Unsweetened cocoa powder15 g342.9 g2.1 g8.7 g5.0 g
Raw almonds, chopped20 g1164.2 g10.0 g4.3 g2.5 g
Erythritol or other zero-calorie sweetener10 g (to taste)00 g0 g0 g0 g
Whole batch1,33038.5 g125.4 g41.2 g23.0 g
Per piece (÷ 12)1113.2 g10.5 g3.4 g1.9 g

Net carbohydrate per piece: about 1.5 g (3.4 g carbs − 1.9 g fibre).

Method: gently melt the almond butter and coconut oil together, stir in the cocoa, sweetener and a pinch of salt, then fold in the chopped almonds. Pour into a 12-hole silicone mould (weigh the total and divide by 12) and freeze for 30 minutes. Store in the freezer.

Macro-counting notes: it's about 75–85% of calories from fat, which fits a keto plan, but they're calorie-dense, so one or two pieces is a portion, not a handful. Almond butter varies a lot by brand: check the label for added sugar and the per-100 g macros, and swap in your own numbers. Almond flour and almond milk have different macros again, so don't substitute them without recalculating.

How to Enter a Recipe in a Nutrition Calculator

  1. Weigh each ingredient raw and list it in grams.
  2. Enter the total yield. Either the number of pieces or, for a cooked dish, the total weight of the finished batch.
  3. Pick verified database entries (USDA-based) rather than unknown user entries.
  4. Divide by servings. Weigh a portion when you eat it, so that "one ball" really is one-twelfth of the batch.
  5. Save it so you can log it again without recalculating.

Our recipe nutrition calculator does the arithmetic, and our write-up on the energy density of recipes shows how to read the result.

Adjusting Your Macros After Three Weeks

What you see (weekly average weight)What to do
Losing about 0.5–1% of body weight a weekStay the course
Losing faster than 1% a weekAdd 100–200 calories, mostly carbohydrate, and keep protein
No change for 3 weeksAudit logging first (oils, weekends, drinks), then reduce 100–150 calories or add steps
Gaining on a deficitRecheck TDEE and portion accuracy; your activity level may be set too high
Strength falling, mood low, hunger highEat closer to maintenance for a week or two; raise carbohydrate around training

Common Mistakes

  • Trusting a default percentage split without checking protein per kilogram.
  • Overestimating activity level. If in doubt, choose the lower option.
  • Ignoring hidden fats. Cooking oil, nuts, dressings and "just a few" almonds.
  • Expecting the numbers to be exact. They're estimates with a margin of error.
  • Setting fat too low for long periods, particularly in a deficit.
  • Never recalculating. Your needs change as your weight changes.
  • Treating keto as a licence for unlimited fat. Calories still count.

The Bottom Line

A macro calculator is a four-step arithmetic routine, not an oracle. It estimates your calories from an equation that can miss by 10% or more, sets protein by body weight (the part with real evidence), puts fat in a 20–35% band, and gives carbohydrate the rest. For weight loss, the split matters far less than the deficit, the protein and your ability to stick with it. Low-carb and keto plans simply fix carbohydrate low first and let fat fill the gap.

Use the numbers as a starting hypothesis, weigh what you eat, track the weekly average of your weight and adjust. And if you like making your own snacks, remember that dates and almonds are a lesson in density: weigh them, count them and enjoy them, because two energy balls at 293 calories are a snack, not a rounding error.

Frequently Asked Questions

What is a macro calculator?

A tool that estimates your daily calories, then converts them into grams of protein, carbohydrate and fat for your goal. Also called a macros calculator or "macro cal."

Is there a free macro calculator?

Yes. Our free macro calculator, along with the free TDEE and keto macro calculators, converts your stats and goal into daily calorie and macro targets with no sign-up.

What is the best macro calculator for weight loss?

One that sets a moderate deficit (10–25%), fixes protein by body weight (about 1.2–2.2 g/kg) and lets you adjust. In a 609-person trial, low-fat and low-carb diets gave similar weight loss, so choose the split you can sustain.

How do I calculate low-carb macros?

Set calories first, set protein by body weight, then keep carbohydrate under about 130 g a day (under 26% of calories) and fill the rest with fat. For example, 2,000 calories at 25/30/45 is about 125 g carbohydrate, 150 g protein and 100 g fat.

How do I use a keto macro calculator?

Enter your stats and goal, keep total carbohydrate around 20–50 g (about 5–10% of calories), set protein at roughly 1.2–2.0 g per kg and let fat fill the remainder. At 2,000 calories and a 5/20/75 split that's about 25 g carbohydrate, 100 g protein and 167 g fat.

Is there a free keto macro calculator?

Yes. Our free keto macro calculator gives net-carb, protein and fat targets from your stats, and our net-carbs guide explains how to use them.

How accurate is a macro calculator?

Typically within about 10–15% for calories. The main equation misses by more than 10% for roughly one in five adults, and more in some groups, so test your result against your weekly weight trend.

What does "macro counting" mean?

Tracking the grams of protein, carbohydrate and fat you eat against daily targets, usually by weighing food and logging it.

What are the macros in a date and almond energy ball?

In our recipe (makes 12), each ball is about 147 calories, 3.4 g protein, 6.1 g fat, 23.3 g carbohydrate and 3.7 g fibre, based on USDA values. Adding 60 g of whey isolate to the batch lifts protein to about 7.8 g per ball.

How many carbs are in a Medjool date?

About 18 g in a 24 g date, with about 66 calories, 1.6 g fibre and almost no fat or protein.


References & Sources

  1. Institute of Medicine (2005). Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids. National Academies Press.
  2. Mifflin, M. D. et al. (1990). A new predictive equation for resting energy expenditure in healthy individuals. American Journal of Clinical Nutrition, 51(2), 241–247.
  3. Frankenfield, D., Roth-Yousey, L. & Compher, C. (2005). Comparison of predictive equations for resting metabolic rate in healthy nonobese and obese adults: a systematic review. Journal of the American Dietetic Association, 105(5), 775–789.
  4. Gardner, C. D. et al. (2018). Effect of low-fat vs low-carbohydrate diet on 12-month weight loss in overweight adults and the association with genotype pattern or insulin secretion: the DIETFITS randomized clinical trial. JAMA, 319(7), 667–679.
  5. Morton, R. W. et al. (2018). A systematic review, meta-analysis and meta-regression of the effect of protein supplementation on resistance training-induced gains in muscle mass and strength in healthy adults. British Journal of Sports Medicine, 52(6), 376–384.
  6. Helms, E. R., Aragon, A. A. & Fitschen, P. J. (2014). Evidence-based recommendations for natural bodybuilding contest preparation: nutrition and supplementation. Journal of the International Society of Sports Nutrition, 11, 20.
  7. Feinman, R. D. et al. (2015). Dietary carbohydrate restriction as the first approach in diabetes management: critical review and evidence base. Nutrition, 31(1), 1–13.
  8. Hall, K. D. et al. (2011). Quantification of the effect of energy imbalance on bodyweight. The Lancet, 378(9793), 826–837.
  9. Henry, C. J. K. (2005). Basal metabolic rate studies in humans: measurement and development of new equations. Public Health Nutrition, 8(7A), 1133–1152.
  10. US Department of Agriculture. FoodData Central (Medjool dates, almonds raw, almond butter, rolled oats, cocoa powder, coconut oil). US Food and Drug Administration. Nutrition labeling regulations.
  11. MacrosMeasure (2026). Free Macro Calculator.
  12. MacrosMeasure (2026). Free Keto Macro Calculator.
Put it into practice

Calculate your own numbers — free.

18 science-backed calculators covering everything in this article and more.

🥗 Macro Calculator 🥩 Protein Calculator All 18 calculators
Free Macro Calculator Guide: Weight Loss, Low-Carb and Keto