Speed, Distance & Time Calculator

Find the average speed, distance or travel time from the other two values, in any units, with the time also shown as hours:minutes:seconds.

Results

Average speed
80.00
Distance
300.00
Time
3.75
Time (h:mm:ss)
3:45:00

How it’s calculated

Average speed is the distance traveled divided by the elapsed time. Rearranged, the same relationship gives distance (speed × time) and time (distance ÷ speed). Keep the units consistent: this calculator converts everything to meters and seconds internally, so you can mix kilometers with minutes or miles with hours.

speed = distance ÷ time distance = speed × time time = distance ÷ speed

Example: a 300 km trip that takes 3 h 45 min (3.75 h) has an average speed of 300 ÷ 3.75 = 80 km/h (about 49.7 mph). Going the other way, 150 miles at 60 mph takes 150 ÷ 60 = 2.5 hours, which is 2:30:00.

This is an average speed over the whole trip. Stops, traffic and changes of speed are all folded in, so include them in the time if you want the true door-to-door average.

Frequently asked questions

How do I calculate how long a trip will take?

Choose "Time", enter the distance and your expected average speed. Remember to use a realistic average that allows for traffic and stops, not the speed limit.

How do I convert 3 hours 45 minutes to a decimal?

45 minutes is 0.75 hours, so 3 h 45 min is 3.75 h. You can also type 225 and choose minutes.

What is the difference between speed and average speed?

Speed is how fast you go at an instant. Average speed is the total distance divided by the total time, so it includes slow sections and stops.

Why does it say the time must be greater than zero?

Speed is distance divided by time, and dividing by zero is undefined. Enter a time above zero.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator