Keto Calculator
Work out your daily fat, protein, and net carb targets for a ketogenic diet, matched to your calories, age, and goal — with standard, strict, high-protein, targeted, and fully custom modes, plus electrolyte guidance and a fat-adaptation timeline.
The classic 75% fat, 20% protein, 5% carb split used by most people starting keto.
Try an example
Plus 110g protein and 25g net carbs, from a 2,192 kcal/day target.
Fat
Protein
Net Carbs
Macro Breakdown & Comparisons
See your fat, protein, and net carb split, compare it against other keto styles, follow the fat-adaptation timeline, view per-meal targets, or check food sources.
Your Standard Keto macro split, roughly 75% fat, 20% protein, and the rest from net carbs, capped at 25g/day to keep you in ketosis.
Suggested water: 2,640 ml/day
Sodium / Potassium / Magnesium: 4,500 / 3,500 / 350 mg
Step-by-Step Solution
Here's exactly how this answer was calculated, one step at a time.
Given: Male, 30 yrs, 80 kg, 178 cm, Moderately active (3–5 days/week), goal: Lose Fat
Step 1: Convert your measurements to metric
Weight = 80 kg = 80 kg Height = 178 cm = 178 cmStep 2: Calculate BMR using the Mifflin-St Jeor equation
For men, add 5 to the base calculation.
BMR = 10 × 80 + 6.25 × 178 − 5 × 30 + 5 = 1,768 kcal/dayStep 3: Multiply by your activity multiplier to find TDEE
Activity level: Moderately active (3–5 days/week). This is your maintenance calorie intake.
TDEE = 1,768 kcal/day × activity factor = 2,740 kcal/dayStep 4: Adjust TDEE for your goal (Lose Fat, Moderate)
A calorie deficit is subtracted from TDEE so your body draws on stored fat for energy.
Target calories = 2,740 kcal × goal adjustment = 2,192 kcal/dayStep 5: Split calories using the Standard Keto ratio
Fat and protein calories are converted to grams using 9 kcal per gram of fat and 4 kcal per gram of protein.
Fat = 75% × 2,192 ÷ 9 = 184 g Protein = 20% × 2,192 ÷ 4 = 110 gStep 6: Cap net carbs to stay in ketosis
Any calories freed up by capping carbs are shifted back into fat, since fat is the main lever on a ketogenic diet.
Net carbs = min(carb calories ÷ 4, 25g cap) = 25 gStep 7: Final answer
184g fat · 110g protein · 25g net carbs
Your daily keto macros:
184g fat · 110g protein · 25g net carbs
Free Keto Calculator - Work Out Your Fat, Protein, and Net Carb Macros
Starting a ketogenic diet without knowing your numbers is a bit like driving somewhere new without a map. You know the general direction, eat more fat, cut the carbs, but you don't know exactly how many grams of fat, protein, or carbs you actually need each day. That's the gap this keto calculator fills. Type in your age, weight, height, and activity level, pick a goal, and you get a full macro breakdown built specifically around your body, not a generic number pulled from a magazine article.
This isn't just a basic calorie split either. You get five different keto styles to choose from, standard, strict high-fat, high-protein, targeted, and a fully custom mode where you drag a slider and set your own fat percentage. On top of that, the calculator adds electrolyte guidance, a fat-adaptation timeline so you know what to expect in the first few weeks, and a food list that turns your abstract gram targets into real meals.
What Is the Ketogenic Diet, in Plain Words
The keto diet flips the usual eating pattern on its head. Instead of getting most of your energy from carbs, like bread, rice, pasta, and sugar, you get the bulk of your calories from fat, with a moderate amount of protein and very few carbs. When carbs drop low enough, usually under 20 to 50 grams of net carbs a day, your body runs out of stored glucose to burn and switches over to burning fat instead.
That switch is called ketosis. Your liver starts turning fat into molecules called ketones, which your brain and muscles can use for fuel almost as well as glucose. This is the whole idea behind keto, force the body to become a fat-burning machine instead of a sugar-burning one, and a lot of people find it helps with weight loss, appetite control, and steadier energy through the day.
How This Keto Calculator Works, Step by Step
The math behind this tool follows the same trusted approach used by dietitians and sports nutrition coaches. First, it works out your BMR, or Basal Metabolic Rate, using the Mifflin-St Jeor equation. This is simply the number of calories your body would burn in a day doing absolutely nothing, just staying alive.
Next, that BMR gets multiplied by an activity factor that matches how much you move in a normal week, whether that's a desk job with barely any exercise or a physically demanding job paired with daily training. This gives you your TDEE, or Total Daily Energy Expenditure, which is the calorie number that would keep your current weight exactly where it is.
From there, your TDEE shifts up or down depending on your goal. Want to lose fat? Calories drop below TDEE so your body has to dip into fat stores. Want to build muscle? Calories go slightly above TDEE. Just maintaining? Your target calories stay equal to your TDEE. Finally, those target calories get split into fat, protein, and net carbs using whichever keto style you picked, with fat calculated at 9 calories per gram and protein and carbs at 4 calories per gram each.
Choosing a Keto Style That Actually Fits You
Not everyone doing keto should eat the exact same macro split, which is why this calculator gives you five different modes instead of forcing one ratio on every user.
- Standard Keto (75% fat, 20% protein, 5% carbs) — the classic keto ratio most beginners start with, a solid all-around choice for general weight loss and everyday use.
- Strict / High-Fat Keto (80% fat, 15% protein, 5% carbs) — a higher-fat ratio closer to what's used in therapeutic or medical keto settings, often chosen by people who want to push deeper into ketosis.
- High-Protein Keto (60% fat, 35% protein, 5% carbs) — built for lifters and anyone who wants to protect lean muscle while still staying low-carb, especially useful during a fat loss phase.
- Targeted Keto or TKD (70% fat, 25% protein, 5% carbs baseline) — designed for people who train hard and add small amounts of fast-digesting carbs around workouts for extra performance.
- Custom — set your own fat percentage anywhere from 50% to 90% using the slider, and protein and carbs adjust to fill the rest.
Advanced Feature: A Real Fat-Adaptation Timeline
Most keto calculators stop at giving you a number and leave you guessing what happens after that. This one goes further with a built-in adaptation timeline, laying out roughly what to expect in your first few weeks so nothing catches you off guard.
In the first few days, your glycogen stores empty out and the water weight attached to them drops too, which is why the scale often moves fast early on. Days four through seven are usually the toughest, commonly called the keto flu, where headaches, tiredness, or brain fog can show up, almost always tied to low sodium and potassium rather than the carbs themselves. By week two, energy usually steadies out, and by week three or four, most people report feeling genuinely fat-adapted, with steadier energy and appetite that naturally settles down.
Understanding Your Results
Your daily fat target sits front and center in grams, right alongside your protein and net carb numbers, so you can plug them straight into a food tracking app. The Macros tab shows a simple pie chart of your fat, protein, and carb split, the Compare tab shows how your macros would shift across the different keto styles, the Adaptation tab lays out the fat-adaptation timeline, the Per Meal tab spreads your targets evenly across three meals, and the Food tab turns your numbers into a realistic sense of how much steak, avocado, or olive oil it actually takes to hit them.
Net carbs deserve a quick explanation too, since it's a term that trips a lot of beginners up. Net carbs are simply total carbs minus fiber, because fiber isn't digested the same way other carbs are and doesn't meaningfully affect blood sugar or kick you out of ketosis. This calculator lets you set your own daily net carb cap, anywhere from 15 to 50 grams, so you can dial things in tighter or looser depending on how your body responds.
Why Electrolytes Matter So Much on Keto
When carbs drop, your body holds onto far less water, and sodium gets flushed out along with it much faster than usual. This is the single biggest reason people feel rough in the first week of keto, and it's almost always fixable with a bit more salt, not by adding carbs back.
This calculator suggests rough daily targets for sodium, potassium, and magnesium alongside your macros, since these three minerals are the ones most commonly running low on a low-carb diet. Simple habits like salting your food a bit more than usual, drinking bone broth, or eating potassium-rich vegetables like spinach and avocado go a long way toward avoiding the keto flu entirely.
Best Keto Food Sources to Hit Your Macros
Hitting a high fat target sounds harder than it actually is once you know which everyday foods carry the most fat per serving, with barely any carbs attached.
- Extra virgin olive oil — 14g of fat per tablespoon, an easy way to add fat to any cooked meal or salad without changing the taste much.
- Avocado — around 21g of fat per medium fruit, plus a bit of fiber and potassium, one of the most complete keto foods around.
- Ribeye steak — roughly 22g of fat and 24g of protein per 100g, a filling option that fits nearly every keto style.
- Eggs — about 5g of fat and 6g of protein each, cheap, versatile, and easy to cook a dozen different ways.
- Cheddar cheese — close to 9g of fat per ounce, a quick snack that also brings a solid dose of protein.
- Salmon — around 13g of fat and 22g of protein per 100g fillet, with the added bonus of omega-3 fats.
Keto for Weight Loss, Muscle, and Blood Sugar
Keto has become one of the more popular approaches for fat loss, partly because high-fat, moderate-protein meals tend to be genuinely filling, which naturally curbs snacking and overeating for a lot of people. Steadier blood sugar is another commonly reported benefit, since cutting carbs sharply reduces the spikes and crashes that come from sugar and refined starches.
For anyone lifting weights, the High-Protein Keto style built into this calculator is worth a look, since it keeps protein high enough to support muscle while still keeping carbs low. Athletes or anyone training hard might prefer Targeted Keto instead, which allows small amounts of fast carbs right around workouts for extra energy without pulling you fully out of ketosis for long.
Keto vs Other Low-Carb Diets
It's easy to lump keto in with every other low-carb plan out there, but the differences matter more than most people realize. Atkins, for example, starts very low-carb and then slowly reintroduces carbs over time as you approach your goal weight, while keto is meant to stay low-carb indefinitely to keep the body running on fat and ketones. Paleo focuses more on cutting processed food and grains than on hitting a specific carb number, so plenty of paleo meals, sweet potatoes and fruit included, would easily knock someone out of ketosis.
The Mediterranean diet sits at the opposite end of the spectrum, leaning on whole grains, legumes, and fruit as staples rather than avoiding them, which makes it a poor fit for anyone specifically chasing ketosis. None of this makes keto better or worse than these other approaches, it just means the carb target is the one non-negotiable rule that separates a true ketogenic diet from everything else labeled low-carb.
How Long Does It Take to See Results on Keto
Results on keto tend to come in two distinct waves. The first week or two usually brings a noticeably lower number on the scale, but a good chunk of that early drop is water weight leaving the body as glycogen stores empty out, not pure fat loss. It's a real result, but it's worth knowing it won't repeat itself week after week at the same pace.
After that initial water shift, fat loss settles into a steadier, more gradual pace that lines up with the calorie deficit set by this calculator, generally similar to what you'd see on any other diet at the same deficit. Non-scale changes often show up around this point too, better appetite control, steadier energy through the afternoon, and for some people, mental clarity that's noticeably sharper than before. Staying consistent with the macro targets here, alongside the electrolyte guidance, is what tends to separate people who stick with keto long enough to see it through from those who give up in that rough first week.
Common Mistakes People Make on Keto
- Eating too much protein, which can be converted into glucose by the body and slow down ketosis if it's pushed too high.
- Not tracking net carbs closely enough, especially from sauces, dressings, and processed 'low-carb' snacks that add up fast.
- Skipping extra salt and electrolytes, which is the main reason behind the dreaded keto flu in week one.
- Fearing fat instead of eating enough of it, leaving you constantly hungry and far more likely to quit early.
- Not giving the body enough time to adapt, since two or three weeks is usually needed before keto starts feeling normal.
Who This Keto Calculator Is Built For
This tool works well for complete beginners who just want one clear, personalized macro target to start with, and equally well for experienced keto dieters who want to fine-tune their ratio using the custom fat slider or switch between styles as their goal changes. It pairs naturally with the macro calculator and fat intake calculator on this site, since keto is really just a specific style of macro split.
These numbers are built on well-established formulas and general nutrition guidelines, meant as a strong starting estimate rather than personalized medical advice. Anyone who is pregnant, breastfeeding, managing diabetes, taking blood pressure or diabetes medication, or living with a kidney or liver condition should talk to a doctor or registered dietitian before starting a ketogenic diet, since carb restriction can affect medication needs and should be supervised.
Frequently Asked Questions
How many carbs can I eat on keto?
Most people aim for somewhere between 20 and 50 grams of net carbs a day to stay in ketosis, which is exactly what the net carb cap slider on this calculator controls. Net carbs means total carbs minus fiber, since fiber doesn't meaningfully raise blood sugar.
How much fat should I eat on keto?
It depends on your calories and which keto style you pick, generally somewhere between 60% and 80% of your daily calories. This calculator works that number out in grams for you automatically based on your own stats.
What is the keto flu and how long does it last?
The keto flu refers to headaches, tiredness, or brain fog that some people feel in the first week of cutting carbs, almost always caused by low sodium and potassium rather than the carb cut itself. It usually clears up within a week once electrolyte intake is increased.
Can I build muscle on a ketogenic diet?
Yes, especially using the High-Protein Keto style built into this calculator, which keeps protein high enough to support muscle growth while still keeping carbs low enough for ketosis.
What's the difference between keto and low-carb diets?
All keto diets are low-carb, but not all low-carb diets are strict enough to trigger ketosis. Keto specifically keeps net carbs low enough, usually under 50 grams, to shift your body into burning fat and ketones for fuel.
How accurate is this keto calculator?
It combines the Mifflin-St Jeor equation for calorie estimation with widely used keto macro ratios, generally accurate as a strong starting point for most healthy adults. Like any formula, treat it as an estimate and adjust based on how your body actually responds.
What is targeted keto (TKD)?
Targeted keto allows a small amount of fast-digesting carbs right before or after workouts for extra performance, while keeping the rest of the day low-carb. It's built for people who train hard and notice their workouts suffer on strict keto.
Do I need to count calories on keto, or just macros?
Macros still add up to a calorie total, so tracking both together works best, especially if weight loss or muscle gain is the goal. This calculator gives you both your target calories and the macro grams that fit inside them.