How to Calculate Speed, Distance, and Time

Master the speed, distance, and time formula triangle used in physics and everyday travel calculations. Learn to rearrange the equation to solve for any unknown variable.

The Fundamental Relationship

Speed, distance, and time are related by a simple formula: Distance = Speed × Time. This single equation can be rearranged to solve for any of the three variables: Speed = Distance ÷ Time, or Time = Distance ÷ Speed. Memorizing the "formula triangle" (D on top, S and T on the bottom) makes rearranging intuitive.

Consistent Units are Essential

All three variables must use compatible units before substituting values. If speed is in kilometers per hour (km/h), then distance must be in kilometers and time in hours. Convert minutes to hours by dividing by 60, and convert seconds to hours by dividing by 3600. Mixing units (e.g., mph with seconds) produces nonsensical answers.

Calculating Speed

Speed = Distance ÷ Time. A car that travels 240 km in 3 hours has an average speed of 240 ÷ 3 = 80 km/h. Note that this is average speed; instantaneous speed (what a speedometer reads) can vary above and below this value throughout the journey. In physics, this average is technically average speed, distinct from velocity, which also specifies direction.

Calculating Distance

Distance = Speed × Time. A runner moving at 5 m/s for 12 minutes (= 720 seconds) covers 5 × 720 = 3,600 meters = 3.6 km. This formula underlies many real-world applications: airplane range calculations, shipping ETAs, and radar speed detection all use it. Ensure time is expressed in the same time unit as the denominator of the speed unit.

Calculating Time

Time = Distance ÷ Speed. A ship sailing 450 nautical miles at 15 knots (nautical miles per hour) will take 450 ÷ 15 = 30 hours. When the result is a decimal, convert the fractional part to minutes by multiplying by 60: 30 hours is simply 30 h 0 min, but 1.75 hours = 1 hour and 0.75 × 60 = 45 minutes.

Average vs. Constant Speed

The formula assumes constant speed, but in practice speed varies. Average speed accounts for stops and speed changes: Average Speed = Total Distance ÷ Total Time. If a cyclist covers 20 km in 1 hour and then 30 km in 2 hours, total distance is 50 km, total time is 3 hours, and average speed is 50 ÷ 3 ≈ 16.7 km/h — not the simple average of 25 km/h and 15 km/h.

Real-World Applications

These calculations appear in navigation (GPS estimated arrival times), athletics (race pace calculators), astronomy (light travel time: light travels 300,000 km/s so it reaches the Moon in 1.28 seconds), and automotive safety (stopping distance). Understanding this triangle of relationships builds intuition for almost every branch of applied physics and engineering.

Try These Calculators

Put what you learned into practice with these free calculators.