Track Food Guide
How to Calculate Keto Macros
To calculate keto macros, set carbohydrate to a low daily limit (usually 20 to 50 grams), keep protein moderate at about 1.6 grams per kilogram of body weight, and let fat fill the rest of your calories, which lands near 70 percent of the total. Net carbs, total carbohydrate minus fiber and half of sugar alcohols, are what you actually track. A calculator sets targets; only testing can confirm ketosis.
Skip the math
Keto Calculator
Get your keto macros in grams with a carb limit, plus a built-in net carbs tool for reading labels.
Calculate your keto macrosHow keto macros work
A ketogenic diet keeps carbohydrate very low so your body shifts from burning glucose to burning fat and ketones for fuel, a state called ketosis. In macro terms that usually means about 70 to 75 percent of calories from fat, 20 to 25 percent from protein, and only around 5 percent from carbohydrate. Rather than chase those percentages directly, the reliable method fixes carbohydrate at a daily limit, keeps protein at a sensible level to protect muscle, and lets fat make up the remaining calories. That order guarantees you stay under your carb limit while getting enough protein.
What are net carbs?
Net carbs estimate the carbohydrate that actually raises blood sugar. You take the total carbohydrate on a label, subtract fiber because it is not digested for energy, and subtract about half of any sugar alcohols such as erythritol, which are only partly absorbed. Counting net carbs rather than total carbs is what lets keto eaters enjoy high-fiber vegetables and nuts while staying under their limit. It is an approximation, since sugar-alcohol absorption varies by type and person.
The keto macro and net carb formulas
The calorie base comes from the Mifflin-St Jeor equation, the same as the TDEE calculator. Carbohydrate is fixed at your limit, protein is set from body weight, and fat fills whatever calories remain. Constants are on the methodology page.
Worked example
Worked example
Reading a label for net carbs: a low-carb snack bar lists 20 g total carbohydrate, 7 g fiber, and 10 g sugar alcohols. Net carbs are 20 − 7 − (half of 10) = 20 − 7 − 5 = 8 grams. If your daily limit is 25 g of net carbs, that bar uses about a third of your allowance. Fat then fills the rest of your calories after protein and those carbs are accounted for.
Daily net carb limits
| Net carbs / day | What to expect |
|---|---|
| 20 to 30 g | Reliable ketosis for most people; the standard starting point |
| 30 to 50 g | Works for many, especially active people who deplete glycogen |
| 50 to 100 g | Low carb but usually not ketogenic; still useful for appetite control |
Factors that affect your keto macros
- Carb limit: the limit you set drives the split; lower carbs push fat higher.
- Calorie target: your goal sets total calories, and fat fills what protein and carbs leave.
- Activity: active people burn through glycogen and often tolerate the upper carb range.
- Individual threshold: the carb level that maintains ketosis varies from person to person.
- Adaptation: fluid, sodium, and energy shift in the first weeks as you fat-adapt.
How to use keto macros
Start with 20 to 30 grams of net carbs a day, keep protein adequate rather than very low, and let fat fill your calories. In the first weeks your body sheds water and sodium as insulin falls, which causes the tiredness some call keto flu; enough fluid and a little added salt usually help, and the water intake calculator can set your target. To analyse a full keto recipe per serving, use the recipe calorie calculator, and if keto feels too restrictive, a moderate deficit from the calorie deficit calculator produces the same fat loss with more flexibility.
A second example: a full day of keto macros
Setting the daily split follows the same order as the label example, just at the level of a whole day. Take an 80 kg person eating 1900 calories to lose weight, with a 25-gram carb limit. Carbohydrate is fixed first: 25 grams is 100 calories. Protein is set from body weight at about 1.6 g/kg, which is 128 grams, or 512 calories. That leaves 1900 − 100 − 512 = 1288 calories for fat, which at 9 calories per gram is roughly 143 grams. The final split is 143 g fat, 128 g protein, and 25 g carbs, close to the classic 70/25/5 balance by calories.
Fat ends up high not because you chase a fat target, but because it fills whatever calories remain after carbs are capped and protein is met. If you dropped the carb limit to 20 grams, fat would rise slightly; if you raised protein, fat would fall. This is why keto is best built in that order rather than by forcing exact percentages. Fill your carbohydrate allowance with fibrous, nutrient-dense vegetables and count net carbs so fiber does not eat into your limit. Keep protein moderate rather than very low, since the fear that protein breaks ketosis is overstated for most people, and adequate protein protects muscle. Remember that no calculator can confirm you are actually in ketosis; only blood, breath, or urine testing does that, and the split here simply sets sensible targets to work from.
The bottom line: keto macros are built by capping carbohydrate first, setting moderate protein from body weight, and letting fat fill the rest of your calories, which lands near 70 percent fat by design rather than by chasing a percentage. Track net carbs so fiber does not eat your allowance, keep protein adequate to protect muscle, and manage fluid and salt in the early weeks. Above all, remember that a calculator sets targets and estimates net carbs; only testing can confirm ketosis, and weight loss still depends on eating fewer calories than you burn.
Common mistakes
- Cutting protein too low. The fear that protein breaks ketosis is overstated; too little costs muscle.
- Counting total instead of net carbs. Fiber and some sugar alcohols do not count the same, so total-carb tracking is needlessly strict.
- Ignoring electrolytes. Early water and sodium loss, not the diet failing, causes most keto-flu symptoms.
- Assuming a calculator confirms ketosis. Only blood, breath, or urine testing can indicate ketosis.
Limitations
This method sets target macros and estimates net carbs; it cannot measure or verify that you are in ketosis, which only testing can indicate. The calorie base is a predictive estimate within about 10 percent, and net carbs are an approximation. Ketosis thresholds differ between people, and keto is not suitable during pregnancy or for people managing diabetes medication, kidney or liver disease, or a history of disordered eating without medical supervision. See our health disclaimer.
Related guides and calculators
Sources and references
- Masood W, Annamaraju P, Uppaluri KR. Ketogenic Diet. StatPearls. NCBI Bookshelf. ncbi.nlm.nih.gov/books/NBK499830
- U.S. Food and Drug Administration. Nutrition Facts label: sugar alcohols and carbohydrate. fda.gov
- Mifflin MD, St Jeor ST, et al. A new predictive equation for resting energy expenditure. Am J Clin Nutr. 1990. PubMed 2305711
Frequently asked questions
What macros should I eat on keto?
A typical ketogenic split is about 70 to 75 percent of calories from fat, 20 to 25 percent from protein, and roughly 5 percent from carbohydrate, which for most people means 20 to 50 grams of carbs a day. Protein stays moderate to protect muscle, and fat fills the remaining calories.
What are net carbs?
Net carbs estimate the carbohydrate that affects blood sugar: total carbohydrate minus fiber minus about half of sugar alcohols such as erythritol. Counting net carbs rather than total lets keto eaters include high-fiber vegetables and nuts while staying under their limit. It is an estimate, since sugar-alcohol absorption varies.
How many carbs can I eat and stay in ketosis?
Most people reach and hold ketosis at 20 to 50 grams of net carbs a day, with 20 to 30 grams a reliable starting point. Tolerance varies with activity and metabolism, and some people can eat more once fat-adapted. The only way to confirm ketosis is testing, not a calculator.
Is protein bad on keto?
No. Adequate protein protects muscle and keeps you full. The worry that protein kicks you out of ketosis is overstated for most people, so a sensible keto plan keeps protein moderate rather than very low. Cutting protein too far to chase ketosis usually costs muscle for no real benefit.
Why do I need more water and salt on keto?
In the first weeks your body sheds water and sodium as insulin falls, which causes the tiredness some call keto flu. Enough fluid and a little added salt usually help. This is a normal adaptation, not a sign the diet is failing, and it typically settles within a couple of weeks.