Calculate your maximum heart rate and training zones instantly.
Male
Female
Estimated Max Heart Rate (MHR): — BPM
Based on the Tanaka Formula (208 – 0.7 × Age)
Your Target Heart Rate Zones
Zone
Intensity
Range (BPM)
Benefit
Note: We also calculated the "Traditional" (220 – Age) method: — BPM.
function calculateHeartRate() {
// 1. Get input values
var ageInput = document.getElementById('age');
var genderInput = document.getElementById('gender');
var resultDiv = document.getElementById('results');
var age = parseFloat(ageInput.value);
var gender = genderInput.value;
// 2. Validation
if (!age || isNaN(age) || age 120) {
alert("Please enter a valid age between 1 and 120.");
return;
}
// 3. Calculation Formulas
// Tanaka Formula (Generally considered more accurate for adults)
// MHR = 208 – (0.7 * age)
var mhrTanaka = 208 – (0.7 * age);
// Fox Formula (Traditional)
// MHR = 220 – age
var mhrFox = 220 – age;
// Gulati Formula (Specifically for women)
// MHR = 206 – (0.88 * age)
var mhrGulati = 206 – (0.88 * age);
// Determine which MHR to display as primary
var primaryMHR = mhrTanaka; // Default to Tanaka
// However, if user selects Female, Gulati is often cited as more precise,
// but Tanaka is widely accepted as gender neutral.
// For simplicity and standard consistency, we will stick to Tanaka as the main display
// but adjust if needed. Let's stick to Tanaka for the main zones
// as it is the modern standard for active adults.
// Rounding
primaryMHR = Math.round(primaryMHR);
mhrFox = Math.round(mhrFox);
mhrGulati = Math.round(mhrGulati);
// 4. Update UI
document.getElementById('mhrValue').innerText = primaryMHR;
document.getElementById('foxValue').innerText = mhrFox;
// Calculate Zones based on Primary MHR (Tanaka)
var zones = [
{
name: "Zone 1 (Very Light)",
range: "50-60%",
min: Math.round(primaryMHR * 0.50),
max: Math.round(primaryMHR * 0.60),
desc: "Warm up, recovery",
class: "zone-1"
},
{
name: "Zone 2 (Light)",
range: "60-70%",
min: Math.round(primaryMHR * 0.60),
max: Math.round(primaryMHR * 0.70),
desc: "Fat burn, endurance base",
class: "zone-2"
},
{
name: "Zone 3 (Moderate)",
range: "70-80%",
min: Math.round(primaryMHR * 0.70),
max: Math.round(primaryMHR * 0.80),
desc: "Aerobic fitness, stamina",
class: "zone-3"
},
{
name: "Zone 4 (Hard)",
range: "80-90%",
min: Math.round(primaryMHR * 0.80),
max: Math.round(primaryMHR * 0.90),
desc: "Speed, high intensity",
class: "zone-4"
},
{
name: "Zone 5 (Maximum)",
range: "90-100%",
min: Math.round(primaryMHR * 0.90),
max: primaryMHR,
desc: "Peak performance, sprinting",
class: "zone-5"
}
];
var tbody = document.getElementById('zoneBody');
tbody.innerHTML = ""; // Clear previous results
for (var i = 0; i < zones.length; i++) {
var row = "
Understanding your Maximum Heart Rate (MHR) is crucial for effective cardiovascular training. Your MHR represents the highest number of beats per minute (BPM) your heart can achieve under maximum stress. By knowing this number, you can define specific heart rate zones to tailor your workouts for fat loss, endurance, or peak performance.
Why Use a Max Heart Rate Calculator?
While the only way to determine your absolute true maximum heart rate is through a medically supervised cardiac stress test, mathematical formulas provide a sufficiently accurate estimate for most fitness enthusiasts. This calculator uses industry-standard formulas to help you identify your training limits without the need for expensive lab equipment.
Common Formulas Used
There are several ways to estimate MHR. This calculator primarily uses the Tanaka Formula, which is widely regarded as more accurate for a broader range of ages than the traditional method.
1. The Tanaka Formula
Published in 2001, this study analyzed thousands of subjects and determined that the relationship between age and max heart rate is not perfectly linear. It is generally considered more accurate for healthy adults.
MHR = 208 – (0.7 × Age)
2. The Fox Formula (Traditional)
This is the "220 minus age" rule you may have seen in gyms for decades. While simple to calculate mentally, it tends to underestimate MHR in older adults and overestimate it in younger ones.
MHR = 220 – Age
3. The Gulati Formula (For Women)
Research published in 2010 suggested that women may have a slightly different physiological response. The Gulati formula is often used specifically for females:
MHR = 206 – (0.88 × Age)
Understanding Heart Rate Zones
Once you have your MHR, you can calculate training zones. These zones help you target specific physiological adaptations:
Zone 1 (50-60%): Very light activity. Good for warm-ups and recovery days.
Zone 2 (60-70%): The "Fat Burning" zone. Your body becomes efficient at using fat for fuel. You should be able to hold a conversation easily.
Zone 3 (70-80%): Aerobic zone. Improves cardiovascular capacity and lung function. Breathing becomes rhythmic and harder.
Zone 4 (80-90%): Anaerobic threshold. Improves speed and lactic acid tolerance. Sustainable for only short periods.
Zone 5 (90-100%): Maximum effort. Used for interval training and sprints. Sustainable for mere seconds to a minute.
Safety Disclaimer
Please remember that these numbers are estimates. Factors such as genetics, medication, altitude, and fitness level can skew your actual maximum heart rate. Always consult with a physician before starting a new exercise program, especially if you have a history of heart conditions.