Keto Macro Calculator: Find Your Perfect Macros

Calculate your ideal keto macros for fat, protein, and carbs. This step-by-step guide helps you find the right ratio for ketosis and your goals.

A stylized figure stands at a crossroads where three flowing rivers of color — golden fat, blue protein, and green carbs — merge into a single glowing stream

By Dr. Dave Patel · Published April 8, 2025 · 8 min read

A keto macro calculator takes the guesswork out of the ketogenic diet. Instead of following a generic "eat more fat" rule, you can dial in the exact grams of fat, protein, and carbohydrates your body needs to reach and maintain ketosis. The right macro split depends on your weight, activity level, and goals — and this guide walks you through the full calculation, step by step.

Why Keto Macros Matter More Than Calories Alone

On a standard diet, calories are the main lever for weight management. On keto, the ratio of those calories matters just as much. Eating too many carbs prevents ketosis. Eating too little protein costs you muscle. Eating too little fat leaves you hungry and low on energy.

The ketogenic diet shifts your body from burning glucose to burning fat-derived ketone bodies for fuel. A 2018 review in the Journal of Clinical Investigation found that very-low-carbohydrate ketogenic diets limiting carbs to 20–50 grams daily produced significant improvements in blood glucose control and body weight. But those results depend on getting the macro balance right.

The Standard Keto Macro Ratio

Most nutrition researchers define a standard ketogenic diet as roughly 70–75% fat, 20–25% protein, and 5–10% carbohydrates by calories. Here is how the main keto approaches compare:

Keto ApproachFatProteinNet CarbsBest For
Standard keto (SKD)70–75%20–25%20–30 g/dayMost people, weight loss
High-protein keto60–65%30–35%20–30 g/dayMuscle preservation, active lifters
Targeted keto (TKD)65–70%20–25%25–50 g (around workouts)Athletes, high-intensity training
Therapeutic keto80–90%10–15%Under 20 g/dayEpilepsy, medical supervision

If you are new to keto, start with the standard approach. For a deeper dive on carb limits specifically, see our guide on how many carbs on keto.

How to Calculate Your Keto Macros in 5 Steps

Follow this process to find your personalized macro targets. You will need your weight, height, age, and an estimate of your activity level.

Step 1: Calculate Your Basal Metabolic Rate (BMR)

Your Basal Metabolic Rate is the number of calories your body burns at complete rest. Use the Mifflin-St Jeor equation, which research published in the American Journal of Clinical Nutrition validated as the most accurate for the general population:

For men:

BMR = (10 × weight in kg) + (6.25 × height in cm) − (5 × age) + 5

For women:

BMR = (10 × weight in kg) + (6.25 × height in cm) − (5 × age) − 161

Step 2: Find Your Total Daily Energy Expenditure (TDEE)

Multiply your BMR by an activity factor:

Activity LevelMultiplierExample
Sedentary (desk job, little exercise)1.2Office worker
Lightly active (1–3 days/week)1.375Casual gym-goer
Moderately active (3–5 days/week)1.55Regular exerciser
Very active (6–7 days/week)1.725Athlete, physical job
Extra active (intense daily + physical job)1.9Elite athlete

Example: A 32-year-old woman, 165 cm, 70 kg, moderately active:

BMR = (10 × 70) + (6.25 × 165) − (5 × 32) − 161 = 700 + 1,031 − 160 − 161 = 1,410 kcal

TDEE = 1,410 × 1.55 = 2,186 kcal

For a broader look at daily calorie needs, see our guide on how many calories should I eat.

Step 3: Set Your Net Carbs

Start with 20–30 grams of net carbs per day. This reliably induces ketosis for most people. Net carbs = total carbs minus fiber.

At 25 g of net carbs, that is 100 calories from carbohydrates (25 × 4 kcal/g).

ℹ️ Net Carbs vs. Total Carbs

Net carbs subtract fiber and certain sugar alcohols because they do not raise blood sugar. A cup of broccoli has 6 g total carbs but only 4 g net carbs. Most keto dieters track net carbs to allow more room for fiber-rich vegetables.

Step 4: Set Your Protein

Protein is the most important macro to get right on keto. Too little and you lose muscle. Research shows that 0.7–1.0 grams per pound of body weight (1.6–2.2 g/kg) preserves lean mass during ketosis. A 2024 review in Frontiers in Nutrition confirmed that adequate protein intake protects muscle mass on ketogenic diets without impairing ketone production.

Example (continuing): 70 kg × 1.8 g/kg = 126 g protein = 504 calories from protein (126 × 4 kcal/g).

Step 5: Fill the Rest With Fat

Subtract your carb and protein calories from your TDEE. The remainder comes from fat.

Example (continuing):

  • Total: 2,186 kcal
  • Carbs: 100 kcal (25 g)
  • Protein: 504 kcal (126 g)
  • Fat: 2,186 − 100 − 504 = 1,582 kcal → 176 g fat (1,582 ÷ 9)

Final daily macros: 176 g fat | 126 g protein | 25 g net carbs

☐Calculate your BMR using the Mifflin-St Jeor equation
☐Multiply by your activity factor to find TDEE
☐Set net carbs at 20–30 grams per day
☐Set protein at 0.7–1.0 g per pound of body weight
☐Fill the remaining calories with fat

Adjusting Macros for Your Goal

Your macro split should shift depending on whether you want to lose fat, maintain weight, or build muscle.

GoalCalorie AdjustmentProteinFatNet Carbs
Fat lossTDEE minus 300–500 kcal0.8–1.0 g/lbFill remaining20–25 g
MaintenanceEat at TDEE0.7–0.9 g/lbFill remaining25–50 g
Muscle gainTDEE plus 200–300 kcal1.0 g/lbFill remaining30–50 g

