GlobalFree to use

Speed, distance and time calculator

Solve for travel time, average speed or distance. Mix kilometres, miles, metres and nautical miles with km/h, mph, m/s and knots.

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Input

Tip: press Ctrl + Enter to run

Your result

Your result will appear here.

About this tool

Speed, distance and time are linked by one formula (distance = speed × time) but mixing units makes it easy to slip. This calculator solves for whichever of the three you do not know and accepts kilometres, miles, metres and nautical miles with km/h, mph, m/s and knots. It shows the answer in several units at once, which is handy for travel planning, physics homework, sailing, running and cycling.

How to use it

  1. Choose what to calculate: time, speed or distance.
  2. Enter the two values you know with their units (the third field is ignored).
  3. For time, enter hours, minutes and seconds.
  4. Run it to see the result in several units.

How the calculation works

Everything is converted to metres and seconds. Time = distance ÷ speed; speed = distance ÷ time; distance = speed × time. Results are converted back (1 mph = 1.609344 km/h, 1 kn = 1.852 km/h, 1 m/s = 3.6 km/h).

time = distance ÷ speed · speed = distance ÷ time · distance = speed × time

Worked example

A runner finishes 26.2 miles in 3 hours 45 minutes. Solving for speed gives 6.99 mph (11.24 km/h, 3.12 m/s or 6.07 knots) and confirms the distance as 42.165 km. A 300 km drive at 100 km/h, solved for time, takes 3 hours.

Sample input and result

Calculate: Time
Distance: 300
Distance unit: Kilometres (km)
Speed: 100
Speed unit: km/h
Hours: 0
Minutes: 0
Seconds: 0

→ Time: 3 hrs (3:00:00)
→ Speed: 100 km/h · 62.14 mph
→ Speed in m/s and knots: 27.78 m/s · 54 kn
→ Distance: 300 km · 186.411 mi

Limitations

  • Constant (average) speed.
  • No acceleration or relativistic effects.
  • Time entry is limited to hours, minutes and seconds.

Last updated:

Frequently asked questions

How do I get average speed for a trip with stops?

Use the total distance and the total elapsed time including stops; for moving speed, exclude stop time.

What is a knot?

One nautical mile per hour, about 1.852 km/h.

Why does my car’s trip computer differ?

It may measure moving time only, and speedometers usually read slightly high.

Troubleshooting

The answer is 0.

Fill in the two known values; the field you are solving for is ignored.

Minutes above 59 are rejected.

Convert extra minutes into hours.

Running pace is easier for me.

Use the pace calculator for minutes per kilometre or mile.

Privacy & Free to use

Are my inputs stored?

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Is this tool free?

Yes. No signup or payment is required.

Processed in your browser

Useful next steps