← back to projects
project 04  ·  2026  ·  tool

TDEE Calculator.

Estimate your daily calorie needs, compare two trusted formulas, and set a realistic target. Built because every other calculator on the web is buried under ads.

year
2026
stack
vanilla JS · HTML · CSS
formulas
Mifflin-St Jeor · Harris-Benedict
links
github.com/cmrabdu/tdee-calculator ↗
Inputs

Your profile

Adjust the sliders to match your current routine.

Body

Sex

Training

Training type

Daily activity

1k25k

Goal

Goal type

Maintenance uses your selected TDEE with no calorie adjustment.

Results

Daily estimates

Tap a TDEE card to use that formula for the target below.

Basal metabolic rate

Calories your body uses at rest.

Energy breakdown

Estimated average calories burned per day.

Average day

Total daily energy expenditure

Pick the estimate you want to use for your target.

Using Mifflin-St Jeor

Calorie target

Built from the selected TDEE formula.

Maintenance
How this estimate works

Mifflin-St Jeor is the recommended default for most adults.

Harris-Benedict is included as a comparison reference.

Daily expenditure combines BMR, a base NEAT estimate, training, and walking calories estimated from steps and body weight.

Source code on GitHub ↗