# Calorie Calculator ## Overview A tool to calculate daily calorie needs (TDEE) and macronutrient split based on personal metrics and activity level. ## Features - Calculate Basal Metabolic Rate (BMR) using Mifflin-St Jeor formula - Calculate Total Daily Energy Expenditure (TDEE) based on activity level - Generate calorie goals for different objectives (maintain, lose, gain weight) - Calculate macronutrient split (protein, carbs, fat) at maintenance calories ## Inputs - Gender (Male/Female) - Age (15-120 years) - Height (100-250 cm) - Weight (30-300 kg) - Activity Level (Sedentary, Light, Moderate, Active, Very Active) ## Outputs - BMR: Basal Metabolic Rate (calories burned at rest) - TDEE: Total Daily Energy Expenditure (calories burned with activity) - Calorie Goals: 6 different calorie targets for various weight change objectives - Macronutrient Split: Grams of protein, carbs, and fat at maintenance ## Formula Uses the Mifflin-St Jeor equation: - Male: BMR = 10 × weight(kg) + 6.25 × height(cm) - 5 × age + 5 - Female: BMR = 10 × weight(kg) + 6.25 × height(cm) - 5 × age - 161 - TDEE = BMR × Activity Multiplier ## Use Cases - Fitness planning and nutrition tracking - Weight loss or gain goal setting - Calorie deficit/surplus calculation - Macronutrient planning for diet