Keto Calculator

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

Your details and goal

Was this calculator helpful?

4.7/5 (16 votes)

Calculation Examples

Calculation Case Result
Female, 35y, sedentary, weight loss goal approx. 1,350 kcal: 20g net carbs, 85g protein, 103g fat
Male, 28y, active, muscle gain goal approx. 2,800 kcal: 45g net carbs, 180g protein, 210g fat
Female, 50y, lightly active, maintenance approx. 1,600 kcal: 25g net carbs, 90g protein, 125g fat

How to Use the Keto Calculator

Enter your age, sex, weight, and height. These inputs establish your Basal Metabolic Rate using the Mifflin-St Jeor equation. Then select your activity level and your primary goal: weight loss, maintenance, or muscle gain. The calculator adjusts your calorie target accordingly and distributes those calories across the three macronutrients.

The result shows your daily targets in grams: net carbs capped at 20-50g depending on your metabolic profile, protein set to protect lean mass, and fat making up the remaining calorie budget. Most people in nutritional ketosis aim for roughly 70% of calories from fat, 25% from protein, and 5% from carbohydrates, though the exact gram amounts depend on your total calorie needs rather than the percentages alone.

Net carbs are calculated as total carbohydrates minus dietary fiber and sugar alcohols, since neither raises blood glucose or insulin enough to disrupt ketosis in most people. If you are new to keto, start at 20g net carbs per day and adjust upward by 5g increments once you have confirmed ketosis through ketone testing.

The Science Behind Keto Macro Calculations

The calculator uses the Mifflin-St Jeor equation to estimate BMR, then multiplies by an activity factor to produce TDEE. A deficit is applied for weight loss: typically 15-20% below TDEE for sustainable fat loss without significant muscle catabolism.

Protein is set at 1.2-1.7g per kilogram of lean body mass for sedentary to moderately active individuals, and up to 2.2g/kg for those doing regular resistance training. This range is consistent with recommendations from the International Society of Sports Nutrition (ISSN) for preserving lean mass during a calorie deficit. Net carbs are fixed first at the threshold needed to deplete liver glycogen and induce hepatic ketogenesis, typically under 50g per day. Fat fills the remaining calorie requirement: \[\text{Fat (g)} = \frac{\text{TDEE} \times \text{Deficit} - (\text{Protein (g)} \times 4 + \text{Net Carbs (g)} \times 4)}{9}\]

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 to allow more vegetables without exceeding your threshold.
  • Recalculate your macros every 5-7 kg of weight loss, since a lighter body has a lower TDEE and the original targets become progressively 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. Setting protein too low to save carb budget, which accelerates muscle loss during a calorie deficit.
  2. Underestimating carbs from sauces, dressings, and processed keto-branded snacks, where hidden sugars commonly add 5-15g per serving.
  3. Eating unrestricted fat assuming keto has no calorie ceiling: a calorie surplus prevents fat loss regardless of macronutrient ratios.
  4. Not updating the calculator as body weight changes, which causes the calculated deficit to shrink and eventually disappear.

Practical Applications📊

  1. Find your precise daily net carb limit to maintain nutritional ketosis.

  2. Adjust keto macros after a weight loss plateau by recalculating with your updated body weight.

  3. Plan meals using exact gram targets for fat and protein rather than estimating by feel.

Questions and Answers

What is a keto calculator and how does it work?

A keto calculator estimates the daily gram targets for fat, protein, and net carbohydrates needed to achieve and maintain nutritional ketosis based on your individual TDEE and goals. It starts with the Mifflin-St Jeor equation to find your BMR, applies an activity multiplier to get TDEE, sets a calorie target based on your goal, and then distributes those calories: carbs are fixed first at the ketogenic threshold, protein is set to protect lean mass, and fat covers the remainder. Without accurate macro targets, most people either overconsume protein (which can raise insulin via gluconeogenesis) or underestimate hidden carbs.

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

Most adults enter and maintain nutritional ketosis at 20-50g of net carbs per day. The lower end (20g) is reliable for beginners and people with insulin resistance. Metabolically flexible individuals who exercise regularly can sometimes sustain ketosis at 50g or slightly above. Net carbs are calculated as total carbohydrates minus dietary fiber and sugar alcohols. The threshold varies because ketosis depends on liver glycogen depletion, which is influenced by muscle mass, activity level, and individual carbohydrate metabolism rather than a single universal cutoff.

What formulas does the keto calculator use?

The calculator applies the Mifflin-St Jeor equation: 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 then \(\text{BMR} \times \text{activity factor}\). A deficit of 15-20% is applied for weight loss. Protein is set at 1.2-2.2g per kg of lean mass depending on activity. Fat is derived as: \[\text{Fat (g)} = \frac{\text{Target Calories} - (\text{Protein (g)} \times 4 + \text{Net Carbs (g)} \times 4)}{9}\]

Do women need fewer net carbs than men on keto?

Women often start with a slightly lower net carb threshold (20-35g per day) compared to men at the same activity level, partly because lower average muscle mass means smaller glycogen stores that deplete more quickly. Hormonal fluctuations across the menstrual cycle can also affect insulin sensitivity and ketone production, with some women finding ketosis easier to maintain in the follicular phase than the luteal phase. These are population-level tendencies rather than rigid rules: body composition, activity, and metabolic health matter more than sex alone when setting the individual carb threshold.

What are the best keto macros for weight loss?

A common starting point for keto weight loss is 70-75% of calories from fat, 20-25% from protein, and 5% or less from net carbs. However, gram targets matter more than percentages in practice. On a 1,600-calorie deficit, 25% protein equals 100g, which adequately protects lean mass. On a 2,400-calorie maintenance intake, 25% protein equals 150g, which is appropriate for an active person. A 15-20% calorie deficit below TDEE is the standard range for sustainable fat loss, producing roughly 0.5-0.75 kg per week without triggering the aggressive adaptive thermogenesis associated with larger deficits.

Should I count total carbs or net carbs on keto?

Track net carbs for most foods: \(\text{Net Carbs} = \text{Total Carbs} - \text{Fiber} - \text{Sugar Alcohols}\). Dietary fiber is not absorbed in the small intestine and does not raise blood glucose or stimulate insulin in meaningful amounts. Most sugar alcohols (erythritol in particular) have a similarly negligible glycemic impact. The exception is maltitol, which has a glycemic index of roughly 35 and should be counted at approximately half its carbohydrate value. For whole, unprocessed foods, net carb counting works well. For processed keto products with complex fiber blends, total carb counting is a more conservative and reliable approach.

Why am I not losing weight on keto?

The most common causes are a hidden calorie surplus from fat overconsumption, carb creep from unlabeled or underestimated sources, and failure to recalculate macros as body weight drops. Fat contains 9 calories per gram, so portions that seem modest can add several hundred calories quickly. Studies on ad-libitum ketogenic diets show that appetite suppression is real but not unlimited. A food tracking audit for 3-5 days typically reveals where the surplus is coming from. If intake looks accurate, recalculate TDEE with your current weight, since losing 5 kg lowers TDEE by roughly 80-120 calories per day and gradually 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.