Track Food
Keto Calculator
Keto macros put roughly 70 percent of calories in fat, 20 to 25 percent in protein, and cap carbohydrate at 20 to 50 grams a day. This calculator sets your grams of fat, protein, and carbs from your stats and carb limit, and a net carbs mini tool handles fiber and sugar alcohols.
Your keto macros
Learn how this works
How to Calculate Keto Macros
How the ketogenic macro split is built, what net carbs are, and how to set a carb limit without claiming to verify ketosis.
Read the guideNet carbs mini-tool
Enter a food's label values to find its net carbs, the carbohydrate that actually affects blood sugar.
Key facts about keto
- A typical ketogenic split is 70 to 75 percent of calories from fat, 20 to 25 percent from protein, and about 5 percent from carbohydrate.
- Most people reach and hold ketosis at 20 to 50 grams of net carbs per day.
- Net carbs equal total carbohydrate minus fiber minus half of sugar alcohols like erythritol.
- This calculator keeps protein at 1.6 grams per kilogram of body weight to protect muscle on keto.
How do 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. This calculator fixes your carbs at the daily limit you set, keeps protein at a sensible moderate level to protect muscle, and lets fat make up the rest of your calories. The calorie base comes from the Mifflin-St Jeor equation (1990), documented on our methodology page.
Understanding 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. The mini-tool above does this for a single food. Counting net carbs rather than total carbs is what lets keto eaters enjoy high-fiber vegetables and nuts while staying under their limit.
| 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 |
Worked example
A low carb snack bar lists 20 g total carbohydrate, 7 g fiber, and 10 g sugar alcohols. Net carbs are 20 minus 7 minus half of 10, which is 20 minus 7 minus 5, leaving 8 g of net carbs. If your daily limit is 25 g, that bar uses about a third of your allowance for the day.
How do you make keto sustainable?
In the first weeks your body sheds water and sodium as insulin falls, which can cause the tiredness some call keto flu. Drinking enough fluid and adding a little salt usually helps, and the water intake calculator can set your target. Keep protein adequate rather than very low, since it preserves muscle and keeps you full, and confirm your number with the protein calculator. To analyze a full keto recipe, the recipe calorie calculator breaks it down per serving, and the general macro calculator covers non-keto splits if you decide to adjust.
Who should not use keto?
Keto suits many people but is not right for everyone. Anyone with diabetes on medication, kidney or liver disease, or a history of disordered eating should check with a doctor before cutting carbohydrate this low, and pregnant or breastfeeding women need broader carbohydrate intake. If keto feels too restrictive, a moderate deficit from the calorie deficit calculator produces the same fat loss with more food flexibility.
Limitations of this calculator
This tool sets target macros and estimates net carbs from the numbers you enter; it cannot measure or verify that you are in ketosis, which only blood, breath, or urine testing can indicate. The calorie base is a predictive estimate within about 10 percent, and net carbs are an approximation, since sugar-alcohol absorption varies by type and person. Ketosis thresholds differ between individuals, 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. Treat the output as a planning guide.
Factors that change your keto macros
- Carb limit: the daily limit you set drives the split; lower carbs push fat higher.
- Calorie target: the goal sets total calories, and fat fills whatever protein and carbs leave.
- Activity: active people burn through glycogen and can often tolerate the upper end of the 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 your body fat-adapts.
- Sugar alcohols: different types are absorbed differently, so net-carb estimates are approximate.
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. Guidance on sugar alcohols and net carbohydrate labeling. fda.gov
- Mifflin MD, St Jeor ST, et al. A new predictive equation for resting energy expenditure. Am J Clin Nutr. 1990. PubMed 2305711
Macro percentages and the net-carb formula are documented on the methodology page.
Frequently asked questions
What macros should I eat on keto?
A typical ketogenic split is 70 to 75 percent of calories from fat, 20 to 25 percent from protein, and about 5 percent from carbohydrate, which for most people means 20 to 50 grams of carbs per day.
What are net carbs?
Net carbs estimate the carbohydrate that affects blood sugar: total carbohydrate minus fiber minus about half of sugar alcohols like erythritol. The net carbs tool on this page does that math from label values.
How many carbs can I eat and stay in ketosis?
Most people reach and hold ketosis at 20 to 50 grams of net carbs daily, with 20 to 30 grams a reliable start. Tolerance varies with activity and metabolism; some can eat more once fat adapted.
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 this tool keeps protein moderate rather than very low.
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 some added salt usually help. The water intake calculator can set your fluid target.