All calculators & guides

Keto Macro Calculator: fat, protein, and carb grams from your TDEE

By Sukie · Updated August 2026

A keto macro calculator takes the number of calories you eat and splits it into the three macronutrients in the specific proportions that keep your body in ketosis — very high fat, moderate protein, and very low carbohydrate. That's the whole job. Where a standard macro tool anchors on protein and lets carbs fill the gap, a keto version does the opposite: it caps carbs hard (usually 20–50 grams a day), sets protein to a moderate band, and lets fat absorb the rest of your calorie budget. This page explains how that split is built, shows you the common keto ratios side by side, and walks the arithmetic all the way from a sample TDEE down to grams of fat, protein, and carbs so you can see exactly where each number comes from. The calculator above does the math for you; the sections below explain it so the output isn't a black box.

TDEE Calculator

Total Daily Energy Expenditure — your real maintenance calories.

Biological sex

BMR formulas use biological sex, not gender identity.

Leave blank if unsure — we'll fall back to Mifflin-St Jeor (the standard).

Most people overestimate this. When in doubt, drop one tier.

Your TDEE

1,909 kcal/day

BMR 1,389 kcal × 1.375 (Lightly active) — via Mifflin-St Jeor.

Target for Maintain

1,909 kcal/day

+0 kcal vs. maintenance

Macros for this goal

Protein

118g

Fat

64g

Carbs

216g

Protein scaled to your body weight; fat ~25–30% of calories; carbs fill the rest. Adjust to taste — these are anchors, not laws.

Show the math
weight = 65.8 kg · height = 165 cm · age = 28
BMR (Mifflin) = 10·65.8 + 6.25·165 − 5·28 − 161 = 1389
TDEE = BMR × 1.375 = 1909 kcal
Target = TDEE × 1.00 = 1909 kcal

What a keto macro calculator actually computes

Every macro calculator starts from the same place: a calorie number. On this site that number is your TDEE — total daily energy expenditure — and if you want the components behind it, our explainer on what is TDEE breaks down basal metabolic rate, the thermic effect of food, and movement. The keto calculator doesn't change how many calories you burn. It only decides what those calories are made of.

On a normal diet, macros negotiate freely. On keto they don't, because the entire point is to keep carbohydrate low enough that your liver runs short on glucose and starts producing ketone bodies from fat instead. That metabolic switch is fragile at the top end of carbohydrate intake, so keto flips the usual priority order. Carbs get a hard ceiling first. Protein gets set second, to a moderate range — enough to protect muscle, not so much that it undercuts the effect some people feel from very low carbohydrate. Fat is the plug variable: whatever calories are left after carbs and protein are accounted for, fat fills. That's why fat percentages on keto look shocking (60–75% of calories) to anyone used to mainstream nutrition advice — it isn't that you're chasing fat, it's that fat is the only macro left with room to move once carbs are capped.

So the calculator's real work is three steps: cap carbs, set a protein band, and let fat absorb the remainder. Understanding that order is the difference between reading your macros as arbitrary and understanding why they're shaped the way they are.

Keto macro ratios side by side

The most common keto approaches, expressed as a percentage of total calories, with the daily carb grams each works out to at a 2,000-calorie reference. There is no single 'correct' keto ratio — the right one depends on how strictly you need to hold ketosis and how much protein your training demands. Daily carb grams scale with your own calorie total; these are just the 2,000-calorie anchor.

Approach% Fat% Protein% CarbsDaily carbs (g)
Standard ketogenic (SKD)70%25%5%~25 g
Relaxed / "lazy" keto65%25%10%~50 g
High-protein keto60%35%5%~25 g
Very-low-carb induction75%20%5%~20 g
Therapeutic (clinical 4:1)90%6%4%~15 g

The standard 70/25/5 split is the sensible default for most people eating keto for body composition. High-protein keto suits lifters who feel under-recovered on 25% protein. The clinical 4:1 ratio is a therapeutic tool used under medical supervision for epilepsy and some neurological conditions — it is not a body-composition diet and shouldn't be self-prescribed.

Worked example: turning a 2,000-calorie TDEE into keto grams

Percentages are useless at the grocery store — you eat grams, not percentages — so the calculator's last step is converting the ratio into grams. The conversion rests on the calorie density of each macro, and this is the one piece of arithmetic worth memorizing: fat carries 9 calories per gram, while both protein and carbohydrate carry 4 calories per gram. Fat being more than twice as energy-dense as the other two is exactly why a small-looking fat percentage on a plate translates into a large fat number, and why keto's high fat percentage still fits into a normal-sized day of eating.

Let's run a standard 70/25/5 split against a 2,000-calorie TDEE, one macro at a time.

Fat: 70% of 2,000 calories = 1,400 calories from fat. Divide by 9 calories per gram: 1,400 ÷ 9 = 155.6, so about 156 grams of fat.

