HomeHealthKeto Calculator

Last updated: August 12, 2026

Keto Calculator

A 12-part chained toolkit that takes you from body stats to a full ketogenic plan — macros, net carbs, ketosis timeline, weight-loss projection, food checks, electrolytes, and app matching, all in one place.

2026 Data 12 Connected Cards Mifflin-St Jeor & Katch-McArdle
Card 1 of 12 · Anchor

Keto Macro Calculator

Your entry point. Converts body stats, activity, and goal into a daily calorie target plus net-carb, protein, and fat grams using the Mifflin-St Jeor energy model.

Your Daily Keto Targets
BMR
Calories your body burns at complete rest. This is your metabolic baseline before any activity is added.
TDEE
Total daily burn including activity. This is what "maintenance calories" means for your body.
Daily Calorie Target
TDEE adjusted for your goal. Eating around this number should move your weight in the intended direction.
Net Carbs
Your daily ceiling to stay in ketosis. Going over this regularly is the most common reason keto stalls.
Protein
Supports muscle while limiting excess conversion to glucose. Spread evenly across meals for best results.
Fat
Your primary fuel source on keto and the majority of daily calories. Use it to hit satiety, not to overshoot calories.
Energy Flow — Calories Into Macros
Fat
Protein
Net Carbs
MacroGrams/dayKcal/day% of calories
Fat
Protein
Net Carbs
BMR (Mifflin-St Jeor):
Men: 10 × kg + 6.25 × cm − 5 × age + 5
Women: 10 × kg + 6.25 × cm − 5 × age − 161

TDEE: BMR × activity multiplier (1.2–1.725)
Calorie Target: TDEE × goal factor (0.80 loss / 1.00 maintain / 1.15 gain)
Macros: grams = (calories × %) / 4 for protein & carbs, / 9 for fat.

This model is the same one used by registered dietitians and is considered the most accurate widely-available BMR estimate for people without extreme body composition.
Card 2 of 12

TDEE / BMR & Calorie Calculator

A precise, spreadsheet-clean companion to Card 1. Compare Mifflin-St Jeor against Katch-McArdle and dial in an exact deficit or surplus.

Activity Multiplier1.375 — Lightly Active
Deficit / Surplus20% deficit
Refined Energy Balance
BMR (Mifflin-St Jeor)
Estimated using your total weight, height and age. The standard formula for most body types.
BMR (Katch-McArdle)
Estimated from lean mass only. More accurate if your body-fat % is known and accurate.
TDEE
Your selected BMR multiplied by activity level. This is your true maintenance calorie number.
Adjusted Target
TDEE after applying your chosen deficit or surplus percentage. This is what to actually eat daily.
Weekly Deficit/Surplus
The total kcal gap accumulated over 7 days. This number drives your rate of weight change.
Projected Weekly Change
Estimated scale movement per week based on the 3,500 kcal-per-pound rule of thumb.
BMR Method Comparison & Energy Balance
Mifflin-St Jeor BMR
Katch-McArdle BMR
Adjusted Target
Katch-McArdle: BMR = 370 + 21.6 × lean mass (kg)
Lean mass: weight × (1 − body fat%)
TDEE: BMR × activity multiplier
Target: TDEE × (1 ± deficit%)
Weekly change (lb): (daily deficit × 7) / 3,500
Card 3 of 12

Carb & Net Carb Calculator

A label-reading tool. Enter total carbs, fiber and sugar alcohols from any nutrition label to get the true net-carb impact instantly.

Net Carb Impact
Net Carbs / Serving
Total carbs minus fiber and adjusted sugar alcohols. This is what actually affects ketosis.
Remaining Budget
What's left of your daily allowance after this item. Track this across meals to stay under budget.
% of Daily Budget
Share of your entire day's carb allowance used by this single food or serving.
Status
A quick read on whether this item fits comfortably inside a strict ketogenic day.
Carb Reduction Cascade
Total Carbs
Fiber Removed
Sugar Alcohol Removed
Net Carbs
Net Carbs: Total Carbs − Fiber − Adjusted Sugar Alcohols
Erythritol: subtract 100% of grams. Other polyols (sorbitol, maltitol): subtract 50%.
Remaining Budget: Daily Limit − Net Carbs Logged Today
Card 4 of 12

Daily Carb & Sugar Allowance Calculator

Turns your abstract net-carb budget into a concrete daily and per-meal gram allowance, plus a sugar ceiling.

Your Daily Carb Budget
Daily Net Carb Limit
Your hard ceiling for the whole day to stay in a fat-burning state.
Per-Meal Budget
Your daily limit divided evenly across meals — a simple number to check against each plate.
Sugar Ceiling
Added sugar specifically — most net carbs should instead come from vegetables and whole foods.
Weekly Total
Useful for meal-prep planning and batch-cooking a full week of keto-compliant meals.
Daily Budget Gauge
Net Carb Ring
Sugar Ceiling Ring
Daily Limit: Strict 20g · Moderate 30g · Liberal 50g
Per-Meal: Daily Limit / Meals per Day
Sugar Ceiling: Daily Limit × 0.5
Weekly Total: Daily Limit × 7
Card 5 of 12

