Online Calorie Calculator

.calorie-calc-container { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; max-width: 800px; margin: 20px auto; padding: 25px; background-color: #f9fbfd; border: 1px solid #e1e8ed; border-radius: 12px; color: #333; box-shadow: 0 4px 6px rgba(0,0,0,0.05); } .calorie-calc-header { text-align: center; margin-bottom: 25px; } .calorie-calc-header h2 { color: #2c3e50; margin-bottom: 10px; } .calc-row { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 15px; } .calc-field { flex: 1; min-width: 200px; } .calc-field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; color: #444; } .calc-field input, .calc-field select { width: 100%; padding: 12px; border: 1px solid #ccd6dd; border-radius: 6px; font-size: 16px; box-sizing: border-box; } .calc-btn { width: 100%; background-color: #27ae60; color: white; padding: 15px; border: none; border-radius: 6px; font-size: 18px; font-weight: bold; cursor: pointer; transition: background-color 0.3s; margin-top: 10px; } .calc-btn:hover { background-color: #219150; } #calorie-result-area { margin-top: 25px; padding: 20px; background-color: #ffffff; border: 2px solid #27ae60; border-radius: 8px; display: none; } .result-title { font-size: 18px; font-weight: bold; color: #27ae60; margin-bottom: 15px; text-align: center; } .result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; } .result-box { text-align: center; padding: 10px; background: #f1f8f4; border-radius: 5px; } .result-box span { display: block; font-size: 24px; font-weight: 800; color: #2c3e50; } .result-box small { color: #666; font-size: 12px; } .calorie-article { margin-top: 40px; line-height: 1.6; color: #444; } .calorie-article h3 { color: #2c3e50; border-left: 4px solid #27ae60; padding-left: 10px; margin-top: 25px; }

Online Calorie Calculator

Calculate your Basal Metabolic Rate (BMR) and Total Daily Energy Expenditure (TDEE).

Male Female
Sedentary (Office job, little exercise) Lightly Active (Exercise 1-3 days/week) Moderately Active (Exercise 3-5 days/week) Very Active (Hard exercise 6-7 days/week) Extra Active (Physical job or 2x training)
Your Daily Calorie Results
BMR (Resting Energy) 0 kcal/day
Maintenance (TDEE) 0 kcal/day
Weight Loss (-500 kcal) 0 kcal/day
Weight Gain (+500 kcal) 0 kcal/day

How This Calorie Calculator Works

Understanding your daily caloric needs is the foundation of any successful fitness journey. This calculator uses the Mifflin-St. Jeor Equation, which is currently considered the most accurate formula for estimating Basal Metabolic Rate (BMR) for the general population.

The Science of BMR and TDEE

BMR (Basal Metabolic Rate): This is the amount of energy your body burns just to keep you alive while at rest—powering your heart, lungs, and brain. It accounts for about 60-75% of your total daily burn.

TDEE (Total Daily Energy Expenditure): This is the total number of calories you burn per day once physical activity is included. We calculate this by multiplying your BMR by an activity factor (PAL):

  • Sedentary: BMR x 1.2
  • Lightly Active: BMR x 1.375
  • Moderately Active: BMR x 1.55
  • Very Active: BMR x 1.725
  • Extra Active: BMR x 1.9

Example Calculation

If you are a 30-year-old male, weighing 80kg, and standing 180cm tall, your BMR would be roughly 1,790 calories. If you exercise 3 times a week (Moderately Active), your TDEE would jump to approximately 2,775 calories. To lose roughly 0.5kg (1 lb) per week, you would aim for a "Weight Loss" target of 2,275 calories.

How to Use Your Results

Once you have your maintenance calories (TDEE), you can adjust your intake based on your goals. For weight loss, a deficit of 500 calories per day is often recommended. For muscle gain, a surplus of 250 to 500 calories, combined with strength training, is the standard approach. Remember that these are estimates, and factors like body composition (muscle mass vs. fat mass) can shift the numbers.

function calculateCalories() { var gender = document.getElementById("calc-gender").value; var age = parseFloat(document.getElementById("calc-age").value); var weight = parseFloat(document.getElementById("calc-weight").value); var height = parseFloat(document.getElementById("calc-height").value); var activity = parseFloat(document.getElementById("calc-activity").value); if (isNaN(age) || isNaN(weight) || isNaN(height)) { alert("Please enter valid numbers for age, weight, and height."); return; } var bmr = 0; // Mifflin-St Jeor Equation if (gender === "male") { bmr = (10 * weight) + (6.25 * height) – (5 * age) + 5; } else { bmr = (10 * weight) + (6.25 * height) – (5 * age) – 161; } var tdee = bmr * activity; var weightLoss = tdee – 500; var weightGain = tdee + 500; // Display results document.getElementById("bmr-output").innerText = Math.round(bmr).toLocaleString(); document.getElementById("tdee-output").innerText = Math.round(tdee).toLocaleString(); document.getElementById("loss-output").innerText = Math.round(weightLoss).toLocaleString(); document.getElementById("gain-output").innerText = Math.round(weightGain).toLocaleString(); document.getElementById("calorie-result-area").style.display = "block"; }

Leave a Comment