Keto Macro Calculator
Calculate ketogenic diet macros from body stats, activity, and desired deficit or surplus. Enter values for instant results with step-by-step formulas.
Reviewed by Rahul Singh, Health & Wellness Specialist
Formula
TDEE = BMR x Activity Factor; Fat = Calories x 0.70 / 9; Protein = Calories x 0.25 / 4; Carbs = Calories x 0.05 / 4
BMR is calculated via the Mifflin-St Jeor equation, then multiplied by an activity factor. Target calories are adjusted for your goal (deficit or surplus). Macros are split into 70% fat, 25% protein, and 5% carbs, then converted from calories to grams using 9 cal/g for fat and 4 cal/g for protein and carbs.
Worked Examples
Example 1: Weight Loss Keto Macros
Problem:A 170 lb male, 5 ft 10 in, age 30, moderate activity, 20% body fat, wants to lose fat on keto.
Solution:BMR (Mifflin-St Jeor): 10 x 77.1 + 6.25 x 177.8 - 5 x 30 + 5 = 1,733 kcal\nTDEE: 1,733 x 1.55 = 2,686 kcal\nDeficit target: 2,686 - 500 = 2,186 kcal\nFat (70%): 2,186 x 0.70 / 9 = 170 g\nProtein (25%): 2,186 x 0.25 / 4 = 137 g\nNet carbs (5%): 2,186 x 0.05 / 4 = 27 g (cap at 25 g)
Result:Calories: 2,186 | Fat: 170g | Protein: 137g | Net Carbs: 25g
Example 2: Maintenance Keto Macros
Problem:A 140 lb female, 5 ft 5 in, age 28, lightly active, 25% body fat, wants to maintain weight on keto.
Solution:BMR: 10 x 63.5 + 6.25 x 165.1 - 5 x 28 - 161 = 1,367 kcal\nTDEE: 1,367 x 1.375 = 1,880 kcal\nFat (70%): 1,880 x 0.70 / 9 = 146 g\nProtein (25%): 1,880 x 0.25 / 4 = 118 g\nNet carbs (5%): 1,880 x 0.05 / 4 = 24 g
Result:Calories: 1,880 | Fat: 146g | Protein: 118g | Net Carbs: 24g
Frequently Asked Questions
How does activity level affect keto macro calculations?
Activity level significantly impacts your total daily energy expenditure and therefore your macro targets on a ketogenic diet. Sedentary individuals may need only 1,600 to 2,000 calories per day, while highly active people might require 2,500 to 3,500 or more. A higher activity level means more total calories and proportionally more grams of each macronutrient. Athletes and very active individuals may benefit from a targeted ketogenic diet that allows 25 to 50 grams of fast-digesting carbs around workouts. The calculator adjusts your TDEE using established activity multipliers based on the Mifflin-St Jeor equation to provide accurate macro targets.
Should I track total carbs or net carbs on keto?
Most keto practitioners track net carbs, which equals total carbohydrates minus dietary fiber and certain sugar alcohols. Fiber does not significantly raise blood sugar or insulin levels because it passes through the digestive system largely undigested. For example, an avocado has about 12 grams of total carbs but only 3 grams of net carbs after subtracting 9 grams of fiber. Keeping net carbs below 20 to 25 grams per day virtually guarantees ketosis for most people. Some individuals can remain in ketosis with up to 50 grams of net carbs, but starting with a stricter limit helps ensure you reach ketosis quickly.
What foods provide healthy fats for hitting keto macro targets?
High-quality fat sources for a ketogenic diet include avocados, olive oil, coconut oil, grass-fed butter, ghee, nuts and seeds, fatty fish like salmon and mackerel, and full-fat dairy products like cheese and cream. Medium-chain triglyceride oil is particularly beneficial because it converts to ketones more efficiently than long-chain fatty acids. It is important to prioritize monounsaturated and saturated fats from whole food sources while minimizing processed seed oils like soybean and canola oil. A diverse mix of fat sources ensures you receive essential fatty acids, fat-soluble vitamins, and other beneficial nutrients alongside your primary fuel source.
How does body fat percentage affect keto macro calculations?
Body fat percentage is used to calculate lean body mass, which directly influences your protein requirements on a ketogenic diet. Lean mass equals your total body weight minus fat mass, and protein recommendations are typically based on lean mass rather than total weight. For someone who weighs 200 pounds at 30 percent body fat, lean mass is 140 pounds, so protein needs would be roughly 98 to 140 grams per day. Without accounting for body fat percentage, an overweight individual might overconsume protein, while a very lean person might underconsume it. Accurate body fat estimation leads to more precise and effective macro targets.
References
Reviewed by Rahul Singh, Health & Wellness Specialist ยท Editorial policy