Maths⏱ 4 min read

How to Calculate Speed, Distance and Time

The speed-distance-time triangle is one of the most useful formulas in everyday maths. Here are all three versions of the formula, worked examples, and real-world applications.

Whether you're calculating journey times, working out if a car was speeding, or figuring out how long a run will take, the speed-distance-time relationship is the tool you need. It's one formula, three arrangements.

The Three Formulas

Speed = Distance ÷ Time Distance = Speed × Time Time = Distance ÷ Speed

A simple memory aid: draw a triangle with D at the top, S bottom-left and T bottom-right. Cover the one you want to find — the remaining two show whether to multiply or divide.

Units Must Match

The most common mistake is mixing units. If speed is in km/h, distance must be in km and time in hours. If you mix miles with hours and kilometres, the answer will be wrong.

Converting time: 90 minutes = 90 ÷ 60 = 1.5 hours Converting speed: 60 mph = 60 × 1.609 = 96.6 km/h

Worked Examples

Example 1 — Journey time: You're driving 240km at an average speed of 90 km/h. How long will it take?

Time = Distance ÷ Speed = 240 ÷ 90 = 2.67 hours = 2 hours 40 minutes

Example 2 — Average speed: A runner completes a half marathon (21.1km) in 1 hour 58 minutes. What was their average speed?

Time = 1 + (58 ÷ 60) = 1.967 hours Speed = 21.1 ÷ 1.967 = 10.73 km/h

Example 3 — Distance: A plane flies at 850 km/h for 3 hours 45 minutes. How far does it travel?

Time = 3 + (45 ÷ 60) = 3.75 hours Distance = 850 × 3.75 = 3,187.5 km

Average Speed for a Round Trip

Here's a classic trap: if you drive to a destination at 60 km/h and return at 40 km/h, what's your average speed for the whole journey?

Most people say 50 km/h. The correct answer is 48 km/h. The mistake is that you spend more time at the lower speed, so it has more weight in the average.

Use harmonic mean for average speed: Average speed = (2 × S1 × S2) ÷ (S1 + S2) = (2 × 60 × 40) ÷ (60 + 40) = 4,800 ÷ 100 = 48 km/h

Relative Speed

When two objects move toward each other, their closing speed is the sum of their speeds. When moving in the same direction, the relative speed is the difference.

Two trains approaching at 120 km/h and 80 km/h: Closing speed = 120 + 80 = 200 km/h A car overtaking: 110 km/h overtaking 90 km/h: Relative speed = 110 − 90 = 20 km/h

Pace vs Speed (Running and Cycling)

Athletes often use pace (time per unit distance) rather than speed (distance per unit time). They're the same information expressed differently:

Pace (min/km) = 60 ÷ Speed (km/h) Speed (km/h) = 60 ÷ Pace (min/km) 5:30 min/km pace = 60 ÷ 5.5 = 10.9 km/h 12 km/h = 60 ÷ 12 = 5:00 min/km pace
🚗
Try it yourself — free
Speed Calculator · no sign-up, instant results
Open Speed Calculator →
← All Articles