Back to Health & Fitness

Keto Macro Calculator

Calculate specific macronutrient targets for a ketogenic diet.

Calculate Your Keto Macros

Determine your optimal ketogenic macronutrient breakdown based on your body composition and goals

Understanding the Inputs

Age, Sex, Weight, Height

These basic measurements are used to calculate your Basal Metabolic Rate (BMR) using the Mifflin-St Jeor equation. Your BMR represents the calories your body needs at rest, which forms the foundation for determining your keto macro targets.

Activity Level

Your activity level determines your Total Daily Energy Expenditure (TDEE) by multiplying your BMR by an activity factor. Sedentary individuals use 1.2, while very active people may use 1.725 or higher. Choose the level that best matches your typical weekly exercise and daily movement patterns.

Net Carb Goal

Net carbs (total carbohydrates minus fiber) are the key to achieving ketosis. Most people need to stay under 20-30g net carbs per day to enter and maintain ketosis. The calculator uses your specified goal and locks in this amount, allocating remaining calories to protein and fat.

Protein Ratio (g/kg LBM)

Protein needs are calculated based on your Lean Body Mass (LBM), not total weight. Common ratios range from 1.4-2.0 g/kg LBM, with higher ratios recommended for those in a calorie deficit or wanting to preserve muscle mass. The calculator estimates your LBM using body composition formulas.

Calorie Goal

Choose whether you want to maintain your current weight (TDEE), lose weight (20% deficit), or gain weight (10% surplus). These adjustments ensure your macro targets align with your goals while maintaining the keto macronutrient ratios.

Related Calculators

Explore other nutrition and diet calculators to optimize your health journey

Protein Intake Calculator

Calculate your optimal protein needs to support muscle preservation on keto.

Fat Intake Calculator

Understand your daily fat requirements and how they fit into your keto diet.

Carbohydrate Intake Calculator

Learn about carbohydrate needs for different activity levels and goals.

Daily Calorie Needs Calculator

Calculate your Total Daily Energy Expenditure to understand your baseline calorie needs.

Macro Ratio Calculator

See how different macronutrient ratios compare to your keto targets.

Intermittent Fasting Calculator

Combine keto with intermittent fasting for enhanced results.

Complete Guide to Keto Macros

How to Set Your Keto Macros (That Actually Work)

Keto is not just "eat bacon." Effective ketogenic diets prioritize adequate protein, a consistent low net‑carb target, and use fat to reach calories. This calculator builds around those principles. Use the guidance below to implement day‑to‑day.

1) Net Carbs: Keep It Low and Consistent

  • Common starting point: 20–30 g net carbs per day (fiber excluded).
  • Spread across meals to stabilize hunger and glucose; reserve more of your daily carbs around training if desired.
  • Track hidden carbs in sauces, dressings, and processed "keto" snacks.

2) Protein: The Anchor

Base protein on lean body mass (LBM) or target bodyweight: typically 1.4–2.0 g/kg LBM (≈ 0.6–0.9 g/lb LBM) to preserve muscle.

3) Fat: The Calorie Lever

After net carbs and protein are set, fat fills the rest of your calories. In a deficit, fat grams will be lower; in maintenance or surplus, higher.

4) Electrolytes, Fiber, and Micronutrients

  • Sodium: 3–5 g/day from broths, salted meals—especially during adaptation.
  • Potassium & Magnesium: leafy greens, avocado, nuts/seeds; consider supplements if intake is low.
  • Fiber: 20–30 g/day from non‑starchy vegetables, chia/flax, low‑sugar berries; fiber does not count toward net carbs.

5) Plate Examples

  • Egg omelet + spinach + feta + olive oil; side of avocado.
  • Salmon + asparagus + herb butter; mixed greens with olive‑oil vinaigrette.
  • Tofu stir‑fry in coconut oil with broccoli, mushrooms, and sesame seeds.

Keto Basics: What and Why

Nutritional ketosis is a metabolic state where ketone bodies provide a significant share of fuel. People choose keto for appetite control, steady energy, or therapeutic reasons. Success hinges on consistency and nutrient‑dense food choices—not unlimited fat.

Common Mistakes

  • Under‑eating protein and over‑relying on added fats.
  • Ignoring electrolytes, leading to headaches or fatigue.
  • Assuming all "keto snacks" fit your goals—many are high‑calorie and low in micronutrients.

Frequently Asked Questions

Common questions about ketogenic macros and the keto diet

Do I need to be in ketosis to lose fat?

No—calorie balance still governs fat loss. Keto is one tool among many. While ketosis can help with appetite control and steady energy, the primary driver of weight loss is creating a calorie deficit. Many people find keto easier to maintain because fat and protein are more satiating than carbohydrates.

How do I handle social meals on keto?

