The way i do it is to find the distance and ascent over the course of the route, divide it by Naismith's rule (3 mph, and 2,000' ph), then add on how long i think i'll be stopping to eat/take pics/etc, and then on top of that i'll just add a generous fudge factor depending on how rough i think...