Keto Macros Explained: How to Calculate Fat, Protein, and Carbs
Learn how to calculate your keto macros for fat loss or maintenance. Covers net carbs, protein needs, fat ratios, and common keto mistakes.
What Is a Keto Diet?
A ketogenic (keto) diet is a high-fat, moderate-protein, very-low-carbohydrate eating pattern designed to shift your body's primary fuel source from glucose to fat. The standard macro breakdown by calories is roughly 70-75% fat, 20-25% protein, and 5-10% carbs. In practice, that means keeping net carbs under 20-25 grams per day for most people.
Keto was originally developed in the 1920s as a medical treatment for epilepsy. Over the past decade, it has become one of the most popular approaches for fat loss, blood sugar management, and sustained energy. The reason it works for weight loss is straightforward: by removing most carbohydrates, you lower insulin levels, reduce appetite, and push your body to burn stored fat for energy.
But keto only works if your macros are dialed in correctly. Eat too many carbs and you never enter ketosis. Eat too little protein and you lose muscle. Eat too much fat and you stall weight loss. The rest of this guide covers exactly how to set each number.
How Ketosis Works
Ketosis is a metabolic state where your body runs primarily on fat-derived molecules called ketones instead of glucose. Here's the simplified version of what happens when you cut carbs:
- You stop eating carbs. Your blood glucose drops and your body burns through its glycogen stores (stored glucose in your liver and muscles) within 24-48 hours.
- Your liver starts converting fat into ketones. With glycogen depleted, your liver breaks down fatty acids into three types of ketone bodies: acetoacetate, beta-hydroxybutyrate (BHB), and acetone.
- Your brain and muscles switch fuel sources. Ketones cross the blood-brain barrier and replace glucose as your brain's primary energy source. Your muscles also shift to burning fatty acids and ketones directly.
- You enter a fat-burning state. With low insulin and high ketone levels, your body has efficient access to stored body fat. This is why many people report reduced hunger on keto — your body is constantly fueled by its own fat stores between meals.
Most people enter ketosis within 2-4 days of eating under 20g net carbs. You can verify with urine test strips (cheap but imprecise) or a blood ketone meter (accurate, measures BHB directly). A blood BHB level of 0.5-3.0 mmol/L indicates nutritional ketosis.
Calculating Your Keto Macros (Step-by-Step)
Forget the percentages. The most effective way to set keto macros is to calculate grams of each macronutrient based on your body and goals. Percentages are a rough guide, but grams give you an actionable daily target. Here's the process:
Step 1: Calculate Your Calories
Start with your Total Daily Energy Expenditure (TDEE). Use the Mifflin-St Jeor equation for your Basal Metabolic Rate (BMR), then multiply by your activity level:
- Men: BMR = (10 x weight in kg) + (6.25 x height in cm) - (5 x age) + 5
- Multiply BMR by 1.2 (sedentary), 1.375 (light activity), 1.55 (moderate), 1.725 (very active)
For fat loss, subtract 500 calories from your TDEE. For maintenance, eat at TDEE.
Step 2: Set Protein
Aim for 1.2-2.0g of protein per kg of bodyweight (or roughly 0.7-1.0g per pound of lean body mass). If you strength train, shoot for the higher end. Protein has 4 calories per gram.
Step 3: Set Carbs
Cap net carbs at 20-25g per day to reliably stay in ketosis. Carbs have 4 calories per gram. That's 80-100 calories from carbs — a small portion of your total.
Step 4: Fill the Rest with Fat
Subtract your protein and carb calories from your total calorie target. The remainder comes from fat. Fat has 9 calories per gram.
Worked Example: 180 lb Male, Moderate Activity
Let's run the numbers for a 30-year-old male, 180 lbs (82 kg), 5'10" (178 cm), exercises 3-4 times per week, goal is fat loss:
- BMR: (10 x 82) + (6.25 x 178) - (5 x 30) + 5 = 820 + 1,112.5 - 150 + 5 = 1,788 cal
- TDEE: 1,788 x 1.55 = 2,771 cal
- Fat loss target: 2,771 - 500 = 2,271 cal/day (we'll round to ~2,270)
- Protein: 82 kg x 1.6g = 131g protein = 524 cal
- Carbs: 25g net carbs = 100 cal
- Fat: (2,270 - 524 - 100) / 9 = 183g fat = 1,646 cal
Daily targets: 131g protein, 25g net carbs, 183g fat (~2,270 calories). By percentage, that works out to about 72% fat, 23% protein, and 5% carbs — right in the classic keto range.
Net Carbs vs. Total Carbs
Net carbs = total carbohydrates minus fiber (and minus sugar alcohols, if applicable). This distinction matters because fiber is a carbohydrate your body cannot digest or convert to glucose. It passes through your digestive system without raising blood sugar or insulin.
For example, a cup of broccoli has about 6g total carbs but 2.4g of fiber, giving it only 3.6g net carbs. An avocado has roughly 12g total carbs but 10g of fiber — just 2g net carbs. Without counting net carbs, you'd unnecessarily restrict healthy, fiber-rich vegetables that actually support ketosis by improving digestion and feeding gut bacteria.
Sugar alcohols (erythritol, xylitol, allulose) are partially absorbed and vary in their glycemic impact. Erythritol and allulose have virtually zero glycemic response and can be fully subtracted. Maltitol, on the other hand, spikes blood sugar almost as much as regular sugar — count at least half of its carbs. When in doubt, subtract erythritol and allulose, but count other sugar alcohols partially.
Most keto practitioners and calculators use net carbs. If you're just starting out, keep net carbs at 20g and you'll have very little room for error.
The Protein Myth: Why Protein Won't Kick You Out of Ketosis
One of the most persistent keto myths is that eating "too much" protein triggers gluconeogenesis (GNG) and knocks you out of ketosis. This misunderstanding has caused countless people to under-eat protein, lose muscle, and stall their progress.
Here's what the research actually shows: gluconeogenesis is a demand-driven process, not a supply-driven one. Your liver produces glucose from amino acids (and other substrates like lactate and glycerol) at a relatively constant rate to supply the tissues that need it — primarily red blood cells and certain brain cells. Eating more protein does not meaningfully increase GNG output.
A 2018 study published in the Journal of the International Society of Sports Nutrition found that high-protein keto diets (up to 2.2g/kg) did not impair ketosis compared to standard-protein keto diets. Participants maintained BHB levels well within the ketosis range while eating significantly more protein.
The practical takeaway: prioritize protein. It preserves your lean mass during fat loss, keeps you full, has the highest thermic effect of any macronutrient (your body burns 20-30% of protein calories during digestion), and supports recovery from exercise. Eating 1.2-2.0g per kg of bodyweight will not knock you out of ketosis.
Fat Is a Lever, Not a Goal
On keto, fat is not a target you need to hit — it's a dial you turn up or down depending on your goal. This is the single most misunderstood concept in keto, and getting it wrong is the primary reason people fail to lose weight.
If your goal is fat loss, you need a calorie deficit. Since carbs are already minimal and protein is fixed based on your lean mass, the only macro you have real flexibility with is fat. Eating less fat means a larger calorie deficit and faster fat loss. Eating more fat means a smaller deficit or maintenance.
You do not need to add butter to your coffee, drown vegetables in oil, or eat fat bombs to "hit your fat macro." Those strategies make sense for someone who is underweight, an endurance athlete, or eating keto for epilepsy management — not for someone trying to lose body fat.
Think of it this way: Protein is your target (hit it every day). Carbs are your limit (stay under 20-25g net). Fat is your lever (eat enough to feel satisfied, but don't force extra calories you don't need). If you're not hungry and you've hit your protein target, it's fine to come in under your fat number.
Sample Keto Day (~1,800 Calories)
Here's a realistic full day of eating on keto for someone targeting approximately 1,800 calories. This example prioritizes whole foods, hits a solid protein number, and keeps net carbs well under 25g.
Breakfast: Scrambled Eggs with Avocado
- 3 large eggs scrambled in 1 tbsp butter
- 1/2 avocado, sliced
- 2 slices bacon
- Macros: 42g fat, 25g protein, 3g net carbs — 490 cal
Lunch: Grilled Chicken Thigh Salad
- 6 oz chicken thighs (skin-on, grilled)
- 2 cups mixed greens
- 1/4 cup shredded parmesan
- 2 tbsp olive oil & vinegar dressing
- Macros: 38g fat, 40g protein, 4g net carbs — 550 cal
Dinner: Salmon with Roasted Broccoli
- 6 oz salmon fillet
- 1.5 cups broccoli roasted in 1 tbsp olive oil
- 1 tbsp butter on the salmon
- Macros: 35g fat, 38g protein, 5g net carbs — 495 cal
Snack: Almonds & String Cheese
- 1 oz almonds (~23 almonds)
- 1 string cheese stick
- Macros: 18g fat, 12g protein, 3g net carbs — 230 cal
Daily Total
| Macro | Grams | Calories | % of Total |
|---|---|---|---|
| Fat | 133g | 1,197 | 68% |
| Protein | 115g | 460 | 26% |
| Net Carbs | 15g | 60 | 3% |
| Total | ~1,765 |
This lands slightly under 1,800 calories with 15g net carbs — well within the ketosis range. Protein is solid at 115g. If you need more calories, add an extra tablespoon of olive oil to dinner or a second serving of almonds. If you need fewer, drop the snack.
Common Keto Mistakes
These errors derail more keto dieters than anything else:
- Eating too little protein. This is the most damaging mistake on keto. When you under-eat protein in a calorie deficit, you lose muscle, your metabolism slows, and you look worse at a lower weight. Many keto guides from the early 2010s recommended just 50-60g of protein per day — that's not enough for anyone over 120 lbs. Hit your protein target every single day.
- Eating too much fat. If you're adding coconut oil to everything, eating fat bombs, and drinking bulletproof coffee, you might be consuming 2,500+ calories while in ketosis and wondering why the scale won't budge. Ketosis doesn't override thermodynamics. You still need a calorie deficit to lose body fat.
- Hidden carbs. Sauces (ketchup, BBQ sauce, teriyaki), dressings, marinades, and "sugar-free" products with maltitol can add 10-20g of unexpected carbs to your day. Read labels. Even foods marketed as "keto-friendly" can be loaded with carbs from maltodextrin, tapioca starch, or sugar alcohols that do raise blood glucose.
- Neglecting electrolytes. When you cut carbs, your kidneys excrete more sodium, potassium, and magnesium. This is the primary cause of "keto flu" — headaches, fatigue, cramps, and brain fog in the first week. The fix is simple: add salt to your food liberally (5-7g sodium/day), supplement magnesium (200-400mg/day), and eat potassium-rich keto foods like avocado, spinach, and salmon. Most keto flu symptoms disappear within 48 hours of proper electrolyte intake.
- Not tracking for the first month. Keto has a steep learning curve for portion sizes and hidden carbs. People who eyeball portions routinely underestimate carbs and overestimate protein. Use an app like Cronometer for at least the first 2-4 weeks to calibrate your intuition.
- Obsessing over ketone levels. Higher ketone readings do not mean faster fat loss. A BHB of 0.5 mmol/L burns body fat just as effectively as 3.0 mmol/L. Once you're in nutritional ketosis, focus on your food quality, protein intake, and calorie target — not chasing deeper ketone numbers.
Key Takeaways
- Keto works by restricting carbs below 20-25g net per day, forcing your body to burn fat and produce ketones for fuel
- Calculate macros in grams, not percentages: protein first (1.2-2.0g/kg), carbs second (20-25g net), fat fills the rest
- Net carbs = total carbs minus fiber. Count net carbs to avoid unnecessarily restricting healthy vegetables
- Protein does not kick you out of ketosis — gluconeogenesis is demand-driven, not supply-driven. Eat enough protein
- Fat is a lever for controlling calories. If you want to lose weight, you don't need to force extra fat into your diet
- Supplement electrolytes (sodium, potassium, magnesium) to avoid keto flu and muscle cramps
- Track everything for the first 2-4 weeks to learn hidden carb sources and calibrate portion sizes
- Higher ketone levels do not equal faster fat loss — focus on food quality, protein, and calorie targets
Frequently Asked Questions
How many carbs can I eat on keto?
Most people enter ketosis at under 20-25g of net carbs per day. Some people can stay in ketosis up to 50g. Net carbs = total carbs minus fiber. Start at 20g and adjust based on how you feel and your ketone levels.
How much protein should I eat on keto?
Aim for 1.2-2.0g per kg of body weight. Common myth: excess protein kicks you out of ketosis. Research shows this doesn't happen at moderate-high protein intake. Prioritize protein to preserve muscle mass.
What is the ideal keto macro ratio?
A typical keto ratio is 70-75% fat, 20-25% protein, 5-10% carbs by calories. However, focus on hitting your net carb limit and protein target first — let fat fill the remaining calories. Fat is a lever, not a goal.
Do I need to track macros on keto?
Tracking is highly recommended for the first 2-4 weeks to learn portion sizes and hidden carbs. After that, many people can maintain keto intuitively. Apps like Cronometer or MyFitnessPal make tracking easy.
What are the best keto foods?
High-fat proteins: eggs, salmon, ribeye, chicken thighs. Fats: avocado, olive oil, butter, nuts. Low-carb vegetables: spinach, broccoli, cauliflower, zucchini. Avoid: bread, pasta, rice, sugar, fruit (except berries in small amounts).