Keto Protein Calculator

Fine-tunes protein separately from Card 1's default. Too much protein can convert to glucose via gluconeogenesis and slow ketosis.

Your Protein Target
Protein Target
Your recommended daily protein intake based on lean mass and training goal.
Protein Range
The min–max window per kg of lean mass appropriate for your stated goal.
Grams per Meal
Your target divided across meals — aim for roughly even servings to support muscle protein synthesis.
Ketosis Risk Flag
Warns when your protein target is unusually high relative to bodyweight, which can slow ketone production.
Protein Target vs. Recommended Range
Safe Range
Your Target
If lean mass known: Protein (g) = Lean Mass (kg) × 1.6–2.2 depending on goal (default 1.8)
If unknown: Protein (g) ≈ Total Weight (kg) × 0.8 (conservative estimate)
Per Meal: Protein Target / Meals per Day
Card 6 of 12

Keto Ratio Calculator

The classic medical/therapeutic keto ratio tool — fat-to-(protein+carb) by weight, used in epilepsy protocols and strict keto communities.

Medical Ratio Breakdown
Fat (g/day)
The weight of fat needed daily to hit your selected therapeutic ratio.
Protein + Carb Pool
The combined weight of protein and carbs allowed under this ratio.
Suggested Split
A reasonable protein/carb division within the pool, constrained by your protein target if provided.
% Calories from Fat
How dominant fat is in your daily energy — higher ratios push this closer to 90%.
Ratio Comparison Landscape
Fat %
Protein + Carb %
Fat kcal = Calories × (Ratio / (Ratio + 1))
Other kcal = Calories − Fat kcal
Fat (g) = Fat kcal / 9 · Other (g) = Other kcal / 4
Example: a 4:1 ratio puts about 80% of calories into fat.
Card 7 of 12

Ketosis Timeline & GKI Calculator

Predicts a realistic days-to-ketosis window and explains the Glucose Ketone Index (GKI) for users tracking blood values.

Your Ketosis Outlook
Estimated Days to Ketosis
A realistic window based on how far your current carb intake sits above target.
Readiness Score
A 0–100 composite of your carb gap, activity level, and fasting habits.
GKI
Glucose divided by ketones — a single number clinicians use to gauge ketosis depth.
GKI Interpretation
What your current GKI zone typically means in practice.
Glucose vs. Ketone Simulation
Blood Glucose (relative)
Ketone Production (relative)
Base Days = 2–4 at ≤20g carbs, standard metabolism
Adjusted Days = Base Days × (Current Carbs / Target Carbs)
Fasting Bonus = −0.5 to −1 day if IF/EF active
GKI = Glucose (mmol/L) / Ketones (mmol/L)
Card 8 of 12

Keto Weight Loss Calculator

Projects a weight-loss timeline from your calorie deficit, and separates real fat loss from the typical first-two-week water-weight drop.

Your Weight-Loss Projection
Estimated Weeks to Goal
Time to reach your goal weight if you hold this deficit consistently.
Avg Weekly Rate
Your expected steady-state loss per week, excluding the early water-weight bump.
First 2 Weeks (Adjusted)
Includes the typical extra water-weight drop from depleted glycogen stores.
Total to Lose
The full gap between your current and goal weight.
Projected Weight Curve
Projected Weight
Water-Weight Zone (Wk 1–2)
Weeks to Goal = ((Current − Goal) kg × 7,700) / (Deficit kcal × 7)
Water-Weight Bonus = +1–3 kg added to Week 1–2 estimate
Weekly Rate (lb) ≈ (Deficit kcal × 7) / 3,500
Card 9 of 12

Keto Food Pyramid & Serving Calculator

Turns abstract gram macros into a visual plate — servings of fat, protein and low-carb vegetables per meal.

Your Daily Plate
Fat Servings
1 tablespoon of oil, butter or avocado ≈ 14g fat. This is your total daily count.
Protein Servings
1 ounce of cooked meat, fish or eggs ≈ 7g protein, counted across the full day.
Low-Carb Veg Servings
1 cup of leafy greens ≈ 2–4g net carbs — this is how many cups fit your budget.
Per-Meal Plate
Your daily servings divided evenly across meals for quick plate-building.
Per-Meal Plate Visual
Fat
Protein
Low-Carb Veg
Fat Servings = Fat (g) / 14
Protein Servings = Protein (g) / 7
Veg Servings = Net Carb Budget / 3
Per-meal amounts = totals ÷ meals per day.
Card 10 of 12

Is It Keto? Food Checker

Search a common food to instantly see its net carbs per serving and a clear keto-friendly verdict.

