Speed Distance Time Calculator
Select what you want to calculate, then enter the two known values. Switch between calculating speed, distance, or time with one click.
Speed
Journey time summary
The Speed-Distance-Time Relationship
Speed, distance, and time are three fundamental physical quantities that are always mathematically related. Knowing any two allows you to calculate the third:
Speed = Distance ÷ Time
Distance = Speed × Time
Time = Distance ÷ Speed
This is often taught using the "DST triangle" or "magic triangle" where you cover the quantity you want to find and the remaining two show the operation needed.
Worked Examples
Example 1: Finding Speed
A car travels 240 km in 3 hours. What is its average speed?
Speed = 240 km ÷ 3 hours = 80 km/h
Example 2: Finding Distance
A train travels at 120 km/h for 2.5 hours. How far does it travel?
Distance = 120 km/h × 2.5 hours = 300 km
Example 3: Finding Time
A cyclist rides 45 km at an average speed of 18 km/h. How long does the journey take?
Time = 45 km ÷ 18 km/h = 2.5 hours = 2 hours 30 minutes
Speed Unit Conversions
| From | To km/h | To mph | To m/s |
|---|---|---|---|
| 1 km/h | 1 | 0.6214 | 0.2778 |
| 1 mph | 1.6093 | 1 | 0.4470 |
| 1 m/s | 3.6 | 2.2369 | 1 |
| 1 knot | 1.852 | 1.1508 | 0.5144 |
Common Speed Reference Points
| Speed | km/h | mph | Context |
|---|---|---|---|
| Walking pace | 5 | 3.1 | Average adult on flat ground |
| Jogging | 8–10 | 5–6.2 | Easy running pace |
| Cycling (casual) | 15–20 | 9–12 | Recreational cycling |
| Cycling (fast) | 30–40 | 19–25 | Road cycling / commute |
| City driving | 30–50 | 19–31 | Urban speed limits |
| Highway driving | 100–130 | 62–81 | Motorway limits |
| Speed of sound | 1,235 | 767 | At sea level, 20°C |
| Speed of light | 1.08 billion | 671 million | In vacuum |
Pace vs. Speed
In running and cycling, pace is the inverse of speed — it measures how long it takes to cover a unit distance (e.g., minutes per kilometre):
Pace (min/km) = 60 ÷ Speed (km/h)
| Speed (km/h) | Pace (min/km) | 5 km time | 10 km time | Marathon time |
|---|---|---|---|---|
| 6 km/h | 10:00 min/km | 50:00 | 1:40:00 | 7:02:00 |
| 8 km/h | 7:30 min/km | 37:30 | 1:15:00 | 5:16:00 |
| 10 km/h | 6:00 min/km | 30:00 | 1:00:00 | 4:13:00 |
| 12 km/h | 5:00 min/km | 25:00 | 50:00 | 3:31:00 |
| 15 km/h | 4:00 min/km | 20:00 | 40:00 | 2:49:00 |
Frequently Asked Questions
How do I calculate average speed for a round trip?
Average speed for a round trip is NOT the simple average of the two one-way speeds. The correct formula is: Average Speed = 2 × Speed1 × Speed2 ÷ (Speed1 + Speed2). For example, driving 60 km/h to a destination and 100 km/h back gives an average speed of 2 × 60 × 100 ÷ (60 + 100) = 75 km/h, not 80 km/h.
What is the difference between speed and velocity?
Speed is a scalar quantity — it only has magnitude (how fast). Velocity is a vector — it has both magnitude and direction. Average speed is total distance divided by total time; average velocity is total displacement (net change in position) divided by total time. For a round trip that returns to the start, average velocity is zero even if average speed is 100 km/h.
How do I convert km/h to m/s?
Divide by 3.6. So 90 km/h = 90 ÷ 3.6 = 25 m/s. Conversely, multiply m/s by 3.6 to get km/h. This works because there are 1000 meters in a km and 3600 seconds in an hour: 1 km/h = 1000 m ÷ 3600 s = 1/3.6 m/s.
Why does time use decimals instead of minutes?
This calculator uses decimal hours (e.g., 1.5 hours = 1 hour 30 minutes) to keep the math simple. In the formula, time must be in the same unit as the rate. If speed is km/h, time must be in hours. The result panel converts decimal hours to hours and minutes for readability.
How do I calculate fuel consumption from speed and distance?
Fuel consumption depends on speed, vehicle type, terrain, and driving style. As a rough guide, most petrol cars are most efficient at 80–90 km/h. Use our Fuel Cost Calculator or Driving Cost Calculator to estimate fuel costs for your journey.
Related Tools
- Fuel Cost Calculator — Calculate fuel cost for a trip
- Driving Cost Calculator — Full driving cost including fuel and time
- Calorie Burn Calculator — Calories burned running or cycling at different paces
- Steps to Calories Calculator — Convert steps to distance and calories
- Length Converter — Convert distances between km, miles, meters, and more
Sources
- International Bureau of Weights and Measures (BIPM): SI Units
- National Physical Laboratory (UK): Speed of Sound and Light