It can be calculated after the fact from the track log of many GPS units, but I don't know of any that have this as a built-in.