Speed Distance Time Calculator

Speed distance time calculator tool with formula triangle diagram

Enter any two values and this calculator finds the third. All fields accept decimals.

How fast are you going, how far will you travel, and how long will it take to get there? One simple relationship links all three, and the free tool at the top of this page solves any of them in seconds. Below are the formulas, step-by-step instructions, unit conversions, and worked examples.

Quick answer: A speed distance time calculator finds the missing value when you know the other two: enter distance and time to get speed, speed and time to get distance, or distance and speed to get time. The tool above also converts between km/h, mph, m/s, kilometers, miles, meters, hours, and minutes.

How to Use This Calculator

The calculator has three modes. Pick the tab that matches what you want to find, then fill in the two values you already know.

Solve for Speed

  1. Select the Solve for Speed tab.
  2. Enter the distance traveled and choose kilometers, miles, or meters.
  3. Enter the time it took and choose hours or minutes.
  4. Pick the speed unit you want the answer in: km/h, mph, or m/s.
  5. Click Calculate Speed. The result shows in your chosen unit plus the other two units.

Solve for Distance

  1. Select the Solve for Distance tab.
  2. Enter the speed and choose km/h, mph, or m/s.
  3. Enter the travel time in hours or minutes.
  4. Choose whether to see the distance in kilometers, miles, or meters.
  5. Click Calculate Distance. You get the answer in your unit plus equivalents in the other two.

Solve for Time

  1. Select the Solve for Time tab.
  2. Enter the distance in kilometers, miles, or meters.
  3. Enter the speed in km/h, mph, or m/s.
  4. Choose hours or minutes for the answer, then click Calculate Time.
  5. The result shows both a decimal answer and a friendly hours-and-minutes breakdown, such as 4 h 18 min.

To start over, click Clear. Every input must be a positive number; the calculator shows a friendly message if a field is empty or zero.

The Speed, Distance, and Time Formulas

All three formulas come from one relationship:

  • Speed = Distance / Time
  • Distance = Speed x Time
  • Time = Distance / Speed

A classic memory trick is the speed distance time triangle: write S on top with D and T below. Cover the value you want to find. D and T side by side means multiply; one over the other means divide.

Keep units consistent: 30 miles in 45 minutes is 30 miles in 0.75 hours, giving 40 mph. The calculator above converts automatically.

Worked Examples You Can Verify

Every row in this table uses the exact formulas above. Try any of them in the calculator to confirm.

DistanceTimeSpeedCheck
120 km2 h60 km/h120 / 2 = 60
180 miles3 h60 mph180 / 3 = 60
100 m10 s36 km/h (10 m/s)100 / 10 = 10 m/s; 10 x 3.6 = 36
150 miles2.5 h60 mph150 / 2.5 = 60
SpeedTimeDistanceCheck
60 mph3 h180 miles (289.68 km)60 x 3 = 180
100 km/h45 min75 km (46.60 miles)100 x 0.75 = 75
5 km/h40 min3.33 km (2.07 miles)5 x 40/60 = 3.33
DistanceSpeedTimeCheck
300 km100 km/h3 h300 / 100 = 3
280 miles65 mph4 h 18 min (4.31 h)280 / 65 = 4.31; 0.31 x 60 = 18.6
790 miles70 mph11 h 17 min (11.29 h)790 / 70 = 11.29; 0.29 x 60 = 17.4
Diagram of the speed distance time triangle formula

Units You Can Convert Between

The calculator converts results automatically, but it helps to know the key factors:

ConversionFactorExample
mph to km/hmultiply by 1.60934460 mph = 96.56 km/h
km/h to mphmultiply by 0.621371120 km/h = 74.56 mph
m/s to km/hmultiply by 3.610 m/s = 36 km/h
miles to kilometersmultiply by 1.609344180 miles = 289.68 km
minutes to hoursdivide by 6045 min = 0.75 h
hours to minutesmultiply by 603 h = 180 min

Frequently Asked Questions

What is the formula for speed?

Speed equals distance divided by time. If you drive 120 kilometers in 2 hours, your speed is 120 / 2 = 60 km/h. The same formula works in any consistent units: miles per hour, meters per second, or feet per second.

How do I calculate distance if I know speed and time?

Multiply speed by time. Driving at 65 mph for 2.5 hours covers 65 x 2.5 = 162.5 miles. Convert the time to the same unit as the speed first: 45 minutes of driving at 100 km/h is 100 x 0.75 = 75 km.

How do I find travel time from distance and speed?

Divide distance by speed. A 300-mile trip at 60 mph takes 300 / 60 = 5 hours. Add extra time for stops: two 15-minute breaks turn 5 hours of driving into 5.5 hours of travel.

What is the difference between speed and velocity?

Speed is how fast you move; velocity is speed plus direction. A car circling a track at a steady 60 mph has constant speed but constantly changing velocity because its direction changes. For everyday trip math, speed is what you need.

Can average speed be higher than my top speed?

No. Average speed is total distance divided by total time, so it can never exceed the fastest speed you reached. If your speedometer touched 70 mph but traffic slowed you down, your average for the trip will be lower, for example 60 mph over 120 miles in 2 hours.

Why does the calculator show results in multiple units?

Showing km/h, mph, and m/s (or kilometers, miles, and meters) side by side saves a second conversion step. It is handy for comparing race results, reading foreign road signs, or checking aviation and boating speeds.

Learn More