Speed is the rate of covering distance — the most basic relationship in motion.
Where
| Distance | How far you traveled |
| Time | How long it took |
Worked example
Covering 120 miles in 2 hours gives 120 ÷ 2 = 60 mph.
FAQ
Does this formula account for acceleration or just constant speed? It calculates average speed over a distance and time, which works for constant speed but represents an average value if speed varied throughout the trip, not the instantaneous speed at any single moment.
What units should I use to avoid mistakes? Keep distance and time units consistent with your desired speed unit, for example miles and hours for mph, and convert before calculating if your raw data uses different units, like minutes instead of hours.
See the Speedometer Error calculator in the automotive calculators.
Other ways to use it
The same relationship can be rearranged to find distance as speed times time, or time as distance divided by speed. Keep the units consistent, so miles and hours give miles per hour, and kilometers and hours give kilometers per hour. One mile per hour is about 1.609 kilometers per hour.
Average speed
Average speed is the total distance divided by the total time, which is not always the average of two speeds. If you drive somewhere at 60 miles per hour and return at 40, your average speed for the round trip is 48 miles per hour, and not 50, since you spend more time at the slower speed. Instantaneous speed, like on a speedometer, is the speed at one moment.
