Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Keto calculator

Estimate your daily calories and split them into keto macros: a net carb limit, protein based on your weight, and fat for the rest.

A general estimate, not medical advice. Keto isn't recommended in pregnancy or while breastfeeding. If you have diabetes, especially if you take insulin or an SGLT2 inhibitor, cutting carbs this much can cause low blood sugar or ketoacidosis, so talk to your doctor first. The same goes for kidney, liver or pancreas conditions. It can't diagnose anything. For advice about your own health, talk to your doctor.

Private: calculated on your device. Nothing you type is sent anywhere.

Next: Prefer a different split? The macro calculator handles any percentages, and the calorie calculator sets a target.

How keto macros are calculated

BMR (Mifflin–St Jeor) = 10 × kg + 6.25 × cm − 5 × age + 5 (men) or − 161 (women)
Calories = BMR × activity factor × (1 − cut %)
Net carbs = your choice, 20–50 g (× 4 kcal) · Protein = g per kg × weight (× 4 kcal)
Fat = (calories − carb calories − protein calories) ÷ 9

This uses the same Mifflin–St Jeor equation and activity factors as the calorie calculator and the TDEE calculator. Keto diets usually keep carbohydrate under 50 g a day, sometimes as low as 20 g, keep protein moderate, and get most calories from fat. Net carbs are total carbs minus fiber.

Worked example

A 35-year-old woman, 165 cm and 68 kg, lightly active, aiming for 15% below maintenance with 25 g net carbs and 1.2 g protein per kg:

BMR = 680 + 1,031.25 − 175 − 161 = 1,375 kcal
Maintenance = 1,375.25 × 1.375 = 1,891 kcal · Target = 1,891 × 0.85 = 1,607 kcal
Carbs: 25 g = 100 kcal · Protein: 1.2 × 68 = 81.6 g = 326 kcal
Fat: (1,607 − 100 − 326.4) ÷ 9 = 131 g (about 73% of calories)

Keeping it moderate

  • The largest cut offered is 20% below maintenance. Gradual loss of about 1 to 2 lb a week is the pace the CDC describes.
  • The target never goes below 1,200 kcal a day for women or 1,500 for men, the floors used on the calorie calculator. Going lower is something to do only with a doctor's supervision.
  • Calorie estimates can be off by 10% or more. Adjust after a few weeks based on what actually happens.

Who should check with a doctor first

  • Diabetes. Very low carb intake changes how much insulin or other medicine you need. With insulin or sulfonylureas, it can cause low blood sugar. With SGLT2 inhibitors, the FDA warns of ketoacidosis, a serious condition.
  • Pregnancy and breastfeeding. Whether keto is too restrictive for these times hasn't been settled, and it isn't recommended without your provider's advice.
  • Kidney, liver or pancreas disease, a history of eating disorders, or anyone under 18.

Harvard's diet review lists open questions about keto, including its long-term safety and whether it suits kidney or liver disease.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • Woman, 35, 165 cm, 68 kg, lightly active, 15% below: 1,607 kcal and 131 g fat ✓
  • Same person: 1,607 kcal a day ✓
  • Man, 40, 5 ft 10, 200 lb, sedentary, maintain: 2,188 kcal, 174 g fat ✓
  • Edge: a target under 1,200 kcal is raised to 1,200 for women ✓
  • Edge: woman, 60, 155 cm, 52 kg, sedentary, 20% chosen: the 1,200 floor leaves a real cut of 1 − 1,200 ÷ 1,233 ≈ 3%, not 20% ✓
  • Edge: 60 g of net carbs is outside the 20–50 g keto range ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking cookies, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

How many carbs can I eat on keto?

Keto diets usually keep carbohydrate below about 50 g a day, and sometimes as low as 20 g. This calculator lets you pick from 20 to 50 g of net carbs.

How much protein should I eat on keto?

Keto keeps protein moderate. A common range is about 1.0 to 1.8 g per kg of body weight. More active people tend toward the higher end.

How are keto macros calculated?

Work out your calories, set carbs and protein, and give the rest to fat. For 1,607 kcal with 25 g carbs and 81.6 g protein, fat is (1,607 − 100 − 326.4) ÷ 9 = 131 g.

Is keto safe for people with diabetes?

It can change how much medicine you need and can cause low blood sugar, or ketoacidosis with some drugs such as SGLT2 inhibitors. Talk to your doctor before starting.

Do I have to hit my fat number?

Fat is what's left after carbs and protein. If you're losing weight as planned and feel full, eating a little less fat than the number is fine.

Related calculators