Calculate your Basal Metabolic Rate and daily calorie needs based on your activity level.
BMR is the energy your body burns at complete rest. Daily calories add the energy you burn from movement and exercise on top of that.
The Mifflin-St Jeor equation, widely considered one of the most accurate BMR formulas for most people.