Skip to content
🛠️ToolsShed

Calorie Burn Calculator

Estimate calories burned during exercise based on activity type, duration, and weight.

About this tool

The Calorie Burn Calculator estimates how many calories you burn during physical activity based on your weight, the type of exercise, and duration. Understanding your calorie expenditure is fundamental to achieving fitness goals—whether you're aiming to lose weight, build endurance, or maintain your current fitness level. This tool takes the guesswork out of determining how much energy your body uses during different activities.

Enter your body weight, select the type of activity (from light walking to intense sports), and specify how long you exercise. The calculator instantly shows your estimated calorie burn, helping you track your energy output and plan your nutrition or training accordingly. You can compare different activities to see which burns the most calories.

Keep in mind that these estimates are based on average metabolic rates and individual results vary significantly based on age, fitness level, metabolism, and intensity. Factors like elevation, temperature, and muscle mass also influence calorie burn. For personalized guidance on fitness and nutrition, consult a fitness professional or healthcare provider.

Frequently Asked Questions

Code Implementation

def calories_burned(met: float, weight_kg: float, duration_hours: float) -> float:
    """
    MET-based calorie burn formula.
    Calories = MET * weight(kg) * duration(hours)
    MET 1.0 = resting metabolic rate (kcal/kg/h).
    """
    return met * weight_kg * duration_hours

# Common activities with approximate MET values
activities = [
    ("Walking 4 km/h",          2.8),
    ("Walking 6 km/h",          4.0),
    ("Cycling 15 km/h",         6.0),
    ("Jogging 8 km/h",          8.0),
    ("Running 12 km/h",        11.5),
    ("Swimming (moderate)",     6.0),
    ("Strength training",       5.0),
    ("Yoga",                    2.5),
    ("High-intensity interval", 12.0),
    ("Sitting (rest)",           1.0),
]

weight_kg = 70.0
duration_min = 30
duration_h = duration_min / 60

print(f"Calorie burn for {weight_kg} kg person, {duration_min} minutes:")
print(f"{'Activity':<30} {'MET':>5}  {'kcal':>6}")
print("-" * 45)
for name, met in activities:
    kcal = calories_burned(met, weight_kg, duration_h)
    print(f"{name:<30} {met:>5.1f}  {kcal:>6.0f}")

# Weekly summary
weekly = [
    ("Running 8 km/h",  8.0, 30),
    ("Cycling 15 km/h", 6.0, 45),
    ("Yoga",            2.5, 60),
]
total = sum(calories_burned(m, weight_kg, d/60) for _, m, d in weekly)
print(f"\nWeekly total: {total:.0f} kcal")

Comments & Feedback

Comments are powered by Giscus. Sign in with GitHub to leave a comment.