This is hard to answer, and depends on several factors, but the main thing is that depends mostly on your own experience. With the time you will develop your own recipe for estimations.
For instance I have a list of items that I check to estimate a task, i.e:
Regards
Mario