Math Tools

Velocity Calculator: Speed from Distance and Time

Find average speed or velocity from the distance travelled and the time it took, or solve for the distance or time. Results are shown in meters per second, kilometers per hour and miles per hour.

01

Your inputs

Start with the example, or enter your own values.

Processed in your browser. Your inputs stay on this device.

02

Your result

A little clarity, coming right up.

Make room for the answer.

Enter your values and run the tool. Your result will appear here.

How to use the Velocity Calculator

Fill in the values you know, leave the one you want to find empty, and press Calculate. Use SI units: kilograms, meters, seconds and newtons.

Read more: How to Use the Velocity Calculator: Steps and a Worked Example

The formula

v = d ÷ t

Examples

  • 5 km in 20 minutes
    Velocity: 4.16667 m/s
    Speed: 4.16667 m/s = 15 km/h = 9.32057 mph
    Distance: 5,000 m = 5 km = 3.10686 mi
    Time: 1,200 s = 20 min
  • Distance at 30 m/s for 2 minutes
    Distance: 3,600 m
    Speed: 30 m/s = 108 km/h = 67.1081 mph
    Distance: 3,600 m = 3.6 km = 2.23694 mi
    Time: 120 s = 2 min
  • Time to cover a marathon at 3.5 m/s
    Time: 12,055.7 s
    Speed: 3.5 m/s = 12.6 km/h = 7.82928 mph
    Distance: 42,195 m = 42.195 km = 26.2188 mi
    Time: 12,055.7 s = 200.929 min

Limitations and assumptions

Gives the average speed over the whole distance.

Frequently asked questions

What is the formula for velocity?

Average velocity is distance divided by time, v = d ÷ t. Strictly, velocity also has a direction; speed is its size.

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

Multiply by 3.6. To get miles per hour, divide m/s by 0.44704.

Is average speed the same as average of the speeds?

Not always. Average speed is total distance over total time, so a slower section that takes longer counts for more.