Keto Calculator

Daily fat—
Daily carbs (max)—
Protein calories—

How Keto Calculator is calculated: Standard keto split 70/25/5: fat = 70% of calories ÷ 9, carbs = 5% of calories ÷ 4, protein set by you

What is a keto diet, and how does it work?

A ketogenic diet is a very low-carbohydrate, high-fat way of eating. By cutting carbs to about 5% of calories — roughly 25 g a day on a 2,000-calorie diet — and getting about 70% of calories from fat, the body runs out of glucose and starts burning fat for fuel instead. The liver turns that fat into ketones, which the brain and muscles can use in place of glucose. That state is called ketosis, and it is the whole point of the diet.

This calculator works out your keto targets from two numbers: your daily calories and your daily protein in grams. For the default example — 2,000 calories and 100 g of protein — the fat target is 155.6 g a day, the carb target is 25 g, and the protein provides 400 calories. The standard split is 70% fat, 25% protein, and 5% carbs, and this calculator follows it.

Keto is not a new idea. Doctors have used it since the 1920s to treat epilepsy in children, and it has since become popular for weight loss, because cutting carbs so hard usually cuts appetite and calories along with it. It is a real, evidence-backed approach for some people — and a miserable, unsustainable one for others.

These numbers are estimates for general guidance, not medical advice — talk to a doctor or dietitian before changing your diet or exercise. Keto changes how your body handles insulin, medication, and electrolytes, so people with diabetes, kidney disease, or heart conditions should never start it without medical supervision.

How the keto calculation works

The maths follows the standard 70/25/5 split. Fat gets 70% of your calories, and since fat carries 9 calories per gram, you divide by 9. For the default example, 70% of 2,000 is 1,400 calories, and 1,400 divided by 9 is 155.6 g of fat a day. That is a lot of fat — more than twice the amount in a normal balanced diet.

Carbs get 5% of your calories, and since carbs carry 4 calories per gram, you divide by 4. For the default example, 5% of 2,000 is 100 calories, and 100 divided by 4 is 25 g of carbs a day. That is the hardest number in the whole diet: 25 g is one medium apple, or two slices of bread, or a small bowl of rice — and that is your entire day's allowance.

Protein is the number you set yourself, because it should be based on your body weight, not on a fixed percentage. The default of 100 g provides 400 calories, which is 20% of a 2,000-calorie diet — a little under the 25% in the standard split, because this calculator lets your protein target, rather than a fixed percentage, drive the number. If you weigh 70 kg and train, 100 to 120 g is a sensible range.

A worked check: at 2,500 calories and 120 g of protein, the fat is 70% of 2,500 divided by 9, which is 194.4 g, the carbs are 5% of 2,500 divided by 4, which is 31.3 g, and the protein calories are 480. If you do not know your daily calories yet, a calorie calculator works them out from your weight, height, age, and activity.

Protein on keto: the number people get wrong

Protein is the trickiest macro on keto, because too little costs you muscle and too much can push you out of ketosis. The old fear was that excess protein turns into glucose and stops ketosis, but modern research shows that fear was overstated — the body does not convert protein to glucose anywhere near as readily as diet books claimed. Still, protein is not unlimited on keto.

The sensible range is 1.2 to 2.0 g per kilo of body weight, the same as on any diet. For a 70 kg person that is 84 to 140 g a day, and the default of 100 g sits near the bottom of that range. If you lift weights, aim higher — 120 to 140 g — because keto plus hard training without enough protein is a fast way to lose muscle along with fat.

The mistake to avoid is setting protein by the 25% in the split rather than by your body weight. On a 2,500-calorie diet, 25% is 156 g of protein, which is more than most people need and hard to eat without also eating carbs. Set protein from your weight first, then let fat fill the rest of the calories — that is the order that works.

A BMI calculator tells you where your weight sits for your height, which helps you decide whether to base your protein on your current weight or a target weight. And if you want to check your protein target on its own, it is worth working it out from your weight rather than from a percentage of calories.

A worked example: three people, three keto plans

Let us run three real examples through the calculator. First, the default: 2,000 calories, 100 g of protein. The fat target is 155.6 g, the carb target is 25 g, and the protein provides 400 calories. That is a full day of keto eating — eggs and butter at breakfast, a salad with oily dressing and cheese at lunch, and fatty fish or meat with low-carb vegetables at dinner.

Second, a bigger eater: 2,500 calories, 120 g of protein. The fat target is 194.4 g, the carb target is 31.3 g, and the protein provides 480 calories. At nearly 200 g of fat a day, every meal needs a deliberate fat source — oil, butter, nuts, cheese, or fatty meat — because it is very hard to reach that number from lean food alone.

Third, a smaller intake: 1,800 calories, 90 g of protein. The fat target is 140 g, the carb target is 22.5 g, and the protein provides 360 calories. At 22.5 g of carbs, even vegetables need counting — a cup of cooked broccoli has about 6 g, so three cups of vegetables already uses most of the day's allowance.

Compare the three and the pattern is clear: fat is the macro that scales with calories, carbs stay tiny at every level, and protein is the one you set from your body. The diet is defined by the carb limit more than anything else — 25 g is the number that makes keto hard, not the fat.

What can you actually eat on keto?

The foods that fit are the fatty ones: meat, fish, eggs, butter, cheese, cream, olive oil, coconut oil, nuts, seeds, and avocado. Low-carb vegetables — leafy greens, broccoli, cauliflower, courgette, peppers — fill the plate without using up the carb allowance. A typical keto day is built from those foods and little else.

