Calculate the calories your body burns at rest each day.
Your Basal Metabolic Rate (BMR) is the number of calories your body burns just to stay alive — breathing, keeping warm, running your organs — before any movement. The Mifflin-St Jeor equation is the most widely used estimate: for men, BMR = 10 × weight in kg + 6.25 × height in cm − 5 × age + 5; for women, the same formula ends with −161 instead of +5.
To find your total daily calorie needs, multiply BMR by an activity factor: 1.2 for a sedentary lifestyle, 1.375 for light exercise, 1.55 for moderate exercise, and 1.725 for very active. To lose weight, eat about 500 calories below that total per day; to gain, eat about 500 above it.