Speed, Distance & Time Calculator
Find speed, distance or travel time from the other two, in miles, kilometres, metres or feet. Mix units freely and see every step of the working.
How to Use
- Choose which value you want to solve for (Distance, Speed, or Time).
- Enter the two known values and pick a unit for each — miles, km, m, ft or nautical miles; hours, minutes or seconds; mph, km/h, m/s, ft/s or knots.
- The answer appears as you type, in the unit selected for it. Change that unit at any time to convert the answer.
- Or press a preset to load a ready-made example.
- Check the Show Work section for each step, including any unit conversions.
Worked Example
A 120-mile drive at an average of 60 mph.
t = d / v = 120 / 60 = 2 h.
Check: d = v × t = 60 × 2 = 120 mi.
A marathon (26.2 miles) in 3 h 30 min. Convert the time first: 30 min = 0.5 h, so t = 3.5 h. v = 26.2 / 3.5 = 7.49 mph (12.05 km/h). Entering 3.30 for “3 h 30 min” is the usual mistake: it gives 7.94 mph.
Show Work
Formulas
Average Speed vs. Instantaneous Speed
This calculator works with average speed: the total distance divided by the total time. A speedometer shows instantaneous speed, which changes from moment to moment. On any real trip the average is lower than the top speed, because it includes every slow stretch and stop.
Average speeds cannot be averaged directly. Driving 60 miles at 60 mph and another 60 miles at 30 mph is 120 miles in 3 h, an average of 40 mph, not 45 mph, because more time is spent at the lower speed.
About This Calculator
This calculator solves for any one of speed, distance and time from the other two. Each value has its own unit, so you can enter a distance in kilometres, a time in minutes and get the speed in mph — the conversions are done for you and shown in the working.
All calculations run in your browser; nothing you enter is sent to a server. The trip diagram and readouts update as you type, and changing the unit of the answer converts it on the spot.
It suits trip planning, running and cycling paces, boating in knots, and physics homework in metres per second.
Related calculators: Pace Calculator, Fuel Cost Calculator, and Unit Converter.
Frequently Asked Questions
What is the formula for speed, distance and time?
Distance = speed × time. Rearranged, speed = distance ÷ time and time = distance ÷ speed. The units must match — miles with mph and hours — or be converted first, which this calculator does for you.
How do I enter a time like 1 hour 20 minutes?
Either switch the time unit to minutes and enter 80, or stay in hours and enter 1.333 (20 minutes is 20 ÷ 60 = 0.333 h). Typing 1.20 for “1 h 20 min” is a common mistake: it means 1 h 12 min.
How do I work out average speed for a trip with stops?
Divide the total distance by the total time including the stops. 300 miles in 5 h of driving plus 30 min of breaks is 300 ÷ 5.5 = 54.5 mph.
How do I convert mph to km/h?
Multiply by 1.609344. 60 mph is 96.56 km/h. To go the other way, divide km/h by 1.609344. In this calculator, just change the speed unit and the answer converts.
Why is my average speed lower than the speed limit?
Average speed counts every minute of the trip, including slow sections, traffic and stops, so it is almost always below the highest speed you drove.
How do I use the Speed, Distance & Time Calculator?
Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.
Is it free? Does it work without internet?
Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.
Where does my data go?
Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.
Common Use Cases
Road trip planning
450 miles at an average of 65 mph takes 6.92 h, about 6 h 55 min. Add stops to the time, not to the speed.
Running pace
A 10 km run in 50 minutes is 12 km/h (7.46 mph), a pace of 5:00 per km or 8:03 per mile.
Cycling commute
Riding 7.5 miles at 12 mph takes 0.625 h, which is 37.5 minutes door to door.
Physics homework
A car covering 150 m in 6 s averages 25 m/s, which is 90 km/h or 55.9 mph.
Boating and flying
A boat making 18 knots covers 45 nautical miles in 2.5 h. One knot is one nautical mile per hour.
Last updated: