Keto Calculator

Generate your personalized Keto Macros. Unlike standard diets, Keto requires precise carb limits and protein targets based on lean mass to ensure you enter and stay in Ketosis.

🥓
Nutrition Disclaimer: This calculator estimates keto macros using standard guidelines. Results are for informational purposes only and may vary based on individual health and metabolism. Consult a healthcare professional or dietitian before starting a ketogenic diet.

Your Profile

Auto-estimated: 32%
20g

Strict Keto: 20g. Active Keto: 30-50g.

%

Daily Calorie Target

1,533 kcal

LBM: 47kg • Est. Body Fat: 32%

Net Carbs

20g

5% (Limit)

Protein

95g

25% (Goal)

Fat

119g

70% (Lever)

Keto

Your Strategy

  • Carbs: Hard limit. Do not exceed 20g.
  • Protein: Essential goal. Hit 95g to protect muscle.
  • Fat: Filler. Eat up to 119g to feel full. If losing weight, eating less fat is okay—your body will use stored fat instead.

What is the Keto Calculator?

The Keto Calculator is a specialized nutrition tool designed to generate your personalized keto macros. Unlike standard diets, a ketogenic diet requires precise carbohydrate limits, protein targets based on lean body mass, and fat allocation to ensure your body enters and remains in ketosis. By entering your gender, age, height, weight, body fat %, activity level, net carb limit, goal, and deficit %, you can get accurate daily targets for calories, net carbs, protein, and fat.

This calculator is ideal for those aiming for fat loss, muscle gain, or metabolic health improvements while following a ketogenic lifestyle. It helps you structure your meals effectively to maintain ketosis without under- or over-consuming critical macronutrients.

How it Works

The Keto Calculator first estimates your lean body mass using your body fat percentage. Protein requirements are calculated based on lean mass to preserve muscle during a low-carb diet. Total calorie needs are then estimated using your activity level and adjusted based on your weight goal and selected deficit %.

Next, it allocates your calories to:

  • Net Carbs: Limited to your personal carb target, typically 20–50 grams/day for ketosis
  • Protein: Based on lean mass to support muscle retention
  • Fat: Fills the remaining calories to meet your total energy requirement

This ensures your macros are perfectly aligned to keep you in ketosis while supporting your fitness goals.

The Logic Behind This Keto Calculator

Standard macro calculators typically use fixed percentages (e.g., 5% / 25% / 70%). However, precise Keto requires a different approach:

  1. Carbs are a Limit: To stay in ketosis, you must restrict carbohydrates. We set this in grams (usually 20g), not percentage, because 5% of a 3000-calorie diet is too many carbs for ketosis.
  2. Protein is a Goal: Based on your Lean Body Mass (LBM), not total weight. This ensures you eat enough to maintain muscle without overeating protein (which can raise insulin).
  3. Fat is a Lever: Fat fills the remaining calories. If you want to lose body fat, you eat less dietary fat, forcing your body to burn its own stores.

Why Lean Body Mass Matters

Two people weighing 200lbs can have very different nutritional needs if one has 10% body fat and the other has 40%. This calculator estimates your body fat (if you don't know it) to ensure your protein target is accurate for your muscle mass.

Formula (With Example)

Step 1: Calculate Lean Body Mass

Lean Body Mass = Weight × (1 − Body Fat %)

Step 2: Set Protein Intake

Protein (grams) = Lean Body Mass × Protein Factor (typically 1.6–2.2 g/kg)

Step 3: Allocate Carbs and Fat

Net Carbs = User-defined limit (e.g., 25 g)
Fat Calories = Total Calories − (Protein Calories + Carb Calories)
Fat Grams = Fat Calories ÷ 9

Example:

A 75 kg male with 20% body fat, moderately active, 2,200 kcal target, net carbs 25 g/day, protein 150 g/day:
Carb Calories = 25 × 4 = 100 kcal
Protein Calories = 150 × 4 = 600 kcal
Fat Calories = 2,200 − (600 + 100) = 1,500 kcal
Fat Grams = 1,500 ÷ 9 ≈ 167 g

Use Cases

  • Design a personalized ketogenic diet plan
  • Support weight loss or fat reduction
  • Maintain muscle mass during low-carb dieting
  • Optimize macros for ketosis and metabolic flexibility
  • Track calories and macros for precise diet control
  • Plan meal prep based on calculated keto targets

Benefits

  • Accurate daily calorie and macro targets for keto success
  • Supports fat loss while preserving lean muscle
  • Helps maintain ketosis consistently
  • Optimizes energy levels and metabolic health
  • Simplifies meal planning and macro tracking
  • Tailored for beginners and experienced keto followers alike

Use the Keto Calculator to effectively structure your ketogenic diet, track your macros, and achieve your weight and health goals without compromising ketosis or muscle retention.

Frequently Asked Questions

Find clear answers to common questions about this converter, accuracy, usage, and real-world applications.

What is a ketogenic diet?

A ketogenic diet is a low-carb, high-fat diet designed to shift your body into ketosis, a metabolic state where fat becomes the primary energy source instead of carbohydrates.

Why do I need a Keto Calculator?

The Keto Calculator helps you set precise macronutrient targets—net carbs, protein, and fat—based on your body metrics and goals, ensuring you stay in ketosis while meeting calorie needs.

How are protein requirements determined?

Protein intake is calculated based on lean body mass to preserve muscle during low-carb dieting. This ensures adequate protein without exceeding levels that could interfere with ketosis.

Why is net carb tracking important?

Net carbs (total carbs minus fiber) must stay within a set limit, usually 20–50 grams/day, to maintain ketosis. The calculator personalizes this limit based on your diet goals and activity level.

Can I use this calculator for fat loss?

Yes. By adjusting your calorie deficit % in the calculator, you can create a fat loss plan while maintaining ketosis and preserving lean muscle mass.

What is the role of fat in the keto diet?

Fat provides the primary energy source in a ketogenic diet. The calculator allocates the remaining calories to fat after accounting for protein and net carbs to keep you in ketosis and maintain energy.

Is this calculator suitable for beginners?

Absolutely. The Keto Calculator simplifies the complex macronutrient calculations required for a ketogenic diet, making it easy for beginners and experienced users to follow a structured plan.

How many carbs for Keto?

Most people need to stay under 20g of Net Carbs per day to guarantee ketosis. Some active individuals can tolerate 30-50g. Start with 20g and adjust later.

What are Net Carbs?

Net Carbs = Total Carbs - Fiber - Sugar Alcohols.
Since fiber is not digested into glucose, it doesn't spike blood sugar or insulin, so it doesn't count against your keto limit.

Why is protein based on lean mass?

Protein is for repair and maintenance of tissues. Calculating it based on total weight (if you have high body fat) would lead to overeating protein, which can convert to glucose via gluconeogenesis and kick you out of ketosis.

Do I have to hit my Fat macro?

No! On Keto, Fat is a limit, not a goal (unless you are maintaining). If you are trying to lose weight, your body fat provides the energy deficit. Eat enough dietary fat to feel satisfied, but you don't need to force-feed fat.