Speed Distance Time Calculator

Solve for speed, distance or time with everyday units.

Speed Distance Time Calculator tool

Find
—
Answer
—
Formula

About the Speed Distance Time Calculator

Planning a journey, checking a running pace or answering a physics question all use the same relationship: distance equals speed multiplied by time. This speed distance time calculator solves for whichever is missing, with flexible units and times in hours and minutes: covering 375 km in 4 hours 30 minutes is an average of about 83.3 km/h. It also converts the result into other speed units. Real journeys include stops and slower sections, so average speeds over a trip are usually lower than the speed you drive on the open road, which is worth remembering when estimating arrival times.

The three formulas come from the famous triangle: speed = distance ÷ time, distance = speed × time and time = distance ÷ speed. The only trap is units, because they must match. A speed in km/h needs the time in hours, so 90 minutes must become 1.5 hours. The calculator converts everything internally, so you can mix miles with km/h if you like, and it gives the answer in several units with times written as hours, minutes and seconds.

Example: driving 150 km in 2 hours 30 minutes is an average speed of 60 km/h, about 37.3 mph. At 100 km/h, 45 minutes of driving covers 75 km. A 26.2-mile marathon run at 6 mph takes 4 hours 22 minutes. A ship sailing 120 nautical miles at 15 knots takes 8 hours.

Average speed is total distance divided by total time, not the average of the speeds. For pace in minutes per mile or kilometer, use the pace calculator; for fuel on the journey, the fuel cost calculator; and for velocity with acceleration, the velocity calculator.

How to use the Speed Distance Time Calculator

  1. Choose what to findSpeed, distance or time.
  2. Enter the known valuesType the distance and speed with units, or the time in hours, minutes and seconds.
  3. Read the answerSee the result in your chosen unit and the formula.
  4. Check other unitsSee the answer converted to other common units.

Speed Distance Time Calculator features

  • Solve for speed, distance or time
  • Distances in km, miles, meters, feet and nautical miles
  • Speeds in km/h, mph, m/s, ft/s and knots
  • Time in hours, minutes and seconds
  • Results converted into other units
  • Formula triangle explained
  • Free and instant

Common uses

  • Planning road trips and commutes
  • Running, cycling and swimming training
  • Sailing and flight planning
  • Math and physics homework
  • Delivery and logistics estimates

Speed, distance and time in practice: long road trips, trains and flights, thunder and meeting points

By the FreeToolsWorld editorial team · Updated November 2026 · How we write and check our guides

Speed, distance and time are linked by one simple relationship, which makes travel planning, homework problems and even judging the distance of a storm straightforward. This guide works through a long road journey, compares travel by road, rail and air, shows how to estimate how far away lightning struck, solves the classic two-trains problem and covers speed limits and driver fatigue.

A worked example: Karachi to Lahore by road

The road journey from Karachi to Lahore is roughly 1,200 km. At an average of 80 km/h, including slower stretches through towns, driving time is about 15 hours. Adding meal and fuel stops and rest breaks every two hours or so brings the total to around 17 hours. Splitting the trip over two days, or sharing the driving, makes it much safer.

Road, rail or air?

The same journey by train usually takes around 18 to 20 hours, but passengers can sleep, walk about and avoid the strain of driving. A flight takes under two hours in the air, but adding travel to the airport, check-in, security and the journey from the destination airport often makes the door-to-door time four to five hours. Comparing total door-to-door time, cost and comfort gives the fairest picture.

How far away was the lightning?

Light from a lightning flash arrives almost instantly, while sound travels at about 343 metres per second. Counting the seconds between the flash and the thunder, then dividing by three, gives the distance in kilometres. A gap of 9 seconds means the strike was about 3 km away. If the gap is short, the storm is close, and it is safest to go indoors.

The two-trains problem

Two trains start 300 km apart on the same line and travel towards each other at 80 km/h and 70 km/h. Their closing speed is 150 km/h, so they meet after 300 ÷ 150 = 2 hours. The first train has then covered 160 km and the second 140 km. Problems like this appear in school exams and test whether students add speeds when objects approach each other.

Speed limits and real averages

