healthsciencecalculator.get_bmr =============================== .. py:module:: healthsciencecalculator.get_bmr Functions --------- .. autoapisummary:: healthsciencecalculator.get_bmr.get_bmr Module Contents --------------- .. py:function:: get_bmr(weight: float, height: float, age: int, sex: str) -> float Computes Basal Metabolic Rate (BMR) using the Harris-Benedict equation. The BMR is an estimate of the number of calories your body needs to perform basic life-sustaining functions, such as breathing, circulation, and cell production. :param weight: Weight of the individual in kilograms. :type weight: float :param height: Height of the individual in centimeters. :type height: float :param age: Age of the individual in years. :type age: int :param sex: Biological sex of the individual. Accepted values are "male" or "female". :type sex: str :returns: The estimated BMR value in calories per day. :rtype: float .. rubric:: Notes The Harris-Benedict equation is used to calculate BMR: - For males: BMR = 88.362 + (13.397 * weight) + (4.799 * height) - (5.677 * age) - For females: BMR = 447.593 + (9.247 * weight) + (3.098 * height) - (4.330 * age) .. rubric:: Examples >>> get_bmr(70, 175, 25, "male") 1668.872 >>> get_bmr(60, 165, 30, "female") 1392.247