About the Average Speed Calculator
This tool computes average speed from the data you type into your browser. You can enter a single distance and time, several trip parts, or a list of speeds for equal distances. Results show the average speed, the value in the other distance unit, metres per second and a pace (time per km or per mile). All calculations run client-side in your browser; nothing is uploaded to a server and the page works offline once loaded. You can copy results, save favourites to a free FreeToolr account, and create a sharable link that reopens with your numbers. The tool handles multi-leg trips properly and explains the harmonic mean shortcut for equal distances. It is useful for drivers, runners, cyclists, students and planners who need quick, accurate conversions and worked checks.
How to use it
- 1Enter what you know: total distance and total time, several parts of a trip, or speeds over equal distances.
- 2Pick the distance unit: kilometres or miles, and enter distances or speeds and times.
- 3Check the results: average speed, the other unit, metres per second and pace show instantly.
- 4Copy the result or share the link to reopen the same inputs later.
Worked example
Input: Total distance 120 km, Total time 2 h 30 min. Results: Average speed = 48.0 km/h. In miles per hour = 29.83 mph. In metres per second = 13.33 m/s. Pace = 1:15 per km. Check = 120 ÷ 2.5 = 48.0 km/h.
The formula
Average speed = total distance / total timeFor the same distance at different speeds, the average is the harmonic mean: number of speeds / sum of (1 / speed), so 60 there and 40 back averages 48, not 501 mile = 1.609344 kmSource: OpenStax, Speed and VelocityPIARC Road Dictionary, average speed. Last checked 13 November 2026.
What it is good for
- Live results update as you type, no calculate button needed.
- Outputs km/h, mph, m/s and running/cycling pace for quick comparison.
- Handles multi-leg trips and equal-distance harmonic-mean cases correctly.
- All calculations run in your browser; the tool does not record GPS or upload trip logs.
- Not a substitute for certified devices or legal speed measurement for enforcement.
Questions people ask
How do I include stops in the average?
Include stops when you mean elapsed trip time. If you want moving average, remove stopped time and divide by moving time. The tool lets you enter either total elapsed time or only moving time.
How do I calculate average for a multi-leg trip?
Enter each leg with its distance and time. The tool sums all distances and divides by total time. If you only have speeds, it computes each leg time as distance divided by speed first.
What if outbound and return distances are the same but speeds differ?
Use the harmonic mean for equal distances. For two equal legs at 60 km/h and 40 km/h the average is 48 km/h, not 50 km/h. The tool applies that rule automatically if you enter speeds for equal distances.
How accurate are unit conversions?
The tool uses 1 mile = 1.609344 km for conversions. Results show a reasonable number of decimal places for practical use.
Is average speed the same as average velocity?
No. Average speed is total distance divided by time and is scalar. Average velocity is displacement divided by time and includes direction. Use distance for speed and displacement for velocity.
Can I use the calculator for legal evidence or enforcement?
No. This calculator is for planning and education. Legal speed measurement uses certified equipment and procedures that vary by jurisdiction, such as ANPR or section-control systems.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.