Standard USDA serving
Verdict
Net Carbs / Serving
Total carbs minus fiber for this food at your chosen serving size.
Keto Verdict
A quick traffic-light read on how well this fits a ketogenic day.
% of Daily Budget
Share of your remaining daily carbs this food would use, if you supplied a budget.
Suggested Swap
A lower-carb alternative to consider if the verdict reads Caution.
Verdict Gauge
Yes (<5g)
Moderation (5–10g)
Caution (>10g)
Net Carbs = Total Carbs (USDA) − Fiber (USDA), per serving
Verdict: <5g = Yes · 5–10g = In Moderation · >10g = Caution
Card 11 of 12

Electrolyte & Keto Flu Calculator

Almost every new keto dieter hits electrolyte depletion in week one. Sets personalized sodium, potassium and magnesium targets to prevent it.

Days into Keto3 days
Headache
Fatigue
Cramps
Dizziness
Your Electrolyte Targets
Sodium
The single most important electrolyte on keto — insulin drops cause the kidneys to excrete more.
Potassium
Supports muscle and nerve function; low levels are a common cause of keto-flu cramping.
Magnesium
Helps with sleep and muscle relaxation, and is easy to under-eat on a low-carb plate.
Keto Flu Risk
Combines your symptoms, days into keto, and sweat level into one risk read.
Hydration Target
Daily water intake to pair with your electrolyte targets, adjusted for activity level.
Electrolyte Radar
Your Target
Typical Range
Sodium = 3,000–5,000mg (higher if symptomatic or Days ≤ 7)
Potassium = 3,000–4,000mg
Magnesium = 300–400mg
Water (L) = Weight (kg) × 0.033 + activity bonus (0.3–0.6L)
Card 12 of 12 · Loops back to Card 1

Keto App & Tracker Finder

Once your macros are dialled in, match them to the tracking app best suited to your platform and priority feature.

Ranked App Shortlist
Feature-Match Comparison
Match score is a weighted, rule-based comparison across platform support, barcode-scan quality, recipe database size, community features, and free-tier availability — not a numeric formula.

Re-entry trigger: a weight change of 2kg / 5lb or more since your last calculation should prompt a fresh Card 1 run.

Keto Calculator: Your Complete Guide to Personalized Macro Targets

Most people on a standard ketogenic diet aim for roughly 70–75% of calories from fat, 20–25% from protein, and 5–10% from net carbs — usually under 20–50 grams of net carbs a day. A keto calculator turns those percentages into exact grams based on your body and your goal.

Introduction

A keto calculator — also called a keto macro calculator or ketogenic macronutrient calculator — estimates the exact number of calories, and grams of fat, protein, and carbohydrates you need each day to reach and stay in ketosis. It uses your age, weight, height, activity level, and goal to build a personalized macro plan.

A calorie is simply a unit of energy your body gets from food. A macronutrient — “macro” for short — is one of the three nutrients that supply that energy: fat, protein, and carbohydrates. Every keto calculator’s job is to tell you how many calories you need and how to split them across those three macros.

Anyone starting a ketogenic diet, also known as a low-carb, high-fat (LCHF) diet, should use a calculator before making any changes to their eating habits. This tool is built for total beginners who have never tracked a gram of food, as well as experienced dieters who want to fine-tune their ratios. Guessing your macros is one of the most common reasons people fail to reach ketosis or lose the results they were hoping for.

Getting your ratios right matters because the ketogenic diet works through a specific metabolic mechanism. Too many carbs and your body keeps burning glucose instead of fat. Too little protein and you risk muscle loss. This guide explains exactly how a keto calculator works, how to use one correctly, and how to interpret your results with confidence.

A one-line glossary, for skimmers:

TermOne-line definition
BMRCalories your body burns at total rest
TDEEBMR plus the calories you burn moving and exercising
KetosisThe metabolic state where your body burns fat, not sugar, for fuel

What Is the Ketogenic Diet?

The ketogenic diet is a high-fat, moderate-protein, very-low-carbohydrate eating plan, sometimes called the low-carb, high-fat (LCHF) diet. It is designed to shift your body’s primary fuel source from glucose to fat.

Think of it like switching a car engine from one fuel type to another. Your body normally runs on glucose (sugar); on keto, it learns to run on fat instead.

When carbohydrate intake drops low enough — typically under 50 grams a day for most people — the liver converts fat into molecules called ketones. Your body and brain then run on ketones instead of blood sugar. This metabolic state is called ketosis.

A standard keto macro ratio looks like this:

MacronutrientTypical Percentage of Calories
Fat70–75%
Protein20–25%
Carbohydrates5–10%

A standard keto diet allocates roughly 70 to 75 percent of calories to fat, 20 to 25 percent to protein, and 5 to 10 percent to carbohydrates. This keto diet macro ratio differs sharply from a standard diet, where carbohydrates usually make up 45–65% of daily calories.

Why Macro Ratios Matter More Than Calories Alone

Two people can eat the same number of calories and get completely different results on keto. One hits ketosis. The other never does.

