The order the math has to run in
Four numbers, and the sequence is the part almost every keto calculator
gets wrong.
A ketogenic diet has exactly one defining feature: you eat little enough
carbohydrate that your liver starts turning fatty acids into ketone bodies
in quantity. Everything else is downstream of that. So the calculation
opens with calories, fixes carbohydrate as a hard gram ceiling, sets
protein from your lean mass, and hands fat whatever is left in the budget.
Read that back and notice what never happened. At no point did anyone
decide the diet should be 75% fat. That number is a result, and it
slides around depending on your size, your goal and how deep a deficit you
are running. A calculator that opens by declaring 75/20/5 and works
backward into grams produces carbohydrate targets that scale with
bodyweight, which is incoherent: ketosis responds to the grams you eat, not
to the share of your plate they happen to occupy.
Where the percentage approach breaks. Apply a 5% carb
rule to two real people. A 130 lb woman eating 1,500 calories gets 19 g
of carbs and lands in ketosis comfortably. A 240 lb man eating 3,000 gets
38 g and may well not, especially if he is sedentary. Same rule, opposite
outcomes, and neither of them was ever asked what they were aiming for.
The three macros, ranked by how much they actually matter
1. Net carbs. This one is a switch.
Below roughly 50 g a day, and dependably below 20 g, your liver runs short
of glucose to hand out and starts producing ketone bodies instead. Blood
beta-hydroxybutyrate crossing 0.5 mmol/L is the accepted
definition of nutritional ketosis, and most people get there on day two to
four. This is the only number in your whole plan that behaves like a real
threshold. Miss it and you are on a low-carb diet, which is a perfectly
respectable diet, but it is not the one you came here for.
2. Protein. Chase this one upward.
Keto inherited a moderate-protein rule on the grounds that surplus amino
acids get converted into glucose and knock you out of ketosis. The
mechanism exists; the direction of causation does not. Gluconeogenesis is
demand-driven, meaning your liver produces the glucose your body requests
rather than manufacturing extra because supply turned up. What is real is
the arithmetic. Carbs are capped and calories are fixed, so every gram of
protein you add is a gram of fat you have to take away. Protein and fat are
fighting over one budget, and this calculator shows you the moment that
fight gets tight rather than quietly resolving it against your muscle.
3. Fat. This one is a leftover.
Fat fills the gap, which makes it a ceiling with a floor underneath rather
than a target to hit. Eating fat is not what puts you in ketosis; not
eating carbohydrate is. Come in a little under on a day you were not
especially hungry and you have simply run a slightly larger deficit, which
is not a problem when the goal is losing fat. This is precisely where the
butter-in-your-coffee era went wrong: people treated a remainder as a quota
and bolted several hundred uncounted calories a day onto a diet they were
trying to lose weight on.
Reading net carbs off a Nutrition Facts panel
Net carbs are the carbohydrate your body can actually put to use. On a US
label that is a subtraction, and it is the one piece of keto label advice
that is genuinely straightforward.
One caveat that matters more than it used to, now that half a pantry is
imported. The subtraction is a US convention, not a universal
one. Labels in the UK, the EU and Australia declare available
carbohydrate only, with fiber listed separately beneath as a sub-line and
already excluded from the headline number. Subtract fiber from one of those
and you are removing something that was never in there, which costs you a
slice of your daily allowance every single day. The tell is placement: if
fiber is indented under the carb line as part of it, subtract. If it reads
as a separate declaration, the work is already done for you.
Fiber itself is worth defending. It is the first casualty of a low carb
ceiling, and at 20 g of net carbs you will not come close to the usual
adult recommendation from food alone. Non-starchy vegetables, avocado,
chia and flax buy you the most fiber per gram of net carb, which is the
exchange rate that actually matters here.
Why your fat percentage reads below 75%
If you are eating in a deficit, your split will probably land somewhere
between 60 and 68% fat rather than the textbook 75%. Nothing has gone
wrong. The textbook number describes somebody eating at maintenance, where
every calorie they burn arrived on a plate.
In a deficit, part of your fuel is coming off your own body, and body fat
is pure fat. Somebody eating 1,800 calories at 62% fat while running a 600
calorie deficit is actually burning 2,400 calories of fuel, of which
1,716 are fat. That is 71%. Their metabolism has no way of
knowing which of it arrived by fork. This calculator reports both figures,
because the dietary one is what you shop and cook to, and the effective one
is what your liver is responding to.
The first two weeks, minus the mythology
Your muscles and liver hold carbohydrate as glycogen, and glycogen is
stored wet: roughly three grams of water for every gram of glycogen. Stop
eating carbohydrate and that entire parcel is released over about a week.
For most adults it is 4 to 8 lb, and for a large muscular
person it can be more.
This produces the most predictable emotional arc in dieting. Week one is
spectacular. Week two looks like a stall. Neither reading is correct. The
rate you see from week three onward is the real one, and it was the real
one the whole time. It also means the weight walks straight back on the
first time you eat a proper plate of pasta, which is not a relapse. It is a
tank refilling.
The comparison nobody selling keto wants to run. When
trials match calories and protein, ketogenic diets do not produce more
fat loss than anything else. What keto genuinely has is appetite control:
most people eat less on it without consciously trying, and a deficit you
can hold beats a theoretically superior one you abandon. That is a real
advantage worth having. It is just not a metabolic one, and anybody
telling you carbohydrate itself made you fat is selling something.
Keto flu is a sodium problem
Headache, fatigue, cramps, fog and a short fuse, typically days two through
seven. It is not your body detoxing from sugar. When insulin falls, your
kidneys stop retaining sodium and start excreting it, and potassium follows
it out the door. The symptoms are the symptoms of mild dehydration and low
sodium, because that is what they are.
The clinical groups with the most published ketogenic practice put the
targets at 3,000 to 5,000 mg of sodium a day, which is
roughly 1.5 to 2.5 teaspoons of table salt, alongside 3,000 to 4,700 mg of
potassium and 300 to 500 mg of magnesium. Those numbers sit well above
general population advice, on purpose, because the general population is
not running on low insulin. Salt your food properly, drink a cup of broth
on the afternoon of day two, and most of week one simply does not happen to
you.
One exception to take seriously: if you have high blood pressure, heart
failure or kidney disease, do not adopt a 5,000 mg sodium target from a
website. Ask your doctor what your number should be, because for you this
is not a harmless adjustment.
Methodology
There is no reviewer byline on this page. Inventing a doctor to put a
headshot beside would be worth less than showing the working, so here is
every equation the calculator uses and where it came from.
What this calculator cannot tell you
- Whether you personally hold ketosis at 30 or 40 g.
Nobody can predict that from height and weight. It depends on muscle
mass, training volume and how adapted you are. Only a blood ketone meter
settles it.
- Your true maintenance calories. Any equation plus an
activity multiplier lands a few hundred calories off. Eat to the number
for three weeks, track your weekly average weight, and correct from what
actually happened to you. That correction beats every formula on this
page.
- Whether keto is the right diet for you at all. It is
excellent at controlling appetite and genuinely awkward around social
eating, endurance training and vegetarian cooking. The best diet is
whichever one is still running in six months.
- How your medication will react. This is the one that can
actually hurt you. SGLT2 inhibitors combined with very low carbohydrate
have produced ketoacidosis while blood glucose looked normal, and insulin
or sulfonylurea doses usually need reducing within days of cutting carbs.
Talk to your doctor or diabetes team before you start, not after.