🏎️Math

Speed, Distance, and Time: The Formula Everyone Should Know

Published June 8, 20267 min read

Speed, distance, and time form one of the most practical relationships in everyday life. Whether you are planning a road trip, estimating your running pace, or solving a physics problem, the core formula is the same: Speed = Distance / Time.

This guide breaks down the formula triangle, works through three real-world examples (driving, running, and cycling), covers unit conversions between mph, km/h, and m/s, and flags the common mistakes that trip people up.

Key takeaways

  • Speed = Distance / Time. Distance = Speed x Time. Time = Distance / Speed.
  • The "formula triangle" helps you remember: cover the variable you want to find.
  • Always ensure your units match before calculating.
  • 1 mph = 1.609 km/h. 1 m/s = 3.6 km/h.

The formula triangle

Imagine a triangle with D (distance) on top, and S (speed) and T (time) on the bottom. To find any variable, cover it with your finger. If S and T are next to each other, multiply them to get D. If D is above T, divide D by T to get S. If D is above S, divide D by S to get T.

This visual trick works for any rearrangement of the formula and is especially helpful during exams or quick mental calculations. Our Speed Distance Time Calculator does the math for you automatically.

Worked example 1: planning a road trip

You are driving from Austin to Houston, a distance of 165 miles. You average 60 mph. How long will the trip take? Time = Distance / Speed = 165 / 60 = 2.75 hours = 2 hours 45 minutes.

Want to make it in 2.5 hours? Speed = 165 / 2.5 = 66 mph average. That is feasible on the highway but leaves no margin for rest stops or traffic.

Worked example 2: calculating running pace

You ran 5 kilometers in 28 minutes. What was your speed? First, convert time: 28 minutes = 28/60 = 0.467 hours. Speed = 5 / 0.467 = 10.71 km/h. To convert to mph: 10.71 / 1.609 = 6.66 mph.

Your pace per mile: 60 / 6.66 = 9.01 minutes per mile. That is a solid recreational pace. Runners often think in pace (minutes per mile or km) rather than speed.

Unit conversions you should know

mph to km/h: multiply by 1.60934. km/h to mph: multiply by 0.62137. m/s to km/h: multiply by 3.6. m/s to mph: multiply by 2.23694.

The Unit Converter handles all of these, but knowing the rough conversions (1 mile is about 1.6 km, 1 m/s is about 3.6 km/h) helps with quick estimates.

Common mistakes

Mixing minutes and hours is the most common error. If your time is 2 hours 30 minutes, convert it to 2.5 hours before dividing. 2 hours 30 minutes is NOT 2.3 hours — it is 2 + 30/60 = 2.5.

Using inconsistent units — miles for distance but km/h for speed — will give a nonsensical answer. Always check that your distance and speed units match before calculating.

Try the calculators referenced in this guide

Put the maths into practice — every calculator is free and runs entirely in your browser.

Frequently Asked Questions

What is the speed formula?

Speed = Distance / Time. Rearrange as needed: Distance = Speed x Time, or Time = Distance / Speed.

How do I convert minutes to hours?

Divide by 60. For example, 45 minutes = 45/60 = 0.75 hours.

What is the difference between speed and velocity?

Speed is a scalar (magnitude only). Velocity is a vector (magnitude + direction). For everyday calculations, they are interchangeable.

How do I calculate average speed with stops?

Use total distance divided by total time including stops. Your moving speed will be higher than your average speed.

Can I use this for cycling?

Yes. The formula works for any mode of transportation. Casual cycling averages 10-15 mph; competitive cycling 20-25+ mph.

✏️
Written by

The Precision Calculator Editorial Team

The editorial team at Get Precision Calculator writes practical, formula-driven guides that explain the maths behind every calculator on this site. All content is reviewed for accuracy before publishing.