Speed Distance Time Calculator

Calculate speed, distance, or time from the other two values. Supports mph, km/h, m/s, miles, and km with step-by-step solutions.

Solve for speed, distance, or time from the other two values using the classic equation Distance = Speed x Time. This calculator supports mph, km/h, m/s, ft/s, and knots for speed, plus miles, kilometres, metres, feet, and yards for distance. Every result shows the formula used, a step-by-step substitution, the answer in multiple units, and a human-readable time format (hours and minutes) so you can check the working at a glance.

Ad
Ad

About Speed Distance Time Calculator

How Does the Speed-Distance-Time Formula Work?

Speed equals distance divided by time, and the same relationship rearranged gives two more equations: distance equals speed times time, and time equals distance divided by speed. One triangle, three formulas.

Solving ForFormulaExample
DistanceDistance = Speed x Time60 mph x 2.5 hours = 150 miles
SpeedSpeed = Distance / Time150 miles / 2.5 hours = 60 mph
TimeTime = Distance / Speed150 miles / 60 mph = 2.5 hours (2h 30m)

The only trap is keeping units consistent. If speed is in km/h and time is in hours, distance comes out in km. If speed is in m/s and time is in seconds, distance is in metres. Mix them (e.g. mph with minutes) and the number will be wrong by a factor of 60. This calculator converts everything to SI internally (metres per second, metres, seconds) before computing, then converts back to whichever unit you picked, so cross-unit mixing works out of the box.

Worked example: How long does a 340-mile drive from London to Edinburgh take at an average speed of 55 mph?

Time = Distance / Speed = 340 / 55 = 6.1818 hours. Converting the decimal part: 0.1818 hours x 60 = 10.9 minutes, so the answer is 6 hours 11 minutes. Real-world driving time for that route is closer to 7 hours including fuel stops, which is exactly the gap between theoretical average speed and actual journey time.

Unit Conversion Reference

Every conversion between speed units is just a multiplication. The exact factors used by this calculator come from the SI definitions of the mile (1,609.344 m), the nautical mile (1,852 m), the foot (0.3048 m), and the yard (0.9144 m), all fixed by international agreement in 1959.

FromToMultiply By
mphkm/h1.60934
km/hmph0.62137
mphm/s0.44704
m/smph2.23694
knotsmph1.15078
knotskm/h1.852
m/skm/h3.6
km/hm/s0.27778
ft/smph0.68182

Quick mental shortcuts that get you within 2%:

  • km/h to mph: multiply by 5 and divide by 8. So 100 km/h is about 62.5 mph (exact: 62.14).
  • mph to km/h: multiply by 8 and divide by 5. So 70 mph is 112 km/h (exact: 112.65).
  • km/h to m/s: divide by 3.6. So 108 km/h is exactly 30 m/s.
  • knots to mph: add about 15%. So 100 knots is roughly 115 mph (exact: 115.08).

What Speeds Are Normal in Everyday Life?

Reference points make the maths more intuitive. A human walks at roughly 3 mph, a car on a motorway averages 60-70 mph, and a passenger jet cruises at around 575 mph. Here is a wider reference table:

ThingSpeed (mph)Speed (km/h)Speed (m/s)
Average walking pace (NHS)3.15.01.4
Brisk walk (NHS target)3.76.01.7
Jogging6.09.72.7
Recreational cycling12-1519-245-7
Usain Bolt peak (2009 Berlin)27.844.712.4
Cheetah (top)7011331
UK motorway speed limit7011331.3
US interstate speed limit65-75105-12129-34
German autobahn typical80-100130-16036-45
Commercial aircraft cruise575925257
Concorde (retired 2003)1,3542,180606
Speed of sound (dry air, 20 C)7671,235343
ISS orbital speed17,15027,6007,670
Speed of light (vacuum)670,616,6291,079,252,849299,792,458

The speed of light is not a measurement but a definition: the metre itself has been defined since 1983 as the distance light travels in 1/299,792,458 of a second, per the International Bureau of Weights and Measures (BIPM). The speed of sound in dry air at 20 C is 343 m/s, which rises by roughly 0.6 m/s for every 1 C increase in temperature.

What Is a Realistic Average Speed for a Journey?

Average speed on a real journey is always lower than the speed limit because of stops, junctions, traffic, and acceleration time. For long-distance journey planning, the UK Department for Transport and the US Federal Highway Administration publish average speeds by road class that are far more useful than raw limits.

  • Motorway-only UK journey: 55-65 mph average despite the 70 mph limit. Roadworks, 50 mph smart-motorway sections, services, and fuel stops pull the average down.
  • Mixed UK road journey: 35-45 mph average across A-roads and B-roads combined.
  • US interstate long haul: 60-65 mph average on lightly trafficked routes, dropping to 45-55 mph on busy corridors.
  • UK urban driving: 15-25 mph average. TfL reports central London averages around 8-10 mph in peak hours.
  • Road trip with planned breaks: 45-55 mph door to door for a trip over 4 hours, once you include a meal stop and a fuel stop.

Google Maps and Apple Maps model all of this with historical traffic data, which is why their ETAs are consistently more accurate than a raw speed-distance calculation. Use this calculator for quick back-of-envelope estimates and cross-check with a mapping app before committing to a schedule.

Speed in Sport and Fitness

Runners and cyclists usually think in pace (minutes per mile or per km) rather than speed (mph or km/h). The conversion is pace = 60 / speed. A 7-minute mile is 60/7 = 8.57 mph or 13.8 km/h. A 4-minute kilometre is 60/4 = 15 km/h or 9.3 mph.

