Good points by everyone. Two other important factors are age and starting fitness level (for exercise).
A 50 year old can't match a 30 year old for calorie burn. If 50, you can get there but it will take longer. Regarding the fitness level, if you're grossly out of shape, the 1st 3-6 months...