Basal Resting Metabolic Rate Calculator

Basal Resting Metabolic Rate (BRM) Calculator

Your Basal Resting Metabolic Rate (BRM) is the minimum amount of energy your body needs to function at rest. This includes essential processes like breathing, circulation, cell production, and nutrient processing. Understanding your BRM can help you tailor your diet and exercise for weight management and overall health. This calculator uses the Mifflin-St Jeor equation, which is widely considered one of the most accurate formulas for estimating BRM.

Male Female

Your Estimated Basal Resting Metabolic Rate:

(Calories per day)

How is BRM Calculated?

The Mifflin-St Jeor equation is used for this calculation. It is as follows:

  • For Men: BRM = (10 × weight in kg) + (6.25 × height in cm) – (5 × age in years) + 5
  • For Women: BRM = (10 × weight in kg) + (6.25 × height in cm) – (5 × age in years) – 161
This formula provides an estimate of the calories your body burns at rest to maintain basic life functions.

function calculateBrm() { var gender = document.getElementById("gender").value; var weightKg = parseFloat(document.getElementById("weightKg").value); var heightCm = parseFloat(document.getElementById("heightCm").value); var age = parseFloat(document.getElementById("age").value); var brmResultValue = document.getElementById("brmResultValue"); if (isNaN(weightKg) || isNaN(heightCm) || isNaN(age) || weightKg <= 0 || heightCm <= 0 || age <= 0) { brmResultValue.innerHTML = "Please enter valid positive numbers for all fields."; return; } var brm = 0; if (gender === "male") { brm = (10 * weightKg) + (6.25 * heightCm) – (5 * age) + 5; } else { // female brm = (10 * weightKg) + (6.25 * heightCm) – (5 * age) – 161; } // Ensure BRM is not negative (though unlikely with positive inputs) if (brm < 0) { brm = 0; } brmResultValue.innerHTML = brm.toFixed(2); }
.brbm-calculator-container { font-family: sans-serif; border: 1px solid #ddd; padding: 20px; border-radius: 8px; max-width: 600px; margin: 20px auto; background-color: #f9f9f9; } .brbm-calculator-container h2 { text-align: center; color: #333; margin-bottom: 15px; } .brbm-calculator-container p { color: #555; line-height: 1.6; margin-bottom: 20px; } .calculator-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 20px; } .input-group { display: flex; flex-direction: column; } .input-group label { margin-bottom: 5px; font-weight: bold; color: #444; } .input-group input[type="number"], .input-group select { padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 16px; } .input-group select { background-color: white; } .brbm-calculator-container button { display: block; width: 100%; padding: 12px 20px; background-color: #007bff; color: white; border: none; border-radius: 5px; font-size: 18px; cursor: pointer; transition: background-color 0.3s ease; margin-bottom: 20px; } .brbm-calculator-container button:hover { background-color: #0056b3; } #result { text-align: center; background-color: #e9ecef; padding: 15px; border-radius: 5px; border: 1px solid #dee2e6; } #result h3 { margin-top: 0; color: #333; font-size: 1.2em; margin-bottom: 10px; } #brmResultValue { font-size: 2em; font-weight: bold; color: #28a745; margin-bottom: 5px; } #brmUnits { font-size: 0.9em; color: #6c757d; margin-top: 0; } #calculationExplanation { margin-top: 30px; border-top: 1px dashed #ccc; padding-top: 20px; } #calculationExplanation h3 { color: #333; margin-bottom: 10px; } #calculationExplanation p { font-size: 0.95em; color: #555; } #calculationExplanation ul { list-style-type: disc; padding-left: 20px; } #calculationExplanation li { margin-bottom: 8px; }

Leave a Comment