Average Speed Calculator
60 miles at 30 mph and then 60 miles at 60 mph average 40 mph, not the 45 mph you get by averaging the two speeds: average speed is total distance ÷ total time (120 mi in 3:00:00), and the slow leg takes 2:00:00 against 1:00:00 for the fast one. For a single trip it is just as direct: 150 miles in 2:30:00 is 60 mph. Enter a total distance and time, or any number of legs as distance and speed or distance and time, in mph, km/h or m/s. The tool shows the working, a leg-by-leg table and how far the plain mean of the speeds is off.
Updated Runs in your browser: nothing you enter is uploadedHow this tool works
Average speed 40 mph
120 mi in 3:00:00 over 2 legs is an average of 40 mph. The plain mean of the leg speeds, 45 mph, is 12.5% too high.
- Average speed (mph)
- 40
- Average speed (km/h)
- 64.37376
- Average speed (m/s)
- 17.8816
- Total distance (mi)
- 120
- Total time
- 3:00:00
- Total time in hours
- 3
- Legs
- 2
- Plain mean of the leg speeds (mph)
- 45
- Plain mean against the average
- +12.5% (too high)
The legs are all the same distance, so the average speed is the harmonic mean of their speeds, not the ordinary mean.
The working
- Time on each leg = distance ÷ speed (see the table).
- Total distance = 120 mi. Total time = 3:00:00.
- Average speed = total distance ÷ total time = 120 mi ÷ 3 h = 40 mph.
- The plain mean of the leg speeds is 45 mph, 12.5% too high: it ignores that the legs take different times.
Leg by leg
| Leg | Distance | Speed | Time |
|---|---|---|---|
| Leg 1 | 60 mi | 30 mph | 2:00:00 |
| Leg 2 | 60 mi | 60 mph | 1:00:00 |
| Total | 120 mi | 40 mph | 3:00:00 |
Equal distances at two speeds: the true average
| First leg (mph) | Second leg (mph) | Plain mean (mph) | True average (mph) | Plain mean is |
|---|---|---|---|---|
| 30 | 60 | 45 | 40 | +12.5% (too high) |
| 40 | 60 | 50 | 48 | ≈ +4.1667% (too high) |
| 50 | 60 | 55 | ≈ 54.5455 | ≈ +0.8333% (too high) |
| 30 | 90 | 60 | 45 | ≈ +33.3333% (too high) |
| 20 | 80 | 50 | 32 | +56.25% (too high) |
| 55 | 65 | 60 | ≈ 59.5833 | ≈ +0.6993% (too high) |
| 10 | 100 | 55 | ≈ 18.1818 | +202.5% (too high) |
Which average goes with which trip
| Trip | What is equal | Average speed is | Example | Result |
|---|---|---|---|---|
| The same distance at each speed (a round trip) | The distances | The harmonic mean of the speeds | 30 and 60 mph over equal distances | 40 mph |
| The same time at each speed | The times | The ordinary mean of the speeds | 30 and 60 mph for an hour each | 45 mph |
| Different distances and different times | Nothing | Total distance ÷ total time | 10, 30 and 20 km at 40, 60 and 20 km/h | ≈ 34.2857 km/h |
| A total distance and a total time | Not needed | Total distance ÷ total time | 150 miles in 2:30:00 | 60 mph |
| A trip with a stop | Not needed | Total distance ÷ total time, the stop included | 60 mi in 2 h, 30 min stop, 90 mi in 1.5 h | 37.5 mph |
Speed needed on a second leg to reach a target average
| Target average (mph) | Speed needed on the second leg (mph) | Average of the two legs (mph) |
|---|---|---|
| 35 | 42 | 35 |
| 40 | 60 | 40 |
| 45 | 90 | 45 |
| 50 | 150 | 50 |
| 55 | 330 | 55 |
| 59 | 1,770 | 59 |
| 60 | Impossible: no speed is enough | None |
Average speed for common distances and times
| Distance | 1:00:00 | 1:30:00 | 2:00:00 | 2:30:00 | 3:00:00 | 4:00:00 |
|---|---|---|---|---|---|---|
| 50 mi | 50 | ≈ 33.3333 | 25 | 20 | ≈ 16.6667 | 12.5 |
| 100 mi | 100 | ≈ 66.6667 | 50 | 40 | ≈ 33.3333 | 25 |
| 150 mi | 150 | 100 | 75 | 60 | 50 | 37.5 |
| 200 mi | 200 | ≈ 133.3333 | 100 | 80 | ≈ 66.6667 | 50 |
| 300 mi | 300 | 200 | 150 | 120 | 100 | 75 |
Average speed worked examples
| Question | Calculate from | Answer |
|---|---|---|
| A car drives 150 miles in 2 hours 30 minutes | Total distance and total time | Average speed 60 mph |
| 60 miles at 30 mph, then 60 miles at 60 mph | Legs: distance and speed | Average speed 40 mph |
| One hour at 30 mph, then one hour at 60 mph | Legs: distance and time | Average speed 45 mph |
| A round trip: 100 km out at 80 km/h, 100 km back at 120 km/h | Legs: distance and speed | Average speed 96 km/h |
| 10 km at 40 km/h, 30 km at 60 km/h, then 20 km at 20 km/h | Legs: distance and speed | Average speed ≈ 34.2857 km/h |
| 60 miles in 2 hours, a 30 minute stop, then 90 miles in 1 hour 30 minutes | Legs: distance and time | Average speed 37.5 mph |
| A 5 km run in 25 minutes | Total distance and total time | Average speed 12 km/h |
| A 400 m lap in 1 minute 20 seconds, in metres per second | Total distance and total time | Average speed 5 m/s |
How to calculate average speed
- Choose what you know. Pick “Total distance and total time” for one trip, “Several legs: distance and speed” when each part of the trip had its own speed, or “Several legs: distance and time” when you know how long each part took.
- Pick the units. Choose miles, kilometres or metres for distances, and mph, km/h or m/s for the answer (and for the speeds you type). The units mix exactly: 160.9344 km in 1:00:00 is 100 mph.
- Enter the trip. For legs, type one per line, distance first: “60, 30” is 60 miles at 30 mph. Times are h:mm:ss (2:30:00) or use units (1h 30m); 25 minutes is 0:25:00. A stop is a leg with distance 0. Up to 50 legs.
- Read the average speed. The result is total distance ÷ total time: 120 mi ÷ 3 h = 40 mph. The table lists every leg, and the plain mean of the speeds, 45 mph here, is shown beside it so you can see how far off the shortcut is.
- Copy or change the rounding. Results are exact fractions until they are displayed. Choose how many decimals to show, then copy the results. At 2 decimals the three-leg example reads ≈ 34.29 km/h.
Frequently asked questions
- How do you calculate average speed?
- Divide the total distance by the total time: average speed = total distance ÷ total time. For 150 miles in 2:30:00 the time is 2.5 hours, so the average speed is 150 ÷ 2.5 = 60 mph, which is 96.56064 km/h or 26.8224 m/s. Choose “Total distance and total time” in the menu, type the distance and the time as h:mm:ss, and read the answer in all three units.
- Why is average speed not the average of the speeds?
- Because you spend different amounts of time at each speed. 60 miles at 30 mph takes 2:00:00; 60 miles at 60 mph takes 1:00:00. The trip is 120 mi in 3:00:00, an average of 40 mph. Averaging 30 and 60 gives 45 mph, which would be right only if you drove each speed for the same time, and it is 12.5% too high. The slower leg lasts longer, so it pulls the average toward 30.
- How do you find the average speed of a round trip?
- When both legs cover the same distance, use the harmonic mean of the two speeds: 2 × a × b ÷ (a + b). A trip of 100 km out at 80 km/h and 100 km back at 120 km/h averages 96 km/h, not the 100 km/h of the plain mean: the two legs take 1:15:00 and 0:50:00, 200 km in 2:05:00. The “Equal distances at two speeds” table above gives the true average for more pairs. Enter the legs as “100, 80” and “100, 120”; the note under the result names the harmonic mean when it applies.
- When is the plain average of two speeds correct?
- When the legs take the same time, not the same distance. One hour at 30 mph and one hour at 60 mph covers 90 mi in 2:00:00, an average of 45 mph, which is the ordinary mean of 30 and 60. It is also correct when every leg has the same speed. The calculator says which case you are in under the result, and shows “No difference” for the plain mean when the legs take equal time.
- How do I find the average speed when the distances and times all differ?
- Add up every distance, add up every time, and divide: each speed counts in proportion to the time spent at it. For 10 km at 40 km/h, 30 km at 60 km/h and 20 km at 20 km/h the legs take 0:15:00, 0:30:00 and 1:00:00, so 60 km takes 1:45:00 and the average is ≈ 34.2857 km/h. The plain mean of the three speeds is 40 km/h, which is too high by ≈ 16.6667%. The plain mean can also be too low: 300 miles at 100 mph and 10 miles at 10 mph averages 77.5 mph, while the plain mean is 55 mph, too low by ≈ 29.0323%.
- What speed do I need on the second half to reach a target average?
- Work out the total time the target allows, subtract the time already used, and divide the remaining distance by what is left. After a first half at 30 mph, an average of 40 mph needs 60 mph on the second half, 45 mph needs 90 mph and 59 mph needs 1,770 mph. An average of 60 mph is impossible: the first half alone already uses all the time that 60 mph allows, so no speed on the second half is enough. With two legs of equal distance the target must stay below twice the first speed. The “Speed needed on a second leg” table shows more targets, each checked by the calculator.
- How do stops change the average speed?
- A stop adds time and no distance, so it lowers the average. Enter it as a leg with distance 0 in “Several legs: distance and time”. Driving 60 mi in 2:00:00, stopping for 0:30:00 and then driving 90 mi in 1:30:00 averages 37.5 mph over the whole trip, while the speed while moving is ≈ 42.8571 mph. The speed, distance and time calculator solves for time or distance and also gives an arrival time; this page is for averaging several legs.
- What is the difference between average speed and average velocity?
- Average speed is the distance travelled divided by the time, whatever the route. Average velocity is the displacement, the straight-line change in position, divided by the time, and it has a direction. A round trip that ends where it began has a displacement of 0, so its average velocity is 0 even though the example above has an average speed of 40 mph. This calculator finds average speed.
- How do I type the time?
- Use h:mm:ss with all three parts (2:30:00 is two and a half hours) or units: 2h 30m, 90m, 1.5 hours, 45s. A time with one colon, such as 1:30, is refused because it could mean hours and minutes or minutes and seconds. A bare number is refused for the same reason. The 5 km run above is 0:25:00 and gives 12 km/h; a 400 m lap in 0:01:20 is 5 m/s.
- How are mph, km/h and m/s converted?
- Exactly: a mile is 1.609344 km, an hour is 3,600 s, so 1 mph = 0.44704 m/s and 1 km/h is ≈ 0.2778 m/s. Forty miles in one hour is 40 mph and also 64.37376 km/h or 17.8816 m/s. The distance unit and the speed unit are separate menus, so 160.9344 km in one hour is 100 mph with no rounding error.
- How is the answer rounded?
- Only the display is rounded. The tool keeps every value as an exact fraction, so an average such as 60 km ÷ 1.75 h is exactly 240/7 km/h and is shown as ≈ 34.2857 km/h, with ≈ to mark that it is rounded. Automatic shows a value in full when it ends within 6 decimals and otherwise rounds to 4 decimals; choosing 2 decimals gives ≈ 34.29 km/h. Times are shown to the hundredth of a second.
- How is this different from the speed, distance and time calculator?
- That calculator takes any two of speed, distance and time for one trip and returns the third, with stops and an arrival time. This one averages: it takes several legs, each with its own speed or time, and returns the one speed that covers the same total distance in the same total time. Use that page to find how long a drive takes at a given speed, and this one when the speed changes along the way.
How it works
Every number you type is read as an exact decimal, a fraction of two whole numbers, and combined with exact + − × ÷; only the display is rounded, half away from zero, once at the end. Average speed is total distance ÷ total time, where the total time is the sum of the leg times (stops included). For a leg given as distance d and speed v the time is d ÷ v; for a leg given as distance d and time t the speed is d ÷ t. Equivalently the average speed is the mean of the leg speeds weighted by time, Σ(v × t) ÷ Σt. When all legs have the same distance this is the harmonic mean of the speeds, n ÷ Σ(1 ÷ v); when all legs take the same time it is the ordinary mean, Σv ÷ n. The “plain mean” row is Σv ÷ n for the legs that cover distance; it is compared with the true average as (mean ÷ average − 1) × 100. Units are converted through metres and seconds: 1 mile = 1,609.344 m exactly (the international mile, 0.3048 m × 5,280), 1 km = 1,000 m, 1 hour = 3,600 s, so 1 mph = 1,609.344 ÷ 3,600 m/s, 1 km/h = 1,000 ÷ 3,600 m/s and 1 m/s = 1 m/s. The speed needed on a second leg to reach a target average A after a first leg d₁ at v₁ is d₂ ÷ ((d₁ + d₂) ÷ A − d₁ ÷ v₁), and does not exist when that time is not above zero. Times are h:mm:ss (minutes and seconds below 60, seconds may have decimals) or numbers with h, m and s units; one colon and a bare number are refused as ambiguous. Up to 50 legs; distances and speeds must be above zero, except that in the distance-and-time mode a leg may have distance 0 (a stop) and the legs must add up to some distance. Times display as h:mm:ss rounded to the hundredth of a second. The tool does arithmetic only: real journeys also depend on traffic, route and speed limits.
Sources
Guides
- How to Calculate Average Speed: Total Distance Over Total TimeAverage speed is total distance over total time, not the mean of the speeds. See why 60 mph out and 40 mph back averages 48 mph, plus unit and pace tips.
More free tools
- Speed ConverterConvert speed between mph, km/h, m/s, knots, ft/s, Mach and the speed of light, with exact factors, every unit at once and a table of common speeds.
- Pace CalculatorWork out pace, finish time or distance from the other two for running, walking or cycling, with km and mile splits and finish times for common races.
- Speed, Distance and Time CalculatorEnter any two of speed, distance and time and get the third, in mph, km/h, knots and more. Add stops and a departure time to see when you arrive.
- Fraction, Decimal and Percent ConverterEnter a fraction, decimal or percent and see the other two exactly, with the lowest-terms fraction, mixed number and repeating decimals like 0.(3).
- Percentage CalculatorWork out X% of Y, what percent X is of Y, percentage change, a % increase or decrease, and the original before a discount, with the formula shown.
- Fraction CalculatorAdd, subtract, multiply and divide fractions and mixed numbers like 2 3/8 + 1 5/16, simplify, and convert to decimals, with every step shown.
More: Percent, fractions and arithmeticAll math & numbersAll toolsHome & DIY calculators