Pakistan's motorways commonly have a limit of 120 km/h for cars, with lower limits for heavy vehicles and on other roads. Average speeds over a whole journey are always lower than the limit, because of junctions, traffic, tolls and stops. Planning with a realistic average, rather than the speed limit, avoids running late and the temptation to speed.

Driver fatigue

Long drives cause fatigue, which slows reactions much like alcohol. Road safety organisations commonly recommend a break of at least 15 minutes every two hours. Planning breaks into the journey time, rather than pushing on, reduces the risk of crashes caused by drowsiness, especially on long, straight motorway stretches at night.

Units and conversions

Keep units consistent: kilometres with km/h and hours, or metres with m/s and seconds. To convert km/h to m/s, divide by 3.6. Mixing minutes with hours is the most common error: 45 minutes is 0.75 hours, not 0.45.

Everyday estimates

The same formula helps with everyday questions: how early to leave for an appointment 18 km away through traffic averaging 25 km/h, which takes about 43 minutes, or how far you could walk in a 30-minute lunch break at 5 km/h, which is 2.5 km.

Common mistakes

  • Writing minutes as decimals of an hour, such as 1.30 for 1 hour 30 minutes.
  • Planning with the speed limit instead of a realistic average.
  • Forgetting stops and breaks in journey times.
  • Subtracting speeds when objects move towards each other.

Related tools

For velocity with direction, use Velocity Calculator. For running and walking paces, try Pace Calculator, and to estimate fuel for a trip, Fuel Cost Calculator.

Speeds in nature

Sound travels about 343 metres per second in air, light about 300,000 kilometres per second, and a cheetah can sprint at around 100 km/h for short bursts. Tectonic plates move only a few centimetres a year, about as fast as fingernails grow. Comparing speeds across this range builds a sense of scale.

Light-years

A light-year is the distance light travels in a year, about 9.46 trillion kilometres. Light from the Sun takes about 8 minutes 20 seconds to reach Earth, and light from the Moon about 1.3 seconds. When astronomers say a star is 100 light-years away, we see it as it was 100 years ago.

Commuting choices

Speed alone does not decide the best way to travel. A car averaging 40 km/h through city traffic, plus 10 minutes to park, may take as long as a metro averaging 35 km/h with a five-minute walk at each end. Calculating door-to-door time for each option, rather than comparing headline speeds, often changes the answer.

Deliveries and routes

Delivery riders and drivers plan routes with the same formula, adding stops and waiting time to driving time. A rider covering 60 km in a shift at an average of 25 km/h spends about 2.4 hours moving, and the rest of the shift is pickups, drop-offs and waiting, which is why the number of deliveries per hour matters more than top speed.

Limits

The calculator works with average speeds. Real journeys involve changing speeds, stops and delays.

Frequently asked questions

What is the formula for speed?

Speed = distance ÷ time. Covering 240 km in 3 hours is a speed of 80 km/h. The units of the answer are the distance unit per time unit.

How do I calculate travel time?

Divide the distance by the speed: time = distance ÷ speed. A 300 km trip at 75 km/h takes 4 hours. Add time for stops, which average speed figures usually leave out.

How do I calculate distance?

Multiply speed by time: distance = speed × time. Walking at 5 km/h for 1 hour 30 minutes covers 5 × 1.5 = 7.5 km. For a run of 40 minutes at 12 km/h, that is 12 × 2/3 = 8 km.

How do I convert minutes to hours for the formula?

Divide by 60. 45 minutes is 0.75 hours, so 45 minutes at 60 km/h covers 45 km. The calculator lets you enter hours and minutes separately to avoid mistakes.

What is average speed?

Total distance divided by total time. Driving 60 km at 60 km/h and 60 km at 30 km/h averages 40 km/h over the whole trip, not 45 km/h, because more time is spent at the slower speed.

How do I convert km/h to mph?

Divide by 1.609344, or multiply by about 0.6214. 100 km/h is about 62.1 mph, and 60 mph is about 96.6 km/h.

What is a knot?

One nautical mile per hour, exactly 1.852 km/h or about 1.15 mph. Knots are used for ships and aircraft because nautical miles relate directly to latitude.

What is the speed distance time triangle?

A memory aid with D on top and S and T below. Cover the one you want: D = S × T, S = D ÷ T and T = D ÷ S.