Formula to Calculate Maximum Heart Rate

.mhr-calculator-container { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; max-width: 800px; margin: 0 auto; padding: 20px; background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .mhr-header { text-align: center; margin-bottom: 25px; color: #2d3748; } .mhr-input-group { margin-bottom: 20px; } .mhr-label { display: block; margin-bottom: 8px; font-weight: 600; color: #4a5568; } .mhr-input, .mhr-select { width: 100%; padding: 12px; border: 1px solid #cbd5e0; border-radius: 6px; font-size: 16px; box-sizing: border-box; transition: border-color 0.2s; } .mhr-input:focus, .mhr-select:focus { border-color: #e53e3e; outline: none; box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.2); } .mhr-btn { width: 100%; background-color: #e53e3e; color: white; padding: 14px; border: none; border-radius: 6px; font-size: 18px; font-weight: 700; cursor: pointer; transition: background-color 0.2s; } .mhr-btn:hover { background-color: #c53030; } .mhr-result-container { margin-top: 30px; padding: 20px; background-color: #fff5f5; border-radius: 8px; border-left: 5px solid #e53e3e; display: none; } .mhr-main-result { text-align: center; font-size: 2em; font-weight: 800; color: #c53030; margin-bottom: 10px; } .mhr-sub-result { text-align: center; color: #718096; margin-bottom: 20px; } .mhr-table { width: 100%; border-collapse: collapse; margin-top: 20px; background: white; } .mhr-table th, .mhr-table td { border: 1px solid #e2e8f0; padding: 10px; text-align: center; } .mhr-table th { background-color: #edf2f7; font-weight: 600; color: #2d3748; } .mhr-zone-1 { background-color: #f0fff4; color: #276749; } .mhr-zone-2 { background-color: #e6fffa; color: #2c7a7b; } .mhr-zone-3 { background-color: #ebf8ff; color: #2b6cb0; } .mhr-zone-4 { background-color: #fffaf0; color: #c05621; } .mhr-zone-5 { background-color: #fff5f5; color: #c53030; } .article-content { margin-top: 40px; line-height: 1.6; color: #2d3748; } .article-content h2 { color: #1a202c; margin-top: 30px; } .article-content h3 { color: #2d3748; margin-top: 20px; } .article-content p { margin-bottom: 15px; } .article-content ul { margin-bottom: 20px; padding-left: 20px; }

Maximum Heart Rate Calculator

Calculate your MHR and training zones instantly

Fox Formula (Standard: 220 – Age) Tanaka Formula (208 – 0.7 × Age) Gulati Formula (Women: 206 – 0.88 × Age) Haskell & Fox (Original)
Your Estimated Maximum Heart Rate:
0 BPM

Based on the selected formula.

Heart Rate Training Zones

Zone Intensity Range (BPM)

Understanding the Formula to Calculate Maximum Heart Rate

Knowing the formula to calculate maximum heart rate (MHR) is the cornerstone of effective cardiovascular training. Your maximum heart rate represents the highest number of beats per minute (BPM) your heart can achieve during maximal physical exertion. While a clinical stress test is the most accurate method, mathematical formulas provide a reliable estimate for the general population to establish safe training zones.

Common Formulas Used

Over the years, exercise physiologists have developed several equations. This calculator allows you to choose between the most scientifically validated methods:

  • Fox Formula (220 – Age): The most widely known and simple formula. It provides a good baseline for the general population but can overestimate MHR in younger people and underestimate it in older adults.
  • Tanaka Formula (208 – 0.7 × Age): Considered more accurate for healthy adults of varying ages. It smooths out the discrepancies found in the Fox formula.
  • Gulati Formula (206 – 0.88 × Age): Research specifically conducted on women suggested this formula is more accurate for female physiology than the traditional male-centric data.

Why Calculate Your Target Heart Rate Zones?

Once you have used the formula to calculate maximum heart rate, you can determine your training zones. Training in specific zones elicits different physiological adaptations:

  • Zone 1 (50-60%): Very light activity, warm-up, and recovery.
  • Zone 2 (60-70%): Fat burning and basic endurance building.
  • Zone 3 (70-80%): Aerobic fitness, improving blood circulation and skeletal muscle strength.
  • Zone 4 (80-90%): Anaerobic capacity, high-intensity performance training.
  • Zone 5 (90-100%): Maximum effort, suitable only for very short bursts (HIIT) for conditioned athletes.

Factors Affecting Maximum Heart Rate

While age is the primary variable in the formula to calculate maximum heart rate, other factors include genetics, altitude, and medication. Beta-blockers, for example, will lower your actual maximum heart rate regardless of what the formula predicts. Always consult a physician before starting a vigorous exercise program.

function calculateMaxHeartRate() { // 1. Get Input Values var ageInput = document.getElementById("mhrInputAge").value; var formula = document.getElementById("mhrFormula").value; // 2. Validate Input if (ageInput === "" || isNaN(ageInput)) { alert("Please enter a valid age."); return; } var age = parseFloat(ageInput); if (age 120) { alert("Please enter a realistic age between 1 and 120."); return; } // 3. Logic: Calculate MHR based on selected formula var maxHeartRate = 0; if (formula === "fox" || formula === "haskell") { // Standard: 220 – Age maxHeartRate = 220 – age; } else if (formula === "tanaka") { // Tanaka: 208 – (0.7 * Age) maxHeartRate = 208 – (0.7 * age); } else if (formula === "gulati") { // Gulati: 206 – (0.88 * Age) maxHeartRate = 206 – (0.88 * age); } // Round to nearest whole number maxHeartRate = Math.round(maxHeartRate); // 4. Logic: Calculate Zones // Zone 1: 50-60% var z1_min = Math.round(maxHeartRate * 0.50); var z1_max = Math.round(maxHeartRate * 0.60); // Zone 2: 60-70% var z2_min = Math.round(maxHeartRate * 0.60); var z2_max = Math.round(maxHeartRate * 0.70); // Zone 3: 70-80% var z3_min = Math.round(maxHeartRate * 0.70); var z3_max = Math.round(maxHeartRate * 0.80); // Zone 4: 80-90% var z4_min = Math.round(maxHeartRate * 0.80); var z4_max = Math.round(maxHeartRate * 0.90); // Zone 5: 90-100% var z5_min = Math.round(maxHeartRate * 0.90); var z5_max = maxHeartRate; // 5. Update DOM Results document.getElementById("displayMHR").innerText = maxHeartRate; var tableHTML = ` Zone 1 (Recovery) 50-60% ${z1_min} – ${z1_max} bpm Zone 2 (Fat Burn) 60-70% ${z2_min} – ${z2_max} bpm Zone 3 (Aerobic) 70-80% ${z3_min} – ${z3_max} bpm Zone 4 (Anaerobic) 80-90% ${z4_min} – ${z4_max} bpm Zone 5 (VO2 Max) 90-100% ${z5_min} – ${z5_max} bpm `; document.getElementById("zoneTableBody").innerHTML = tableHTML; document.getElementById("mhrResult").style.display = "block"; }

Leave a Comment