If you're travelling at a fairly constant speed and you have your weight and your bikes weight put in correctly, AND use a decent GPS device you should be able to be fairly confident of a reliable estimate
It is pretty accurate for climbs (weight of rider and bike is by far the most influencial variable here). But for going fast on the flat it is usesless as it has no information about drag and doesn't take into account wind or drafting.