Keto Calculator
Daily calories, net carbs, protein and fat for a ketogenic diet.
Reviewed November 13, 2026 · Runs in your browser, nothing is stored
Quick answerTypical keto macros are 20–30 g of net carbs, about 1.2–1.6 g of protein per kg, and fat for the remaining calories, usually 70–80% of total calories.
Daily keto target
– kcal
–Net carbs
–Protein
–Fat
–Carb / protein / fat %
How keto macros are calculated
- Calories: your TDEE (Mifflin-St Jeor, or Katch-McArdle if you enter body fat) adjusted for your goal.
- Net carbs: fixed, usually 20–30 g a day (total carbs minus fiber).
- Protein: about 1.6 g per kg of lean body mass (or 1.2 g per kg of body weight if body fat is unknown), which helps keep muscle.
- Fat: the remaining calories, divided by 9.
A ketogenic diet is a big change. People with diabetes, kidney or liver conditions, or who are pregnant should talk to a doctor first.
Frequently asked questions
Most keto plans keep net carbs (total carbs minus fiber) at about 20–30 g per day, sometimes up to 50 g.
Roughly 1.2–2.0 g per kg of lean body mass. Enough protein helps preserve muscle; you do not need to keep protein very low.
Net carbs are total carbohydrates minus fiber (and sometimes certain sugar alcohols). They are what most keto plans count.
Fat is the "fill" macro. When losing weight, you can eat a little less fat than the target as long as you feel satisfied.