How the calculator works
Enter the distance traveled and the time taken to find average speed. This is the total distance covered divided by the elapsed time for the same interval. For a fixed distance, taking longer produces a lower average speed.
Average speed describes the whole interval, not the speed at every moment. You can accelerate, slow down or stop during a trip and still calculate its average speed. A speedometer reading describes instantaneous speed instead.
Inputs and result
- Distance starts at 100 km. You can enter meters (m), kilometers (km), miles (mi), feet (ft) or nautical miles (nmi).
- Time starts at 2 hr. You can enter seconds, minutes, hours or days. This is a duration, not a time of day.
- The result box is labeled Speed and defaults to kilometers per hour (km/h). With the starting inputs, it shows 50 km/h.
This version takes distance and time as its two inputs and displays speed. It has no separate input for speed, departure time, acceleration or stops.
The average speed formula
Distance divided by elapsed time gives average speed. Hours are written as h in the formula and rendered as hr in the calculator's Time input.
For the default inputs, divide 100 km by 2 hours to get 50 km/h. Internally, the calculator receives distance in meters and time in seconds, regardless of the selected input units. The same calculation is 100,000 m divided by 7,200 s, or about 13.89 m/s, which is equivalent to 50 km/h.
Worked example: 100 km in 2 hours
Keep Distance at 100 km and Time at 2 hr. The division is 100 ÷ 2 = 50, so the result box shows Speed: 50 km/h. Entering 120 minutes instead of 2 hours gives the same result because the duration has not changed.
To compare a longer trip duration, change Time to 2.5 hours while keeping Distance at 100 km. The result becomes 40 km/h. If the same distance takes 4 hours, the result is 25 km/h.
Units and decimal hours
Choose the unit that matches your measurement before entering its value. For example, 10 mi covered in 30 minutes is about 32.19 km/h. The conversion uses 1 mile = 1.609344 kilometers; selecting miles for distance does not change the default result unit to mph.
| Duration | Enter in hours | Enter in minutes |
|---|---|---|
| 1 hour 15 minutes | 1.25 | 75 |
| 1 hour 30 minutes | 1.5 | 90 |
| 2 hoursDefault time | 2 | 120 |
| 2 hours 30 minutes | 2.5 | 150 |
Decimal hours are fractions of an hour, not clock notation. Entering 1.30 hours means 1 hour plus 0.30 of an hour, which is 1 hour 18 minutes. For 1 hour 30 minutes, enter 1.5 hours or choose minutes and enter 90.
Tips for useful results
- 1Measure the traveled route. Use the length of the path actually traveled, including both legs of a return trip. The straight-line separation between the start and finish can be shorter than that path.
- 2Match the measurement intervals. Start and end your distance and time measurements together. Do not combine the distance for an entire outing with the time for only one section.
- 3Check the selected units. Before comparing results, check both the number and its unit. Entering 30 with minutes selected is a different duration from entering 30 with seconds selected.
- 4Keep the original measurements. Enter measured values before rounding them for a report. Round the final result to a precision that your distance and time measurements can reasonably support.
Frequently asked questions
Can this calculator solve for distance or time?
This version accepts distance and time and displays speed. For a manual calculation, distance equals average speed multiplied by time, and time equals distance divided by a positive average speed. Use compatible units in either calculation.
Should I include stops in the time?
Include stops when you want average speed over the full start-to-finish interval. Exclude them if you specifically want average speed while moving. The calculator uses the duration you enter and does not identify or subtract stops.
Is average speed the same as average velocity?
Average speed uses total distance traveled, while average velocity uses displacement and includes direction. On a round trip back to the starting point, displacement and average velocity are zero, even though average speed can be positive.
Can I average the speeds from different parts of a trip?
Add the distances and divide by the combined time. For example, 30 km at 30 km/h takes 1 hour, and another 30 km at 60 km/h takes half an hour. The whole-trip average is 60 ÷ 1.5 = 40 km/h, not the simple mean of 45 km/h.
Are miles and nautical miles the same?
No. One mile is 1,609.344 meters, while one nautical mile is 1,852 meters. Choose mi for miles and nmi for nautical miles so the calculator uses the intended distance.
Does this calculator show pace?
The result is speed, which is distance per unit of time. Pace reverses the division and expresses time per unit of distance. For example, covering 5 km in 30 minutes gives 10 km/h, equivalent to a pace of 6 minutes per kilometer.
Sources
- 13.2 Instantaneous Velocity and Speed · OpenStax, Rice University · Accessed November 2026
- 22.2 Speed and Velocity · OpenStax, Rice University · Accessed November 2026
- 3NIST Guide to the SI, Appendix B.8: Factors for Units Listed Alphabetically · National Institute of Standards and Technology · Accessed November 2026
- 4NIST Guide to the SI, Chapter 5: Units Outside the SI · National Institute of Standards and Technology · Accessed November 2026