Average speed comes from total distance and total time, not automatically from averaging two speeds
A journey includes a 60 km outward trip at a constant speed of 60 km/h and a 60 km return trip at a constant speed of 30 km/h. Assume there are no stops between the two legs. The average speed for the complete journey is 40 km/h, even though the arithmetic mean of the two stated speeds is 45 km/h.
The difference comes from time. The outward leg takes one hour, while the return takes two hours. The traveller spends twice as long at the lower speed. Giving the two speeds equal weight ignores that unequal duration.

Start with the definition
Average speed is total distance travelled divided by the elapsed time for the chosen interval. Here the distance is 60 + 60 = 120 km. The time is 60/60 + 60/30 = 1 + 2 = 3 hours. Dividing gives 120/3 = 40 km/h.
The units provide a useful guide. Distance in kilometres divided by time in hours gives kilometres per hour. Adding two speeds and dividing by two also produces speed units, but matching units alone does not establish that the calculation answers the right question.
Always identify the interval first. A whole-journey average and an average for only the moving portions may have different denominators when the journey includes stops.
Equal times make the arithmetic mean work
Suppose instead that the traveller moves for one hour at 60 km/h and one hour at 30 km/h. The distances are then 60 km and 30 km. Total distance is 90 km, and total time is two hours, so average speed is 45 km/h.
Now the arithmetic mean works because the speeds apply for equal durations. Neither speed receives more time weight than the other. The distances are unequal, which does not cause a problem for this equal-time calculation.
For two constant-speed stages with durations t1 and t2, the general calculation is (v1 × t1 + v2 × t2)/(t1 + t2), provided total time is positive and the units are consistent. This is a time-weighted mean of the two speeds.
Equal distances lead to a different expression
For two equal, positive distances travelled at positive constant speeds v1 and v2, the average speed simplifies to 2 × v1 × v2/(v1 + v2). This expression is the harmonic mean of the speeds.
Using 60 and 30 gives 2 × 60 × 30/(60 + 30) = 3600/90 = 40 km/h. The formula works here because each stage covers the same distance. It should not replace the total-distance-over-total-time definition when the distances differ.
If the return leg were only 30 km at 30 km/h, it would take one hour. Combined with the outward leg, that would give 90 km in two hours, or 45 km/h. Changing a distance changes the duration and therefore the weighting.
Stops and direction require clear labels
A half-hour stop added to the original 120 km journey raises elapsed time from three hours to three and a half hours. The whole-journey average speed becomes 120/3.5, about 34.29 km/h. The distance does not change while the traveller is stopped, but elapsed time continues to grow.
Average velocity is a different quantity: displacement divided by elapsed time. Returning to the starting point makes the net displacement zero, so the average velocity for the round trip is zero. Average speed remains positive because the distance travelled is positive.
Before choosing a shortcut, write down distances, durations and the quantity requested. Equal times, equal distances and a return to the starting point are different conditions. Keeping them separate makes the calculation follow the journey rather than the appearance of the numbers.
More learning resources at academiamastertrader.com.br.