Speed Calculator

Work out speed, distance or travel time from the other two using speed = distance ÷ time.

Written by Ahmet Tur · Reviewed by Kübra Yıldız · Updated

Your result will appear here

Fill in the fields and press Calculate.

Speed is distance divided by time: speed = distance ÷ time. Drive 287 miles in 4 hours 40 minutes and your average speed is 287 ÷ 4.667 = 61.5 mph. Rearranged, distance = speed × time and time = distance ÷ speed.

Pick which of the three you want, enter the other two, and the calculator solves it. It doesn't assume units: miles and hours give mph, kilometers and hours give km/h, feet and seconds give ft/s. The one rule is that time must be a decimal in the same unit as the speed. Four hours 40 minutes is 4.667 hours, not 4.40; that single slip is the most common reason a speed answer looks wrong.

Below are the conversion factors between mph, km/h, m/s, ft/s and knots from NIST, a minutes-to-decimal-hours table, the difference between average and instantaneous speed, and why averaging two speeds almost never gives the right average.

Speed Calculator: step-by-step worked example

Example inputs
Solve for
Speed (from distance & time)
Distance
280 km
Time
4 h
  1. 1

    Speed

    v = Distance ÷ Time

    280 km ÷ 4 h = 70 km/h

  2. 2

    Convert to m/s

    m/s = km/h ÷ 3.6

    70 ÷ 3.6 = 19.4444 m/s

  3. 3

    Time per kilometre

    Minutes/km = 60 ÷ Speed

    60 ÷ 70 = 0.8571 min/km

Result · Speed70 km/h
Distance covered at constant speed
280 km140 km0 km
Time (h) 0: 0 kmTime (h) 0.4: 28 kmTime (h) 0.8: 56 kmTime (h) 1.2: 84 kmTime (h) 1.6: 112 kmTime (h) 2: 140 kmTime (h) 2.4: 168 kmTime (h) 2.8: 196 kmTime (h) 3.2: 224 kmTime (h) 3.6: 252 kmTime (h) 4: 280 km
0Time (h)4
  • Distance:0 km → 280 km

Good to know: The result is the AVERAGE speed in whatever units you enter (km and hours → km/h; miles and hours → mph). If stops are included in the time, actual moving speed is higher.

Speed Calculator — how it works

The three formulas

Solve forFormulaExample
Speeddistance ÷ time287 mi ÷ 4.667 h = 61.5 mph
Distancespeed × time65 mph × 2.5 h = 162.5 mi
Timedistance ÷ speed287 mi ÷ 65 mph = 4.415 h

Results are shown to six decimal places in the units implied by your inputs. A time result of 4.415385 hours is 4 hours plus 0.415385 × 60 = 24.9 minutes, so about 4 h 25 min.

Minutes to decimal hours

Convert minutes to hours by dividing by 60, and seconds by 3,600.

MinutesDecimal hours
50.083
100.167
150.25
200.333
300.5
400.667
450.75
500.833

Entering 4.40 for 4 h 40 min understates the time by 16 minutes; for a 287-mile trip, that inflates the result from 61.5 mph to 65.2 mph.

Speed unit conversions

NIST Special Publication 811 lists these factors to meters per second; the mile-per-hour and foot-per-second factors are exact.

UnitIn m/sIn km/hIn mph
1 mph0.447041.6093441
1 km/h0.27777810.621371
1 m/s13.62.236936
1 ft/s0.30481.097280.681818
1 knot0.5144441.8521.150779

Two handy consequences: 60 mph is exactly 88 ft/s, so at highway speed a car covers 88 feet every second; and 100 km/h is about 62.1 mph. Knots (nautical miles per hour) are used in aviation and at sea, and are about 15% faster than the same number in mph.

Average speed vs instantaneous speed

This calculator gives average speed: total distance divided by total elapsed time. OpenStax College Physics defines it the same way and distinguishes it from instantaneous speed, the value a speedometer shows at one moment. Stops for gas, traffic and slow city sections are folded into the average, so a road trip's door-to-door average is always lower than its highway cruising speed.

Physics also separates speed from velocity. Velocity uses displacement, the straight-line change in position, and has a direction. OpenStax's example: drive 3 km to a store and 3 km back in 30 minutes, and your average speed is 12 km/h, but your average velocity is zero, because you ended where you started.

Why you can't just average two speeds

If you drive 60 miles at 30 mph and 60 miles back at 60 mph, your average is not 45 mph. The first leg takes 2 hours and the second 1 hour, so 120 miles ÷ 3 hours = 40 mph. You spend more time at the slower speed, so it weighs more. For equal distances, the correct average is the harmonic mean: 2 × v₁ × v₂ ÷ (v₁ + v₂) = 2 × 30 × 60 ÷ 90 = 40 mph. The safe method is always the one this calculator uses: add up all the distance, add up all the time, then divide.

Running and cycling pace

Runners usually think in pace (minutes per mile) rather than speed. Pace and speed are reciprocals: pace in minutes per mile = 60 ÷ speed in mph. A 4-hour marathon (26.2 miles) averages 26.2 ÷ 4 = 6.55 mph, which is a pace of 60 ÷ 6.55 = 9.16 minutes, or about 9:10 per mile. A 10:00 mile is 6 mph; a 7:30 mile is 8 mph.

