Homeโ€บArticlesโ€บHow Toโ€บHow to Calculate Keto Macros
HOW TO

How to Calculate Your Keto Macros

Learn how to calculate your daily keto macro targets step by step โ€” from your calorie needs to fat, protein, and net carb gram targets.

Updated 2026-07-03

Free calculators used in this guide

Keto CalculatorNet Carbs CalculatorTDEE Calculator

Overview

Calculating your keto macros means turning a calorie target into specific gram amounts for fat, protein, and carbs โ€” the numbers you actually track day to day. This article walks through the calculation itself, whether you do it manually or use the Keto Calculator to skip the arithmetic.

What You Need

  • Your age, sex, height, weight, and activity level (to estimate your daily calorie needs)
  • A goal: weight loss, maintenance, or muscle preservation while in ketosis
  • A basic understanding that fat provides 9 calories per gram, while protein and carbs each provide 4

Steps

  1. Calculate your daily calorie target. Use the TDEE Calculator to estimate your Total Daily Energy Expenditure, then adjust up or down from that number based on your goal โ€” eating below it for weight loss, at or near it for maintenance.

  2. Choose your macro percentage split. A standard keto ratio is 70โ€“75% fat, 20โ€“25% protein, and 5โ€“10% carbs. If muscle preservation is a priority during a calorie deficit, lean toward the higher end of the protein range.

  3. Convert percentages to calories. Multiply your total daily calorie target by each macro's percentage. For example, at 2,000 calories with a 75/20/5 split: 1,500 calories from fat, 400 from protein, 100 from carbs.

  4. Convert calories to grams. Divide the fat calories by 9, and the protein and carb calories by 4 each. In the example above: roughly 167g fat, 100g protein, and 25g carbs per day.

  5. Use the Keto Calculator to skip the manual math. The Keto Calculator performs steps 3 and 4 automatically once you enter your calorie target and preferred macro split, giving you exact gram targets to track.

  6. Track net carbs, not total carbs, against your target. Your carb gram target represents net carbs (total minus fiber). Use the Net Carbs Calculator on individual foods throughout the day to stay under your limit.

Common Mistakes to Avoid

  • Using total carbs instead of net carbs โ€” this causes people to think they've exceeded their limit when fiber-rich foods are actually still within budget, or vice versa for foods with hidden sugars.
  • Setting a calorie target and never revisiting it โ€” as you lose weight, your calorie needs drop, so a target that worked initially can become a maintenance level over time. Recalculate periodically.
  • Ignoring protein in favour of maximising fat โ€” protein is capped in keto macros for a reason, but going too low on protein risks muscle loss, especially during a calorie deficit.

Formula & Methodology

Calories from each macro = Total daily calories ร— macro percentage

Grams of fat = Fat calories รท 9 Grams of protein or carbs = Calories รท 4

Worked example at 2,000 calories with a 70% fat / 25% protein / 5% carb split:

  • Fat: 2,000 ร— 0.70 = 1,400 calories รท 9 = 156g fat
  • Protein: 2,000 ร— 0.25 = 500 calories รท 4 = 125g protein
  • Carbs: 2,000 ร— 0.05 = 100 calories รท 4 = 25g net carbs

Frequently Asked Questions

A typical ketogenic split is roughly 70โ€“75% of calories from fat, 20โ€“25% from protein, and 5โ€“10% from carbs, though the exact ratio can be adjusted based on your goals and activity level. The [Keto Calculator](/keto-calculator/) converts these percentages into actual gram targets based on your specific calorie needs.
Fat is the primary fuel source in ketosis, and since carbs are restricted so heavily, calories have to come from somewhere โ€” protein is capped to avoid excess amino acids converting to glucose, leaving fat to fill the remaining calorie budget. This is why keto macro percentages look so different from a typical balanced diet.
Multiply your total daily calories by each macro's percentage, then divide by that macro's calories per gram โ€” 9 for fat, 4 for both protein and carbs. The [Keto Calculator](/keto-calculator/) does this calculation automatically once you enter your calorie target.
Yes โ€” if you're in a calorie deficit and want to minimise muscle loss, a higher protein target (often the upper end of the 20โ€“25% keto range, or slightly above) helps preserve lean mass better than a minimal protein intake. Recalculate your macros with a higher protein percentage if muscle preservation is a priority.
Your keto carb gram target from a macro calculator represents net carbs (total carbs minus fiber), not total carbs, since fiber has minimal impact on blood sugar or ketosis. Use the [Net Carbs Calculator](/net-carbs-calculator/) on individual foods to make sure your daily net carb total stays under your target.
Yes โ€” a higher activity level increases your calorie needs, which shifts every macro gram target proportionally, so recalculate your [TDEE](/tdee-calculator/) first whenever your exercise routine changes meaningfully. Using outdated macro targets after increasing activity often leads to under-eating without realising it.
Yes โ€” some people prefer setting a hard carb ceiling (like 20g net carbs) and a protein floor (like 100g) rather than working strictly from percentages, then letting fat fill the remaining calories. The [Keto Calculator](/keto-calculator/) supports either approach depending on how you prefer to structure your targets.
Very high protein intake can, in some cases, undergo gluconeogenesis (conversion to glucose), which may make it harder to stay in deep ketosis, though moderate protein within the standard 20โ€“25% range is not typically an issue for most people. This is more relevant for those doing strict therapeutic keto than for general low-carb weight management.
Track your weight trend over 2โ€“3 weeks alongside consistent adherence to your macro targets โ€” if you're not seeing expected progress despite hitting your numbers, revisit your [TDEE Calculator](/tdee-calculator/) estimate, since individual calorie needs can differ from generic formulas. Some people also use urine or blood ketone testing as an additional signal, though it's not required for weight-loss-focused keto.
Some people cycle calories and carbs slightly higher on intense training days to support performance, though this adds complexity and isn't necessary for most keto dieters focused on general fat loss. If you do cycle, keep protein consistent daily and adjust primarily through fat and calorie intake.

Related Articles

GUIDE

Keto & Low-Carb Diet Guide โ€” Macros, Net Carbs and Meal Planning