The foods that do not fit are most of what people normally eat: bread, rice, pasta, potatoes, fruit (except small amounts of berries), sugar, beer, and most processed snacks. A single chapati has about 15 g of carbs, which is more than half the daily allowance on the default plan. That is why keto is hard to sustain in a household that eats normally — it is not just a diet, it is a different way of eating from everyone around you.

The first week is the hardest. As glycogen stores empty, the body sheds water — 2 to 3 kg in the first week is mostly water, not fat — and many people feel tired, headachy, and foggy, which is often called keto flu. It usually passes in a few days, and drinking enough water and getting enough salt helps, but it is a real cost of starting.

A water intake calculator gives you a daily water target, which matters more than usual on keto because the diet makes you lose water faster. And a body fat calculator helps you judge whether the weight you lose after the first week is fat or muscle.

Keto calculator vs macro calculator: which do you need?

This calculator is for a ketogenic diet — 70% fat, 5% carbs. A macro calculator is for a normal balanced diet — typically 30% protein, 40% carbs, and 30% fat. The two give wildly different numbers for the same calories: on 2,000 calories, the macro tool gives 200 g of carbs and 66.7 g of fat, while this one gives 25 g of carbs and 155.6 g of fat. They are opposite diets, not variations of one.

Most people do better with the balanced split. It is easier to follow, it includes foods most people enjoy, it supports hard training better, and it does not need medical supervision. Keto works best as a deliberate, time-limited choice — for example, a few months of fat loss for someone who finds it easier to skip carbs than to count calories — rather than as a permanent way of eating.

The evidence on weight loss is honest and worth knowing: when calories are matched, keto loses fat at about the same rate as any other diet. Its advantage is appetite — many people find it easier to eat less on keto, because fat and protein are filling and the food choices are so limited. Its disadvantage is sustainability — most people drift back to carbs within a year.

If you are choosing between the two, try the balanced split first. It is the default for a reason, and it works for the vast majority of people. Keto is a tool for specific situations, not a better version of normal eating.

Common keto mistakes

The first mistake is eating too many carbs to stay in ketosis. At 25 g a day, a single sugary drink or a handful of biscuits can use the whole allowance, and one high-carb day can take two to three days to recover from. Hidden carbs in sauces, dressings, and processed food are the usual culprits — read labels for a week and you will find them.

The second mistake is eating too little protein. Keto is high fat, not high protein, but protein still needs to be adequate — 100 g a day for most adults — or you lose muscle along with fat. People who treat keto as an excuse to eat only fat and cheese often lose strength along with weight.

The third mistake is ignoring electrolytes. Keto makes you lose sodium, potassium, and magnesium faster, and low levels cause the headaches, cramps, and fatigue people call keto flu. Salting food properly, eating leafy greens, and drinking enough water prevent most of it — and a BMR calculator is the starting point for working out your calorie target before you split it into keto macros.

The fourth mistake is staying on keto indefinitely without checking in with a doctor. Long-term keto can raise LDL cholesterol in some people, and it is not suitable for everyone. These numbers are estimates for general guidance, not medical advice — talk to a doctor or dietitian before changing your diet or exercise, and get blood work done if you stay on keto for more than a few months.

How to use this keto calculator

Using the calculator takes seconds. Enter your daily calorie target — your TDEE if you want to maintain, or a lower number if you are cutting — then enter your daily protein in grams, based on your body weight at 1.2 to 2.0 g per kilo. The results update live.

You will see your daily fat target, your carb target, and the calories your protein provides. The carb number is a maximum, not a goal — aim to stay under it, not to hit it exactly. The fat number is the one to reach, because fat is your fuel on this diet.

Everything runs in your browser. No account, no form, no data sent anywhere — the numbers you type never leave your device. Use it as often as you like, and recalculate whenever your calories change, because a new calorie target means a new split.

Pair it with a a pace calculator if running is part of your training, but be aware that hard running and keto do not mix well — glycogen is the fuel for intensity, and keto training often feels flat for the first few weeks. If your workouts suffer badly, the diet may not be worth the cost.

Frequently Asked Questions

About 5% of your calories, which is 25 g a day on a 2,000-calorie diet, 31.3 g on 2,500 calories, and 22.5 g on 1,800 calories. That is a maximum, not a goal — most people aim for 20 to 50 g a day, and staying under 50 g is usually enough to stay in ketosis.

About 70% of your calories. On a 2,000-calorie diet that is 1,400 calories from fat, or 155.6 g a day. On 2,500 calories it is 194.4 g, and on 1,800 calories it is 140 g. Fat is your main fuel on keto, so the number is much higher than on a normal diet.

Base it on your body weight, not on a percentage — about 1.2 to 2.0 g per kilo. A 70 kg person needs roughly 100 to 140 g a day. Too little protein costs muscle, and the old fear that too much protein stops ketosis is overstated, but there is no benefit to going far above 2.0 g per kilo.

No. Keto changes how your body handles insulin, medication, and electrolytes, and it is not suitable for people with diabetes, kidney disease, heart conditions, or a history of eating disorders without medical supervision. These numbers are estimates for general guidance, not medical advice — talk to a doctor or dietitian before changing your diet or exercise, and get blood work done if you stay on keto for more than a few months.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.