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 for accuracy by Rahul Singh, Health & Wellness Specialist
Medical disclaimer: This calculator is provided for educational and informational purposes only and does not constitute medical advice, diagnosis, or treatment. Results are general estimates and may not reflect your individual circumstances. Always consult a qualified healthcare professional before making decisions about your health.
Keto Macro Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: TDEE = BMR x Activity Factor; Fat = Calories x 0.70 / 9; Protein = Calories x 0.25 / 4; Carbs = Calories x 0.05 / 4
Worked example โ Calories: 2,186 | Fat: 170g | Protein: 137g | Net Carbs: 25g
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 TDEE: 1,733 x 1.55 = 2,686 kcal Deficit target: 2,686 - 500 = 2,186 kcal Fat (70%): 2,186 x 0.70 / 9 = 170 g Protein (25%): 2,186 x 0.25 / 4 = 137 g Net 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 TDEE: 1,367 x 1.375 = 1,880 kcal Fat (70%): 1,880 x 0.70 / 9 = 146 g Protein (25%): 1,880 x 0.25 / 4 = 118 g Net carbs (5%): 1,880 x 0.05 / 4 = 24 g
Result:Calories: 1,880 | Fat: 146g | Protein: 118g | Net Carbs: 24g
Frequently Asked Questions
What are the ideal macronutrient ratios for a ketogenic diet?
The standard ketogenic diet typically follows a macronutrient ratio of approximately 70 to 75 percent of calories from fat, 20 to 25 percent from protein, and only 5 to 10 percent from carbohydrates. This translates to roughly 20 to 50 grams of net carbohydrates per day for most people. The high fat intake is essential because fat becomes your primary fuel source when carbohydrates are restricted enough to induce ketosis. Protein should be moderate rather than excessive, as too much protein can be converted to glucose through gluconeogenesis, potentially interfering with ketone production.
How long does it take to enter ketosis after starting a keto diet?
Most people enter nutritional ketosis within 2 to 7 days of restricting carbohydrates to fewer than 20 to 50 grams per day. The timeline depends on several factors including your previous diet, activity level, metabolic rate, and individual physiology. During the initial transition period, many people experience what is commonly called the keto flu, which can include symptoms like fatigue, headache, irritability, and brain fog. These symptoms typically subside within a week as your body adapts to using ketones for fuel. Full fat adaptation, where your body efficiently burns fat for energy, can take 4 to 12 weeks.
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.
Why is protein intake important on a ketogenic diet?
Protein plays a critical role in a ketogenic diet because it preserves lean muscle mass, supports immune function, and contributes to satiety. The recommended intake is typically 0.7 to 1.0 grams per pound of lean body mass. Consuming too little protein can lead to muscle loss, weakened immunity, and poor recovery from exercise. Conversely, consuming excessive protein can potentially trigger gluconeogenesis, where the body converts amino acids into glucose, which may reduce ketone production. Finding the right balance is essential for maximizing the benefits of ketosis while maintaining your lean body mass and overall health.
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.
Can I build muscle while on a ketogenic diet?
Building muscle on a ketogenic diet is possible but requires careful attention to protein intake and caloric surplus. Research shows that once fully fat-adapted, individuals can maintain and even build lean mass on keto. The key is consuming adequate protein at 0.8 to 1.0 grams per pound of lean mass and maintaining a slight caloric surplus of 200 to 300 calories above maintenance. Resistance training should remain progressive, focusing on compound movements and progressive overload. Some athletes use a cyclical ketogenic diet, incorporating higher carb days around intense training sessions, to optimize muscle glycogen replenishment and performance.
How should I adjust my keto macros for weight loss versus maintenance?
For weight loss on keto, you typically create a caloric deficit of 300 to 500 calories below your total daily energy expenditure. This deficit primarily comes from reducing fat intake while keeping protein and carbs relatively stable. For maintenance, you eat at your calculated TDEE with standard keto macro ratios. The protein target stays roughly the same in both scenarios because preserving lean mass is important regardless of your goal. If weight loss stalls, you can increase the deficit slightly, add intermittent fasting, or increase physical activity. Tracking your macros carefully during the first few months helps establish good habits and accurate portion awareness.
What is the difference between standard keto and other keto variations?
The standard ketogenic diet maintains consistent macro ratios of roughly 70 percent fat, 25 percent protein, and 5 percent carbs every day. The targeted ketogenic diet allows 25 to 50 grams of additional carbohydrates around workouts and is popular among athletes. The cyclical ketogenic diet involves 5 to 6 days of strict keto followed by 1 to 2 days of higher carb intake to refill muscle glycogen stores. The high-protein ketogenic diet increases protein to 30 to 35 percent while reducing fat to 60 to 65 percent, which can be better for preserving muscle during aggressive fat loss phases. Each variation suits different lifestyles and fitness goals.
References
Reviewed for accuracy by Rahul Singh, Health & Wellness Specialist ยท Editorial policy
Related Calculators
๐ฑPlant-Based Protein Macro Planner
Calculate optimal plant protein intake with complete amino acid combinations
๐งฎKeto Calculator
Calculate keto with inputs, formulas, and instant results.
๐งฎMeal Prep Macro Calculator
Calculate macros for weekly meal prep containers from target daily intake and meal count.
๐งฎAddiction Calculator
Calculate addiction with inputs, formulas, and instant results.
๐งฎAlcohol Unit Calculator
Calculate alcohol unit with inputs, formulas, and instant results.
๐งฎAUDIT-C Calculator
Calculate audit ccalculator with inputs, formulas, and instant results.
๐งฎAUDIT Full Questionnaire Calculator
Calculate auditfull questionnaire with inputs, formulas, and instant results.
๐งฎAUDIT Score Calculator
Calculate audit score with inputs, formulas, and instant results.