A calorie deficit is necessary to lose weight, which you can achieve by eating less or exercising more. The Mifflin St. Jeor equation estimates how many calories your body needs to function at rest.