I'd like to comment it doesn't only depend on glide ratio and prevailing wind - it also depends on glide true airspeed (which varies with altitude - I presume you'd have to enter the indicated airspeed too) and how high the terrain is.