The reason is macronutrient ratio, not calorie count. Eating too many carbohydrates, even within your calorie budget, blocks ketone production entirely. So yes — do calories matter on keto? Absolutely, but the ratio of those calories matters just as much.

This is why a keto calculator is more useful than a generic calorie counter. It doesn’t just tell you how many calories on keto to eat. It tells you what to eat them as.

How a Keto Calculator Works

A keto calculator runs your information through several sequential formulas before producing your final macro targets.

Step 1: Calculate Basal Metabolic Rate (BMR)

Your Basal Metabolic Rate (BMR) is the number of calories your body burns at complete rest just to keep vital organs functioning. Most keto calculators use the Mifflin-St Jeor equation, which nutrition researchers and clinicians widely regard as the most accurate BMR formula for the general population, more so than the older Harris-Benedict equation.

Mifflin-St Jeor Formula:

  • Men: BMR = (10 × weight in kg) + (6.25 × height in cm) − (5 × age) + 5
  • Women: BMR = (10 × weight in kg) + (6.25 × height in cm) − (5 × age) − 161

If you want to calculate this number on its own first, our BMR calculator runs the same formula independently.

A lean-mass alternative: if you know your body fat percentage, the Katch-McArdle formula calculates BMR from lean body mass instead of total weight. It tends to be more accurate for people who are very lean or very muscular, since it doesn’t count fat tissue as calorie-burning mass the way Mifflin-St Jeor implicitly does.

Step 2: Apply an Activity Multiplier

BMR only reflects calories burned at rest. Your calculator multiplies BMR by an activity factor to estimate your Total Daily Energy Expenditure (TDEE) — the number that actually drives your keto calorie calculator results.

Activity LevelDescriptionMultiplier
SedentaryLittle or no exercise1.2
Lightly activeLight exercise 1–3 days/week1.375
Moderately activeModerate exercise 3–5 days/week1.55
Very activeHard exercise 6–7 days/week1.725
Extremely activePhysical job or twice-daily training1.9

Activity multipliers range from 1.2 for sedentary individuals to 1.9 for those with extremely active lifestyles or physical jobs. You can calculate this number on its own using our TDEE calculator before committing to a deficit.

Step 3: Adjust for Your Goal

Your TDEE reflects maintenance calories — the number that keeps your weight stable, as confirmed by our maintenance calorie calculator. The keto calculator then adjusts this number based on your goal. This adjustment is always applied to TDEE, never to BMR directly, since BMR alone would under-fuel your daily activity.

  • Weight loss: subtract 15–25% from TDEE
  • Maintenance: keep TDEE as is
  • Muscle gain: add 5–10% to TDEE

Step 4: Split Calories Into Keto Macros

Finally, the calculator converts your adjusted calorie target into grams of fat, protein, and net carbs using the standard keto macro ratio (70–75% fat, 20–25% protein, 5–10% carbs).

Each macronutrient has a fixed calorie value used for this conversion:

  • Fat: 9 calories per gram
  • Protein: 4 calories per gram
  • Carbohydrates: 4 calories per gram

Why These Exact Ratios?

The 70–75% fat target isn’t arbitrary. It reflects how much fat your body needs as fuel once carbohydrate intake drops below the threshold that keeps your liver’s glycogen stores topped off.

Glycogen is the stored form of glucose in your liver and muscles. Once daily carbs fall under roughly 50 grams for a few days, glycogen stores run low, and the liver begins converting fat into ketones to fill the energy gap. The 20–25% protein range exists to preserve muscle without providing so much protein that your body converts the excess into glucose, which would slow ketone production.

How Accurate Is a Keto Calculator?

A keto calculator gives you a scientifically grounded starting estimate, not a guaranteed number. Real-world calorie needs can vary from the formula’s prediction by roughly 10–15% due to individual metabolic differences, according to metabolic research summarized by the National Institutes of Health.

That means two people with identical stats can have genuinely different real-world calorie needs. Treat your first result as a starting point. Track your weight and how you feel for two to three weeks, then adjust up or down based on actual results — this is standard practice recommended by registered dietitians for any calorie-estimating tool, not a flaw unique to keto calculators.

Calculator Guide: Every Input Explained

Age

Age affects your BMR because metabolism naturally slows over time, largely due to gradual loss of lean muscle mass with aging. Older adults typically require slightly fewer calories to maintain the same weight than they did in their twenties or thirties.

Sex

Men generally have more lean muscle mass than women, which raises baseline calorie needs, since muscle tissue burns more calories at rest than fat tissue does. The Mifflin-St Jeor formula accounts for this with a different constant for each sex.

Height and Weight

Height and weight are the two biggest drivers of BMR. Larger bodies burn more calories at rest because they have more tissue — muscle, organs, and fat — to maintain, which is why these two numbers carry the most weight in the formula.

Activity Level

This input estimates how many calories you burn through movement and exercise beyond resting metabolism. Choosing the wrong activity level is the most common input error, so be honest rather than optimistic; overestimating activity is the single most common mistake people make when calculating their own TDEE.