Running PaceSpeed (mph)Speed (km/h)10K Finish Time
4:00 / km9.315.040:00
5:00 / km7.512.050:00
6:00 / km6.210.01:00:00
7:00 / km5.38.61:10:00
8:00 / km4.77.51:20:00

For dedicated pace work including splits, heart-rate zones, and race-time predictions, the pace calculator is purpose-built. Swimmers usually use time per 100 m, rowers use time per 500 m, and cyclists often mix mph for the UK and US with km/h and watts for European racing.

Common Mistakes When Calculating Speed, Distance, and Time

  • Mixing units without converting: Multiplying 60 mph by 30 minutes and writing "1,800" is a classic. The answer is 30 miles (convert 30 minutes to 0.5 hours first).
  • Forgetting that average speed is not the average of two speeds: If you drive 60 miles at 30 mph and 60 miles back at 60 mph, the average is not 45 mph. Total distance is 120 miles, total time is 2 + 1 = 3 hours, so average speed is 40 mph (harmonic mean, not arithmetic).
  • Using display speedometer reading as average: Cars typically over-read by 2-5% to ensure the displayed speed is never lower than actual (EU and UK regulation). Using GPS speed for journey planning is more accurate.
  • Ignoring acceleration and stops: For any journey under 30 minutes, start/stop time is a bigger factor than cruising speed. A 5-mile town trip at a 30 mph limit realistically averages 15-20 mph.
  • Confusing mph and knots in aviation/sailing contexts: A knot is 1.15 mph. A ship doing "20 knots" is doing 23 mph, not 20. One nautical mile is exactly 1,852 metres, originally defined as one minute of latitude around the Earth.

The Maths Behind Unit Conversion

Every speed conversion factor is a ratio of definitions, not a measurement. For example, converting 100 km/h to m/s:

100 km/h x (1000 m / 1 km) x (1 h / 3600 s) = 100,000 / 3600 = 27.78 m/s

That is the whole reason "divide km/h by 3.6 to get m/s" works - 3600 seconds per hour divided by 1000 metres per km is 3.6. Going the other way, multiply m/s by 3.6 to get km/h. The mph-to-km/h factor of 1.60934 comes from the international yard-and-pound agreement of 1959, which defined one inch as exactly 0.0254 metres, making one mile exactly 1,609.344 metres.

Knots have a separate origin. A knot is one nautical mile per hour, and the nautical mile was originally defined as one minute (1/60 of a degree) of latitude along any meridian of the Earth. The average value works out to roughly 1,852 metres, which was fixed as the exact international nautical mile in 1929. That is why aviation and maritime navigation use knots: over long distances on a globe, it is easier to work with a unit tied to the Earth's geometry than to an arbitrary mile or kilometre. Commercial pilots report airspeed in knots, commercial ships report speed over ground in knots, and weather reports give wind speed in knots for aviation but in mph or km/h for the general public.

Edge Cases and Practical Tips

A few situations where the naive formula gives a misleading answer:

  • Round trips at different speeds: Always use total distance divided by total time, never the arithmetic mean of the two speeds. The harmonic-mean trap catches physics students every year.
  • Journeys crossing time zones: If your journey crosses a time zone boundary (e.g. transatlantic flight), wall-clock elapsed time is not the same as flight time. Use the flight time for speed calculations.
  • Very short distances: At distances under 100 metres, acceleration dominates. A car accelerating from 0 to 30 mph over 5 seconds is not travelling at 30 mph the whole time - it averages around 15 mph.
  • Very high speeds (special relativity): Once speeds approach a significant fraction of the speed of light, classical D = S x T breaks down because time itself dilates. For anything under about 10% of c (30,000 km/s), the classical formula is accurate enough for any practical purpose.
  • Units that look similar but are not: Statute miles (the US/UK road mile, 1,609.344 m) and nautical miles (1,852 m) differ by about 15%. Always check which "mile" a source is using, especially when reading aviation or shipping distances.

For longer trip planning that factors in fuel cost, the fuel cost calculator takes distance and vehicle efficiency. To convert between miles and kilometres without the other variables, use the km to miles converter.

All calculations run in your browser. Nothing is sent to any server.

Sources

Frequently Asked Questions

How do I calculate distance from speed and time?

Distance equals speed multiplied by time. If you drive at 60 mph for 2 hours, the distance is 120 miles. Just make sure the units are consistent - if speed is in km/h, time should be in hours to get distance in km.

How do I find travel time from distance and speed?

Time equals distance divided by speed. A 240-mile trip at 60 mph takes 4 hours. The calculator automatically converts between different units and shows the result in your chosen unit plus a formatted time (hours and minutes).

How do I convert between mph and km/h?

Multiply mph by 1.609 to get km/h, or divide km/h by 1.609 to get mph. For example, 60 mph equals about 96.6 km/h. This calculator shows your result in multiple speed units automatically.

What is the speed of sound?

The speed of sound in dry air at 20 degrees C is about 767 mph or 1,235 km/h. It varies with temperature and medium. In water, sound travels about 4.3 times faster than in air.

Can I use this for running or cycling pace?

Yes, though for running pace specifically (minutes per mile or km), the dedicated Pace Calculator may be more convenient. This calculator works with any speed unit including m/s and ft/s.

Link to this tool

Copy this HTML to link to this tool from your website or blog.

<a href="https://toolboxkit.io/tools/speed-distance-time-calculator/" title="Speed Distance Time Calculator - Free Online Tool">Try Speed Distance Time Calculator on ToolboxKit.io</a>