Keto Macro Calculator

Calculate your personalized ketogenic diet macros based on your body metrics, activity level, and goals.

What Is the Ketogenic Diet?

The ketogenic diet is a high-fat, low-carbohydrate eating pattern that shifts your body's primary fuel source from glucose to ketones (fat-derived molecules). By restricting carbohydrates to approximately 20-50g per day, your liver begins converting fatty acids into ketone bodies, a metabolic state called ketosis. This calculator uses the Mifflin-St Jeor equation to determine your caloric needs, then distributes macronutrients according to your chosen keto approach.

How Keto Macros Work

The ketogenic diet works by drastically reducing carbohydrate intake to force the body into ketosis, a metabolic state where fat becomes the primary energy source. When carb intake drops below approximately 50g per day, glycogen stores deplete within 24-48 hours, and the liver begins producing ketone bodies (beta-hydroxybutyrate, acetoacetate, and acetone) from fatty acids.

Fat Adaptation and Ketosis

The transition to fat-burning efficiency, called fat adaptation, typically takes 2-6 weeks. During this period, your body upregulates enzymes involved in fatty acid oxidation and ketone utilization. Key markers of this process:

  • Days 1-3: Glycogen depletion begins. You may experience fatigue and cravings as blood sugar normalizes.
  • Days 3-7: Ketone production ramps up. Blood beta-hydroxybutyrate (BHB) levels rise above 0.5 mmol/L, indicating nutritional ketosis.
  • Weeks 2-6: Fat adaptation improves. Exercise performance recovers, mental clarity often improves, and appetite naturally decreases due to the satiating effect of ketones and higher fat intake.

Why Macro Ratios Matter on Keto

Unlike a standard calorie-counting diet, the ketogenic diet is uniquely sensitive to macronutrient ratios:

  • Carbs must stay very low (5-10%): Even moderate carb increases can knock you out of ketosis. A single high-carb meal can take 1-3 days to recover from.
  • Fat provides the majority of energy (60-75%): Fat is both your fuel source and the lever for calorie adjustment. Too little fat means insufficient energy; too much can stall weight loss.
  • Protein is a target, not a limit (20-35%): Research by Volek and Phinney shows that adequate protein (1.2-2.0 g/kg) does not impair ketosis in most people, despite the common myth about gluconeogenesis.

BMR (Males): (10 x weight in kg) + (6.25 x height in cm) - (5 x age) + 5

BMR (Females): (10 x weight in kg) + (6.25 x height in cm) - (5 x age) - 161

TDEE = BMR x Activity Factor

Keto Calories = TDEE x Goal Modifier (deficit, maintenance, or surplus)

Keto vs Standard Macros Comparison

The ketogenic diet inverts the typical macronutrient distribution. While standard dietary guidelines recommend 45-65% of calories from carbohydrates, keto limits carbs to 5-10% and replaces them with fat. This comparison table shows how the three keto approaches differ from standard diets.
Diet Approach Fat Protein Carbs Best For
Standard Diet (USDA)20-35%10-35%45-65%General population
Standard Keto (SKD)75%20%5%Weight loss, appetite control
Modified Keto65%25%10%Easier adherence, active individuals
High-Protein Keto60%35%5%Athletes, muscle preservation

A 2013 meta-analysis by Bueno et al., analyzing 13 randomized controlled trials, found that ketogenic diets produced significantly greater long-term weight loss compared to low-fat diets, with additional improvements in triglycerides and HDL cholesterol. However, LDL cholesterol showed modest increases in some subjects.

Common Keto Mistakes

1. Not Tracking Net Carbs Accurately

Many people underestimate their carb intake because they don't account for hidden carbs in sauces, dressings, and processed foods. Net carbs = total carbs minus fiber. Use a food tracking app and weigh portions during the first few weeks until you develop an intuitive sense of carb content.

2. Eating Too Much or Too Little Protein

The myth that excess protein "kicks you out of ketosis" via gluconeogenesis is largely unfounded. Research shows gluconeogenesis is demand-driven, not supply-driven. Aim for 1.2-2.0g of protein per kg of body weight. Too little protein leads to muscle loss; adequate protein supports satiety and lean mass.

3. Ignoring Electrolytes

Low-carb diets cause increased sodium excretion through the kidneys. Without adequate sodium (3-5g/day), magnesium (200-400mg/day), and potassium (1,000-3,500mg/day from food), you may experience fatigue, headaches, cramping, and the "keto flu." Supplementation or deliberate dietary focus on electrolyte-rich foods is essential.

4. Eating Too Many Calories From Fat

Keto is not a license to eat unlimited fat. Fat is the variable macro on keto — if your goal is weight loss, your body should burn stored fat, not just dietary fat. Use the fat macro as a lever: eat enough to feel satisfied, but you don't need to hit your fat target if you aren't hungry. Protein and carb limits are more important to hit precisely.

5. Not Giving It Enough Time

The initial 1-2 weeks of keto can involve water weight fluctuations, energy dips, and cravings that cause many people to quit prematurely. Fat adaptation takes 2-6 weeks. Weight loss often stalls in weeks 2-3 before resuming. Commit to at least 4-6 weeks before evaluating results.

Frequently Asked Questions

How many carbs can I eat on keto?

Most ketogenic diets recommend limiting net carbs to 20-50 grams per day. Standard keto allocates about 5% of total calories to carbohydrates, which typically falls within this range. The exact amount depends on your total calorie intake, activity level, and individual carb tolerance. Some people can maintain ketosis at up to 50g net carbs, while others need to stay under 20g.

What is the difference between standard and high-protein keto?

Standard keto follows a 75% fat, 20% protein, 5% carb ratio, while high-protein keto uses 60% fat, 35% protein, 5% carbs. High-protein keto is better suited for people who are physically active or want to preserve muscle mass during weight loss. Both approaches keep carbs very low to maintain ketosis, but high-protein keto provides more amino acids for muscle repair and satiety.

How long does it take to enter ketosis?

Most people enter ketosis within 2-4 days of restricting carbohydrates to under 20-50g per day. Full fat adaptation, where your body efficiently uses ketones as its primary fuel, can take 2-6 weeks. Using a blood ketone meter (measuring beta-hydroxybutyrate) is the most accurate way to confirm ketosis. Levels of 0.5-3.0 mmol/L indicate nutritional ketosis.

Can I build muscle on a keto diet?

Yes, muscle building is possible on keto, though it may be slightly less efficient than with a higher-carb diet. Adequate protein intake (1.6-2.2g per kg body weight) and a caloric surplus are the primary drivers of muscle growth. The high-protein keto approach (60/35/5) is recommended for muscle gain. Ensure you are eating enough total calories and protein, and consider timing protein around workouts.

What is the keto flu and how do I avoid it?

The keto flu refers to symptoms like headache, fatigue, nausea, and irritability during the first 1-2 weeks. It is primarily caused by electrolyte imbalances and dehydration. To minimize symptoms: increase sodium intake (3-5g/day), supplement magnesium (200-400mg) and potassium (1,000-3,500mg from food), stay well hydrated, and consider transitioning gradually rather than cutting carbs abruptly.

Medical Disclaimer: This tool provides general educational estimates. Always consult your prescribing physician or healthcare provider before making medication changes or interpreting results from population-based models.