Goal

Your goal — lose fat, maintain weight, or build muscle — determines whether the calculator adds or subtracts calories from your maintenance number.

Body Fat Percentage (Optional, Advanced)

Some calculators ask for body fat percentage to use lean body mass, via the Katch-McArdle formula, instead of total weight when estimating protein and calorie needs. This produces more accurate results for people who are very lean or carrying significant excess fat. If you don’t know your body fat percentage, our body fat calculator and ideal weight calculator can help you estimate it first.

Calculator Guide: Every Output Explained

Total Daily Calories

This is your adjusted TDEE after applying your activity level and goal. It is the total energy budget for the day, and it answers the question “how many calories should I eat on keto.”

Fat (Grams)

Fat makes up the majority of your calories on keto. It fuels ketone production and keeps you satiated, which is part of why hunger tends to drop once a keto diet is fully underway.

Protein (Grams)

This is your protein calculator output. Protein preserves lean muscle mass and supports metabolic function. Keto protein targets are moderate, not low, because excess restriction can cause muscle loss — this answers “how much protein on a keto diet” and “how much protein on the keto diet” for most adults.

Net Carbs (Grams)

Net carbs equal total carbohydrates minus fiber. Fiber is not digested the same way as other carbs and does not significantly affect blood sugar or ketosis, so it’s subtracted out.

Net Carbs = Total Carbohydrates − Fiber

Daily Carb and Sugar Allowance on Keto

Most people need to keep total net carbs, including sugar, under 20–50 grams a day to enter and stay in ketosis — this is your daily carb and sugar allowance. That answers “how many carbs a day on keto,” “how many carbs can you have on keto,” and “how much sugar can you have on keto” in one number: sugar counts as part of your total net carb budget, not a separate allowance.

Sugar alcohols — like erythritol and maltitol, common in “sugar-free” keto products — are only partially digested. Many trackers subtract half their grams from total carbs, though erythritol is often subtracted in full since it has almost no metabolic effect. Always check individual product labels, since manufacturers vary in how they calculate this.

Assumptions and Limitations

Every keto calculator relies on formulas built from population averages. Individual results can vary for several reasons.

  • Metabolic variation: Some people naturally burn more or less than formulas predict, sometimes by 10–15%, a variance range documented in clinical metabolic research.
  • Medical conditions: Thyroid disorders, PCOS, and insulin resistance can all affect real-world calorie needs.
  • Medications: Certain medications alter metabolism or fluid retention, which can skew results.
  • Muscle mass: Two people with the same weight but different muscle-to-fat ratios will have different actual calorie needs.

Treat your calculator results as a starting point, not a permanent prescription. Track your progress for two to three weeks, and use our calorie deficit calculator to fine-tune your target if weight loss stalls.

How to Know You’re Actually in Ketosis

A calculator can tell you what to eat. It can’t confirm your body actually reached ketosis — for that, you need to test.

  • Urine strips. Cheapest and easiest option. They measure excess ketones your kidneys are filtering out, but accuracy drops as your body adapts to keto over several weeks.
  • Blood ketone meters. The most accurate method. They measure beta-hydroxybutyrate (BHB) directly in your blood, similar to how a glucose meter works, but require test strips that cost more than urine strips.
  • Breath meters. Measure acetone in your breath. Reusable and cost-effective over time, though slightly less precise than blood testing.

What Is GKI (Glucose Ketone Index)?

The Glucose Ketone Index (GKI) is a more advanced metric than a simple ketone reading. It’s calculated by dividing your blood glucose level by your blood ketone level, both measured in mmol/L.

A lower GKI means deeper ketosis. A GKI under 1 is considered very deep therapeutic ketosis, often used in clinical or metabolic-therapy contexts, while a GKI between 3 and 6 reflects the level most people reach on a standard ketogenic diet for weight loss.

How Long Does It Take to Get Into Ketosis?

Most people enter ketosis within 2 to 4 days of consistently eating under 50 grams of net carbs daily, once liver glycogen stores are depleted. Some people take up to a week, especially if they were previously eating a high-carb diet, since larger glycogen reserves take longer to burn through.

Is Keto the Same as Ketoacidosis?

No, and this is one of the most common points of confusion about the diet. Nutritional ketosis — the state a keto calculator is designed to help you reach — is a normal, controlled metabolic state where blood ketone levels typically stay in the 0.5–3.0 mmol/L range.

Diabetic ketoacidosis (DKA) is a dangerous medical emergency, almost always affecting people with type 1 diabetes, where ketone levels can climb past 15–20 mmol/L alongside dangerously high blood sugar. DKA happens when the body has little or no insulin, not from eating a low-carb diet. Nutritional ketosis does not turn into ketoacidosis in people who produce normal insulin.

Special Populations: Read Before You Start

