Calculate My Base Metabolic Rate

.bmr-calculator-container { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; max-width: 800px; margin: 0 auto; background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); } .bmr-calculator-wrapper { background-color: #f7f9fc; padding: 25px; border-radius: 8px; border: 1px solid #e2e8f0; margin-bottom: 40px; } .bmr-header { text-align: center; margin-bottom: 25px; color: #2d3748; } .form-group { margin-bottom: 15px; } .form-row { display: flex; gap: 15px; flex-wrap: wrap; } .col-half { flex: 1; min-width: 200px; } label { display: block; margin-bottom: 5px; font-weight: 600; color: #4a5568; font-size: 0.95em; } input[type="number"], select { width: 100%; padding: 10px; border: 1px solid #cbd5e0; border-radius: 4px; font-size: 16px; box-sizing: border-box; transition: border-color 0.2s; } input[type="number"]:focus, select:focus { border-color: #4299e1; outline: none; box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2); } .radio-group { display: flex; gap: 20px; margin-top: 5px; } .radio-label { font-weight: normal; display: flex; align-items: center; gap: 5px; cursor: pointer; } .calc-btn { width: 100%; padding: 12px; background-color: #48bb78; color: white; border: none; border-radius: 4px; font-size: 18px; font-weight: bold; cursor: pointer; margin-top: 10px; transition: background-color 0.2s; } .calc-btn:hover { background-color: #38a169; } .results-box { margin-top: 25px; background-color: #fff; padding: 20px; border-radius: 6px; border-left: 5px solid #48bb78; display: none; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } .result-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #edf2f7; } .result-row:last-child { border-bottom: none; } .result-label { font-weight: 600; color: #2d3748; } .result-value { font-size: 1.2em; font-weight: 700; color: #2f855a; } .result-sub { font-size: 0.85em; color: #718096; margin-top: 2px; } .bmr-content { color: #2d3748; line-height: 1.6; } .bmr-content h2 { color: #2c5282; margin-top: 30px; } .bmr-content h3 { color: #2b6cb0; } .bmr-content ul { margin-bottom: 20px; padding-left: 20px; } .bmr-content li { margin-bottom: 8px; } .unit-toggle { background: #edf2f7; padding: 5px; border-radius: 6px; display: inline-flex; margin-bottom: 15px; } .unit-btn { padding: 6px 15px; border: none; background: none; cursor: pointer; border-radius: 4px; font-size: 14px; font-weight: 600; color: #718096; } .unit-btn.active { background: white; color: #2d3748; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }

Base Metabolic Rate (BMR) Calculator

Calculate your daily caloric needs based on your body metrics.

Sedentary (Little to no exercise) Lightly Active (Exercise 1-3 days/week) Moderately Active (Exercise 3-5 days/week) Very Active (Exercise 6-7 days/week) Extra Active (Very hard exercise/physical job)
Base Metabolic Rate (BMR)
Calories burned at complete rest
0 kcal
Total Daily Energy Expenditure (TDEE)
Calories needed to maintain current weight
0 kcal

What is Base Metabolic Rate (BMR)?

Your Base Metabolic Rate (BMR) is the number of calories your body burns while performing basic life-sustaining functions. Even when you are resting completely, your body needs energy for breathing, circulating blood, controlling body temperature, cell growth, and brain and nerve function.

Think of BMR as the absolute minimum amount of energy your body requires to survive if you were to stay in bed all day without moving. It accounts for about 60% to 75% of the total calories you burn every day.

How BMR is Calculated

This calculator uses the Mifflin-St Jeor Equation, which is widely considered the most accurate formula for calculating BMR. The formula takes into account your gender, weight, height, and age.

The Formulas:

  • Men: (10 × weight in kg) + (6.25 × height in cm) – (5 × age in years) + 5
  • Women: (10 × weight in kg) + (6.25 × height in cm) – (5 × age in years) – 161

Understanding TDEE vs. BMR

While BMR tells you what your body burns at rest, your Total Daily Energy Expenditure (TDEE) tells you how many calories you burn in a day when you factor in your activity level. This calculator determines your TDEE by multiplying your BMR by an activity factor ranging from 1.2 (sedentary) to 1.9 (extremely active).

How to Use These Numbers

  • To Maintain Weight: Consume calories equal to your TDEE.
  • To Lose Weight: Consume fewer calories than your TDEE (a deficit of 500 calories/day usually results in 1 lb of weight loss per week).
  • To Gain Weight: Consume more calories than your TDEE.

Factors Affecting BMR

Several variables influence your base metabolic rate:

  • Muscle Mass: Muscle tissue burns more calories at rest than fat tissue. The more muscle you have, the higher your BMR.
  • Age: BMR generally decreases with age as muscle mass tends to diminish.
  • Gender: Men typically have a higher BMR than women due to higher muscle mass and larger body size.
  • Genetics: Some people naturally have a faster or slower metabolism.
function setUnits(unit) { var metricInputs = document.getElementById('metric-inputs'); var imperialInputs = document.getElementById('imperial-inputs'); var btnMetric = document.getElementById('btn-metric'); var btnImperial = document.getElementById('btn-imperial'); var unitSystem = document.getElementById('unitSystem'); unitSystem.value = unit; if (unit === 'metric') { metricInputs.style.display = 'flex'; imperialInputs.style.display = 'none'; btnMetric.className = 'unit-btn active'; btnImperial.className = 'unit-btn'; } else { metricInputs.style.display = 'none'; imperialInputs.style.display = 'flex'; btnMetric.className = 'unit-btn'; btnImperial.className = 'unit-btn active'; } } function calculateBMR() { // Inputs var age = parseInt(document.getElementById('age').value); var genderElements = document.getElementsByName('gender'); var gender = 'male'; for (var i = 0; i < genderElements.length; i++) { if (genderElements[i].checked) { gender = genderElements[i].value; } } var activityLevel = parseFloat(document.getElementById('activityLevel').value); var unitSystem = document.getElementById('unitSystem').value; // Validation variables var weightKg = 0; var heightCm = 0; var isValid = true; // Validation Check if (!age || age 120) { alert("Please enter a valid age."); return; } if (unitSystem === 'metric') { var w = parseFloat(document.getElementById('weightKg').value); var h = parseFloat(document.getElementById('heightCm').value); if (!w || !h) { alert("Please enter valid weight and height."); return; } weightKg = w; heightCm = h; } else { var wLbs = parseFloat(document.getElementById('weightLbs').value); var hFt = parseFloat(document.getElementById('heightFt').value); var hIn = parseFloat(document.getElementById('heightIn').value); // Handle empty inches as 0 if feet is provided if (isNaN(hIn)) hIn = 0; if (!wLbs || isNaN(hFt)) { alert("Please enter valid weight and height."); return; } // Conversion // 1 lb = 0.453592 kg weightKg = wLbs * 0.453592; // 1 ft = 30.48 cm, 1 in = 2.54 cm heightCm = (hFt * 30.48) + (hIn * 2.54); } // Mifflin-St Jeor Equation // Men: (10 × weight in kg) + (6.25 × height in cm) – (5 × age in years) + 5 // Women: (10 × weight in kg) + (6.25 × height in cm) – (5 × age in years) – 161 var bmr = 0; if (gender === 'male') { bmr = (10 * weightKg) + (6.25 * heightCm) – (5 * age) + 5; } else { bmr = (10 * weightKg) + (6.25 * heightCm) – (5 * age) – 161; } // Calculate TDEE var tdee = bmr * activityLevel; // Display Results document.getElementById('result').style.display = 'block'; document.getElementById('bmrValue').innerHTML = Math.round(bmr).toLocaleString() + " kcal/day"; document.getElementById('tdeeValue').innerHTML = Math.round(tdee).toLocaleString() + " kcal/day"; // Scroll to result on mobile document.getElementById('result').scrollIntoView({behavior: 'smooth', block: 'nearest'}); }

Leave a Comment