Keto Calculator

Find your daily keto macros: fat, protein, and net carb targets based on your metabolism and goal.

Last updated:

Your details and goal

Was this calculator helpful?

★ ★ ★ ★ ★
Embed this calculator

Calculation Examples

Calculation Case Result
Female, 35y, 165 cm, 70 kg, sedentary, weight loss goal TDEE approx. 1,675 kcal, target approx. 1,340 kcal: 20g net carbs, 85g protein, 102g fat
Male, 28y, 178 cm, 75 kg, moderately active, muscle gain goal TDEE approx. 2,680 kcal, target approx. 2,800 kcal: 45g net carbs, 140g protein, 229g fat
Female, 50y, 160 cm, 58 kg, lightly active, maintenance approx. 1,610 kcal: 25g net carbs, 90g protein, 127g fat
Mihail Doncenco
Mihail Doncenco Site Creator & Calculator Expert

Founder and developer of CalcMate. Builds and maintains every calculator on this site, focusing on formula accuracy and clear, practical results.

How to Use the Keto Calculator

Enter your age, sex, weight, and height. These give your Basal Metabolic Rate through the Mifflin-St Jeor equation. Then pick your activity level and your goal: weight loss, maintenance, or muscle gain. The calculator sets a calorie target and splits it across the three macronutrients.

The result gives daily targets in grams: net carbs capped at 20-50 g, protein set to protect lean mass, and fat filling the remaining calories. A typical split is about 70% of calories from fat, 25% from protein, and 5% from carbohydrate, but your gram targets depend on your total calories, not on the percentages alone. You can confirm ketosis with a blood ketone reading of 0.5 mmol/L or higher.

Net carbs are total carbohydrates minus fiber and sugar alcohols. If you are new to keto, start at 20 g net carbs per day and raise it in 5 g steps once ketone testing confirms you are in ketosis. People who take insulin or SGLT2 inhibitors, who are pregnant or breastfeeding, or who have kidney or liver disease should talk to a doctor before starting.

The Science Behind Keto Macro Calculations

The calculator estimates BMR with the Mifflin-St Jeor equation and multiplies by an activity factor to get TDEE. For weight loss it applies a deficit of 15-20% below TDEE, a pace that cuts fat without heavy muscle loss. For example, a woman at 165 cm and 70 kg, aged 35 and sedentary, has a TDEE of about 1,675 kcal and a target of about 1,340 kcal.

Protein is set between 1.2 and 2.2 g per kg of lean body mass, depending on training. This sits within the International Society of Sports Nutrition position stand (Jager et al., 2017), which gives 1.4-2.0 g per kg of body weight for people who exercise. Net carbs are fixed first, usually under 50 g per day, to deplete liver glycogen and start ketone production. Fat takes the remaining calories: \[\text{Target kcal} = \text{TDEE} \times (1 - d)\] \[\text{Fat (g)} = \frac{\text{Target kcal} - (\text{Protein (g)} \times 4 + \text{Net Carbs (g)} \times 4)}{9}\] where \(d\) is the deficit as a decimal, such as 0.20.

Keto macro breakdown chart showing fat, protein, and net carb distribution for ketosis

Useful Tips 💡

  • Track net carbs (total carbs minus fiber and sugar alcohols) rather than total carbs, so you can eat more vegetables within your limit.
  • Recalculate your macros every 5-7 kg lost, since a lighter body has a lower TDEE and the old targets become less accurate.

📋Steps to Calculate

  1. Enter your sex, age, height, and current weight.

  2. Select your activity level from sedentary to very active.

  3. Choose your goal: weight loss, maintenance, or muscle gain.

  4. Review your daily targets for net carbs, protein, and fat in grams.

Mistakes to Avoid ⚠️

  1. Cutting protein to save carb budget, which speeds up muscle loss during a deficit.
  2. Missing carbs in sauces, dressings, and processed keto snacks, where hidden sugars can add 5-15 g per serving.
  3. Eating unlimited fat because "keto has no calorie limit": a calorie surplus stops fat loss at any macro ratio.
  4. Not updating the calculator as weight changes, so the deficit shrinks until it disappears.