Pregnant and breastfeeding women have increased calorie and nutrient needs that standard keto calculators are not designed to estimate. Ketogenic diets during pregnancy have not been well studied for safety, so any changes to diet during this time should be guided by an OB-GYN or registered dietitian rather than a calculator alone. Our breastfeeding calorie calculator is built specifically for nursing calorie needs and is a safer starting point than a keto-specific tool during this life stage.

Older adults often have reduced muscle mass and slower metabolism, and some may be managing chronic conditions like kidney disease, where a high-protein or high-fat diet requires medical supervision. A keto calculator’s activity and age inputs offer a reasonable estimate, but older adults starting keto should confirm the plan with a physician first, especially if taking medication for blood pressure or diabetes. Our BMI calculator for women or BMI calculator for men can help track healthy weight ranges alongside your macro plan.

People with a history of disordered eating should approach any calorie- or macro-tracking tool with caution. Rigid tracking of grams and percentages can reinforce unhealthy patterns around food for some individuals. If counting macros feels distressing rather than helpful, it’s worth talking to a doctor or therapist before continuing, and a non-tracking approach to keto — focusing on food choices rather than numbers — may be a safer starting point.

People with diabetes, particularly those on insulin or sulfonylureas, face a real risk of dangerously low blood sugar when starting a very-low-carb diet. Medication doses often need to be adjusted before beginning keto, which is a decision that should be made with a doctor, not a calculator.

People with kidney disease should be cautious with high-protein or high-fat intake, since the kidneys process protein byproducts, and existing kidney conditions can be made worse without medical guidance.

Practical Example: Step-by-Step Calculation

Let’s calculate keto macros for a real scenario.

Profile: Woman, 35 years old, 165 lbs (75 kg), 5’6″ (168 cm), moderately active, goal: weight loss.

Step 1: Calculate BMR

BMR = (10 × 75) + (6.25 × 168) − (5 × 35) − 161 BMR = 750 + 1,050 − 175 − 161 BMR = 1,464 calories

Step 2: Calculate TDEE

TDEE = 1,464 × 1.55 (moderately active) TDEE = 2,269 calories

Step 3: Adjust for weight loss (20% deficit)

Adjusted calories = 2,269 × 0.80 = 1,815 calories

Step 4: Split into keto macros (70% fat / 25% protein / 5% carbs)

Macro% of CaloriesCaloriesGrams
Fat70%1,271141g
Protein25%454113g
Net Carbs5%9022g

This woman’s daily target would be approximately 1,815 calories, 141g fat, 113g protein, and 22g net carbs.

Case Study: Two Different Goals, Same Starting Point

Consider two men, both 40 years old, 5’10”, 200 lbs, and moderately active. Their BMR and TDEE are identical, roughly 1,880 BMR and 2,914 TDEE. But their goals differ.

GoalCalorie AdjustmentDaily CaloriesFatProteinNet Carbs
Fat loss−20%2,331181g146g29g
Muscle gain+10%3,205249g200g40g

At the same starting stats, a 20 percent deficit produces 2,331 calories with 181g fat, 146g protein, and 29g net carbs, while a 10 percent surplus produces 3,205 calories with 249g fat, 200g protein, and 40g net carbs. This comparison shows why the same body can require very different macro targets depending on the objective.

Sample One-Day Keto Meal Plan at 1,800 Calories

Numbers on a screen are one thing. Here’s what that first worked example — roughly 1,800 calories, 140g fat, 113g protein, 22g net carbs — actually looks like on a plate.

MealFoodsApprox. FatApprox. ProteinApprox. Net Carbs
Breakfast3 eggs cooked in butter, ½ avocado38g20g4g
LunchGrilled salmon, spinach salad with olive oil45g35g5g
SnackHandful of macadamia nuts, string cheese30g8g3g
DinnerChicken thigh, roasted broccoli in olive oil27g50g6g
Totals~140g~113g~18g

Leave a small buffer under your net carb target, as this plan does, to accommodate hidden carbs in condiments and sauces.

Keto Food Pyramid: What to Eat and How Much

Unlike the traditional food pyramid, which stacks grains at the base, the keto food pyramid flips the structure so fats and low-carb vegetables sit at the foundation.

  1. Base (largest portion): healthy fats — olive oil, butter, avocado, coconut oil, fatty cuts of meat.
  2. Second tier: non-starchy, low-carb vegetables — leafy greens, broccoli, zucchini, cauliflower.
  3. Third tier: moderate protein — eggs, poultry, fish, meat, full-fat dairy.
  4. Top (smallest portion, occasional): berries in small amounts, nuts and seeds, high-cocoa dark chocolate.
  5. Excluded almost entirely: grains, sugar, most fruit, starchy vegetables, legumes.

Is it keto? A quick food checker:

  • Are carrots keto friendly? In small amounts, yes — carrots have about 6g net carbs per 100g, so a small serving fits most daily budgets.
  • Is watermelon keto friendly? Sparingly. Watermelon runs about 7–8g net carbs per 100g, higher than most keto-friendly fruits, so treat it as an occasional treat, not a staple.
  • Are tomatoes keto? Yes, in moderation. Tomatoes have roughly 2.7g net carbs per 100g, making them one of the more keto-friendly “fruits.”
  • Are green beans keto? Yes. Green beans have about 4g net carbs per 100g and are considered one of the better keto vegetable choices.
  • Is cabbage keto? Yes. Cabbage is one of the lowest-carb vegetables available, at roughly 3g net carbs per 100g.

