Speed Calculator

Work out any one of speed, distance, and time from the other two, in mph, km/h, or meters per second.

How fast were you going, how far did you travel, or how long did the trip take? This speed calculator works out any one of distance, time, and speed from the other two. Enter any two values, pick your units — miles or kilometers, hours or minutes, miles per hour, kilometers per hour, or meters per second — and the calculator finds the third.

It also works as an average speed calculator: for a whole trip, divide the total distance by the total time, including stops, and that is your average speed, even if you drove faster on some stretches and slower on others.

How it works

Speed, distance, and time are linked by one relationship: speed equals distance divided by time. Rearranged, distance equals speed times time, and time equals distance divided by speed. The calculator converts your entries to meters and seconds, applies the right rearrangement, then converts the answer back to the unit you picked. Average speed over a trip is the same idea at a larger scale: total distance divided by total time.

Speed = distance ÷ time
Distance = speed × time
Time = distance ÷ speed
Average speed = total distance ÷ total time
Conversions: 1 mile = 1.60934 km · 1 km/h = 0.621371 mph · 1 m/s = 3.6 km/h

Examples

Known valuesResult
120 miles in 2 hours60 mph
55 mph for 3 hours165 miles
200 km at 80 km/h2.5 hours (2 hours 30 minutes)
100 meters in 10 seconds10 m/s
Average speed: 240 miles in 4 hours60 mph

Frequently asked questions

How do you calculate speed from distance and time?

Divide the distance by the time. For example, 120 miles in 2 hours is 60 miles per hour. The same relationship works the other way: distance equals speed times time, and time equals distance divided by speed, so any two of the three give you the third.

What is average speed?

Average speed is the total distance of a trip divided by the total time it took, including any stops. It is not the average of the speeds you drove at, because time spent going slower counts more. For example, 240 miles in 4 hours is an average speed of 60 miles per hour, even if you drove faster on part of the trip.

How do I convert miles per hour to kilometers per hour?

Multiply by 1.60934. So 60 miles per hour is about 96.6 kilometers per hour. To go the other way, multiply kilometers per hour by 0.621371. To convert to meters per second, divide kilometers per hour by 3.6.

What is the difference between speed and velocity?

Speed is how fast something moves, with no direction attached. Velocity is speed plus a direction, such as 60 miles per hour north. For everyday driving and travel, the number you want is speed, which is what this calculator works out.

Related calculators

Mileage Calculator · Distance Calculator · Calorie Calculator