I may be wrong here, but I have always just grabbed a drill that looked about right. If it is a cell phone sized thing then a 1/8" hole looks about right. If it is in a 10" Pipe flange then 1/2" looked about right.
I am not sure there is a science to it, but I have been wrong before.