 For instance, if a vehicle travels a certain distance "d" outbound at a speed "x" (e.g.60 km/h) and returns the same distance at a speed "y" (e.g.20 km/h), then its average speed is the harmonic mean of "x" and "y" (30 km/h) – not the arithmetic mean (40 km/h).