Place finger in mouth, lick, wave in air and make up a number based on past experience. Then double it.
Really, its just experience that counts. You imagine what the task entails you doing, and you know how long it'll take you to do that. Double it for unanticipated items. This is also why you never ask junior programmers for such estimates.