Multi-Leg Trip & Harmonic Mean
Last reviewed: April 2026
True average speed for multi-leg trips. Shows why simple averaging is wrong and uses the correct harmonic mean formula. This calculator runs entirely in your browser — your data stays private, and no account is required.
Average speed is total distance divided by total time: Speed = Distance ÷ Time. This is different from instantaneous speed (what your speedometer reads). If you drive 120 miles in 2 hours, your average speed is 60 mph — even if you were going 75 on the highway and 30 in town. This calculator solves for any of the three variables when you provide the other two.
The most common error is averaging speeds directly. If you drive 30 mph for one hour and 60 mph for one hour, your average is 45 mph. But if you drive 30 mph for one mile and 60 mph for one mile, your average is 40 mph (not 45) because you spent more time at the slower speed. Always use total distance ÷ total time. For more physics calculations, see our Speed Distance Time solver.
| Activity | Speed (mph) | Speed (km/h) | Speed (m/s) |
|---|---|---|---|
| Walking | 3.1 | 5.0 | 1.4 |
| Jogging | 6.0 | 9.7 | 2.7 |
| Cycling (casual) | 12 | 19.3 | 5.4 |
| City driving | 30 | 48.3 | 13.4 |
| Highway driving | 65 | 104.6 | 29.1 |
| Commercial jet | 575 | 926 | 257 |
Average speed is calculated as total distance traveled divided by total time elapsed. While this seems straightforward, the concept contains subtleties that trip up even mathematically confident people. The most common mistake is assuming that the average speed for a multi-leg trip equals the arithmetic mean of the speeds for each leg. This is only true if equal time is spent at each speed — not if equal distances are covered at each speed. For equal-distance legs, the correct average is the harmonic mean: 2/(1/v₁ + 1/v₂) for two legs.
Consider a classic example: you drive 60 miles at 60 mph (taking 1 hour), then 60 miles at 30 mph (taking 2 hours). The total distance is 120 miles and the total time is 3 hours, giving an average speed of 40 mph — not the arithmetic mean of 45 mph. The slower speed has a disproportionate effect because you spend more time at that speed. This asymmetry explains why average speeds are always lower than the arithmetic mean of component speeds when equal distances are traveled, and why the harmonic mean is the correct tool for averaging rates and ratios. Our Mean, Median, Mode Calculator explores different types of averages in detail.
In physics, speed and velocity are distinct concepts. Speed is a scalar quantity — it has magnitude only (how fast something moves). Velocity is a vector quantity — it has both magnitude and direction. Average speed equals total distance divided by total time, while average velocity equals total displacement (straight-line distance from start to finish) divided by total time. For a round trip — driving 100 miles to a destination and 100 miles back — the average speed might be 50 mph (200 miles in 4 hours), but the average velocity is zero because displacement is zero (you ended where you started).
This distinction matters in physics, navigation, and engineering. A satellite in circular orbit has a constant speed but a constantly changing velocity because its direction continuously changes. A runner completing laps on a track has high average speed but average velocity approaches zero over complete laps. In navigation, average velocity determines how quickly you close the distance to a destination, while average speed determines fuel consumption and total travel time. For most everyday calculations — trip planning, fuel economy, delivery estimates — average speed is the relevant quantity.
Actual average travel speeds are consistently lower than the posted speed limits or the speeds drivers maintain on open roads, because stops, slowdowns, and delays reduce the effective average. Urban driving averages 15-25 mph despite speed limits of 30-45 mph, due to traffic signals, stop signs, congestion, and pedestrian crossings. Highway driving typically averages 45-60 mph including rest stops, fuel stops, construction zones, and traffic slowdowns — significantly below the 65-75 mph cruising speed. The concept of "effective speed" in cycling communities accounts for the time spent stopped at lights, locking up bikes, and navigating pedestrian areas, often reducing the "door-to-door" average well below the riding speed.
Traffic engineering uses the concept of "travel time reliability" — measuring not just average speed but the consistency of travel times for a given route. A route with an average speed of 40 mph but high variability (sometimes 25 mph, sometimes 55 mph) may be less useful for planning than a route with a 35 mph average and consistent performance. Navigation apps like Google Maps and Waze use real-time and historical traffic data to estimate trip times based on predicted average speeds rather than speed limits, typically providing accuracy within 10-15% for most trips.
The speed-distance-time triangle (Speed = Distance ÷ Time, Distance = Speed × Time, Time = Distance ÷ Speed) is one of the most practically useful mathematical relationships. Trip planning uses it constantly — a 300-mile drive at an average of 50 mph takes 6 hours, informing departure time decisions. Delivery logistics calculate delivery windows by estimating average speeds across different road types and traffic conditions. Aviation uses groundspeed (speed relative to the ground, accounting for wind) and airspeed (speed relative to the surrounding air mass) to calculate fuel requirements and arrival times — a headwind reduces groundspeed below airspeed, increasing travel time and fuel consumption.
In athletics, pace (time per unit distance) is the inverse of speed and is often more intuitive for runners and cyclists. A runner completing a mile in 8 minutes has a pace of 8:00/mile and a speed of 7.5 mph. Marathon training plans prescribe target paces rather than speeds because pace directly relates to the runner's perceived effort and is easier to monitor during training. Converting between pace and speed is straightforward: speed (mph) = 60 ÷ pace (minutes per mile). Our Race Pace Calculator handles these conversions for various race distances.
The evolution of human travel speed illustrates the transformative impact of technology. For most of human history, maximum sustained travel speed was limited to approximately 5-30 mph — walking speed (3-4 mph), horseback riding (8-12 mph sustained, 25-30 mph sprint), and sailing ships (5-12 mph average). The steam locomotive (1830s) increased sustained travel speeds to 30-60 mph, fundamentally changing commerce and society. The automobile (early 1900s) brought personal travel speeds of 20-60 mph. Commercial aviation (1950s-present) enabled travel at 500-600 mph, making global travel accessible. The Concorde briefly achieved commercial speeds of 1,350 mph before being retired in 2003. Today, the fastest human-made object relative to Earth is the Parker Solar Probe, which has reached speeds exceeding 430,000 mph — enough to travel from New York to Los Angeles in about 20 seconds. Our Speed of Sound Calculator and MPG Calculator explore related speed and efficiency concepts.
See also: Pool Chemical Calculator · Resistor Color Code Calculator · Newton's Second Law Calculator · Ohm's Law Calculator · Ideal Gas Law Calculator
→ You cannot average speeds by adding and dividing. If you drive 30 mph for 60 miles and 60 mph for 60 miles, your average speed is 40 mph (harmonic mean), not 45 mph (arithmetic mean). The slower segment takes more time and drags the average down.
→ Use harmonic mean for equal distances, weighted average for equal times. If each leg covers the same distance, use harmonic mean. If each leg takes the same amount of time, the arithmetic mean works. Most real trips have equal-distance legs (outbound and return).
→ Rest stops affect your overall average dramatically. A 30-minute rest stop on a 3-hour trip can drop your average speed by 15–20%. For road trip planning, use our Gas Cost Calculator alongside this tool.
→ For running and cycling, use pace instead. Athletes typically think in minutes-per-mile or minutes-per-km. Our Pace Calculator handles those conversions more naturally for training purposes.
See also: Speed Distance Time · Pace Calculator · Gas Mileage Calculator · Distance Calculator