Common mistakes

  • Writing minutes as decimals. 1 h 30 min is 1.5 h, not 1.3 h.
  • Mixing miles and kilometers. If the distance is in km and you want mph, convert the distance first (1 mile = 1.609344 km exactly).
  • Using time in minutes with a per-hour speed. 120 miles at 60 mph is 2, which is hours, not minutes.
  • Averaging speeds instead of using total distance and total time. See the round-trip example above.

How far you travel while reacting

Distance = speed × time also explains why following distance matters. At 60 mph you cover 88 ft every second, so in a 1.5-second reaction (an illustrative figure; actual reaction times vary by person and situation) the car travels 132 ft before the brakes are even applied. At 30 mph it is 66 ft in the same 1.5 seconds. Use "Distance" mode with speed in ft/s and time in seconds to run your own numbers: 88 ft/s × 2 s = 176 ft, which is why a two-second gap is a common rule of thumb for following distance. Braking distance is not linear in speed, so it can't be found with this formula alone.

Speed, distance and time beyond the road

The same relation works at any scale as long as the units match. Light travels at exactly 299,792,458 m/s, the value NIST uses to define the meter; at that speed, light covers the roughly 1.5 × 10¹¹ m from the Sun to Earth in about 500 seconds, a little over 8 minutes. For walking, a 3 mph pace covers a mile in 20 minutes, so a 2.4-mile loop takes 2.4 ÷ 3 = 0.8 h, or 48 minutes. For flights and shipping, enter nautical miles and knots together; mixing nautical miles with statute miles per hour gives an answer that is off by about 15%.

Worked example

A family drives from home to a national park 287 miles away. They leave at 8:00 a.m. and arrive at 12:40 p.m., including one stop for gas and lunch.

  • Elapsed time: 4 h 40 min = 4 + 40 ÷ 60 = 4.666667 h
  • In "Speed" mode, enter distance 287 and time 4.666667: 287 ÷ 4.666667 = 61.5 mph (the calculator shows 61.499996 because the time is rounded)
  • In km/h: 61.5 × 1.609344 ≈ 99.0 km/h

For the return trip they plan to stop less and hold close to 65 mph on average. In "Time" mode, enter distance 287 and speed 65: 287 ÷ 65 = 4.415385 h. The decimal 0.415385 × 60 = 24.9 minutes, so the drive should take about 4 h 25 min, about 15 minutes less than the outbound trip.

If they had typed 4.40 for the outbound time, the calculator would have reported 287 ÷ 4.4 = 65.2 mph, making the first leg look as fast as the planned return. Converting minutes with ÷ 60 before entering the time avoids that error.

Frequently asked questions

How do you calculate speed?+

Divide the distance by the time: speed = distance ÷ time. 150 miles in 2.5 hours is 60 mph.

How do you calculate travel time from distance and speed?+

Divide distance by speed: time = distance ÷ speed. 287 miles at 65 mph takes 4.415 hours, which is about 4 h 25 min (0.415 × 60 = 24.9 minutes).

How do you calculate distance from speed and time?+

Multiply speed by time: distance = speed × time. At 65 mph for 2.5 hours you cover 162.5 miles.

How do I convert minutes to hours for the speed formula?+

Divide the minutes by 60. 40 minutes is 0.667 h, so 4 h 40 min is 4.667 h. Entering 4.40 instead would make the time 16 minutes too short.

How do I convert mph to km/h?+

Multiply by 1.609344, the exact NIST factor. 60 mph = 96.56 km/h and 70 mph = 112.65 km/h. To go from km/h to mph, multiply by 0.621371.

How many feet per second is 60 mph?+

Exactly 88 ft/s. 1 mph = 5,280 ft ÷ 3,600 s = 1.4667 ft/s, and 60 × 1.4667 = 88.

How do I convert m/s to mph?+

Multiply by 2.236936 (1 mph = 0.44704 m/s exactly, per NIST). 10 m/s is about 22.4 mph, and 30 m/s is about 67.1 mph.

What is the average speed for a round trip at two different speeds?+

Use total distance divided by total time, not the average of the two speeds. 60 miles at 30 mph and 60 miles at 60 mph takes 3 hours for 120 miles, so the average is 40 mph, not 45.

What is the difference between speed and velocity?+

Speed is distance over time and has no direction. Velocity uses displacement and has a direction. A 6 km round trip in 30 minutes has an average speed of 12 km/h but an average velocity of zero.

Sources

About this page

Publisher:
Kalkoro — Teknolojig Bilişim Teknolojileri A.Ş., İstanbul
Written by:
Ahmet Tur — Editor (Math, date & time, unit conversion, physics & chemistry, everyday tools)
Reviewed by:
Kübra Yıldız — Editor

Parameters come from official sources; the last update date is shown at the bottom of the page.

Spotted a wrong result? Use the "Report a bug" button at the top of the page; every report is reviewed.

How we calculate and our accuracy policy →

Results are for information only. For official matters the relevant authority's calculation prevails.

Last updated: