Keto Macro Calculator

Calculate your ketogenic diet macros for fat, protein, and net carbs. Supports SKD, TKD, CKD, and high-protein keto protocols with personalized calorie targets.

⚠️ Medical Disclaimer: This calculator is for informational purposes only. Consult a healthcare provider before starting a ketogenic diet, especially if you have diabetes, kidney disease, or are pregnant.
Planning notes, formulas, and examples

About the Keto Macro Calculator

The ketogenic diet shifts the body's primary fuel source from glucose to fat-derived ketone bodies by drastically reducing carbohydrate intake — typically to 20–50 grams of net carbs per day. This metabolic state, called nutritional ketosis, has evidence-backed benefits for weight loss, type 2 diabetes management, epilepsy, and neurological conditions. However, the precise macro ratios vary significantly based on your activity level, body composition, and specific goals.

This Keto Macro Calculator uses the Mifflin-St Jeor equation to estimate your basal metabolic rate, applies your activity level and goal (fat loss, maintenance, or lean gain) to determine total calories, and then distributes those calories according to your chosen keto protocol. It supports five protocols: Standard Keto (SKD, 70/25/5), Moderate Keto (65/25/10), High-Protein Keto (60/35/5), Targeted Keto (TKD), and Cyclical Keto (CKD).

Beyond basic macros, the calculator provides fat-type distribution guidance (monounsaturated, polyunsaturated, saturated), electrolyte targets to prevent "keto flu," a blood ketone level reference, and a keto-friendly food table. Whether you are starting keto for the first time or fine-tuning an established protocol, This calculator gives you the precision to optimize your diet without guesswork.

When This Page Helps

Keto is most useful when the carb limit, protein floor, and fat target are balanced for the person using it. This calculator translates those ratios into actual grams so the plan supports ketosis without accidentally undercutting protein intake or calorie control.

How to Use the Inputs

  1. Enter your weight, height, age, and sex for BMR calculation.
  2. Select your activity level to estimate total daily energy expenditure (TDEE).
  3. Choose your goal: lose weight (−20%), mild loss (−10%), maintain, or lean gain (+10%).
  4. Select a keto protocol — Standard Keto suits most beginners.
  5. Optionally enter body fat percentage for protein-per-lean-mass calculation.
  6. Review your macro targets, ketosis likelihood, and fat-type distribution.
  7. Explore the food reference table and electrolyte guide for practical meal planning.
Formula used
BMR (Mifflin-St Jeor): Males = 10×weight(kg) + 6.25×height(cm) − 5×age + 5; Females = 10×weight(kg) + 6.25×height(cm) − 5×age − 161. TDEE = BMR × Activity Factor. Keto Macros: Fat(g) = (Calories × Fat%) / 9; Protein(g) = (Calories × Protein%) / 4; Net Carbs(g) = (Calories × Carb%) / 4.

Example Calculation

Result: Fat: 175g, Protein: 139g, Net Carbs: 28g (2,231 kcal)

A 30-year-old moderately active male (180 lbs, 70″) has a TDEE of ~2,231 kcal. Under Standard Keto (70/25/5), fat provides 1,562 kcal (175g), protein 556 kcal (139g), and carbs 112 kcal (28g net) — well within the ketosis threshold.

Tips & Best Practices

  • Start with Standard Keto (20g net carbs) for the first 4 weeks to become fat-adapted before trying TKD or CKD.
  • Track macros with an app for the first 2 weeks until you develop intuitive portion awareness.
  • Prioritize monounsaturated fats (olive oil, avocado) and omega-3s (salmon, sardines) over saturated fats.
  • Eat 7+ servings of low-carb vegetables daily — spinach, broccoli, cauliflower, zucchini, asparagus.
  • Weigh yourself at the same time daily and take a weekly average — water weight fluctuates significantly on keto.
  • Keep electrolyte-rich foods on hand to prevent keto flu: bone broth, avocado, almonds, dark chocolate.

Keto Adaptation: What Happens in the First 4 Weeks

During the first 1–3 days on keto, your body depletes liver glycogen stores (about 100g, holding 300–400g of water). This causes rapid initial weight loss — primarily water. By days 3–7, the liver ramps up ketone production (beta-hydroxybutyrate and acetoacetate), and you may experience "keto flu" as electrolyte balance shifts. Weeks 2–4 mark the fat-adaptation phase where muscles increasingly use fatty acids directly, sparing ketones for the brain. Full fat-adaptation takes 4–8 weeks. Exercise performance typically dips during adaptation but recovers — and may improve for endurance activities — once adapted.

Keto and Metabolic Health

Research shows ketogenic diets can reduce HbA1c by 0.5–1.5% in people with type 2 diabetes, often allowing medication reduction under medical supervision. The mechanism involves dramatically lower insulin secretion (from reduced carb intake), improved insulin sensitivity, and reduced hepatic glucose output. For non-diabetics, keto typically lowers triglycerides by 20–50% and raises HDL cholesterol, though LDL responses vary by individual.

Common Keto Mistakes

The most frequent errors are: (1) not eating enough vegetables and fiber, leading to constipation; (2) overdoing saturated fat (butter, bacon) while neglecting monounsaturated and omega-3 sources; (3) eating too few calories, which slows metabolism; (4) ignoring electrolytes; (5) expecting linear weight loss — stalls at 3–4 weeks are normal as water weight stabilizes.

Sources & Methodology

Last updated:

Methodology

This worksheet turns a calorie target and selected ketogenic protocol into fat, protein, and net-carb grams using simple macro percentages. It also shows a few practical reference ranges that are useful for planning a low-carbohydrate diet.

The output is a planning worksheet, not a clinical directive. Individual tolerance, medications, kidney function, and training load can change whether a ketogenic pattern is appropriate.

Sources

Frequently Asked Questions

  • Most people achieve nutritional ketosis at 20–50g net carbs per day. Net carbs = total carbs minus fiber and sugar alcohols. Beginners should start at 20g for reliable ketosis, then experiment upward.