Ask the user for missing required data before calculating:
Activity level is optional. Ask for it only when the user wants estimated daily maintenance calories (TDEE). If activity level is missing, calculate BMR and BMI first, then say TDEE needs activity level.
BMR = 10 weight_kg + 6.25 height_cm - 5 * age + 5BMR = 10 weight_kg + 6.25 height_cm - 5 * age - 161BMI = weight_kg / (height_m * height_m)< 18.5: 偏瘦18.5 - 23.9: 正常24.0 - 27.9: 超重>= 28.0: 肥胖< 18.5: Underweight18.5 - 24.9: Normal25.0 - 29.9: Overweight>= 30.0: ObesityBMR * 1.2BMR * 1.375BMR * 1.55BMR * 1.725BMR * 1.9Return the result in Chinese when the user writes in Chinese. Keep the response direct and include:
免责声明:以上结果仅基于通用公式估算,用于健康管理参考,不能替代医生、营养师或其他专业医疗建议。Disclaimer: These results are estimates from general formulas for health-management reference only and do not replace advice from a physician, dietitian, or other qualified health professional.If any required input is missing, do not invent it. Ask a concise follow-up question listing only the missing fields.
For a 30-year-old male, 75 kg, 175 cm:
1075 + 6.25175 - 5*30 + 5 = 1699 kcal/day75 / 1.75^2 = 24.5共 1 个版本