Calorie Calculator
Free calorie calculator for maintenance, weight loss, lean bulk and body recomposition, with calories burned walking, by steps, on an incline treadmill, StairMaster, rowing machine, bike or by heart rate. Also converts macros and grams to calories, totals homemade recipes and estimates calories for pregnancy, breastfeeding and children.
By the StatsUnlock Team · Last updated: · Formulas: Mifflin-St Jeor (1990), 2011 Compendium METs, ACSM, Keytel (2005), IOM (2005)
🧮 1. Calorie Calculator
Inputs
⚙ Advanced: formula, body fat, target weight
Your daily calories
___
Calculate first, then download your result as a plain text file.
📊 2. Your Calorie Results and Calorie Charts
Your formula, with your numbers
Full results table
Calories for every goal
Calorie Charts: How Many Calories Do You Need and Burn?
These reference tables apply to everyone. After you calculate in Daily Calories mode, the green table switches to your own numbers and highlights your goal.
Table 2.1 Daily calories by goal (example: man, 30, 70 kg, 175 cm, moderately active)
| Goal | Calories a day | vs maintenance | Weekly change | Protein |
|---|---|---|---|---|
| Lose 1 kg (2.2 lb) a week | 1,500 kcal (floor) | -1,056 | -0.96 kg | 126 g |
| Lose 0.75 kg (1.65 lb) a week | 1,731 kcal | -825 | -0.75 kg | 126 g |
| Lose 0.5 kg (1.1 lb) a week | 2,006 kcal | -550 | -0.50 kg | 112 g |
| Lose 0.25 kg (0.55 lb) a week | 2,281 kcal | -275 | -0.25 kg | 112 g |
| Maintain weight | 2,556 kcal | +0 | +0.00 kg | 84 g |
| Body recomposition (lose fat, build muscle) | 2,300 kcal | -256 | -0.23 kg | 140 g |
| Lean bulk (slow muscle gain) | 2,811 kcal | +256 | +0.23 kg | 126 g |
| Bulk (faster gain) | 3,067 kcal | +511 | +0.46 kg | 112 g |
Mifflin-St Jeor BMR 1,649 kcal × 1.55 = maintenance 2,556 kcal. Weekly change uses 7,700 kcal per kg. What to conclude: a 0.5 kg-a-week loss means about 2,000 kcal a day for this man, not a crash diet.
Table 2.2 Estimated calories needed per day by age, sex and activity (adults)
| Age | Women: not active | Women: moderately active | Women: active | Men: not active | Men: moderately active | Men: active |
|---|---|---|---|---|---|---|
| 19 to 30 | 1,800 to 2,000 | 2,000 to 2,200 | 2,400 | 2,400 to 2,600 | 2,600 to 2,800 | 3,000 |
| 31 to 50 | 1,800 | 2,000 | 2,200 | 2,200 to 2,400 | 2,400 to 2,600 | 2,800 to 3,000 |
| 51 and older | 1,600 | 1,800 | 2,000 to 2,200 | 2,000 to 2,200 | 2,200 to 2,400 | 2,400 to 2,800 |
Source: Dietary Guidelines for Americans, 2020 to 2025 (USDA and HHS), as of 2026. Estimates for average-sized adults and not for pregnancy or breastfeeding. What to conclude: most adults need 1,600 to 3,000 kcal a day; use the calculator for your own size.
Table 2.3 Calories burned in 30 minutes by activity and body weight
| Activity | METs | 55 kg (121 lb) | 70 kg (154 lb) | 85 kg (187 lb) | 100 kg (220 lb) |
|---|---|---|---|---|---|
| Walking, 3.0 mph | 3.5 | 101 | 129 | 156 | 184 |
| Walking, 3.5 mph (brisk) | 4.3 | 124 | 158 | 192 | 226 |
| Walking, 4.0 mph | 5.0 | 144 | 184 | 223 | 263 |
| Hiking | 6.0 | 173 | 221 | 268 | 315 |
| Running, 6 mph | 9.8 | 283 | 360 | 437 | 515 |
| Running, 8 mph | 11.8 | 341 | 434 | 527 | 620 |
| StairMaster | 9.0 | 260 | 331 | 402 | 473 |
| Rowing machine, moderate | 7.0 | 202 | 257 | 312 | 368 |
| Rowing machine, vigorous | 8.5 | 245 | 312 | 379 | 446 |
| Exercise bike, moderate | 6.8 | 196 | 250 | 303 | 357 |
| Exercise bike, vigorous | 8.8 | 254 | 323 | 393 | 462 |
| Elliptical / cross trainer | 5.0 | 144 | 184 | 223 | 263 |
| Swimming, freestyle slow | 5.8 | 167 | 213 | 259 | 305 |
| Swimming, freestyle fast | 9.8 | 283 | 360 | 437 | 515 |
| HIIT / circuit training | 8.0 | 231 | 294 | 357 | 420 |
| Push-ups and calisthenics, vigorous | 8.0 | 231 | 294 | 357 | 420 |
| Weight lifting, vigorous | 6.0 | 173 | 221 | 268 | 315 |
| Jump rope | 11.8 | 341 | 434 | 527 | 620 |
| Yoga, Hatha | 2.5 | 72 | 92 | 112 | 131 |
Gross calories from MET × 3.5 × kg ÷ 200 × 30, using the 2011 Compendium of Physical Activities. What to conclude: StairMaster, running and jump rope burn the most per minute; a heavier person burns more for the same activity.
Table 2.4 Incline treadmill calories: 30 minutes at 3.0 mph (4.8 km/h)
| Incline | 55 kg | 70 kg | 85 kg | 100 kg |
|---|---|---|---|---|
| 0% | 95 | 121 | 147 | 173 |
| 2% | 119 | 152 | 184 | 217 |
| 5% | 155 | 197 | 240 | 282 |
| 8% | 191 | 243 | 295 | 347 |
| 10% | 215 | 273 | 332 | 390 |
| 12% | 239 | 304 | 369 | 434 |
| 15% | 275 | 349 | 424 | 499 |
ACSM walking equation, gross calories. What to conclude: going from flat to 12% incline more than doubles the calories burned at the same speed.
Table 2.5 Calories burned by steps (3 mph pace, height 170 cm)
| Steps | Distance | 55 kg | 70 kg | 85 kg | 100 kg |
|---|---|---|---|---|---|
| 1,000 | 0.7 km (0.4 mi) | 28 | 35 | 43 | 51 |
| 2,000 | 1.4 km (0.9 mi) | 56 | 71 | 86 | 101 |
| 5,000 | 3.5 km (2.2 mi) | 139 | 177 | 215 | 253 |
| 7,500 | 5.3 km (3.3 mi) | 209 | 266 | 323 | 380 |
| 10,000 | 7.1 km (4.4 mi) | 278 | 354 | 430 | 506 |
| 15,000 | 10.6 km (6.6 mi) | 418 | 531 | 645 | 759 |
Stride 41.5% of height (70.6 cm); ACSM walking equation. Taller people cover more distance per step and burn more. What to conclude: 10,000 steps burns roughly 280 to 500 kcal depending on body weight.
Table 2.6 Calories per gram of each macronutrient
| Nutrient | kcal per gram | 10 g gives | 100 g gives |
|---|---|---|---|
| Protein | 4 | 40 kcal | 400 kcal |
| Carbohydrate | 4 | 40 kcal | 400 kcal |
| Fat | 9 | 90 kcal | 900 kcal |
| Alcohol | 7 | 70 kcal | 700 kcal |
| Fibre (if listed separately) | about 2 | 20 kcal | 200 kcal |
Atwater general factors used on food labels (Southgate & Durnin, 1970). What to conclude: fat carries more than twice the calories per gram of protein or carbohydrate.
Table 2.7 Extra calories for pregnancy and breastfeeding
| Stage | Extra calories a day | Example: if maintenance is 2,000 kcal |
|---|---|---|
| Pregnancy, 1st trimester | +0 | 2,000 kcal |
| Pregnancy, 2nd trimester | +340 | 2,340 kcal |
| Pregnancy, 3rd trimester | +452 | 2,452 kcal |
| Breastfeeding, 0 to 6 months | +330 | 2,330 kcal |
| Breastfeeding, 7 to 12 months | +400 | 2,400 kcal |
Institute of Medicine estimates as reviewed by Butte & King (2005). Breastfeeding values allow for some fat stored in pregnancy being used for milk. What to conclude: pregnancy needs only a modest extra amount, and mostly in the second half.
Table 2.8 Calorie deficit and surplus by goal
| Goal | Daily change | Weekly change | Protein per kg |
|---|---|---|---|
| Lose 1 kg a week | −1,100 kcal | −1 kg (2.2 lb) | 1.8 g |
| Lose 0.5 kg a week | −550 kcal | −0.5 kg (1.1 lb) | 1.6 g |
| Lose 0.25 kg a week | −275 kcal | −0.25 kg (0.55 lb) | 1.6 g |
| Maintain | 0 | 0 | 1.2 g |
| Body recomposition | −10% of maintenance | about 0 | 2.0 g |
| Lean bulk | +10% of maintenance | about +0.25 kg | 1.8 g |
| Bulk | +20% of maintenance | about +0.5 kg | 1.6 g |
Based on 7,700 kcal per kg of body weight. In practice, weight loss slows over time as the body adapts (Hall et al., 2011). What to conclude: a 500 kcal daily deficit is the classic starting point for steady, sustainable loss.
Visualisations
1. Calories by Goal
2. Your Macros
⚡ Quick Answer: How Do You Calculate Your Calories?
A calorie calculator multiplies your basal metabolic rate (BMR) by an activity factor to estimate the calories you burn each day.
A 30-year-old man, 70 kg and 175 cm: BMR 1,649 × 1.55 = 2,556 kcal to maintain weight.
Rule of thumb: eat about 500 kcal less than maintenance to lose roughly 0.5 kg (1 lb) a week.
Key Takeaways
- A calorie calculator estimates maintenance calories as BMR × activity, using the Mifflin-St Jeor equation by default.
- A deficit of about 500 kcal a day loses roughly 0.5 kg (1 lb) a week; this tool never goes below 1,200 kcal for women or 1,500 kcal for men.
- A lean bulk is about 10% above maintenance; body recomposition is about 10% below with 2.0 g protein per kg.
- Walking burns about 3.5 to 5 METs; 10,000 steps burn roughly 365 kcal for a 70 kg, 175 cm adult.
- Breastfeeding adds about 330 to 400 kcal a day; pregnancy adds 0, 340 and 452 kcal by trimester.
- Protein and carbs have 4 kcal per gram, fat 9 and alcohol 7.
Reviewed for accuracy against peer-reviewed sources. Last updated: .
📚 3. What Is a Calorie Calculator?
A calorie calculator estimates how much energy your body uses in a day, so you know how much to eat to lose, keep or gain weight. A calorie (kcal) is a unit of energy: the amount of heat needed to warm 1 litre of water by 1°C.
Your daily total, called TDEE (total daily energy expenditure), has three parts. The biggest is your basal metabolic rate (BMR), the energy used to keep you alive at rest, usually 60 to 70% of the total. Next is physical activity, from walking to training, which varies the most between people. The smallest is the thermic effect of food, about 10%, used to digest what you eat (Westerterp, 2013).
A worked one-liner: a 30-year-old man who weighs 70 kg and is 175 cm tall has a BMR of 10×70 + 6.25×175 − 5×30 + 5 = 1,649 kcal. Moderately active, his maintenance is 1,649 × 1.55 = 2,556 kcal a day.
Calorie calculator vs other tools
| Tool | What it tells you | Best for |
|---|---|---|
| Calorie (TDEE) calculator | Calories you burn and should eat per day | Weight loss, maintenance, bulking |
| BMR calculator | Calories at complete rest only | Understanding your baseline |
| Calories burned calculator | Energy used by one activity | Walking, steps, treadmill, gym sessions |
| Macro calculator | How to split calories into protein, carbs and fat | Meal planning, gym goals |
| Recipe calorie calculator | Calories per serving of homemade food | Cooking, Indian food, smoothies, salads |
What to conclude: this page combines all five in one calorie calculator, so the numbers stay consistent from your daily target to each workout and meal.
🔍 4. What Does Your Calorie Result Mean?
4.1 Your number in plain words
___ Run the calculator above to fill this in.
4.2 What it means for your weight
___ Run the calculator above to fill this in.
4.3 BMR, TDEE and maintenance explained
BMR is what you burn lying still all day. TDEE adds everything you do. Maintenance calories are the same as TDEE: eat this much and your weight stays steady. A calorie deficit means eating below maintenance; a surplus means eating above it. Your body uses stored energy to cover a deficit and stores extra energy from a surplus.
4.4 Why different formulas give different numbers
___ Run the calculator above to fill this in.
4.5 Your macros and food
___ Run the calculator above to fill this in.
4.6 Why the calculator can be wrong for you
Every formula predicts the average person. About 1 in 5 people burn 10% more or less than predicted. Muscle, genetics, sleep, hormones, medicines and how active you really are all shift the number. Most people also overestimate their activity level. If unsure, choose one level lower.
4.7 What to do next
___ Run the calculator above to fill this in.
4.8 Common mistakes this calorie calculator prevents
- Crash diets. Targets never drop below 1,200 kcal (women), 1,500 kcal (men) or 1,800 kcal while breastfeeding, and loss is capped at 1 kg a week.
- Dieting in pregnancy. Weight-loss goals are switched off when you choose a pregnancy stage.
- Counting resting calories twice. Calories burned show both gross and net, so you do not eat back calories you would have burned anyway.
- Adult rules for children. The Kids & Teens tab uses child equations that include growth.
- Mixing units. Height, weight and speed convert automatically, so 175 cm never becomes 175 inches.
- Raw vs cooked confusion. The recipe tool reminds you to use calorie values for the same state you weigh.
4.9 What the StatsUnlock team recommends
Treat the first number as a test, not a rule. Eat at your target for 2 to 3 weeks and track your morning weight every day. Average each week. If the weekly average moves at the speed you planned, keep going. If not, change intake by 100 to 200 kcal. After a month you will know your real maintenance to within about 100 kcal, which is more accurate than any calorie calculator can be on day one.
📝 5. How to Use Your Calorie Calculator Result
The calorie calculator builds five ready-made notes from your numbers. Copy the one you need.
1. Plain summary to save or share
2. Questions to ask your doctor or dietitian
3. Plan
4. Tracking log
5. Formal wording for a report
∑ 6. Calorie Formulas Used
👉 7. How to Use This Calorie Calculator
Using this calorie calculator takes under a minute. The worked example below follows a 30-year-old man, 175 cm, 70 kg, who wants to lose 0.5 kg a week.
- Pick a tab. Choose Daily Calories for a daily target, Calories Burned for exercise, Macros & Grams, Recipe or Kids & Teens. The example uses Daily Calories.
- Choose your units. Pick a height unit (cm, metres, feet and inches or inches) and a weight unit (kg, pounds or stone and pounds).
- Enter sex and age. Select Male and type 30.
- Enter height and weight. Type 175 cm and 70 kg, measured in the morning without shoes.
- Choose your activity level. Select Moderately active (exercise 3 to 5 days a week). If unsure, pick the lower level.
- Choose a goal. Select Lose 0.5 kg (1.1 lb) a week.
- Set life stage and options. Leave Life stage as None. Optionally open Advanced to change the BMR formula, add body fat or a target weight.
- Press Calculate Calories. The result panel shows 2,006 kcal a day, with maintenance 2,556 kcal and a gauge showing the deficit.
- Read Section 2. See BMR, macros (112 g protein), the formula with your numbers, a table of every goal and two charts.
- Save or share. Use Download TXT, Download Doc or Download PDF, or copy one of the five ready-made notes in Section 5.
📈 8. How to Calculate Calories in Excel
Excel has no calorie function, but every formula on this page is simple arithmetic. Each step uses the same worked example as the calorie calculator: a 30-year-old man, 70 kg, 175 cm, moderately active.
=(10*B2+6.25*C2-5*D2+5)*1.55. The answer, 2,555.6, is his maintenance calories.8.1 The formulas you need
| You want | Excel formula | Note |
|---|---|---|
| BMR, men | =10*B2+6.25*C2-5*D2+5 | Weight kg, height cm, age years |
| BMR, women | =10*B2+6.25*C2-5*D2-161 | Only the constant changes |
| Either sex | =10*B2+6.25*C2-5*D2+IF(A2="M",5,-161) | A2 holds M or F |
| Maintenance (TDEE) | =E2*1.55 | Swap 1.55 for your activity factor |
| Weight-loss target | =MAX(F2-550,1500) | Use 1200 as the floor for women |
| Calories burned (METs) | =4.3*3.5*B2/200*30 | MET × 3.5 × kg ÷ 200 × minutes |
| Treadmill incline | =(3.5+0.1*S+1.8*S*G)*B2/1000*5*30 | S in m/min, G as a decimal |
| Macros to calories | =4*H2+4*I2+9*J2 | Protein, carbs, fat in grams |
| % calories from fat | =9*J2/K2 | Format the cell as a percentage |
8.2 Step by step
1 Enter sex, weight, height and age
Put labels in row 1 and values in row 2.
M in A2, 70 kg in B2, 175 cm in C2, age 30 in D2.
2 Calculate BMR
The IF picks the right constant for men or women.
=10*B2+6.25*C2-5*D2+IF(A2="M",5,-161)BMR is 1,648.75 kcal.
3 Maintenance and a weight-loss target
Multiply by the activity factor, then subtract 550 kcal for about 0.5 kg a week. MAX keeps it above the safety floor.
=E2*1.55 =MAX(F2-550,IF(A2="M",1500,1200))Maintenance 2,555.56 kcal, target 2,005.56 kcal.
4 Calories burned walking
Use the MET value for your activity from Table 2.3.
=4.3*3.5*B2/200*3030 minutes of brisk walking (4.3 METs) burns 158.03 kcal at 70 kg.
5 Macros to calories and % from fat
=4*H2+4*I2+9*J2 =9*J2/K2150 g protein, 250 g carbs and 70 g fat = 2,230 kcal, 28.3% from fat.
8.3 The awkward cases
- Pounds and inches. Convert first: kg
=B2*0.45359237, cm=C2*2.54. - mph to metres per minute for the treadmill equation:
=mph*26.8224. - Katch-McArdle:
=370+21.6*B2*(1-L2/100)with body fat % in L2.
=F2-1100 can return 1,100 kcal for a small, inactive woman. Always wrap it in MAX with the floor.8.4 Why Excel might differ from this calculator
The formulas are identical, so Excel, R, Python and this page agree to the calorie on the worked example. Small differences come from rounding: this calculator keeps full precision and rounds only for display, while some spreadsheets round each step. Online calculators that use the 1919 Harris-Benedict equation (not the 1984 revision) can be 20 to 50 kcal off.
8.5 Charting calories in Excel
List goals in one column and calories in the next, select both and choose Insert, then Bar. Add maintenance as a second series drawn as a line so the deficit and surplus are easy to see.
8.6 Error messages
| You see | Cause | Fix |
|---|---|---|
#VALUE! | Text in a number cell, like "70 kg" | Type just 70 |
#NAME? | Typo in a function name | Check IF and MAX spelling |
| A huge BMR | Height entered in metres | Use centimetres (175, not 1.75) |
##### | Column too narrow | Widen the column |
📊 9. How to Calculate Calories in R
Rscript with base R only. Change the values at the top to use your own numbers.9.1 The complete script
R, base only, saves calorie_plot.png at 300 dpi
# ============================================================
# Calorie calculator in R: BMR, TDEE, goals, exercise and macros
# StatsUnlock - https://statsunlock.com/calorie-calculator/
# ============================================================
# ---- 1. Your details ------------------------------------------
sex <- "male" # "male" or "female"
weight <- 70 # kg
height <- 175 # cm
age <- 30 # years
activity <- 1.55 # 1.2, 1.375, 1.55, 1.725 or 1.9
# ---- 2. BMR (Mifflin-St Jeor) and maintenance -----------------
bmr <- 10 * weight + 6.25 * height - 5 * age + ifelse(sex == "male", 5, -161)
tdee <- bmr * activity
floor_kcal <- ifelse(sex == "male", 1500, 1200)
# ---- 3. Calories for each goal --------------------------------
goals <- data.frame(
goal = c("Lose 1 kg/wk", "Lose 0.5 kg/wk", "Maintain", "Lean bulk", "Bulk"),
adj = c(-1100, -550, 0, tdee * 0.10, tdee * 0.20)
)
goals$kcal <- pmax(tdee + goals$adj, floor_kcal)
print(goals)
# ---- 4. Exercise: METs and treadmill incline -------------------
met_kcal <- function(met, kg, minutes) met * 3.5 * kg / 200 * minutes
walk_vo2 <- function(mph, incline) {
s <- mph * 26.8224 # metres per minute
3.5 + 0.1 * s + 1.8 * s * incline / 100
}
brisk_walk <- met_kcal(4.3, weight, 30)
treadmill <- walk_vo2(3, 10) * weight / 1000 * 5 * 30
# ---- 5. Macros to calories ------------------------------------
protein <- 150; carbs <- 250; fat <- 70
macro_kcal <- 4 * protein + 4 * carbs + 9 * fat
# ---- 6. Plain-English verdict ---------------------------------
cat(sprintf("BMR %.0f kcal, maintenance %.0f kcal a day\n", bmr, tdee))
cat(sprintf("To lose 0.5 kg a week, eat about %.0f kcal a day\n", goals$kcal[2]))
cat(sprintf("30 min brisk walk: %.0f kcal; treadmill 3 mph 10%%: %.0f kcal\n", brisk_walk, treadmill))
cat(sprintf("Macros: %.0f kcal, %.1f%% from fat\n", macro_kcal, 900 * fat / macro_kcal))
# ---- 7. One 300 dpi figure ------------------------------------
png("calorie_plot.png", width = 2000, height = 1400, res = 300)
par(mar = c(4, 9, 2, 1))
barplot(goals$kcal, names.arg = goals$goal, horiz = TRUE, las = 1,
col = c("#f59e0b", "#f59e0b", "#16a34a", "#3b82f6", "#6366f1"),
xlab = "kcal per day", main = "Calories by goal")
abline(v = tdee, lty = 2)
dev.off()
cat("Saved calorie_plot.png\n")Expected output: BMR 1,649 kcal, maintenance 2,556 kcal, lose 0.5 kg a week at 2,006 kcal, brisk walk 158 kcal, treadmill 273 kcal, macros 2,230 kcal with 28.3% from fat. These match the calorie calculator and the Excel steps.
9.2 What each line does
| Line or function | What it does |
|---|---|
| ifelse(sex == "male", 5, -161) | Adds the sex-specific constant of the Mifflin-St Jeor equation. |
| pmax(..., floor_kcal) | Applies the safety floor to every goal at once. |
| met_kcal() | The MET formula. Swap 4.3 for any value in Table 2.3. |
| walk_vo2() | The ACSM walking equation. 26.8224 converts mph to metres per minute. |
| png(..., res = 300) | Saves a print-quality figure. |
9.3 What the figure shows
One bar per goal, with a dashed line at maintenance. Bars left of the line are deficits; bars to the right are surpluses.
9.4 Problems and fixes
- BMR is 10 times too high. Height was entered in mm. Use cm.
- %% in sprintf. A single % starts a format code in sprintf; use %% for a percent sign.
9.5 Handy one-liners
bmr_f <- function(kg, cm, age) 10 * kg + 6.25 * cm - 5 * age - 161 # women
katch <- function(kg, bf) 370 + 21.6 * kg * (1 - bf / 100)
kcal_from_macros <- function(p, c, f, alc = 0) 4 * p + 4 * c + 9 * f + 7 * alc
grams_from_kcal <- function(kcal, pct, per_g) kcal * pct / 100 / per_g🐍 10. How to Calculate Calories in Python
Install with pip install matplotlib if you do not already have it.
10.1 The complete script
Python 3, saves calorie_plot.png at 300 dpi
# ============================================================
# Calorie calculator in Python: BMR, TDEE, goals, exercise and macros
# StatsUnlock - https://statsunlock.com/calorie-calculator/
# ============================================================
import matplotlib.pyplot as plt
# ---- 1. Your details ------------------------------------------
sex, weight, height, age, activity = "male", 70, 175, 30, 1.55
# ---- 2. BMR and maintenance -----------------------------------
bmr = 10 * weight + 6.25 * height - 5 * age + (5 if sex == "male" else -161)
tdee = bmr * activity
floor_kcal = 1500 if sex == "male" else 1200
# ---- 3. Calories for each goal --------------------------------
goals = {"Lose 1 kg/wk": -1100, "Lose 0.5 kg/wk": -550, "Maintain": 0,
"Lean bulk": tdee * 0.10, "Bulk": tdee * 0.20}
targets = {g: max(tdee + adj, floor_kcal) for g, adj in goals.items()}
# ---- 4. Exercise ----------------------------------------------
def met_kcal(met, kg, minutes):
return met * 3.5 * kg / 200 * minutes
def treadmill_kcal(mph, incline, kg, minutes):
s = mph * 26.8224 # metres per minute
vo2 = 3.5 + 0.1 * s + 1.8 * s * incline / 100 # ACSM walking
return vo2 * kg / 1000 * 5 * minutes
def keytel_kcal(hr, kg, age, minutes, male=True):
if male:
per_min = (-55.0969 + 0.6309 * hr + 0.1988 * kg + 0.2017 * age) / 4.184
else:
per_min = (-20.4022 + 0.4472 * hr - 0.1263 * kg + 0.074 * age) / 4.184
return per_min * minutes
# ---- 5. Macros ------------------------------------------------
protein, carbs, fat = 150, 250, 70
macro_kcal = 4 * protein + 4 * carbs + 9 * fat
print(f"BMR {bmr:.0f} kcal, maintenance {tdee:.0f} kcal a day")
print(f"To lose 0.5 kg a week, eat about {targets['Lose 0.5 kg/wk']:.0f} kcal a day")
print(f"30 min brisk walk: {met_kcal(4.3, weight, 30):.0f} kcal")
print(f"Treadmill 3 mph at 10%: {treadmill_kcal(3, 10, weight, 30):.0f} kcal")
print(f"Heart rate 140 for 30 min: {keytel_kcal(140, weight, age, 30):.0f} kcal")
print(f"Macros: {macro_kcal:.0f} kcal, {900 * fat / macro_kcal:.1f}% from fat")
# ---- 6. One 300 dpi figure ------------------------------------
fig, ax = plt.subplots(figsize=(6.7, 4.2))
ax.barh(list(targets), list(targets.values()),
color=["#f59e0b", "#f59e0b", "#16a34a", "#3b82f6", "#6366f1"])
ax.axvline(tdee, ls="--", color="grey")
ax.set_xlabel("kcal per day")
ax.set_title("Calories by goal")
fig.tight_layout()
fig.savefig("calorie_plot.png", dpi=300)
print("Saved calorie_plot.png")Expected output matches R and Excel: BMR 1,649, maintenance 2,556, target 2,006, walk 158, treadmill 273, heart rate 381, macros 2,230 kcal (28.3% from fat).
10.2 What each line does
| Line or function | What it does |
|---|---|
| max(tdee + adj, floor_kcal) | Applies the safety floor to each goal. |
| treadmill_kcal() | ACSM walking equation; use 0.2 and 0.9 for running. |
| keytel_kcal() | Heart rate equation; set male=False for women. |
| fig.savefig(dpi=300) | Saves a figure sharp enough for a report. |
10.3 What the figure shows
The same goal bars as the R version, with maintenance as a dashed line.
10.4 Problems and fixes
- ModuleNotFoundError: matplotlib. Run
pip install matplotlib. - Numbers look off by 2.2. Weight was in pounds. Multiply by 0.45359237 first.
10.5 Handy one-liners
bmr_female = lambda kg, cm, age: 10 * kg + 6.25 * cm - 5 * age - 161
grams_to_kcal = lambda p, c, f, alc=0: 4 * p + 4 * c + 9 * f + 7 * alc
kcal_to_grams = lambda kcal, pct, per_g: kcal * pct / 100 / per_g
steps_to_km = lambda steps, height_cm: steps * height_cm * 0.415 / 100000🚶 11. How Many Calories Do Walking and Steps Burn?
Walking burns about 80 to 100 kcal per mile for a 70 kg adult at a normal pace, and more if you are heavier, walk faster or climb hills. Use the Calories Burned tab with Steps or a walking activity to get your own number.
11.1 Calories burned per mile and per kilometre
| Pace | 55 kg: per mile / km | 70 kg | 85 kg | 100 kg |
|---|---|---|---|---|
| Walking 2.0 mph | 81 / 50 | 103 / 64 | 125 / 78 | 147 / 91 |
| Walking 3.0 mph | 67 / 42 | 86 / 53 | 104 / 65 | 123 / 76 |
| Walking 3.5 mph (brisk) | 71 / 44 | 90 / 56 | 110 / 68 | 129 / 80 |
| Walking 4.0 mph | 72 / 45 | 92 / 57 | 112 / 69 | 131 / 82 |
| Running 5 mph | 96 / 60 | 122 / 76 | 148 / 92 | 174 / 108 |
| Running 6 mph | 94 / 59 | 120 / 75 | 146 / 91 | 172 / 107 |
Gross calories from the 2011 Compendium MET values at each speed. What to conclude: at walking speeds, calories per mile change little with pace; body weight matters far more.
11.2 How steps turn into calories
The calculator turns steps into distance using your stride length (about 41.5% of height for men and 41.3% for women), then uses the ACSM walking equation at your pace. A 175 cm man has a stride of about 72.6 cm, so 10,000 steps is about 7.3 km (4.5 miles). At 3 mph and 70 kg that burns about 365 kcal in 90 minutes. Table 2.5 shows other step counts and weights.
11.3 How to burn more calories walking
- Add incline. Walking at 10% incline more than doubles calories per minute compared with flat ground at the same speed.
- Walk faster. Going from 3.0 to 4.0 mph raises the MET value from 3.5 to 5.0.
- Walk longer. Time is the biggest lever; two 30-minute walks beat one 20-minute walk.
- Carry a light load. A backpack or hiking adds work, but keep it under 10% of body weight.
🏋 12. Treadmill, Incline, StairMaster, Rowing and Bike Calories
For a 70 kg person, 30 minutes on a StairMaster burns about 330 kcal, a moderate rowing machine about 257 kcal, a moderate exercise bike about 250 kcal and an elliptical about 184 kcal. Incline treadmill walking sits in between and depends on speed and slope.
12.1 Incline treadmill calories at 70 kg (kcal per 30 minutes)
| Speed | 0% | 3% | 6% | 9% | 12% | 15% |
|---|---|---|---|---|---|---|
| 2.0 mph (3.2 km/h) | 93 | 123 | 154 | 184 | 215 | 245 |
| 2.5 mph (4.0 km/h) | 107 | 145 | 183 | 221 | 259 | 297 |
| 3.0 mph (4.8 km/h) | 121 | 167 | 212 | 258 | 304 | 349 |
| 3.5 mph (5.6 km/h) | 135 | 189 | 242 | 295 | 348 | 401 |
| 4.0 mph (6.4 km/h) | 149 | 210 | 271 | 332 | 393 | 454 |
ACSM walking equation, gross calories. The popular 12-3-30 workout (12% incline, 3 mph, 30 minutes) burns about 304 kcal at 70 kg. What to conclude: each extra 1% of incline adds roughly 10 to 15 kcal per 30 minutes at walking speeds.
12.2 Which machine burns the most?
At the same effort, machines that make you lift your body weight (StairMaster, incline treadmill, running) burn the most. Seated machines (bike, rowing) burn a little less but are easier on the knees. The best machine is the one you will use often. Machine displays usually overestimate, because they assume a standard body weight and include resting calories. Use the calculator with your real weight for a fairer number.
12.3 Heart rate based calorie estimates
If you wear a chest strap, the heart rate method (Keytel et al., 2005) adjusts for how hard you are really working. It was developed from steady exercise at heart rates of about 90 to 150 bpm, so it is less reliable for very easy work, short sprints or HIIT, where heart rate lags behind effort.
🤰 13. Calories for Pregnancy, Breastfeeding and Children
13.1 Pregnancy
You do not need to eat for two. The Institute of Medicine estimates no extra calories in the first trimester, about 340 kcal more a day in the second and 452 kcal more in the third (Butte & King, 2005). That is roughly a glass of milk and a sandwich. Weight-loss plans are switched off in pregnancy mode.
13.2 Breastfeeding
Making milk uses about 500 kcal a day in the first 6 months. Some of that comes from fat stored in pregnancy, so the recommended extra intake is about 330 kcal a day for months 0 to 6 and 400 kcal a day for months 7 to 12. If you want to lose weight while breastfeeding, a slow loss of about 0.5 kg (1 lb) a week is generally considered safe for milk supply, and this calorie calculator will not go below 1,800 kcal a day.
13.3 Children and teenagers
Children need energy for growth as well as activity, so adult formulas do not fit. The Kids & Teens tab uses the Institute of Medicine equations for ages 3 to 18, reviewed by Torun (2005). For example, an active 10-year-old boy who weighs 32 kg and is 140 cm tall needs about 2,164 kcal a day. Children should not diet unless a paediatrician recommends it.
| Child (example size) | Sedentary | Low active | Active | Very active |
|---|---|---|---|---|
| Boy, 4 y, 16.5 kg, 103 cm | 1,232 | 1,410 | 1,588 | 1,807 |
| Boy, 8 y, 25.5 kg, 128 cm | 1,450 | 1,689 | 1,928 | 2,221 |
| Boy, 12 y, 40 kg, 150 cm | 1,793 | 2,108 | 2,423 | 2,811 |
| Boy, 16 y, 61 kg, 174 cm | 2,323 | 2,739 | 3,155 | 3,667 |
| Girl, 4 y, 16 kg, 102 cm | 1,145 | 1,323 | 1,490 | 1,768 |
| Girl, 8 y, 25.5 kg, 127 cm | 1,350 | 1,581 | 1,797 | 2,157 |
| Girl, 12 y, 41.5 kg, 151 cm | 1,616 | 1,908 | 2,182 | 2,638 |
| Girl, 16 y, 54 kg, 163 cm | 1,730 | 2,060 | 2,369 | 2,885 |
Calculated with the Institute of Medicine 2005 equations for the example sizes shown. Your child’s needs depend on their own height, weight and activity, so use the Kids & Teens tab. What to conclude: a very active child needs about 45 to 70% more than a sedentary child of the same size, so activity matters as much as size.
💪 14. Calories for Bulking, Lean Bulk and Body Recomposition
To build muscle you need a small calorie surplus, enough protein and progressive strength training. A bigger surplus does not build muscle faster; it mostly adds fat (Iraki et al., 2019).
| Goal | Calories vs maintenance | Protein | Target rate of change | Who it suits |
|---|---|---|---|---|
| Lean bulk | +5 to 10% (this tool: +10%) | 1.6 to 2.2 g/kg | +0.25 to 0.5% of body weight a week | Most people who want muscle with little fat |
| Bulk | +10 to 20% (this tool: +20%) | 1.6 to 2.2 g/kg | +0.5 to 1% a week | Beginners, underweight lifters, hard gainers |
| Body recomposition | Maintenance to −10% (this tool: −10%) | About 2.0 g/kg or more | Weight steady; waist down, strength up | Beginners, returning lifters, higher body fat |
| Fat loss (cut) | −0.5 to 1% of body weight a week | 2.3 to 3.1 g/kg of lean mass | −0.5 to 1% a week | Anyone reducing body fat while keeping muscle |
Sources: Iraki et al. (2019) for bulking, Barakat et al. (2020) for recomposition, Helms et al. (2014) for cutting, and Morton et al. (2018), who found protein benefits for muscle level off at about 1.6 g/kg a day. What to conclude: a lean bulk is a gentle surplus of a few hundred calories, not "eat everything".
14.1 How to tell if your bulk or recomp is working
- Track weekly average weight, waist size and gym strength together, not weight alone.
- On a lean bulk, if weight rises faster than 0.5% a week, cut 100 to 150 kcal.
- On a recomp, a steady weight with a smaller waist and rising strength means it is working.
🍲 15. How to Calculate Calories in Homemade Food
To calculate calories for homemade food, add up the calories of every ingredient, then divide by the number of servings. It works the same for Indian curries, dals, smoothies, salads and baking.
- Weigh each ingredient raw in grams, including oil, ghee and butter.
- Find kcal per 100 g on each label, or in a food database, for the raw ingredient.
- Multiply: grams × kcal per 100 g ÷ 100 for each ingredient.
- Add them up for the whole recipe.
- Divide by servings, or weigh the cooked dish and work out kcal per 100 g, then weigh your bowl.
For example, a red lentil dal with 200 g dry lentils (352 kcal/100 g), 100 g onion, 150 g tomato, 20 g ghee and water comes to about 946 kcal, or 237 kcal per serving for 4. The Recipe tab does this for you.
15.1 How to convert grams to calories and calories to grams
Multiply grams of protein or carbohydrate by 4, fat by 9 and alcohol by 7. To go the other way, divide: 2,000 kcal at 30% protein is 600 kcal ÷ 4 = 150 g protein.
15.2 How to calculate the percentage of calories from fat
Multiply grams of fat by 9 and divide by total calories, then multiply by 100. A snack with 9 g fat and 230 kcal has 9 × 9 ÷ 230 × 100 = 35% of its calories from fat.
15.3 Tips for accurate recipe calories
- Oils and fats have about 880 to 900 kcal per 100 g; one tablespoon of oil adds about 120 kcal.
- Use dry weights for rice, lentils and pasta; they absorb water when cooked but the calories do not change.
- Water, spices, herbs, salt and vinegar add almost nothing and can be left out.
- For smoothies, the fruit, milk, nut butter and any honey or syrup carry nearly all the calories.
🔬 16. How This Calorie Calculator Was Built and Tested
The StatsUnlock Team built this calorie calculator from primary sources and checked every mode against independent code before publishing.
| Part | Method and source | How we checked it |
|---|---|---|
| Daily calories | Mifflin-St Jeor (1990), Harris-Benedict revised (Roza & Shizgal, 1984), Katch-McArdle (370 + 21.6 × lean mass); 5 activity factors | 8 samples matched an independent Python script to the calorie |
| Goals | 7,700 kcal per kg; floors 1,200 / 1,500 / 1,800 kcal; loss capped at 1 kg a week; no deficit in pregnancy or below BMI 18.5 | Floor, pregnancy and underweight cases tested |
| Pregnancy, breastfeeding | Institute of Medicine additions as reviewed by Butte & King (2005) | Each life stage checked by hand |
| Calories burned | 32 activities from the 2011 Compendium (Ainsworth et al., 2011); ACSM treadmill equations; steps via stride length; Keytel (2005) heart rate | 9 samples matched independent code; net and gross both shown |
| Macros and recipes | Atwater factors 4, 4, 9, 7 (and 2 for fibre) | Forward and reverse conversions agree |
| Children | Institute of Medicine (2005) energy equations, ages 3 to 18 | 5 samples matched independent code |
| Units and input checks | cm, m, ft + in, in; kg, lb, st + lb; mph or km/h; range limits and clear error messages | All 12 unit pairs give identical results; 20 error cases tested |
| Devices and privacy | Single HTML file, nothing calculated until you press Calculate, no data leaves your browser | Tested at 320, 375, 414 and 1,100 px wide |
The 2024 Adult Compendium (Herrmann et al., 2024) updated some MET values; differences for the activities here are small. Last reviewed: .
🎯 17. Example Calorie Calculator Results (8 Worked Cases)
Eight real-world cases run through the calorie calculator, from a simple maintenance target to a breastfeeding plan, a treadmill session and a homemade dal.
Maintenance for a moderately active man
The basic calculation everyone starts with.
Man, 30, 70 kg, 175 cm, exercises 3 to 5 days a week.
| Measure | Value | Note |
|---|---|---|
| BMR | 1,648.8 kcal | 10×70 + 6.25×175 − 5×30 + 5 |
| Activity factor | 1.55 | Moderately active |
| Maintenance | 2,556 kcal | BMR × 1.55 |
| Lose 0.5 kg a week | 2,006 kcal | Maintenance − 550 |
What it means: He burns about 2,556 kcal on an average day. Eating that much keeps his weight steady.
How to use it: Eat around 2,556 kcal for 2 to 3 weeks and watch the weekly average weight.
Calorie deficit for a woman
A steady 0.5 kg a week.
Woman, 35, 68 kg, 165 cm, lightly active, target 60 kg.
| Measure | Value | Note |
|---|---|---|
| BMR | 1,375 kcal | Mifflin-St Jeor, women |
| Maintenance | 1,891 kcal | BMR × 1.375 |
| Target | 1,341 kcal | Maintenance − 550 |
| Time to 60 kg | 16 weeks | 8 kg ÷ 0.5 kg a week |
What it means: About 1,341 kcal a day should lose roughly 0.5 kg a week, reaching 60 kg in about 16 weeks if all goes to plan.
How to use it: Keep protein near 109 g a day and expect slower loss after a few months.
When the plan would go too low
Why the calculator refuses a crash diet.
Woman, 52, 58 kg, 160 cm, sedentary, asks to lose 1 kg a week.
| Measure | Value | Note |
|---|---|---|
| Maintenance | 1,391 kcal | BMR 1,159 × 1.2 |
| Plan asked for | 291 kcal | Maintenance − 1,100 |
| Target shown | 1,200 kcal | Safety floor |
| Expected loss | 0.17 kg a week | Not 1 kg |
What it means: A small, sedentary woman cannot safely lose 1 kg a week by diet alone. The tool holds her at 1,200 kcal.
How to use it: Add daily walking to raise maintenance, or choose a 0.25 kg-a-week goal.
Building muscle with a small surplus
More food, but not too much.
Man, 25, 75 kg, 180 cm, very active, wants to reach 80 kg.
| Measure | Value | Note |
|---|---|---|
| Maintenance | 3,027 kcal | BMR 1,755 × 1.725 |
| Lean bulk target | 3,330 kcal | +10%, +303 kcal |
| Weekly gain | 0.28 kg | About 0.4% of body weight |
| Protein | 135 g | 1.8 g per kg |
What it means: A 10% surplus gives slow, mostly lean gains of about 0.28 kg a week.
How to use it: Weigh weekly; if gain passes 0.5% of body weight a week, cut 100 to 150 kcal.
Losing weight while breastfeeding
Slow and steady protects milk supply.
Woman, 31, 70 kg, 165 cm, lightly active, baby 3 months, wants to lose 0.25 kg a week.
| Measure | Value | Note |
|---|---|---|
| Maintenance without baby | 1,946 kcal | BMR × 1.375 |
| Breastfeeding extra | +330 kcal | Months 0 to 6 |
| Maintenance now | 2,276 kcal | Including milk |
| Target | 2,001 kcal | −275 a day |
What it means: She needs about 2,001 kcal to lose a quarter of a kilo a week while feeding her baby.
How to use it: If milk supply drops, return to maintenance and check with a lactation consultant.
Gross vs net calories from a walk
Why you should not eat back every calorie.
A 70 kg person walks briskly (3.5 mph) for 30 minutes.
| Measure | Value | Note |
|---|---|---|
| Gross calories | 158 kcal | What most apps show |
| Resting in that time | 37 kcal | Burned anyway |
| Net calories | 121 kcal | Extra from the walk |
| Food equivalent | about 1 banana | Net calories |
What it means: The walk only adds about 121 kcal beyond resting, not 158.
How to use it: Use net calories when deciding how much extra to eat after exercise.
Macro percentages that do not add up
What the calculator does with a mistake.
Someone enters 2,000 kcal split 35% protein, 45% carbs, 30% fat.
| Measure | Value | Note |
|---|---|---|
| Percentages entered | 35 + 45 + 30 | = 110% |
| Calculator response | Error message | Must add up to 100% |
| After fix (35 / 40 / 25) | 175 g / 200 g / 56 g | Protein, carbs, fat |
What it means: Splitting more than 100% of calories is impossible, so no grams are shown until it is fixed.
How to use it: Lower one share, for example carbs to 40% and fat to 25%.
Homemade red lentil dal
Calories per serving of an Indian recipe.
Dal for 4 made with lentils, onion, tomato, ghee and water.
| Measure | Value | Note |
|---|---|---|
| Red lentils, dry | 200 g × 352 kcal/100 g | 704 kcal |
| Onion | 100 g × 40 kcal/100 g | 40 kcal |
| Tomato | 150 g × 18 kcal/100 g | 27 kcal |
| Ghee | 20 g × 876 kcal/100 g | 175 kcal |
| Total | 946 kcal | 237 kcal per serving |
What it means: Each of 4 servings has about 237 kcal.
How to use it: Weigh the cooked pot to get kcal per 100 g, then weigh your bowl.
📏 18. How Do You Get Accurate Calorie Numbers?
A calorie calculator is only as good as the numbers you give it, and the activity level is the biggest source of error.
- Weigh yourself in the morning after the toilet and before eating, on the same scale each time.
- Measure height without shoes against a wall.
- Pick your activity level honestly. Count your average week, not your best week. If torn between two, choose the lower.
- Only enter body fat if it comes from a DEXA scan or a reliable method; home scales can be off by 5 points.
- For workouts, use actual moving time, not time in the gym.
- Use your real walking pace. Time yourself over a known distance once.
- Heart rate is most reliable from a chest strap during steady exercise.
- Weigh food in grams with a kitchen scale; cups and spoons vary a lot.
- Use labels for the same state you weigh, raw or cooked.
- Re-check every 4 to 8 weeks or after a 2 to 3 kg change in weight.
| Input | Unit | Accepted range |
|---|---|---|
| Age | years | 18 to 100 (adults), 3 to 18 (kids) |
| Height | cm, m, ft + in, in | 120 to 250 cm (adults), 80 to 210 cm (kids) |
| Weight | kg, lb, st + lb | 30 to 300 kg (adults), 10 to 150 kg (kids) |
| Duration | minutes | 1 to 600 |
| Treadmill incline | % | 0 to 30 |
| Heart rate | bpm | 60 to 210 |
✅ 19. When Should You Use a Calorie Calculator?
- Starting a weight-loss, maintenance or muscle-gain plan
- Your weight or activity has changed
- You want calories for a workout or walk
- You cook at home and want calories per serving
- You need a rough guide for a child or during breastfeeding
- You have, or have had, an eating disorder
- You have diabetes, kidney disease or a thyroid condition
- You are pregnant and gaining too much or too little
- A child’s growth is a concern
- You are recovering from illness or surgery
Decision guide
| Your situation | Best tab or tool |
|---|---|
| How much should I eat? | Daily Calories |
| How much did my walk, steps or gym session burn? | Calories Burned |
| I have macro grams or a percentage split | Macros & Grams |
| I cooked a meal and want calories per portion | Recipe |
| My child is 3 to 18 | Kids & Teens |
| I need exact measured BMR | Indirect calorimetry at a clinic |
🔧 20. Troubleshooting and Common Errors
Most calorie calculator problems come from activity level, units or mixing gross and net calories.
Another calorie calculator gives a different number
Cause: different BMR equations (many still use the 1919 Harris-Benedict), different activity factors or different rounding. Fix: compare the BMR first. This tool uses Mifflin-St Jeor by default and shows all three equations in the results table.
My target is higher than I expected
Cause: a safety floor or a high activity level. Fix: check the green warning box and try one activity level lower.
I am eating at the target but not losing weight
Cause: real intake is often 10 to 30% higher than logged, or water is hiding fat loss. Fix: weigh food for 2 weeks and use the weekly average weight. Then reduce by 100 to 200 kcal if needed.
My watch says I burned far more
Cause: watches often show gross calories and their own algorithms. Fix: compare with the gross number here and use one source consistently.
The steps result seems low
Cause: walking at an easy pace on flat ground is light exercise. Fix: check your pace and height, or measure your stride.
Treadmill speed will not accept my value
Cause: walking is limited to 4.5 mph and running starts at 4 mph. Fix: switch between Walking and Running.
Macro percentages give an error
Cause: they must add up to 100%. Fix: adjust one value so the total is exactly 100.
Recipe calories look too high
Cause: cooked weight with raw calories, or oil counted twice. Fix: use raw weights and raw kcal per 100 g for every ingredient.
The Download TXT button is grey
Cause: nothing has been calculated, or you changed a sample or unit. Fix: press Calculate again.
Charts do not appear
Cause: a script blocker stopped the chart library. Fix: allow cdnjs.cloudflare.com or reload. All numbers and tables still work.
⚠️ 21. What Are the Limitations of a Calorie Calculator?
Every calorie calculator rests on the same assumptions. Here is what each one means for you, and what to do when it fails.
- You are an average person for your size. Real BMR varies by about 10% between people of the same size. Alternative: track weight for 3 weeks and adjust.
- Activity factors fit your week. They are broad bands; most people overestimate. Alternative: choose one level lower, or track steps.
- Metabolism does not adapt. It does: after months of dieting, you burn less than predicted (Hall et al., 2011). Expect slower loss over time.
- MET values fit everyone. They come from average adults; fitter people may burn slightly less for the same task.
- Stride is a fixed share of height. Real stride varies with pace and leg length. Measure 10 steps for a better number.
- Labels are exact. Food labels may be off by up to 20% and are rounded.
- Intermittent or very low calorie diets behave the same. The body responds differently to breaks and severe restriction (Byrne et al., 2018).
🏁 22. Conclusion
This calorie calculator turns your details into a daily calorie target of ___. Run the calculator above to see your own summary here.
Every calorie number is an estimate. Follow it for 2 to 3 weeks and let your real weight trend guide you.
Come back to this calorie calculator whenever your weight, activity or goal changes.
❓ 23. Frequently Asked Questions About Calories
Q1. How many calories should I eat a day?
Most adults need about 1,600 to 2,400 calories a day (women) and 2,000 to 3,000 (men), depending on age, size and activity. For a personal number, a calorie calculator multiplies your BMR by an activity factor. A moderately active 30-year-old man who weighs 70 kg and is 175 cm tall needs about 2,556 kcal a day to maintain his weight.
Q2. How do I calculate my maintenance calories?
Calculate your BMR with the Mifflin-St Jeor equation (10 × weight in kg + 6.25 × height in cm − 5 × age, plus 5 for men or minus 161 for women), then multiply by your activity factor: 1.2 sedentary, 1.375 light, 1.55 moderate, 1.725 very active or 1.9 extra active. The result is your maintenance calories, also called TDEE.
Q3. How many calories should I eat to lose weight as a woman?
Start about 500 calories below your maintenance to lose roughly 0.5 kg (1 lb) a week. For a 35-year-old woman who weighs 68 kg, is 165 cm tall and lightly active, that is about 1,341 kcal a day. Do not go below 1,200 kcal a day without medical supervision, and aim to lose no more than 0.5 to 1% of body weight a week.
Q4. How many calories should I eat to bulk or lean bulk?
For a lean bulk, eat about 5 to 10% above maintenance and aim to gain 0.25 to 0.5% of body weight a week. A faster bulk uses 10 to 20% above maintenance. Keep protein around 1.6 to 2.2 g per kg and train with weights. A bigger surplus mostly adds fat rather than more muscle.
Q5. How many calories should I eat for body recomposition?
Body recomposition usually works best at maintenance or a small deficit of about 10%, with high protein (around 2 g per kg of body weight) and regular strength training. Your weight may barely change, but your waist should shrink and strength should rise. It works best for beginners and people returning to training.
Q6. How many calories does walking burn per mile?
A 70 kg person burns about 86 calories per mile walking at 3 mph, and roughly the same at faster walking speeds. Heavier people burn more: about 104 kcal per mile at 85 kg. Walking uphill or on an incline treadmill can more than double the calories per minute.
Q7. How many calories do 10,000 steps burn?
For a 70 kg man who is 175 cm tall, 10,000 steps covers about 7.3 km (4.5 miles) and burns about 365 calories at a 3 mph pace. 5,000 steps burns about 182. The number rises with body weight, height and walking speed.
Q8. How many calories does an incline treadmill walk burn?
Walking at 3 mph on a 10% incline for 30 minutes burns about 273 calories for a 70 kg person, compared with about 121 on a flat treadmill. The popular 12-3-30 workout (12% incline, 3 mph, 30 minutes) burns about 304 calories at 70 kg.
Q9. How many calories does a StairMaster burn?
A stair climbing machine is about 9 METs, so 30 minutes burns roughly 331 calories for a 70 kg person, 260 at 55 kg and 402 at 85 kg. It is one of the highest-burning gym machines because you lift your body weight with every step.
Q10. How many calories does rowing burn?
Thirty minutes on a rowing machine burns about 176 calories at light effort, 257 at moderate effort and 312 at vigorous effort for a 70 kg person. Rowing works the legs, back and arms together and is easy on the joints.
Q11. How do you calculate calories burned from heart rate?
Use the Keytel equation. For men: calories per minute = (−55.0969 + 0.6309 × heart rate + 0.1988 × weight in kg + 0.2017 × age) ÷ 4.184. For women: (−20.4022 + 0.4472 × heart rate − 0.1263 × weight + 0.074 × age) ÷ 4.184. Multiply by minutes. A 30-year-old, 70 kg man at 140 bpm burns about 381 kcal in 30 minutes.
Q12. How many extra calories do you need when breastfeeding?
About 330 extra calories a day in the first 6 months and 400 a day from 7 to 12 months, according to Institute of Medicine estimates. Milk production uses about 500 kcal a day, but some comes from fat stored in pregnancy. If losing weight, aim for no more than 0.5 kg (1 lb) a week and stay above about 1,800 kcal a day.
Q13. How many extra calories do you need when pregnant?
No extra calories are needed in the first trimester. Add about 340 calories a day in the second trimester and about 452 a day in the third, based on Institute of Medicine estimates. Pregnancy is not a time to diet; talk to your midwife or doctor about healthy weight gain.
Q14. How many calories does a child need?
It depends on age, sex, size and activity. Using the Institute of Medicine equations, an active 10-year-old boy who weighs 32 kg and is 140 cm tall needs about 2,164 calories a day. Children need energy for growth, so they should not follow calorie-restricted diets unless a paediatrician advises it.
Q15. How do you convert grams to calories?
Multiply grams of protein by 4, carbohydrate by 4, fat by 9 and alcohol by 7, then add them up. For example, 150 g protein, 250 g carbohydrate and 70 g fat is 600 + 1,000 + 630 = 2,230 calories. To go from calories to grams, divide the calories for each macro by the same numbers.
Q16. How do you calculate the percentage of calories from fat?
Multiply the grams of fat by 9, divide by the total calories and multiply by 100. A food with 9 g of fat and 230 calories has 9 × 9 = 81 calories from fat, which is 81 ÷ 230 × 100 = 35% of its calories. Health guidelines suggest 20 to 35% of daily calories from fat.
Q17. How do you calculate calories in homemade food?
Weigh each raw ingredient in grams, multiply by its calories per 100 g from the label and divide by 100. Add every ingredient together for the recipe total, then divide by the number of servings. Oil, ghee and butter add the most, so always weigh them.
Q18. How do you calculate calories in Excel?
Put weight in B2, height in C2 and age in D2, then use =10*B2+6.25*C2-5*D2+5 for a man's BMR (use -161 for a woman). Multiply by the activity factor, for example =E2*1.55, for maintenance calories. Use =MAX(F2-550,1500) for a safe weight-loss target. Section 8 shows every step.
Q19. How do you calculate calories in R?
Store weight, height, age and activity as variables, then compute bmr <- 10 * weight + 6.25 * height - 5 * age + ifelse(sex == "male", 5, -161) and tdee <- bmr * activity. Use pmax() to apply a safety floor to every goal at once. The full base R script in Section 9 also covers METs, treadmill incline and macros.
Q20. How do you calculate calories in Python?
Compute bmr = 10 * weight + 6.25 * height - 5 * age + (5 if sex == "male" else -161), then tdee = bmr * activity. Simple functions handle MET calories, the ACSM treadmill equation and the Keytel heart rate formula. The full script in Section 10 prints each result and saves a 300 dpi chart with matplotlib.
📎 24. Cite This Tool
StatsUnlock Team. (2026). Calorie calculator: Maintenance, deficit, bulking, calories burned and macros [Interactive tool]. StatsUnlock. https://statsunlock.com/calorie-calculator/@misc{statsunlock_calorie_2026, author={{StatsUnlock Team}}, title={Calorie Calculator: Maintenance, Deficit, Bulking, Calories Burned and Macros}, year={2026}, publisher={StatsUnlock}, note={Interactive tool}, url={https://statsunlock.com/calorie-calculator/}}Energy requirements were estimated with the StatsUnlock Calorie Calculator (2026) using the Mifflin-St Jeor equation and standard activity factors. Exercise energy expenditure was estimated from 2011 Compendium MET values, ACSM metabolic equations or the Keytel et al. (2005) heart rate equation.🔗 25. Related Tools
More free StatsUnlock calculators to use alongside this calorie calculator, from age and goal dates to measurement.
Find your exact age, the input every calorie equation needs.
Set a 90-day check-in date for your weight and calorie plan.
Turn the weeks to your target weight into a calendar date.
Turn a weekly calorie deficit into a yearly total.
Measure floor space for a home gym or treadmill.
Convert treadmill incline percent to degrees and slopes.
📖 26. Glossary of Terms
- Activity factor
- A multiplier from 1.2 to 1.9 that scales BMR up to your daily total.
- Atwater factors
- The calories per gram used on labels: 4 for protein and carbohydrate, 9 for fat, 7 for alcohol.
- BMR (basal metabolic rate)
- Calories your body burns at complete rest in a day.
- Body recomposition
- Losing fat and gaining muscle at the same time, usually at or slightly below maintenance.
- Bulking
- Eating above maintenance to gain muscle; a lean bulk uses a small surplus.
- Calorie (kcal)
- A unit of food energy; the "calories" on labels are kilocalories.
- Calorie calculator
- A tool that estimates how many calories you burn and should eat each day.
- Calorie deficit
- Eating fewer calories than you burn, which leads to weight loss.
- Calorie surplus
- Eating more calories than you burn, which leads to weight gain.
- EER (estimated energy requirement)
- The average daily calories a healthy person of a given age, sex, size and activity needs.
- Gross calories
- All calories burned during an activity, including resting calories.
- Heart rate (bpm)
- Beats per minute; higher during harder exercise.
- Lean body mass
- Everything in your body that is not fat: muscle, bone, organs and water.
- Macronutrients (macros)
- Protein, carbohydrate and fat, the nutrients that provide calories.
- Maintenance calories
- The calories that keep your weight steady; the same as TDEE.
- MET (metabolic equivalent)
- How hard an activity is compared with resting; 1 MET is sitting still.
- Net calories
- Calories burned by exercise above what you would burn resting.
- Stride length
- The distance covered by one step.
- TDEE (total daily energy expenditure)
- All the calories you burn in a day: BMR, activity and digestion.
- Thermic effect of food
- Calories used to digest food, about 10% of intake.
- VO₂
- Oxygen used per kg of body weight per minute; about 5 kcal are released per litre of oxygen.
📚 27. References
- Ainsworth, B. E., Haskell, W. L., Herrmann, S. D., Meckes, N., Bassett, D. R., Jr., Tudor-Locke, C., Greer, J. L., Vezina, J., Whitt-Glover, M. C., & Leon, A. S. (2011). 2011 Compendium of Physical Activities: A second update of codes and MET values. Medicine & Science in Sports & Exercise, 43(8), 1575–1581. https://doi.org/10.1249/MSS.0b013e31821ece12
- Barakat, C., Pearson, J., Escalante, G., Campbell, B., & De Souza, E. O. (2020). Body recomposition: Can trained individuals build muscle and lose fat at the same time? Strength and Conditioning Journal, 42(5), 7–21. https://doi.org/10.1519/SSC.0000000000000584
- Butte, N. F., & King, J. C. (2005). Energy requirements during pregnancy and lactation. Public Health Nutrition, 8(7a), 1010–1027. https://doi.org/10.1079/PHN2005793
- Byrne, N. M., Sainsbury, A., King, N. A., Hills, A. P., & Wood, R. E. (2018). Intermittent energy restriction improves weight loss efficiency in obese men: The MATADOR study. International Journal of Obesity, 42(2), 129–138. https://doi.org/10.1038/ijo.2017.206
- Cunningham, J. J. (1980). A reanalysis of the factors influencing basal metabolic rate in normal adults. The American Journal of Clinical Nutrition, 33(11), 2372–2374. https://doi.org/10.1093/ajcn/33.11.2372
- Frankenfield, D., Roth-Yousey, L., & Compher, C. (2005). Comparison of predictive equations for resting metabolic rate in healthy nonobese and obese adults: A systematic review. Journal of the American Dietetic Association, 105(5), 775–789. https://doi.org/10.1016/j.jada.2005.02.005
- Hall, C., Figueroa, A., Fernhall, B., & Kanaley, J. A. (2004). Energy expenditure of walking and running: Comparison with prediction equations. Medicine & Science in Sports & Exercise, 36(12), 2128–2134. https://doi.org/10.1249/01.MSS.0000147584.87788.0E
- Hall, K. D., Sacks, G., Chandramohan, D., Chow, C. C., Wang, Y. C., Gortmaker, S. L., & Swinburn, B. A. (2011). Quantification of the effect of energy imbalance on bodyweight. The Lancet, 378(9793), 826–837. https://doi.org/10.1016/S0140-6736(11)60812-X
- Helms, E. R., Aragon, A. A., & Fitschen, P. J. (2014). Evidence-based recommendations for natural bodybuilding contest preparation: Nutrition and supplementation. Journal of the International Society of Sports Nutrition, 11, 20. https://doi.org/10.1186/1550-2783-11-20
- Herrmann, S. D., Willis, E. A., Ainsworth, B. E., Barreira, T. V., Hastert, M., Kracht, C. L., Schuna, J. M., Jr., Cai, Z., Quan, M., Tudor-Locke, C., Whitt-Glover, M. C., & Jacobs, D. R., Jr. (2024). 2024 Adult Compendium of Physical Activities: A third update of the energy costs of human activities. Journal of Sport and Health Science, 13(1), 6–12. https://doi.org/10.1016/j.jshs.2023.10.010
- Iraki, J., Fitschen, P., Espinar, S., & Helms, E. (2019). Nutrition recommendations for bodybuilders in the off-season: A narrative review. Sports, 7(7), 154. https://doi.org/10.3390/sports7070154
- Keytel, L. R., Goedecke, J. H., Noakes, T. D., Hiiloskorpi, H., Laukkanen, R., van der Merwe, L., & Lambert, E. V. (2005). Prediction of energy expenditure from heart rate monitoring during submaximal exercise. Journal of Sports Sciences, 23(3), 289–297. https://doi.org/10.1080/02640410470001730089
- Mifflin, M. D., St Jeor, S. T., Hill, L. A., Scott, B. J., Daugherty, S. A., & Koh, Y. O. (1990). A new predictive equation for resting energy expenditure in healthy individuals. The American Journal of Clinical Nutrition, 51(2), 241–247. https://doi.org/10.1093/ajcn/51.2.241
- Morton, R. W., Murphy, K. T., McKellar, S. R., Schoenfeld, B. J., Henselmans, M., Helms, E., Aragon, A. A., Devries, M. C., Banfield, L., Krieger, J. W., & Phillips, S. M. (2018). A systematic review, meta-analysis and meta-regression of the effect of protein supplementation on resistance training-induced gains in muscle mass and strength in healthy adults. British Journal of Sports Medicine, 52(6), 376–384. https://doi.org/10.1136/bjsports-2017-097608
- Roza, A. M., & Shizgal, H. M. (1984). The Harris Benedict equation reevaluated: Resting energy requirements and the body cell mass. The American Journal of Clinical Nutrition, 40(1), 168–182. https://doi.org/10.1093/ajcn/40.1.168
- Southgate, D. A. T., & Durnin, J. V. G. A. (1970). Calorie conversion factors: An experimental reassessment of the factors used in the calculation of the energy value of human diets. British Journal of Nutrition, 24(2), 517–535. https://doi.org/10.1079/BJN19700050
- Thompson, J., & Manore, M. M. (1996). Predicted and measured resting metabolic rate of male and female endurance athletes. Journal of the American Dietetic Association, 96(1), 30–34. https://doi.org/10.1016/S0002-8223(96)00010-7
- Torun, B. (2005). Energy requirements of children and adolescents. Public Health Nutrition, 8(7a), 968–993. https://doi.org/10.1079/PHN2005791
- Tudor-Locke, C., Craig, C. L., Brown, W. J., Clemes, S. A., De Cocker, K., Giles-Corti, B., Hatano, Y., Inoue, S., Matsudo, S. M., Mutrie, N., Oppert, J.-M., Rowe, D. A., Schmidt, M. D., Schofield, G. M., Spence, J. C., Teixeira, P. J., Tully, M. A., & Blair, S. N. (2011). How many steps/day are enough? For adults. International Journal of Behavioral Nutrition and Physical Activity, 8, 79. https://doi.org/10.1186/1479-5868-8-79
- Westerterp, K. R. (2013). Physical activity and physical activity induced energy expenditure in humans: Measurement, determinants, and effects. Frontiers in Physiology, 4, 90. https://doi.org/10.3389/fphys.2013.00090
