Calculator for Calorie

.calorie-calc-container { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; max-width: 800px; margin: 20px auto; padding: 25px; border: 1px solid #e0e0e0; border-radius: 12px; background-color: #ffffff; box-shadow: 0 4px 6px rgba(0,0,0,0.05); } .calorie-calc-header { text-align: center; margin-bottom: 30px; } .calorie-calc-header h2 { color: #2c3e50; margin-bottom: 10px; } .calorie-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; } @media (max-width: 600px) { .calorie-calc-grid { grid-template-columns: 1fr; } } .calorie-input-group { display: flex; flex-direction: column; } .calorie-input-group label { font-weight: 600; margin-bottom: 8px; color: #34495e; } .calorie-input-group input, .calorie-input-group select { padding: 12px; border: 1px solid #ccd1d1; border-radius: 6px; font-size: 16px; } .calorie-calc-btn { width: 100%; padding: 15px; background-color: #27ae60; color: white; border: none; border-radius: 6px; font-size: 18px; font-weight: bold; cursor: pointer; transition: background-color 0.3s; } .calorie-calc-btn:hover { background-color: #219150; } #calorie-result-box { margin-top: 30px; padding: 20px; background-color: #f8f9fa; border-radius: 8px; display: none; border-left: 5px solid #27ae60; } .result-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee; } .result-row:last-child { border-bottom: none; } .result-label { font-weight: 500; color: #7f8c8d; } .result-value { font-weight: 700; color: #2c3e50; font-size: 1.1em; } .calc-article { margin-top: 40px; line-height: 1.6; color: #333; } .calc-article h3 { color: #2c3e50; margin-top: 25px; } .calc-article p { margin-bottom: 15px; }

Daily Calorie & TDEE Calculator

Calculate your maintenance calories based on your BMR and activity level.

Male Female
Sedentary (Office job, little exercise) Lightly Active (1-3 days/week) Moderately Active (3-5 days/week) Very Active (6-7 days/week) Extra Active (Physical job or 2x training)
Basal Metabolic Rate (BMR): 0 kcal
Daily Maintenance (TDEE): 0 kcal
To Lose Weight (0.5kg/week): 0 kcal
To Gain Weight (0.5kg/week): 0 kcal

Understanding Your Daily Calorie Needs

Your total daily energy expenditure (TDEE) is the number of calories you burn per day. This number is determined by four primary factors: your Basal Metabolic Rate (BMR), the thermic effect of food, your daily activity levels, and exercise.

What is Basal Metabolic Rate (BMR)?

BMR is the amount of energy your body requires to function while at rest. Even if you stayed in bed all day, your body would still need these calories to support vital organ functions like breathing, circulation, and cell production. This calculator uses the Mifflin-St Jeor equation, which is widely considered the most accurate formula for estimating BMR.

How Activity Level Affects Your Results

While BMR covers basic survival, your activity level determines how many additional calories you burn. For example:

  • Sedentary: Primarily desk work with very little intentional exercise.
  • Moderately Active: Someone who hits the gym 3-5 times a week or has a job that keeps them on their feet.
  • Extra Active: Professional athletes or construction workers performing heavy labor daily.

Example Calculation

If a 30-year-old male weighs 80kg and is 180cm tall, his BMR is approximately 1,790 calories. If he is "Moderately Active" (multiplier of 1.55), his TDEE would be 2,775 calories. To lose weight safely, he might aim for 2,275 calories per day (a 500-calorie deficit).

Achieving Your Fitness Goals

To lose fat, you generally need to consume fewer calories than your TDEE (Maintenance). To gain muscle mass, a slight surplus is usually required alongside resistance training. Always consult with a healthcare professional or registered dietitian before making significant changes to your diet or exercise routine.

function calculateCalories() { var gender = document.getElementById('cal_gender').value; var age = parseFloat(document.getElementById('cal_age').value); var weight = parseFloat(document.getElementById('cal_weight').value); var height = parseFloat(document.getElementById('cal_height').value); var activity = parseFloat(document.getElementById('cal_activity').value); if (isNaN(age) || isNaN(weight) || isNaN(height) || age <= 0 || weight <= 0 || height <= 0) { alert("Please enter valid positive 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 loseWeight = tdee – 500; var gainWeight = tdee + 500; document.getElementById('res_bmr').innerHTML = Math.round(bmr).toLocaleString() + " kcal/day"; document.getElementById('res_tdee').innerHTML = Math.round(tdee).toLocaleString() + " kcal/day"; document.getElementById('res_lose').innerHTML = Math.round(loseWeight).toLocaleString() + " kcal/day"; document.getElementById('res_gain').innerHTML = Math.round(gainWeight).toLocaleString() + " kcal/day"; document.getElementById('calorie-result-box').style.display = 'block'; }

Leave a Comment