Speed Calculator

This speed calculator solves for speed, distance or travel time when you know the other two. Enter values in miles, kilometers, meters or feet and seconds through days. You'll get the answer in mph, km/h, m/s, ft/s and knots, plus pace per mile and per kilometer.

Calculation and content reviewed by EZ Calculators Editorial Team on .

Enter values

Choose the missing motion quantity, enter the other two with their own units, and inspect one reconciled SI calculation with speed, pace, distance, time, and constant-rate projections.

Build the scenario below, then calculate for a complete result report.

Runs in your browser
RelationshipDistance / time
Conversion baseMeters and seconds
Projection modelConstant average rate

Choose the missing quantity

The other two quantities become the known inputs. Choose speed for distance divided by time, distance for speed multiplied by time, or travel time for distance divided by speed.

Enter the two known values

v = d / tEach number keeps its own selected unit. The calculation converts distance to meters, time to seconds, and speed to meters per second before solving the relationship.
Enter the total path length, not straight-line displacement.
Use total elapsed time, including stops, when you need whole-trip average speed.
Average-rate boundary

Use total path distance and total elapsed time for a whole-trip average. The result does not reconstruct acceleration, stops, route shape, elevation, or instantaneous speed.

How do you calculate speed?

Divide the distance traveled by the time it took. Speed = distance / time. A 100-mile drive that takes 2 hours averages 100 / 2 = 50 mph. For minutes, convert to hours first: 10 km in 50 minutes is 10 / (50 / 60) = 12 km/h. Rearrange the same formula to find distance or time.

How to use the speed calculator

Choose what you want to find: speed, distance or travel time. The form then asks only for the two values you know. Each value has its own unit, so you can enter kilometers with minutes or miles with seconds without converting anything first.

The result shows the answer and the same value in other units. You also get a reverse check that plugs the answer back into the formula, and a table of times for standard distances at that speed.

  1. Pick Speed, Distance or Travel time as the value to calculate.
  2. Enter the two values you know.
  3. Check the unit next to each one (miles, km, meters, feet; seconds, minutes, hours, days; mph, km/h, m/s, ft/s, knots).
  4. Press Calculate and read the answer and the unit conversions.
  5. Use the pace rows and benchmark table if you're working with a run, walk or ride.

Speed, distance and time formula

One relationship covers all three questions. Speed is distance over time, and the other two are just rearrangements. The units have to match: miles with hours gives mph, meters with seconds gives m/s. The calculator converts everything to meters and seconds first, solves, and then converts back.

Formula guide
  • Speed = distance / time
  • Distance = speed x time
  • Time = distance / speed
  • Pace = time / distance
Which formula to use
You wantYou knowFormula
Average speedDistance and timespeed = distance / time
DistanceSpeed and timedistance = speed x time
Travel timeDistance and speedtime = distance / speed

Worked examples

Each example below uses the same formula with a different unknown. Minutes become hours by dividing by 60, so 45 minutes is 0.75 hours and 25 minutes is about 0.4167 hours.

Speed, distance and time examples
QuestionKnown valuesMathAnswer
Road trip average speed100 mi in 2 h100 / 250 mph (80.4672 km/h)
Distance at a steady speed72 km/h for 45 min72 x 0.7554 km
Time for a route10 km at 12 km/h10 / 1250 minutes
5K running speed5 km in 25 min5 / (25 / 60)12 km/h (5:00 per km)

Average speed calculator: stops and round trips

Average speed is total distance divided by total time. Include stops if you want the whole-trip average. A 100-mile trip that takes 2 hours, including a 20-minute stop, averages 50 mph. Using only the 100 minutes of moving time gives 60 mph. Both are right; they answer different questions.

Don't average the speeds themselves. Drive 60 miles out at 30 mph and 60 miles back at 60 mph and the average isn't 45 mph. The trip out takes 2 hours and the trip back takes 1, so it's 120 miles in 3 hours: 40 mph. Add up distances and times, then divide.

Pace calculator: speed to minutes per mile

Runners and walkers usually think in pace, which is time per distance. The calculator shows pace per mile and per kilometer next to every speed. At 12 km/h, a kilometer takes 5:00 and a mile about 8:03.

The benchmark table then applies your speed to 100 m, 1 km, 1 mile, 5K, 10K, a half marathon and a marathon. Those times assume you hold the same speed the whole way, which few people do over long distances.

Speed unit conversions

NIST defines 1 mph as exactly 0.44704 m/s and 1.609344 km/h. A knot is one nautical mile per hour, about 0.5144 m/s. To turn mph into km/h, multiply by 1.609344. To go the other way, divide by 1.609344 or multiply by about 0.621371.

Common speed conversions
Starting ratem/skm/hmph
1 m/s13.62.236936
1 mph0.447041.6093441
1 km/h0.277777810.621371
1 knot0.51444441.8521.150779
1 ft/s0.30481.097280.681818

Mistakes that give the wrong answer

Decimal hours trip people up most. 1 hour 30 minutes is 1.5 hours, but 1.30 hours is only 1 hour 18 minutes. If your time has minutes in it, pick minutes as the unit instead.

Also check that distance and time cover the same stretch, and that you're using the route distance, not a straight line on a map. The calculator gives average speed along a path. It doesn't work out velocity with direction, acceleration, or the speed at any one moment, and it isn't evidence of legal speed.

Sources

FAQ

How do I calculate distance from speed and time?

Multiply speed by time. At 72 km/h for 45 minutes, that's 72 x 0.75 = 54 km. Make sure the time unit matches the speed unit, so use hours with km/h or mph.

How long does it take to drive 100 miles at 60 mph?

1 hour 40 minutes. Time = 100 / 60 = 1.667 hours, and 0.667 of an hour is 40 minutes. Stops and traffic add to that.

How do I convert mph to km/h?

Multiply by 1.609344. So 50 mph is 80.4672 km/h and 60 mph is about 96.56 km/h. To go from km/h to mph, divide by 1.609344.

What is the average speed if I go 30 mph one way and 60 mph back?

40 mph, not 45. Over 60 miles each way, the trip out takes 2 hours and the trip back 1 hour, so 120 miles in 3 hours. Always divide total distance by total time.

What pace is 6 mph?

10 minutes per mile. Divide 60 minutes by the speed in mph to get minutes per mile. At 5 mph it's 12 minutes per mile.

What's the difference between speed and velocity?

Speed is how much ground you cover per unit of time. Velocity also includes direction. A lap that ends where it started has a positive average speed but zero average velocity.

Should travel time include stops?

For a door-to-door average, yes. Leave stops out only if you want moving average speed, like many GPS apps show. Label which one you used.