↑↓ to move ↵ to open Esc to close Browse all tools

Speed Distance Time Calculator

Know two of speed, distance and time? Get the third, in miles or kilometers, with conversions, travel times at common speeds and worked word problems. Fractions like 3/4 work too.

Embed

Your trip

miles A decimal like 2.5 or a fraction like 3/4 or 1 1/2.
h:mm:ss Hours and minutes like 2:30, or with seconds like 0:45:30. A single number or a fraction like 1/3 counts as hours; 15 min or 2h 30m works too.
Average speed

Travel time at common speeds

SpeedTypical forTime

Word problems

The four patterns homework questions use. Each button puts the numbers into the calculator above.

24 miles in 2 hours
24 ÷ 2 = 12 mph

Speed is distance divided by time. Whole hours need no conversion.

52 miles in 4 hours
52 ÷ 4 = 13 mph

The same pattern with numbers that do not come out round in your head: divide and you are done.

3/4 mile in 15 minutes
15 minutes = 0.25 hours, so 0.75 ÷ 0.25 = 3 mph

Turn the minutes into hours first (minutes ÷ 60), then divide. 3/4 of a mile is 0.75 miles.

7/4 miles in 1/3 hour
7/4 ÷ 1/3 = 7/4 × 3 = 21/4 = 5.25 mph

Dividing by a fraction is multiplying by its reciprocal. 21/4 miles per hour is 5 1/4 or 5.25 mph.

Runs on your device. Nothing you enter is sent to a server.

Saved you time? Buy me a coffee

Free printablePrintable Workout LogSets, reps and weight for strength, or time and distance for cardio. Hand-checked listFree Offline Maps AppsFree map apps that work without a signal, with their download limits, offline navigation and open source apps marked.

Speed Distance Time Calculator by Freebiefy, free online tools · Privacy · Legal notice

Embed this tool on your site

Paste this code into your page. The tool runs in the visitor's browser, free and without signup. The height adjusts to the content. All tools you can embed

The speed, distance and time formula

Speed, distance and time are linked by one simple formula: speed is distance divided by time. If you know any two of them, you can work out the third. The formula triangle is an easy way to remember all three versions: cover the value you want, and the other two show you what to do.

Runners who think in minutes per mile or kilometer get splits and race predictions from the Running Pace Calculator.

Formula triangle with distance on top and speed times time below D S T
Speed
Distance ÷ Time
Distance
Speed × Time
Time
Distance ÷ Speed

The units have to match. Miles and hours give miles per hour (mph), kilometers and hours give kilometers per hour (km/h). The speed converter switches between them. Minutes need converting first: 2 hours 30 minutes is 2.5 hours, not 2.30. This calculator takes care of that when you type the time as 2:30, 15 min or 1/3.

Word problems often give the distance or the time as a fraction. Treat the fraction as a number: 3/4 mile is 0.75 miles, 1/3 hour is 20 minutes. To divide by a fraction, multiply by its reciprocal: 7/4 ÷ 1/3 is 7/4 × 3 = 21/4 = 5.25. You can type the fractions straight into the calculator, as 3/4 or as 1 1/2, and it does the conversion.

Examples

  • Driving: you drive 150 miles in 2 hours 30 minutes. Your average speed is 150 ÷ 2.5 = 60 mph, or 96.56 km/h.
  • Travel time: a 240 km trip at an average of 80 km/h takes 240 ÷ 80 = 3 hours.
  • Cycling: riding for 1 hour 15 minutes at 20 km/h covers 20 × 1.25 = 25 km.
  • Walking: at 3 mph, a 4.5-mile walk takes 4.5 ÷ 3 = 1.5 hours, or 1:30.

Average speed with stops

Average speed is always total distance divided by total time. On a long drive, breaks for fuel, food or traffic count as part of the time, so your average ends up well below your cruising speed. Driving 300 miles at a steady 60 mph takes 5 hours. Add 45 minutes of stops and the average for the whole trip falls to 300 ÷ 5.75 = 52.17 mph.

A common trap is averaging two speeds. If you drive 60 miles at 30 mph and 60 miles back at 60 mph, the average is not 45 mph. The trip takes 2 hours plus 1 hour, so it is 120 miles ÷ 3 hours = 40 mph. You spend more time at the slower speed, so it counts more.

Travel time for 100 miles or 100 kilometers

Examplemph100 mileskm/h100 km
Walking333:20:00520:00:00
Running616:40:001010:00:00
Cycling128:20:00205:00:00
Fast cycling205:00:00303:20:00
City driving303:20:00502:00:00
Main road452:13:20801:15:00
Highway601:40:001001:00:00
Fast highway751:20:001200:50:00

Times are in hours, minutes and seconds at a steady speed, with no stops. Real trips take longer because of traffic, lights, hills and breaks. For the fuel cost of a drive, use the trip fuel cost calculator.

How to use the speed distance time calculator

  1. 1Choose miles and mph or kilometers and km/h, then pick what you want to find: speed, distance or time.
  2. 2Enter the two values you know. Type the time as h:mm or h:mm:ss, like 2:30, or as 15 min or 1/3. Distances can be fractions like 3/4 or 1 1/2.
  3. 3Read the result with conversions to mph, km/h, meters per second and knots, and check the table for travel times at common speeds.

Frequently asked questions

What is the formula for speed, distance and time?

Speed = distance ÷ time, distance = speed × time and time = distance ÷ speed. Use matching units: miles with hours for mph, kilometers with hours for km/h. 150 miles in 2.5 hours is 150 ÷ 2.5 = 60 mph.

How do I enter the time?

Type hours and minutes with a colon, like 2:30 for two and a half hours, or add seconds, like 0:45:30. A single number counts as hours, so 1.5 is an hour and a half. You can also write 2h 30m, 90 min, or a fraction of an hour like 1/3 or 3/4 hour. The distance field takes fractions too, like 3/4 or 1 1/2.

How do I convert mph to km/h?

Multiply by 1.609344, the number of kilometers in a mile. 60 mph is about 96.56 km/h. To go from km/h to mph, divide by 1.609344: 100 km/h is about 62.14 mph. The calculator shows both, plus meters per second and knots.

How do I calculate average speed with stops?

Divide the total distance by the total time, including the stops. Driving 300 miles in 5 hours of driving with 45 minutes of breaks gives 300 ÷ 5.75 = 52.17 mph average, not 60. If you want the speed while moving, leave the stops out of the time.

What is a knot?

A knot is one nautical mile per hour and is used at sea and in aviation. A nautical mile is exactly 1,852 meters, a little longer than a regular mile, so 1 knot is 1.852 km/h or about 1.15 mph.