Protein: 25% of 2,000 calories = 500 calories from protein. Divide by 4 calories per gram: 500 ÷ 4 = 125 grams of protein.

Carbohydrate: 5% of 2,000 calories = 100 calories from carbs. Divide by 4 calories per gram: 100 ÷ 4 = 25 grams of carbs.

So a 2,000-calorie standard keto day is roughly 156 g fat, 125 g protein, and 25 g carbs. Sanity-check it by multiplying back: (156 × 9) + (125 × 4) + (25 × 4) = 1,404 + 500 + 100 = 2,004 calories, which lands on target within rounding. If your own TDEE is different, the process is identical — swap 2,000 for your number and the grams scale proportionally. A 2,400-calorie eater on the same ratio would land near 187 g fat, 150 g protein, and 30 g carbs. That's the entire engine behind the calculator, and once you've seen it once, the output stops being mysterious. For a different way to set the split around a body-weight protein anchor rather than a flat percentage, our general macro calculator handles the non-keto version of this same conversion.

Protein is the macro people get wrong on keto

Fat and carbs are the loud numbers on keto, but protein is where most plans quietly fail, and they fail in both directions. The old-school worry was that too much protein would 'kick you out of ketosis' through gluconeogenesis — the liver converting amino acids into glucose. That fear is largely overstated. Gluconeogenesis is demand-driven, not supply-driven; your body makes glucose because it needs it, not simply because protein is available, so a moderate-to-high protein intake rarely sabotages ketosis in practice. Chasing extremely low protein to 'protect' ketosis is a common early mistake that leaves people under-recovered and losing muscle.

The opposite error matters too. Cutting protein too low during the calorie deficit most keto dieters are running is a fast track to losing lean mass alongside fat. A reasonable floor is roughly 1.6 grams of protein per kilogram of body weight, and active lifters do fine pushing toward 1.8–2.0 g/kg — which is precisely why the high-protein keto row exists in the table above. If a flat 25% protein leaves you under that gram-per-kilogram floor, raise the protein percentage and pull it out of fat, not out of carbs. The carb cap stays put; fat is the variable you trade against. Keeping protein in a sane band is the single highest-leverage adjustment on keto, and it's the one the percentage-only view of macros tends to hide.

Field note from Sukie

The month I learned fat is a lever, not a target

