CalcPro

Speed Calculator

Speed, distance or time — solve for any one from the other two.

The relationship between speed, distance and time

Speed, distance, and time are locked together by a simple relationship: speed tells you how much distance you cover in a given time. If you know any two of these values, you can always calculate the third. This calculator rearranges the core formula to solve for whichever one you need.

The formula

Speed = Distance ÷ Time (or rearranged: Distance = Speed × Time and Time = Distance ÷ Speed)

Worked example

Imagine you're planning a road trip. You'll drive 240 miles at an average speed of 60 mph. How long will it take?

Given:

  • Distance = 240 miles
  • Speed = 60 mph
  • Solve for: Time

Calculation:

Time = Distance ÷ Speed

Time = 240 ÷ 60

Time = 4 hours

Your trip takes exactly 4 hours at that steady pace.

Now reverse it: Suppose you drive for 4 hours at 60 mph. How far do you go?

Distance = Speed × Time

Distance = 60 × 4

Distance = 240 miles

Same trip, different question — same answer.

One more scenario: You cover 180 miles in 3 hours and 30 minutes. What was your average speed?

Time = 3 hours + 30 minutes = 3.5 hours

Speed = Distance ÷ Time

Speed = 180 ÷ 3.5

Speed = 51.43 mph

Your average speed was about 51.4 mph.

Tips for accurate results

Use consistent units throughout. If your distance is in miles, your speed should be in mph and time in hours. If you switch to kilometers, use km/h. Mixing units (like miles with km/h) produces nonsense.

Break mixed time into components. If your journey took 2 hours and 20 minutes, don't enter "2.20" — that's wrong. Enter 2 in the hours field and 20 in the minutes field. The calculator converts 20 minutes to 0.333 hours and adds it correctly.

Remember this is average speed. The formula assumes you traveled at one constant speed for the entire duration. Real-world trips have stops, traffic, and speed changes. Use this calculator to find your average speed (total distance ÷ total time), which smooths out all those variations.

Check your answer for reasonableness. If you calculate that you drove 300 miles in 2 hours, that's 150 mph — possible on a racetrack, unlikely on a highway. A quick mental check catches input errors.

For trip planning, add a buffer. If the calculator says your drive takes 5 hours, plan for 5.5 or 6 hours to account for rest stops, fuel, food, and traffic that rarely cooperates with the math.

This calculator provides estimates based on the distance-speed-time formula. Real-world travel involves many variables — use it as a planning tool, not a guarantee.

Frequently asked questions

What's the difference between speed and velocity?

Speed is how fast you're traveling (a scalar — just magnitude). Velocity includes direction (a vector). This calculator finds speed; if you need velocity, add a compass direction to the result.

Can I use kilometers instead of miles?

Yes. The calculator works with any distance unit and time unit, as long as you're consistent. Just enter km instead of mi, and your speed result will be in km/h instead of mph.

What if I have hours and minutes mixed together?

Enter the hours in the 'hours' field and minutes in the 'minutes' field separately. The calculator adds them automatically. For example, 2 hours 45 minutes = 2 + 45 min.

How accurate is this for real-world driving?

This calculator assumes constant speed over the entire distance. Real driving involves acceleration, stops, and varying speeds, so use it for planning or checking average speeds, not predicting exact arrival times in traffic.

Why would I solve for time instead of speed?

If you know you're driving 150 miles at a steady 60 mph, solving for time tells you the trip takes 2.5 hours — useful for trip planning and ETA calculations.

Does this work for running or cycling speeds?

Absolutely. The formula works for any distance traveled at any speed: cars, bikes, runners, boats. Just use consistent units — miles and hours, or kilometers and hours.