Skip to content

Keto calculator

Your daily keto fat, protein and net carbs from a calorie target.

Units
kg
kcal

From the TDEE or calorie calculator

g

Keto usually means 20 to 50 g

g/kg

Grams per kg of body weight, 0.8 to 2.5

Keto Calculator by Utility Empire

How it works

Keto caps carbs, sets protein from your body weight, and fills the rest of your calories with fat. Start from a calorie target from the TDEE or calorie calculator.

The formulas

  • Net carbs = your limit, 25 g by default
  • Protein = body weight (kg) × grams per kg, 1.5 by default
  • Fat = (calories − 4 × carbs − 4 × protein) ÷ 9

Sources: 4 kcal per gram for carbs and protein and 9 for fat are the Atwater factors. The 20 to 50 g net-carb range is the usual definition of a ketogenic diet in clinical reviews, for example Masood W et al., "Ketogenic Diet," StatPearls (NCBI Bookshelf).

Worked example

  • 2,000 kcal at 70 kg: 105 g protein (420 kcal), 25 g net carbs (100 kcal), and (2,000 − 520) ÷ 9 = 164 g fat. That is 74% fat, 21% protein and 5% carbs.

Guides

Frequently asked questions

How many carbs can I eat on keto?

Most ketogenic diets keep net carbs between 20 and 50 g a day. Lower is more likely to keep you in ketosis, but it varies from person to person.

What are net carbs?

Total carbs minus fiber (and, on some labels, sugar alcohols), since fiber is not digested into glucose.

How much protein should I eat on keto?

We default to 1.5 g per kg of body weight, within the range most sports nutrition guides suggest for keeping muscle. Very high protein can make ketosis harder for some people.

Is keto safe for everyone?

No. It isn’t advised in pregnancy, and people with diabetes, kidney disease or a history of eating disorders, or who take blood sugar or blood pressure medicine, should speak to a doctor first.