Maths

Speed Calculator

Find average speed, distance or time from the other two, in km/h, m/s or mph.

By Nitin Raturi · Last reviewed

Your trip

How to use the Speed Calculator

Find average speed, distance or time from the other two, in the units you choose.

  1. Choose what to find.
  2. Enter the two values you know and pick their units.
  3. Pick the unit for the answer.
  4. Read the answer and the speed in every unit.

Good to know

  • This is the average over the whole trip, not the top speed.

Average speed = distance ÷ time, in the units you choose.

Find

Find

Choose the quantity you want; enter the other two.

How to fill it in

  • Speed from distance and time.
  • Distance from speed and time.
  • Time from speed and distance.

Distance

How far, in total.

How to fill it in

  • Enter a number above 0 and choose its unit.

Example

150 km in 2.5 hours is an average of 60 km/h.

Distance unit

Kilometres, metres or miles.

How to fill it in

  • 1 mile = 1,609.344 m exactly.

Time

How long the trip took, including stops if you want the overall average.

How to fill it in

  • Enter a number above 0 and choose its unit.
  • For 1 hour 30 minutes, enter 90 minutes or 1.5 hours.

Example

45 minutes at 90 km/h covers 67.5 km.

Time unit

Hours, minutes or seconds.

How to fill it in

  • Choose the unit you measured in.

Example

80 miles in 105 minutes is 20.436114 m/s.

Speed unit

km/h for roads in India, m/s for science, mph for UK and US roads.

How to fill it in

  • 1 m/s = 3.6 km/h.

Average speed

60 km/h

150 km in 2.5 hours is an average of 60 km/h.

km/h
60
m/s
16.666667
mph
37.282272

Average speed over the whole distance and time. 1 mile = 1,609.344 m. Rounded to six decimals for display.

How this calculator works

  1. Step 1Speedd ÷ tFrom distance and time.
  2. Step 2Distancev × tFrom speed and time.
  3. Step 3Timed ÷ vFrom distance and speed.

Average speed is the total distance divided by the total time. The calculator converts everything to metres and seconds, solves, and converts back to the units you choose.

Worked example: a commuter train

80 miles in 105 minutes
Average speed
distance ÷ time
  1. Distance80 × 1,609.344 m128,747.52 m
  2. Time105 × 60 s6,300 s
  3. Speed128,747.52 ÷ 6,30020.436114 m/s

OpenStax College Physics works this out for a round trip of 80 miles and rounds the answer to 20 m/s.

Distance or time

  • How far?67.5 km45 minutes at 90 km/h.
  • How long?6 hours300 km at 50 km/h.

Read the result

The headline is the quantity you chose, in the unit you picked; the table shows the speed in km/h, m/s and mph.

150 km in 2.5 hours averages 60 km/h.

Assumptions and limits

  • Average speedOver the whole trip, not the top speed.
  • Exact units1 mile = 1,609.344 m; 1 m/s = 3.6 km/h.
  • Stops countInclude stops in the time for an overall average.

Average speed is distance over time. Changing speed and running pace have their own tools.

For constant acceleration and stopping distance, use the kinematics calculator. Runners can use the pace calculator, and drivers the fuel cost calculator for a trip’s cost.

Common mistakes

  • Mistake: Entering 1 hour 30 minutes as 1.3 hours.

    Instead: Use 1.5 hours or 90 minutes.

  • Mistake: Averaging two speeds for an out-and-back trip.

    Instead: Divide the total distance by the total time.

Checking the method

Every golden case is rechecked with exact fractions and direct unit factors, and the OpenStax train example is reproduced.

An independent script converts each value straight into the answer’s unit, without going through metres per second.

Read how we test our calculators, or browse more maths calculators.

Frequently asked questions

How do I calculate average speed?

Divide total distance by total time. 150 km in 2.5 hours is 60 km/h.

How do I find distance from speed and time?

Multiply speed by time. 45 minutes at 90 km/h is 67.5 km.

How do I find travel time?

Divide distance by speed. 300 km at 50 km/h takes 6 hours.

How do I convert km/h to m/s?

Divide by 3.6. 36 km/h is 10 m/s.

What speed is 80 miles in 105 minutes?

20.436114 m/s, or about 73.570011 km/h.

Sources and methodology

The formulas are standard time-value-of-money results. We check every figure against golden values worked out independently, by closed form and by month-by-month simulation; see the methodology.

Written and maintained by Nitin Raturi, a software engineer (about the author). Last reviewed 3 Nov 2026; next review due by . Found an error? Tell us.

Changelog

  • : Initial release.