Targeted and Cyclical Keto: Exact Macro Timing

Standard Keto works for most beginners, but athletes and advanced trainees often need extra carbs around training.

Targeted Keto Diet (TKD): add 15–30g of fast-digesting carbs 30–60 minutes before intense training. These carbs are typically burned during the workout itself and don’t meaningfully disrupt ketosis for most people, since the carb window is brief and tied directly to activity.

Cyclical Keto Diet (CKD): follow standard keto for 5–6 days, then take 1–2 “refeed” days where carbs rise to 1–1.5g per pound of bodyweight, with fat dropping to compensate. Protein generally stays constant across both keto and refeed days.

Standard Keto vs. Other Keto Variations

Not everyone follows the same version of keto. A calculator’s default output reflects Standard Keto (SKD), but other approaches exist for specific needs.

Diet TypeCarb TimingBest For
Standard Keto (SKD)Consistent low carb dailyMost beginners
Targeted Keto (TKD)Extra carbs around workoutsAthletes and lifters
Cyclical Keto (CKD)5 low-carb days, 2 higher-carb daysAdvanced trainees
High-Protein KetoHigher protein, slightly lower fatPeople prioritizing muscle retention

Standard Keto suits most beginners with consistent daily carbs, while Targeted Keto adds carbs around workouts and Cyclical Keto plans two higher-carb days per week for advanced trainees. A keto calculator’s basic formula works as the foundation for all four; TKD and CKD simply add planned carb refeeds around your baseline numbers.

Keto Calculator vs. General Macro Calculator

FeatureKeto CalculatorGeneral Macro Calculator
Carb targetFixed very low (5–10%)Flexible, often 40–50%
Fat targetHigh (70–75%)Moderate (20–35%)
Ketosis focusYesNo
Net carbs trackedYesRarely
Best forKetogenic dietersGeneral fat loss or muscle building

The main difference is that a keto calculator fixes carbs at 5 to 10 percent and prioritizes ketosis, while a general macro calculator allows flexible carb targets, often 40 to 50 percent, for general fat loss or muscle building. If you’re weighing macros outside a strict ketogenic framework, our macronutrient calculator is the more flexible option.

Best Keto Apps and Trackers

A calculator gives you your numbers once. An app helps you hit them every day.

App TypeWhat It’s Good For
General macro trackers (e.g., Carb Manager-style apps)Logging meals against your calculator’s targets, barcode scanning for packaged food
Food scale-paired appsPrecise gram-level tracking for tight carb budgets
Free keto apps with recipe databasesBeginners who want meal ideas built around their macros

When choosing a keto diet app, prioritize one with a large food database, net carb calculations built in (not just total carbs), and the ability to set custom macro targets from your calculator results rather than generic presets.

How Fast Will You Lose Weight on Keto?

Average weight loss on keto in the first month often runs higher than other diets initially, largely due to water weight loss as glycogen stores (which hold water) deplete. A common range cited by dietitians is 1–2 lbs of true fat loss per week once the initial water-weight drop levels off, similar to what a well-managed deficit on any diet would produce.

How fast do you lose weight on keto long-term comes down to consistency with your calculated deficit, not the diet type itself — our calorie deficit calculator can help you model a realistic weekly rate of loss based on your numbers.

Common Mistakes to Avoid

  • Eating too much protein. Excess protein can be converted to glucose through a process called gluconeogenesis, a well-documented metabolic pathway, which may slow or prevent ketosis.
  • Ignoring hidden carbs. Sauces, dressings, and processed “low-carb” products often contain more carbs than expected.
  • Not adjusting after weight loss. Your calorie needs drop as your weight drops, so recalculate every 10–15 pounds lost.
  • Confusing net carbs with total carbs. Forgetting to subtract fiber leads to underestimating actual carb intake.
  • Setting an unrealistic deficit. A deficit larger than 25% often leads to fatigue, muscle loss, and diet burnout.

Electrolytes and Keto Flu: Exact Daily Targets

Keto flu refers to the flu-like symptoms — headache, fatigue, irritability, brain fog, muscle cramps — that some people get during their first week of keto. It’s caused mainly by water and electrolyte loss as the body sheds glycogen and its stored water. Symptoms typically peak in the first 3–5 days and resolve within a week to ten days as the body adapts.

Prioritizing electrolytes is the single most effective way to reduce keto flu severity:

ElectrolyteTypical Daily Target on Keto
Sodium3,000–5,000 mg
Potassium3,000–4,000 mg
Magnesium300–400 mg

These are general wellness ranges, not medical prescriptions; anyone with high blood pressure, kidney disease, or heart conditions should confirm sodium and potassium targets with a doctor before increasing intake.