For fat loss, keep protein on the higher end to protect lean mass. A calorie deficit of 300–500 calories per day produces steady fat loss of roughly 0.5–1 pound per week without triggering excessive hunger or metabolic slowdown.

Common Keto Macro Mistakes

1. Eating too little protein. The classic 75/20/5 ratio can underdeliver protein for active people. Prioritize protein grams over hitting an exact fat percentage.

2. Fearing that protein kicks you out of ketosis. Gluconeogenesis — the process of converting protein to glucose — is demand-driven, not supply-driven. Research from the StatPearls Ketogenic Diet review confirms that moderate protein intake does not meaningfully impair ketosis in healthy individuals.

3. Ignoring fiber. Not all carbs are equal. Fiber-rich low-carb vegetables like spinach, broccoli, and cauliflower fill volume, support digestion, and barely dent your net carb budget.

4. Not adjusting over time. As you lose weight, your TDEE drops. Recalculate your macros every 4–6 weeks or whenever your weight changes by more than 5 pounds.

5. Tracking inconsistently. Even small errors compound. A tablespoon of olive oil is 120 calories — eyeballing portions on a high-fat diet leads to significant miscounts.

What to Eat to Hit Your Keto Macros

Knowing your numbers is one thing — building meals around them is another. Focus on these food categories:

  • Fat sources: avocado, olive oil, butter, coconut oil, nuts, cheese, fatty fish
  • Protein sources: eggs, chicken thighs, salmon, ground beef, pork, Greek yogurt (full-fat)
  • Low-carb vegetables: spinach, kale, zucchini, broccoli, cauliflower, bell peppers, asparagus

For a complete week of meals with macros already calculated, check our 7-day keto meal plan. And if you need snack ideas that stay within your carb budget, browse our list of keto snacks under 5 carbs.

Sample Day at 2,186 kcal (176 g fat / 126 g protein / 25 g net carbs)

Breakfast: 3-egg omelet with cheese, spinach, and avocado (48 g fat, 28 g protein, 4 g net carbs)

Lunch: Grilled chicken thighs over a bed of mixed greens with olive oil dressing and feta (52 g fat, 42 g protein, 6 g net carbs)

Dinner: Pan-seared salmon with butter, roasted broccoli, and a side of cauliflower mash (58 g fat, 40 g protein, 8 g net carbs)

Snacks: Macadamia nuts, string cheese (18 g fat, 16 g protein, 7 g net carbs)

Tracking Your Keto Macros

Calculating your macros is step one — tracking them consistently is what makes the diet work. Logging every meal ensures you stay in ketosis and reveals patterns you would otherwise miss: hidden carbs in sauces, underestimated fat in cooking oils, or protein shortfalls on busy days.

If you want to see exactly how your meals stack up, try Caloria — just snap a photo and get your calorie and macro breakdown instantly.

Frequently Asked Questions

What is the ideal macro ratio for keto?

The standard ketogenic macro ratio is 70–75% fat, 20–25% protein, and 5–10% carbohydrates by calories. This typically means 20–50 g of net carbs per day. The exact grams depend on your TDEE, body weight, and activity level.

Will too much protein kick me out of ketosis?

For most people, no. Gluconeogenesis is a demand-driven process — your body converts protein to glucose only when it needs to, not simply because extra protein is available. Research confirms that protein intake up to 1.0 g per pound of body weight does not meaningfully impair ketone production.

How often should I recalculate my keto macros?

Recalculate every 4–6 weeks or whenever your weight changes by more than 5 pounds. As you lose fat, your TDEE decreases, which means your fat target drops too. Protein and carb targets usually stay relatively stable.

Do I need to hit my fat macro exactly?

No. Fat is a lever, not a target. If your goal is fat loss, you do not need to add extra fat just to reach a percentage. Eat enough fat to stay satiated, but let your body burn its own stored fat to make up the difference.

Start Tracking Smarter

Finding your keto macros is the foundation — tracking them consistently turns knowledge into results. Caloria makes it effortless: take a photo of your meal, and the app handles the rest.

Download Caloria and see what you are really eating:

  • Download on the App Store

Topic: Diet Planning

Frequently Asked Questions

What is the ideal macro ratio for keto?
The standard ketogenic macro ratio is 70 to 75 percent of calories from fat, 20 to 25 percent from protein, and 5 to 10 percent from carbohydrates. This typically translates to 20 to 50 grams of net carbs per day, though the exact numbers depend on your total calorie needs and activity level.
How do I calculate my keto macros?
Start by calculating your Total Daily Energy Expenditure (TDEE) using the Mifflin-St Jeor equation and an activity multiplier. Then set net carbs at 20 to 30 grams, protein at 0.7 to 1.0 grams per pound of lean body mass, and fill the remaining calories with fat.
How much protein should I eat on keto without losing muscle?
Research suggests 1.6 to 2.2 grams of protein per kilogram of body weight preserves lean mass during ketosis. For most people this means 20 to 30 percent of total calories from protein, which is higher than the classic 15 percent recommendation.
Will too much protein kick me out of ketosis?
For most people, no. The idea that excess protein converts to glucose through gluconeogenesis is overstated. Studies show that moderate-to-high protein intake up to 1.0 gram per pound of body weight does not meaningfully impair ketone production in healthy individuals.
Should I track net carbs or total carbs on keto?
Most keto practitioners track net carbs, which equal total carbohydrates minus fiber and certain sugar alcohols. Net carbs reflect the carbohydrates that actually raise blood sugar and affect ketosis, allowing more room for fiber-rich vegetables in your diet.
Home Blog Buy Privacy Terms