Students often learn the speed formula with a triangle: D at the top, S and T side by side at the bottom. Cover the value you want and the triangle shows you the formula.
The three formulas
- Cover S: speed = distance ÷ time
- Cover D: distance = speed × time
- Cover T: time = distance ÷ speed
Example: solve for distance
A train travels at 120 km/h for 2.5 hours. Distance = 120 × 2.5 = 300 km.
Example: solve for time
How long does it take to walk 6 km at 5 km/h? Time = 6 ÷ 5 = 1.2 hours = 1 hour 12 minutes.
Watch the units
The triangle only works if the units match. If speed is in km/h, time must be in hours and distance in kilometers. Convert minutes to hours by dividing by 60.
Check your answers
The Find distance / time mode of our calculator solves for either value and shows each step, so you can check homework against it.
Ready to try it on your own numbers?
Open the calculator

