Calculate Max Heart Rate Running

Maximum Heart Rate Calculator

Your maximum heart rate (MHR) is the highest number of times your heart can beat per minute during maximal physical exertion. It's a crucial metric for understanding your cardiovascular fitness and for designing effective training programs. A common and widely used formula to estimate your MHR is the Tanaka formula, which is considered more accurate than older methods.

The Tanaka formula is: 208 – (0.7 x Age). This formula is generally reliable for most individuals.

Knowing your estimated MHR helps you:

  • Set Training Zones: You can calculate your target heart rate zones for different types of workouts (e.g., endurance, tempo, interval training).
  • Monitor Intensity: It provides a benchmark to gauge the intensity of your runs.
  • Track Progress: As your fitness improves, your MHR may slightly increase, or you may be able to sustain higher percentages of your MHR for longer periods.
function calculateMaxHeartRate() { var ageInput = document.getElementById("age"); var resultDiv = document.getElementById("result"); var age = parseFloat(ageInput.value); if (isNaN(age) || age <= 0) { resultDiv.innerHTML = "Please enter a valid age."; return; } // Tanaka formula: 208 – (0.7 * Age) var maxHeartRate = 208 – (0.7 * age); resultDiv.innerHTML = "Your estimated Maximum Heart Rate is: " + maxHeartRate.toFixed(0) + " beats per minute (bpm)"; } #max-heart-rate-calculator { font-family: sans-serif; border: 1px solid #ddd; padding: 20px; border-radius: 8px; max-width: 500px; margin: 20px auto; background-color: #f9f9f9; } #max-heart-rate-calculator h2 { text-align: center; color: #333; } .input-group { margin-bottom: 15px; } .input-group label { display: block; margin-bottom: 5px; font-weight: bold; color: #555; } .input-group input[type="number"] { width: calc(100% – 22px); padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 16px; } #max-heart-rate-calculator button { display: block; width: 100%; padding: 12px; background-color: #4CAF50; color: white; border: none; border-radius: 4px; font-size: 18px; cursor: pointer; transition: background-color 0.3s ease; } #max-heart-rate-calculator button:hover { background-color: #45a049; }

Leave a Comment