Alcohol on Keto

Alcohol isn’t off-limits on keto, but choices matter. Dry wine and clear spirits (vodka, gin, tequila) taken straight have minimal carbs, while beer and sweet mixed drinks can push you out of ketosis quickly. Your liver also prioritizes metabolizing alcohol over producing ketones, so drinking can temporarily slow ketone production even when the drink itself is low-carb.

Intermittent Fasting and Keto

Intermittent fasting and keto are frequently combined, since both work by lowering insulin and depleting glycogen. Fasting can accelerate the timeline to ketosis for some people, but it isn’t required — the macro targets in this calculator work whether you eat in a 12-hour window or a compressed 6-hour one.

Pro Tips for Better Results

  • Recalculate your macros every 4–6 weeks or after a significant weight change; this is the single most important habit for keeping your keto ratio accurate over time.
  • Track your food for at least the first two weeks to confirm you’re actually hitting your targets.
  • Prioritize electrolytes to avoid “keto flu” symptoms in the first week.
  • Use a body fat percentage input if available for more accurate protein targeting via the Katch-McArdle formula.
  • Pair your keto macros with a TDEE calculator to understand your full energy expenditure picture before committing to a deficit.

Frequently Asked Questions

How many carbs can I eat and still stay in ketosis?

Most people need to stay under 20–50 grams of net carbs per day to enter and maintain ketosis. Individual carb tolerance varies based on activity level, insulin sensitivity, and metabolic health.

How long does it take to enter ketosis?

Most people enter ketosis within 2 to 4 days of consistently eating under 50 grams of net carbs daily. Some people take up to a week, especially if they were previously eating a high-carb diet.

Do I need to count total carbs or net carbs on keto?

Most keto dieters track net carbs, which is total carbohydrates minus fiber. Sugar alcohols are sometimes partially subtracted as well, depending on the type.

Can I use a keto calculator if I’m trying to build muscle, not lose fat?

Yes. Selecting a muscle gain goal in the calculator increases your calorie target by roughly 5–10% above your maintenance calories — the number you’d eat to hold your current weight steady — while keeping the same keto macro ratio.

Why am I not losing weight on keto even though I’m following my macros?

Common causes include eating too many calories despite hitting macro ratios, hidden carbs pushing you out of ketosis, and not adjusting your targets as your weight changes. Recalculating your numbers every few weeks helps prevent this plateau.

Is the keto diet safe for everyone?

No. Keto is not recommended without medical supervision for pregnant or breastfeeding women, people with kidney disease, people on insulin or other blood sugar medications, and anyone with a history of disordered eating. A keto calculator provides estimates only and does not replace medical advice.

What is the difference between BMR and TDEE in a keto calculator?

BMR is the calories your body burns at complete rest. TDEE adds your activity level on top of BMR to estimate total daily calories burned, which is the number your keto macros are actually based on.

Should my macros change as I lose weight?

Yes. As your weight decreases, your BMR and TDEE decrease too. Recalculating every 10–15 pounds lost keeps your macro targets accurate to your current body size.

Can I do keto if I’m pregnant or breastfeeding?

It’s not recommended without medical supervision. Ketogenic diets haven’t been well studied for safety during pregnancy or breastfeeding, so this decision should be made with an OB-GYN or registered dietitian.

Is keto safe with kidney disease?

It requires caution and medical guidance. High protein and fat intake can strain kidneys that are already compromised, so anyone with kidney disease should consult a physician before starting keto.

What’s the difference between the Katch-McArdle and Mifflin-St Jeor formulas?

Mifflin-St Jeor calculates BMR from your total body weight and is accurate for most people. Katch-McArdle uses lean body mass instead, which makes it more precise for people who are very lean or very muscular and know their body fat percentage.

Is a keto calculator accurate for athletes?

It’s a solid starting point, but athletes often need to add Targeted or Cyclical Keto adjustments for training performance. Standard keto macros alone may leave hard-training athletes short on quick energy around workouts.

What happens if I eat too many carbs on keto by accident?

A single higher-carb meal usually won’t kick you out of ketosis for long, though it can temporarily slow ketone production for a day or so. Getting back to your net carb target the next day is typically enough to resume normal ketosis.

Conclusion

A keto calculator takes the guesswork out of starting a ketogenic diet. It converts your personal stats into a clear daily target for calories, fat, protein, and net carbs using established formulas like Mifflin-St Jeor, or Katch-McArdle if you know your body fat percentage.

Getting your macros right, not just your calories, is what actually determines whether your body reaches ketosis. Use your results as a starting baseline, track your progress for a few weeks, verify with ketone or GKI testing if you want confirmation, and recalculate as your weight and goals change.

If you’re managing a medical condition, are pregnant or breastfeeding, or have a history of disordered eating, talk to a doctor or registered dietitian before starting keto. For everyone else, your keto calculator results are the first concrete step toward a plan built specifically around your body.