Daily Macros for the Ketogenic Diet
Last reviewed: April 2026
Calculate your ideal keto macros — fat, protein, and net carbs based on your body, activity level, and goals. Stay in ketosis with precise daily targets. This calculator runs entirely in your browser — your data stays private, and no account is required.
The ketogenic diet drastically reduces carbohydrate intake (typically to 20–30g net carbs/day) and replaces it with fat, forcing your body to switch from glucose to ketones as its primary fuel source — a metabolic state called ketosis. Getting the macronutrient ratios right is critical: too many carbs kicks you out of ketosis, too little protein causes muscle loss, and the fat fills the caloric gap. This calculator uses the Mifflin-St Jeor equation for BMR and adjusts for your activity level and goals. For broader nutrition tracking, see our Macro Calculator and Calorie Deficit Calculator.
The standard keto macro split is approximately 70–75% fat, 20–25% protein, and 5% carbohydrates. Protein should be set based on lean body mass (0.7–1.0g per pound of body weight), net carbs capped at 20–30g, and fat fills the remaining calories. If your goal is weight loss, the fat grams decrease (you're burning body fat instead). If maintaining or gaining, fat increases. Tracking macros precisely for the first few weeks is essential until you develop an intuitive sense for portions.
The biggest mistakes are not eating enough fat (leading to hunger and low energy), eating too much protein (excess protein can convert to glucose via gluconeogenesis), and not tracking net carbs (total carbs minus fiber). Hidden carbs in sauces, dressings, and "sugar-free" foods can easily push you over 30g. Stay hydrated and supplement electrolytes (sodium, potassium, magnesium) to avoid "keto flu" during the adaptation phase. For hydration needs, try our Water Intake Calculator.
| Macro | % of Calories | Grams (2,000 cal) | Purpose |
|---|---|---|---|
| Fat | 70–75% | 156–167g | Primary fuel source |
| Protein | 20–25% | 100–125g | Muscle maintenance |
| Net Carbs | 5–10% | 20–50g | Kept low for ketosis |
The ketogenic diet shifts your body's primary fuel source from carbohydrates to fats by dramatically restricting carb intake. A standard keto macro split is approximately 70–75% of calories from fat, 20–25% from protein, and 5–10% from carbohydrates — typically limiting net carbs to 20–50 grams per day. This carbohydrate restriction depletes glycogen stores within 2–4 days, forcing the liver to convert fatty acids into ketone bodies (beta-hydroxybutyrate, acetoacetate, acetone) that fuel the brain and muscles. The transition period (often called "keto flu") lasts 3–7 days and can include fatigue, headaches, and irritability as your body adapts to burning fat instead of glucose.
| Daily Calories | Fat (75%) | Protein (20%) | Net Carbs (5%) |
|---|---|---|---|
| 1,500 | 125g (1,125 cal) | 75g (300 cal) | 19g (75 cal) |
| 1,800 | 150g (1,350 cal) | 90g (360 cal) | 23g (90 cal) |
| 2,000 | 167g (1,500 cal) | 100g (400 cal) | 25g (100 cal) |
| 2,500 | 208g (1,875 cal) | 125g (500 cal) | 31g (125 cal) |
Protein is often the most misunderstood keto macro. Too little protein causes muscle loss; too much can theoretically reduce ketosis through gluconeogenesis (though this concern is overstated in current research). A good target is 0.7–1.0 grams per pound of lean body mass for sedentary individuals and 1.0–1.2 grams per pound for those who exercise regularly. For a 180-pound person with 25% body fat (135 pounds lean mass), this translates to 95–162 grams of protein daily. Prioritize protein from whole food sources — meat, fish, eggs, dairy — over protein supplements when possible. Calculate your specific protein needs with our Protein Calculator.
Keto followers typically count net carbs (total carbohydrates minus fiber and certain sugar alcohols) rather than total carbohydrates. Fiber does not raise blood glucose and is not digested for energy, so a serving of broccoli with 6g total carbs and 2.4g fiber has only 3.6g net carbs. Sugar alcohols like erythritol have minimal glycemic impact and are often subtracted, while maltitol and sorbitol do raise blood sugar and should be partially counted. Understanding net carbs allows more vegetable consumption and dietary variety while maintaining ketosis. Track all your macros precisely with our Macro Calculator and Calorie Calculator.
The most frequent mistake is neglecting electrolytes. Ketosis increases water and electrolyte excretion, creating a need for additional sodium (3,000–5,000mg), potassium (3,500–4,700mg), and magnesium (300–400mg) daily. Symptoms of electrolyte deficiency include headaches, muscle cramps, fatigue, and dizziness — often mistaken for hunger or general malaise. Other common errors include eating too few calories (keto's appetite-suppressing effects can lead to unsustainably low intake), not eating enough vegetables (non-starchy vegetables provide fiber, micronutrients, and volume with minimal carbs), and obsessing over ketone levels rather than overall health outcomes. Monitor your hydration needs with our Water Intake Calculator.
Keto has shown strong evidence for weight loss, type 2 diabetes management, and epilepsy treatment. However, it is not appropriate for everyone. People with kidney disease, liver disease, gallbladder issues, or a history of disordered eating should consult a healthcare provider before attempting keto. Long-term adherence is the biggest challenge — restrictive diets have higher dropout rates than moderate approaches. Many people achieve similar results with a lower-carb (but not ketogenic) approach of 50–100g daily carbs, which is easier to maintain and allows more food variety. The best diet is the one you can sustain consistently. Estimate your daily calorie needs with our TDEE Calculator and plan a deficit strategy with our Calorie Deficit Calculator.
Three methods measure ketone levels: urine strips (cheapest but least accurate, measuring only excreted ketones), blood ketone meters (most accurate, measuring beta-hydroxybutyrate directly, but strips cost $1–$2 each), and breath analyzers (one-time purchase, measuring acetone, moderate accuracy). Nutritional ketosis is typically defined as blood ketone levels of 0.5–3.0 mmol/L. Higher levels do not necessarily mean faster fat loss — the relationship between ketone concentration and weight loss is not linear. Many experienced keto practitioners stop measuring ketones after the first few months, instead using subjective indicators like sustained energy, reduced appetite, and mental clarity to confirm they are in ketosis.
After 4–6 weeks of adaptation, many endurance athletes find that keto supports long-duration, low-to-moderate intensity exercise effectively. Fat provides a virtually unlimited fuel source (even a lean person carries 30,000–40,000 calories of stored fat), eliminating the need for constant carbohydrate refueling during long events. However, keto impairs high-intensity anaerobic performance — sprinting, heavy lifting, and HIIT suffer because these activities rely on glycogen, which is depleted on keto. Many athletes use a targeted or cyclical keto approach, consuming 20–50g of fast-acting carbs before intense training while maintaining ketosis otherwise. Estimate your exercise-related calorie expenditure with our Calories Burned Calculator.
Achieving and maintaining nutritional ketosis requires monitoring and periodic macro adjustments. Blood ketone meters are the gold standard for measuring beta-hydroxybutyrate (BHB) levels — nutritional ketosis is generally defined as 0.5-3.0 mmol/L, with the optimal range for weight loss typically 1.5-3.0 mmol/L. Urine ketone strips are inexpensive but become less accurate over time as the body adapts to using ketones efficiently and excretes fewer in urine. Breath acetone analyzers offer a non-invasive alternative, though with lower precision. Common reasons for stalled ketosis include hidden carbohydrates in sauces, dressings, and processed foods; excessive protein intake triggering gluconeogenesis (the body converting protein to glucose); and caloric surplus that prevents fat loss despite being in ketosis. Macro adjustments every 4-6 weeks based on progress are recommended — as body weight decreases, recalculating caloric needs and macro targets prevents plateaus caused by metabolic adaptation to the lower body weight.
See also: Calorie Calculator · TDEE Calculator · Protein Intake Calculator · Ovulation Calculator · Biological Age Calculator
→ Protein is the most important keto macro — not fat. Adequate protein (0.7–1.0g per pound of lean body mass) preserves muscle during weight loss and supports satiety. Many keto beginners over-eat fat and under-eat protein. Fat fills remaining calories — it's not a goal to maximize. Use our Macro Calculator to compare keto macros with other approaches.
→ Track net carbs, not total carbs. Net carbs = total carbs minus fiber minus sugar alcohols (partially). Fiber doesn't raise blood sugar or affect ketosis. A food with 15g total carbs and 10g fiber has only 5g net carbs. This distinction lets you eat more vegetables while staying in ketosis.
→ The "keto flu" during the first 1–2 weeks is electrolyte depletion, not carb withdrawal. Restricting carbs causes the body to excrete more sodium, potassium, and magnesium. Supplementing with 3,000–5,000mg sodium, 1,000–3,500mg potassium, and 300–500mg magnesium daily prevents headaches, fatigue, and cramping. Bone broth and salted foods help.
→ Ketosis requires consistently low carbs — one high-carb day resets the process. It takes 2–7 days to enter ketosis and return after a carb spike. Occasional carb cycling is a valid strategy for athletes, but frequent exits and re-entries cause repeated "keto flu" symptoms. Decide on a consistent approach. Estimate body composition changes with our Body Fat Calculator.
See also: Macro Calculator · Calorie Calculator · Body Fat Calculator · Carbohydrate Calculator · Fat Intake Calculator
The transition into nutritional ketosis triggers significant shifts in fluid and electrolyte balance that cause the constellation of symptoms known as keto flu — headache, fatigue, muscle cramps, nausea, and brain fog, typically lasting three to seven days. The mechanism is straightforward: insulin levels drop, signaling the kidneys to excrete sodium rather than retain it. Sodium loss pulls water with it (explaining the rapid initial weight loss, which is mostly water), and potassium and magnesium follow. Without deliberate electrolyte supplementation, these depletions cause symptoms that many people mistakenly attribute to the diet being harmful rather than a temporary adaptation phase.
Targeted supplementation prevents or resolves keto flu for most people. Sodium needs increase to 3,000 to 5,000 milligrams per day — far above the standard dietary recommendation — because the kidneys continuously excrete sodium at higher rates during ketosis. Potassium needs are 3,500 to 4,700 milligrams daily, obtainable through avocado, spinach, mushrooms, and salmon or through supplementation. Magnesium glycinate or citrate at 300 to 400 milligrams daily addresses the third common deficiency. Bone broth provides sodium and other minerals in a bioavailable form and is a common keto staple. These electrolyte needs remain elevated for the entire duration of the ketogenic diet, not just the adaptation period — ongoing supplementation prevents the muscle cramps and fatigue that cause many people to abandon the diet after the initial weeks.