Guide

Calorie Counting on Keto: The Complete Macro & Tracking Guide

How to count calories and track macros on a ketogenic diet, net carbs, ketosis, the keto flu, electrolytes, and the best calorie counter apps for keto in 2026.

Keto is a macro-shaped problem more than a calorie-shaped one. Calories still decide whether you lose, gain, or maintain weight, that does not change on any diet, but the distribution of those calories decides whether you reach and stay in ketosis. A good tracker has to handle both jobs at once.

This guide explains what ketosis actually is, how to set keto macros, what “net carbs” means (and why apps disagree about it), how to survive the keto flu, and which of the best calorie counting apps handle keto well.

Key takeaways

  • Keto does not override energy balance, calories still decide weight change.
  • A typical split: ~70–75% fat, 20–25% protein, 5–10% carbohydrate.
  • Net carbs = total carbohydrate minus fibre (and sometimes sugar alcohols); apps implement this differently.
  • The “keto flu” is largely an electrolyte problem, sodium, potassium, magnesium.
  • Early weight loss is mostly water; judge progress after two to three weeks.

What is ketosis actually?

Normally your body runs primarily on glucose. When carbohydrate intake is low enough for long enough, liver glycogen depletes, and the liver begins converting fatty acids into ketone bodies , beta-hydroxybutyrate, acetoacetate, and acetone, which the brain and most tissues can use for fuel. This metabolic state is nutritional ketosis.

Reaching it typically takes a few days to a couple of weeks of restricting carbohydrate to roughly 20–50 g of net carbs per day, depending on the individual, their activity, and their metabolism.

Did you know?

Nutritional ketosis is not the same thing as diabetic ketoacidosis (DKA), despite the similar name. Nutritional ketosis keeps ketones at low, regulated levels with normal blood pH. DKA is a dangerous medical emergency involving far higher ketone concentrations, almost exclusively in people with type 1 diabetes. They are different states, but if you have diabetes, you should only attempt keto under medical supervision.

Do calories still count on keto?

There is a persistent myth that keto lets you ignore calories, that the metabolic state itself burns fat regardless of intake. It does not.

Keto often produces effortless weight loss in the first weeks for two real reasons: a large water-weight drop as glycogen depletes (each gram of glycogen holds ~3 g of water), and a genuine appetite-suppressing effect that leads many people to eat less without trying. Both are useful. Neither suspends thermodynamics. If you eat above maintenance, and fat is calorie-dense, so this is easy to do, you will gain weight, ketones or not.

The clients who succeed on keto are the ones who treat it as a tool for appetite control and food preference, then still keep half an eye on calories. The ones who struggle are the ones who heard “carbs are the only thing that matters” and stopped counting entirely.

The Calorie Counter Standard editorial team

Setting your keto macros

A standard ketogenic split, as a percentage of total calories:

MacroShare of caloriesRole
Fat70–75%Primary fuel; fills the remaining calories
Protein20–25%Preserves muscle; set as a floor
Carbohydrate5–10%Hard ceiling; often 20–50 g net carbs

Set them in this order:

  1. Calories, based on your goal (deficit, maintenance, or surplus). See the how to count calories guide.
  2. Carbohydrate, a hard ceiling. Start at 20–30 g net carbs to reach ketosis reliably.
  3. Protein, a floor of 1.6–2.0 g/kg bodyweight to protect muscle.
  4. Fat, fills whatever calories remain.

Myth check

”Too much protein kicks you out of ketosis.” For the vast majority of people this is overstated. The body can convert some protein to glucose, but it does so on demand, not in a flood. Under-eating protein out of fear is a far more common and more damaging mistake than eating slightly too much.

Why does your calorie counter app show a different net-carbs number?

“Net carbs” is the carbohydrate figure most keto dieters track. The common definition:

Net carbs = total carbohydrate − fibre − (sometimes) sugar alcohols

Fibre is subtracted because it is largely indigestible and has little effect on blood glucose. Sugar alcohols are subtracted partially or fully depending on the specific alcohol, erythritol has almost no glycaemic effect, while maltitol has a substantial one.

The problem: apps implement this differently. Some track total carbs only, some net carbs, some let you choose. Some subtract all sugar alcohols, some none. The same meal can therefore show a 5–10 g difference between two apps. Pick one app, learn exactly how it calculates net carbs, and stay consistent, the absolute method matters less than not switching methods mid-diet.

The keto flu and electrolytes

In the first one to two weeks, many people feel genuinely unwell, headache, fatigue, brain fog, irritability, light-headedness, muscle cramps. This is the keto flu, and it is mostly not about “detox” or carbs leaving your system. It is largely an electrolyte and water problem.

When insulin falls on a low-carb diet, the kidneys excrete more sodium, and water and other electrolytes follow it out. The fix is straightforward:

Pro tip

Track sodium, potassium, and magnesium for the first month, not just your macros. An app with strong micronutrient tracking, Cronometer is the standout, makes the keto flu far easier to diagnose and prevent. Most “keto is making me feel terrible” complaints are really “I am low on electrolytes.”

The best calorie counter apps for keto

Three apps handle keto well, for different reasons:

See the full rankings. maintains a keto-focused app comparison.

How do you start a calorie tracking protocol for keto?

  1. Set calories for your goal, then macros in the order above.
  2. Start carbs at 20–30 g net to reach ketosis reliably.
  3. Salt your food deliberately and track electrolytes for the first month.
  4. Track for two to three weeks before judging, the first week is largely water and glycogen.
  5. Re-feed carbs cautiously if you cycle off; expect water weight to return (it is not fat).

What are the most common calorie counting mistakes?

Frequently asked questions about calorie counting apps

Do calories matter on keto?

Yes. Keto can suppress appetite and cause a large early water-weight drop, but it does not suspend energy balance. Eat above maintenance and you will still gain weight.

What are net carbs?

Total carbohydrate minus fibre, and sometimes minus some or all sugar alcohols. Apps calculate it differently, so pick one app and learn its method.

How many carbs can I eat and stay in ketosis?

Most people reach and hold ketosis at roughly 20–50 g of net carbs per day. Start at the lower end and adjust based on how you feel and, if you test, your ketone readings.

How long does the keto flu last?

Usually a few days to two weeks. It is largely an electrolyte issue, adequate sodium, potassium, and magnesium shorten and soften it considerably.

What is the best app for tracking keto?

Cronometer for net-carb precision and electrolyte tracking; Welling for fast AI logging with keto-aware coaching.

Will I lose muscle on keto?

Not if you eat enough protein (1.6–2.0 g/kg) and do resistance training. Protein and training protect lean mass on any diet, see the muscle-gain guide.

What external research supports this?


Written by Dr. Liu Wei, HCI Researcher & Adherence Lead. Editorial review by Hugo Lindqvist, Editor in Chief. Last updated May 30, 2026. See our methodology.