Center the plate on protein + low‑starch vegetables; bring a dressing/olive oil if needed. When dining out, choose grilled meats, salads with oil-based dressings, or vegetable sides. Don't be afraid to ask for modifications—most restaurants are accommodating. Planning ahead and eating a small keto-friendly snack before social events can also help.

Will keto hurt my workout performance?

For high‑intensity sports, many perform better with strategic carbs; for steady‑state, keto can feel fine once adapted. During the initial adaptation phase (first 2-4 weeks), you may experience reduced performance, especially in high-intensity activities. However, once fat-adapted, many athletes perform well, especially in endurance activities. Some athletes use targeted keto (adding carbs around workouts) to optimize performance.

Can I eat too much protein on keto?

Very high protein intake (above 2.2 g/kg LBM) may reduce ketone production in some people through gluconeogenesis. However, for most people following a standard keto diet, the protein amounts calculated by this tool (1.4-2.0 g/kg LBM) are optimal and won't interfere with ketosis. Protein is crucial for muscle preservation, especially in a calorie deficit.

What are net carbs vs total carbs?

Net carbs = total carbohydrates minus fiber (and sometimes sugar alcohols). Fiber doesn't raise blood sugar or insulin, so it doesn't count toward your keto carb limit. For example, if a food has 10g total carbs and 6g fiber, it has 4g net carbs. Most keto dieters aim for 20-30g net carbs per day to maintain ketosis.

Do I need to track all macros or just carbs?

For best results, especially in the beginning, track all three macros (carbs, protein, fat). While carbs are most critical for ketosis, protein is essential for muscle preservation, and fat helps you hit your calorie target. Many experienced keto dieters can "eyeball" portions after a few weeks, but tracking ensures accuracy, especially when first starting or when progress stalls.

How do I know if I'm in ketosis?

Common signs include: reduced appetite, increased mental clarity, more stable energy, "keto breath" (a fruity or metallic taste), and increased thirst. You can test ketone levels using urine strips (least accurate), blood meters (most accurate), or breath analyzers (moderate accuracy). However, these aren't necessary—if you're eating under 20-30g net carbs consistently, you're likely in ketosis.

Can I drink alcohol on keto?

Yes, but with caveats. Dry wines, spirits (vodka, whiskey, gin), and low-carb beers can fit within your net carb limit. However, alcohol pauses fat burning as your body prioritizes metabolizing alcohol. Also, alcohol tolerance is often lower on keto. Drink in moderation, stay hydrated, and account for alcohol calories (7 calories per gram) in your daily totals.

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

"Keto flu" refers to flu-like symptoms (fatigue, headaches, irritability) during the first week of keto adaptation. It's caused by electrolyte imbalances and dehydration as your body adjusts. To minimize it: consume plenty of sodium (3-5g/day), stay hydrated, get adequate potassium and magnesium from foods or supplements, and don't go too low on calories during adaptation.

Is keto safe long-term?

For most healthy individuals, keto can be safe long-term when done properly with a focus on whole foods, adequate protein, and micronutrient intake. However, some populations (pregnant/breastfeeding women, people with certain medical conditions, children) should avoid or modify keto. Consult with a healthcare provider before starting, especially if you have diabetes, kidney issues, or other medical conditions. Regular monitoring and a balanced approach are key.

Embed This Calculator

Add this calculator to your website or blog using the embed code below:

<div style="max-width: 600px; margin: 0 auto;"> <iframe src="https://mycalculating.com/category/health-fitness/keto-macro-calculator?embed=true" width="100%" height="600" style="border:1px solid #ccc; border-radius:8px;" loading="lazy" title="Keto Macro Calculator Calculator by MyCalculating.com" ></iframe> <p style="text-align:center; font-size:12px; margin-top:4px;"> <a href="https://mycalculating.com/category/health-fitness/keto-macro-calculator" target="_blank" rel="noopener"> Use full version on <strong>MyCalculating.com</strong> </a> </p> </div>
Open in New Tab

Keto Macro Calculator

Calculate specific macronutrient targets for a ketogenic diet.

How to use Keto Macro Calculator

Step-by-step guide to using the Keto Macro Calculator:

  1. Enter your values. Input the required values in the calculator form
  2. Calculate. The calculator will automatically compute and display your results
  3. Review results. Review the calculated results and any additional information provided

Frequently asked questions

How do I use the Keto Macro Calculator?

Simply enter your values in the input fields and the calculator will automatically compute the results. The Keto Macro Calculator is designed to be user-friendly and provide instant calculations.

Is the Keto Macro Calculator free to use?

Yes, the Keto Macro Calculator is completely free to use. No registration or payment is required.

Can I use this calculator on mobile devices?

Yes, the Keto Macro Calculator is fully responsive and works perfectly on mobile phones, tablets, and desktop computers.

Are the results from Keto Macro Calculator accurate?

Yes, our calculators use standard formulas and are regularly tested for accuracy. However, results should be used for informational purposes and not as a substitute for professional advice.