Practical Applications📊

  1. Find your daily net carb limit to stay in nutritional ketosis, usually 20-50 g.

  2. Recalculate after a plateau: after losing 5 kg, TDEE falls by roughly 60-95 kcal, so fat grams must fall too.

  3. Plan meals from exact gram targets: 85 g of protein and 102 g of fat on a 1,340 kcal day.

Questions and Answers

Do women need fewer net carbs than men on keto?

There is no solid evidence that women need a lower net carb limit than men, and individual variation is larger than any difference between the sexes. Some women start at 20-30 g because they are smaller and have lower calorie needs, which is a practical choice and not a rule. Body size, muscle mass, activity, and insulin sensitivity matter more than sex. Test ketones, then adjust your carbs in 5 g steps.

How many net carbs per day does it take to stay in ketosis?

Most adults reach and keep nutritional ketosis at 20-50 g of net carbs per day. Start at 20 g if you are a beginner or have insulin resistance. Active people can sometimes stay in ketosis at 50 g or a little above. Nutritional ketosis is usually defined as a blood ketone level of 0.5 mmol/L or higher, so a meter tells you more than a guess. The threshold differs between people because it depends on liver glycogen, muscle mass, and activity.

Should I count total carbs or net carbs on keto?

Count net carbs for most foods: \(\text{Net Carbs} = \text{Total Carbs} - \text{Fiber} - \text{Sugar Alcohols}\). Fiber is not digested in the small intestine and barely raises blood glucose. Erythritol also has a negligible glycemic effect. Maltitol is the exception: it has a glycemic index of roughly 35, so count about half of its grams as carbs. For processed keto products with unclear fiber blends, count total carbs to stay safe.

What are the best keto macros for weight loss?

A common starting point is 70-75% of calories from fat, 20-25% from protein, and 5% or less from net carbs. Gram targets matter more than percentages: on 1,600 kcal, 25% protein is 100 g, and on 2,400 kcal it is 150 g. A deficit of 15-20% below TDEE gives roughly 0.25-0.55 kg of fat loss per week for a TDEE between 1,700 and 3,000 kcal. Larger deficits raise hunger and muscle loss.

What formulas does the keto calculator use?

The calculator applies Mifflin-St Jeor: for men \(\text{BMR} = 10w + 6.25h - 5a + 5\) and for women \(\text{BMR} = 10w + 6.25h - 5a - 161\), where \(w\) is weight in kg, \(h\) is height in cm, and \(a\) is age. TDEE is \(\text{BMR} \times \text{activity factor}\). A deficit of 15-20% is applied for weight loss. Protein is 1.2-2.2 g per kg of lean mass depending on activity. Fat is: \[\text{Fat (g)} = \frac{\text{Target kcal} - (\text{Protein (g)} \times 4 + \text{Net Carbs (g)} \times 4)}{9}\]

What is a keto calculator and how does it work?

A keto calculator turns your calorie needs into daily gram targets for net carbs, protein, and fat. It estimates BMR with Mifflin-St Jeor, multiplies by an activity factor to get TDEE, and adjusts calories for your goal. It then fixes net carbs first at the ketogenic threshold, sets protein to protect lean mass, and gives the rest to fat. Without gram targets, most people overeat calories or miss hidden carbs.

Why am I not losing weight on keto?

The usual causes are a hidden calorie surplus from fat, carb creep from sauces and snacks, and macros that were never updated as weight dropped. Fat has 9 kcal per gram, so a few extra spoons of oil can add several hundred calories. Weigh and log your food for 3-5 days to find the gap. Then recalculate with your current weight: losing 5 kg lowers TDEE by roughly 60-95 kcal per day and slowly erodes the deficit.
Disclaimer: This calculator is designed to provide helpful estimates for informational purposes. While we strive for accuracy, financial (or medical) results can vary based on local laws and individual circumstances. We recommend consulting with a professional advisor for critical decisions.