How to Calculate Keto Macros (Without Starting From the Percentages)
Published 6/25/2026 · 5 min read · Health calculators
Work in this order: carbohydrate, then protein, then fat. Set carbohydrate at a fixed 20 to 30 g of net carbs a day rather than a percentage, set protein at roughly 1.6 to 2.0 g per kilo of body weight to protect muscle, then give every remaining calorie to fat. For a 165 lb moderately active 35-year-old man of 5 ft 10 in, that is a maintenance target near 2,623 kcal made of 25 g carbohydrate, 135 g protein and 220 g fat — which happens to land at 76 percent fat, 21 percent protein and 4 percent carbohydrate. Put the same person in a 20 percent deficit at 2,099 kcal and the fat share falls to 70 percent on its own, because carbohydrate and protein stay fixed while fat absorbs the whole cut.
Set carbs as a fixed gram figure, protein by body weight, and let fat fill what is left. The famous 75 percent fat is an output of that calculation, not an input — and it drops on its own in a deficit.
Why percentages are the wrong starting point
A percentage is a ratio, and ketosis responds to an absolute amount. Five percent of carbohydrate sounds like a single rule, but on a 1,600 kcal day it means 20 g and on a 3,200 kcal day it means 40 g — one of which will keep most people in ketosis and the other will not. Fixing the grams removes that dependency entirely.
Protein has the same problem in reverse. It is needed in proportion to your body, not to your calories, so expressing it as a percentage makes the target move every time you change your intake — exactly when you least want it to, since a deficit is when muscle is most at risk.
The fat percentage is a residue
Once carbohydrate and protein are fixed in grams, fat is whatever is left, so its share of calories is an output. The table above shows this directly: the same person, same carbohydrate, same protein, moves from 76 percent fat at maintenance to 70 percent in a deficit purely because the total shrank. Nobody changed a target.
This matters because plenty of people in a deficit add fat to hit a published percentage, which cancels the deficit they set out to create. In a fat-loss phase the missing calories are supposed to come from your own stores; adding butter to reach 75 percent replaces body fat with dietary fat and the scale stops moving.
Net carbs, and where the count goes wrong
Net carbs are total carbohydrate minus fibre, on the reasoning that fibre is not absorbed as glucose. Sugar alcohols are usually subtracted too, though only partly, and erythritol behaves differently from maltitol — which is why two products with the same declared net carbs can affect you differently. Labels in Europe already exclude fibre from the carbohydrate figure, so subtracting it again double-counts.
Keto is also not neutral for everyone. It interacts with several medications, particularly insulin and the SGLT2 class, and is not appropriate in some conditions. If you take anything for diabetes or blood pressure, the dose may need changing before you start rather than after something goes wrong.
| Target | Calories | Carbs | Protein | Fat | Resulting split |
|---|---|---|---|---|---|
| Maintenance | 2,623 kcal | 25 g | 135 g | 220 g | 76 / 21 / 4 |
| 20 percent deficit | 2,099 kcal | 25 g | 135 g | 162 g | 70 / 26 / 5 |
Frequently asked questions
- Can I eat too much protein on keto?
- The old warning that protein converts to glucose and breaks ketosis is overstated. Gluconeogenesis is driven by demand rather than supply, and intakes in the 1.6 to 2.0 g per kilo range are well tolerated. Eating far more than that mostly displaces the fat calories that were meant to fuel you.
- Should I use total body weight or lean mass for protein?
- Lean mass is the better basis if you have a reliable body-fat measurement, because muscle drives the requirement and fat does not. Without one, use total body weight and stay at the lower end of the range — it will overshoot slightly, which is far less costly than undershooting.
- Do the macros change once I am in ketosis?
- The method does not change, but the inputs do. Weight loss lowers your energy need, so recalculate every few kilos or the target you set at the start quietly becomes a maintenance figure. Some people also find they can move carbohydrate up towards 40 or 50 g once adapted without leaving ketosis, which only testing on yourself can settle.
Articles you may find interesting
All guides →Related tools
This article is general information, not medical or dietary advice. Do not change your diet, your medication or your insulin doses on the basis of a web page — talk to your doctor, dietitian or diabetes team, who can see your own results and history.
Sources
Spotted a mistake in this article?