The balance of calories stored and burned depends on your genetic makeup, your level of physical activity, and your resting energy expenditure (the number of calories your body burns while at rest). If you consistently burn all of the calories that you consume in the course of a day, you will maintain your weight. If you consume more energy (calories) than you expend, you will gain weight.