Keto Calculator
Daily calories and keto macros in grams: a net-carb limit, protein based on your lean body mass, and fat for the rest, for weight loss, maintenance or gain
Optional: makes protein and calories more accurate
20–30 g is typical for staying in ketosis; up to 50 g for a looser low-carb diet
Based on lean body mass (your weight without fat), not total weight
Calories per day
Fat
Protein
Net carbs
How keto macros are calculated
A ketogenic (keto) diet keeps carbohydrates so low, typically 20–30 g of net carbs a day, that the body switches to burning fat and producing ketones for energy. Net carbs are total carbohydrates minus fibre (and minus sugar alcohols such as erythritol); in the EU and many other countries food labels already list carbohydrates without fibre, so the label value is close to net carbs.
This calculator first estimates your daily calorie needs: BMR (basal metabolic rate, what your body burns at rest) times your activity level gives your TDEE (total daily energy expenditure), adjusted for your goal. Protein is set from your lean body mass so it supports muscle without being excessive, carbs are your chosen limit, and the remaining calories come from fat.
Prefer percentage splits for other diets? Use the Macro Calculator →
General guidance for healthy adults, not medical advice. Talk to a doctor before starting keto if you take diabetes or blood-pressure medication, are pregnant or breastfeeding, or have kidney, liver or gallbladder problems.