Skip to main content

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.

Skip to calculator
Medicine & Health

Keto Macro Calculator

Calculate your ideal ketogenic diet macronutrient ratios based on body stats, activity level, and weight goals. Get personalized fat, protein, and carb targets for keto.

Last updated: January 2026Reviewed by NovaCalculator Medical Editorial Team

Calculator

Adjust values & calculate
Daily Keto Calories
2193 kcal
BMR: 1737 | TDEE: 2693
Fat (70%)
171g
1535 kcal
Protein (25%)
137g
548 kcal
Net Carbs (5%)
25g
110 kcal
Lean Body Mass
136 lbs
Protein per lb Lean Mass
1.01 g/lb
Note: These macros are estimates based on standard ketogenic ratios. Individual needs may vary. Consult a healthcare provider before starting any restrictive diet, especially if you have medical conditions.
Your Result
Calories: 2193 | Fat: 171g | Protein: 137g | Net Carbs: 25g
Share Your Result
Understand the Math

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.

Last reviewed: January 2026

Worked Examples

Example 1: Weight Loss Keto Macros

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

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
Expert Insights

Background & Theory

The Keto Macro Calculator applies the following established principles and formulas. Health and medicine calculators are grounded in validated physiological measurement methods established through decades of clinical research. Body Mass Index, or BMI, is calculated by dividing weight in kilograms by height in meters squared (kg/mยฒ), a formula originating from Adolphe Quetelet's 19th-century statistical work and later codified by the WHO into standard classifications: underweight below 18.5, normal weight 18.5 to 24.9, overweight 25 to 29.9, and obese at 30 and above. Basal Metabolic Rate quantifies the minimum energy required to sustain life at rest. The Mifflin-St Jeor equation, published in 1990 and widely regarded as the most accurate for most adults, calculates BMR as (10 ร— weight in kg) + (6.25 ร— height in cm) โˆ’ (5 ร— age) ยฑ sex adjustment. The older Harris-Benedict equations, revised in 1984 by Roza and Shizgal, remain in common use. Total Daily Energy Expenditure is derived by multiplying BMR by a physical activity factor ranging from 1.2 for sedentary individuals to 1.9 for extremely active ones, following the methodology validated by doubly labeled water studies. Body fat percentage can be estimated without laboratory equipment using the U.S. Navy circumference method, which uses neck, waist, and hip measurements, or via BMI-derived equations adjusted for age and sex. The Jackson-Pollock skinfold method offers higher precision with calipers. Blood pressure classification, according to the American College of Cardiology and the 2017 ACC/AHA guidelines, defines normal as below 120/80 mmHg, elevated as 120 to 129 systolic, and hypertension stage 1 as 130 to 139 systolic or 80 to 89 diastolic. Target heart rate zones for aerobic exercise are derived from maximum heart rate estimates, most commonly using the formula 220 minus age in years, with moderate-intensity training typically defined as 50 to 70 percent of maximum heart rate and vigorous intensity at 70 to 85 percent, consistent with CDC and American Heart Association guidelines. These thresholds guide safe and effective cardiovascular conditioning.

History

The history behind the Keto Macro Calculator traces back through the following developments. The history of health measurement stretches back to ancient Greece, where Hippocrates around 400 BCE laid the foundation for observational medicine by systematically recording patient symptoms, diet, and environment. His humoral theory, though scientifically superseded, established the principle that the body operates as an interconnected system subject to measurable imbalance. The transformation toward modern medicine accelerated in the 19th century. Louis Pasteur and Robert Koch developed germ theory in the 1860s and 1870s, identifying microorganisms as disease agents and enabling targeted interventions. Florence Nightingale, working during the Crimean War in the 1850s, introduced statistical analysis to nursing practice, demonstrating through data visualization that sanitation reduced mortality. Her work is foundational to evidence-based health measurement. The discovery of vitamins in the early 20th century, beginning with Casimir Funk's coinage of the term in 1912 and culminating in the isolation of vitamins A through K, created the field of nutritional science and gave rise to dietary reference intake frameworks. The World Health Organization, founded in 1948, subsequently established global standards for health metrics, disease classification through the International Classification of Diseases, and recommended daily allowances. The BMI as a clinical screening tool gained traction in the 1970s through Ancel Keys' large-scale epidemiological work, which validated Quetelet's index as a population-level obesity indicator. Through the 1980s and 1990s, the Framingham Heart Study produced landmark data linking cholesterol, blood pressure, and lifestyle factors to cardiovascular disease risk, directly shaping the numeric thresholds still used in health calculators. The evidence-based medicine movement, formalized by Gordon Guyatt and colleagues at McMaster University in the early 1990s, demanded that all health recommendations derive from systematically graded clinical evidence. The digital health era beginning in the 2000s brought these formulas to consumer devices, wearable sensors, and smartphone applications, expanding access to health self-monitoring on a global scale and enabling population-level data collection that continues to refine clinical reference ranges.

Key Features

  • Scale any recipe up or down to an exact target serving count, recalculating every ingredient proportionally including small quantities like spices and leavening agents.
  • Convert cooking temperatures between Fahrenheit and Celsius for any oven type, and apply altitude adjustment corrections for baking at elevations above 3,500 feet.
  • Convert liquid and dry ingredients between volume units (cups, tablespoons, millilitres) and weight units (grams, ounces) using ingredient-specific density values for accurate results.
  • Calculate total calories, protein, carbohydrates, and fat per serving for any recipe by entering ingredient amounts and counts, useful for meal planning and dietary tracking.
  • Compute baker's percentage dough hydration for bread, pizza, and pastry recipes, letting you adjust water content to target specific crumb textures and dough handling characteristics.
  • Score food and wine pairing compatibility by comparing acidity, sweetness, tannin, and weight attributes, giving a numerical match rating for any dish and wine combination.
  • Look up and apply common baking substitution ratios such as buttermilk for milk, applesauce for oil, or flax egg for whole egg, including any quantity adjustments required.
  • Convert roasting and baking temperatures between conventional ovens, fan-assisted ovens, and gas mark settings, ensuring correct heat levels when following recipes from different regions.

Share this calculator

Explore More

Frequently Asked Questions

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.
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.
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.
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.
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.
You may use the results for reference and educational purposes. For professional reports, academic papers, or critical decisions, we recommend verifying outputs against peer-reviewed sources or consulting a qualified expert in the relevant field.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings.Reviewed by: NovaCalculator Medical Editorial Team โ€” Reviewed against WHO, NIH, and peer-reviewed clinical sources. Last reviewed: January 2026. ยฉ 2024โ€“2026 NovaCalculator.

Share this calculator

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.

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.

How accurate are the results from Keto Macro Calculator?

All calculations use established mathematical formulas and are performed with high-precision arithmetic. Results are accurate to the precision shown. For critical decisions in finance, medicine, or engineering, always verify results with a qualified professional.

References

Reviewed by Rahul Singh, Health & Wellness Specialist ยท Editorial policy