In February 2026 I ran a strict standard-keto block for four weeks — partly curiosity, partly because I wanted to feel the difference between reading the macros and eating them before writing this page. My TDEE at the time was about 2,000 calories (I'm a 5'6" woman, mid-30s, lifting three times a week), so my targets were the exact ones worked through above: 156 g fat, 125 g protein, 25 g carbs.

The thing that surprised me wasn't ketosis — it was how hard it is to actually eat 156 grams of fat on purpose. My instinct after fifteen years of mostly high-protein eating was to load the plate with lean chicken and call it dinner, and I kept ending my days at maybe 90 grams of fat, 140 of protein, and way under my calorie target, which is not keto at all — it's just an accidental low-carb crash diet. The fix was mechanical: I stopped treating fat as something to minimize and started treating it as the number I had to hit. Cooking in butter and olive oil, adding avocado, choosing fattier cuts, eating the egg yolks. Once I let fat do its job as the plug variable filling the calorie gap, the ratios fell into place and I felt genuinely fine — steady energy, no cravings, and the scale drifted down about 2 pounds over the month, most of it in the first week as glycogen water. I went back to a mixed diet afterward because I like carbs around training, but the lesson stuck: on keto, fat isn't the enemy and it isn't the goal — it's the lever you pull to make the calories add up.

Sukie

Total carbs vs net carbs: which does the calculator cap?

The carb line hides a definitional choice that trips up nearly everyone new to keto. 'Total carbs' is every gram of carbohydrate on the label. 'Net carbs' subtracts fiber and, in the US, sugar alcohols, on the reasoning that fiber isn't digested into glucose and therefore doesn't meaningfully raise blood sugar or interrupt ketosis. So a food showing 12 g total carbs and 8 g fiber has 4 g net carbs. Which number you track changes how much food fits under your cap by a lot.

Most keto dieters count net carbs, and for whole-food eating that's reasonable — the fiber in broccoli or avocado genuinely behaves differently from the sugar in a soda. The catch is processed 'keto' products that lean on sugar alcohols and fiber-fortified additives to advertise low net carbs; some of those alcohols (maltitol especially) do partially raise blood sugar, so the net-carb math flatters them. My practical rule: count net carbs from whole foods, but count total carbs from processed keto-branded packages, because that's where the net-carb loophole gets abused. Whichever convention you pick, be consistent — a 25-gram cap means something completely different in total-carb terms than in net-carb terms, and switching between them mid-week is how people wonder why they fell out of ketosis while 'staying under 25.'

Cap the carbs, set protein to protect your muscle, and let fat fill whatever calories are left. Everything a keto macro calculator does is those three moves in that order.

Common keto macro mistakes

Patterns I see derail otherwise reasonable keto plans:

  • Eating low-carb but not high-fat. Cutting carbs while keeping protein high and fat low isn't keto — it's an under-fueled low-carb diet that leaves you flat and hungry. Fat has to rise to fill the calorie gap.
  • Ignoring calories entirely. Keto blunts appetite for many people, but it does not repeal energy balance. If you eat above your TDEE in fat, you still gain. The macro split decides fuel type; total calories still decide the direction of the scale.
  • Setting protein too low out of gluconeogenesis fear. Moderate-to-high protein rarely disrupts ketosis and protects muscle during the deficit. Under-eating protein is the more common real-world harm.
  • Confusing total and net carbs, then switching between them. Pick one convention and hold it, and be skeptical of net-carb claims on processed keto products.
  • Neglecting electrolytes. Very low carbohydrate flushes sodium and water fast, and the 'keto flu' — headaches, fatigue, cramps in the first week — is usually a sodium, potassium, and magnesium problem, not a sign the diet is failing.
  • Reading week-one scale drop as fat loss. The first few pounds are glycogen and its bound water. Judge real progress by the weekly-average trend after week two, exactly as on any diet.

Dialing in your macros after the calculator gives you numbers

The calculator hands you a starting point, not a verdict. Every TDEE equation carries a margin of roughly plus or minus 10% for any individual, because it can't see your exact muscle mass, hormones, or how much you actually move, so your real maintenance may sit a little above or below the estimate. You confirm it the same way regardless of diet: eat at the target for two to three weeks, track the weekly-average weight trend, and adjust by 100–150 calories based on what the scale actually did — then re-run the same ratio against the new calorie number.

If fat loss is the goal, you'll want your calorie target below maintenance before you ever split it into macros. The keto ratio doesn't create a deficit; it only shapes one. Set the deficit first with our calorie deficit calculator, then apply the 70/25/5 (or whichever) split to that lower number. The deeper reasoning on turning a maintenance figure into a sustainable deficit lives in our guide to using TDEE for weight loss, and the mechanics are identical to any diet — keto just changes the foods, not the arithmetic. One keto-specific note while you tune: if you're holding protein at a fixed gram target for muscle protection and adjusting calories, do the adjusting in fat, since fat is your plug variable and carbs are already pinned to the floor. Keep protein steady, keep carbs capped, move fat up or down to steer the calories. That's the whole maintenance loop, and it's boring on purpose — boring is what's sustainable.

Sources cited

Frequently asked questions

What's the standard keto macro ratio?+

The most common default is 70% of calories from fat, 25% from protein, and 5% from carbohydrate — often written 70/25/5. That usually works out to somewhere between 20 and 50 grams of carbs a day depending on your calorie total. Some people run higher-fat (75%+) to hold ketosis more strictly, or higher-protein (35%) if they train hard.

How do I convert keto percentages into grams?+

Multiply your total calories by each macro's percentage, then divide by that macro's calories per gram: fat is 9 calories per gram, protein and carbs are 4 each. Example at 2,000 calories on 70/25/5: fat = 1,400 ÷ 9 ≈ 156 g, protein = 500 ÷ 4 = 125 g, carbs = 100 ÷ 4 = 25 g.

Will too much protein kick me out of ketosis?+

Rarely. The old fear that protein converts to glucose and breaks ketosis is largely overstated — gluconeogenesis is driven by your body's demand for glucose, not simply by protein being available. Moderate-to-high protein protects muscle during a deficit and is usually the safer error than eating too little.

Should I count total carbs or net carbs?+

Most people count net carbs (total carbs minus fiber, and in the US minus sugar alcohols) because fiber isn't digested into glucose. Net carbs work well for whole foods. Be more skeptical with processed 'keto' products that use sugar alcohols to advertise low net carbs — for those, counting total carbs is safer. Whichever you pick, stay consistent.

Does keto still require a calorie deficit to lose weight?+

Yes. Keto often reduces appetite, which makes eating fewer calories easier, but it doesn't override energy balance. If you eat above your TDEE — even entirely in fat — you'll gain. Set your calorie deficit first, then split those calories into keto macros. The ratio decides fuel type; total calories decide direction.

Why is the fat number on keto so high?+

Because fat is the plug variable. Keto caps carbs hard and sets protein to a moderate band, so fat is the only macro left to fill the remaining calories. It also helps that fat carries 9 calories per gram versus 4 for protein and carbs, so a large-looking fat percentage still fits into a normal-sized day of food.

Related guides

← Back to the TDEE Calculator home