ยท ยท 6 min read ยท AYCalculator Team

Calculating Speed: Formula, Units, Distance & Time Examples

Learn how to calculate speed from distance and time, convert common units, and solve step-by-step examples for mph, km/h, and meters per second.

Reviewed against our editorial policy and updated when formulas, thresholds, or guidance materially change. Learn more about AYCalculator.

calculating speedSpeed FormulaDistance CalculatorTime and SpeedRate Formula
Calculating Speed: Formula, Units, Distance & Time Examples guide illustration
๐Ÿงฎ
Use our free Distance Calculator Get instant, accurate results โ€” no sign-up needed.
Open Calculator โ†’

Searching calculating speed usually means you need the basic motion formula, but the real challenge is keeping the units straight. Speed is just distance divided by time, yet answers go wrong fast when miles get mixed with minutes or meters with hours.

Speed Formula

The standard formula is:

Speed = Distance / Time

That means:

  • if distance goes up in the same amount of time, speed goes up
  • if time goes up for the same distance, speed goes down

How to Calculate Speed

Use this process:

  1. Write the total distance traveled.
  2. Write the total time taken.
  3. Convert the units if needed.
  4. Divide distance by time.

If you want to test different trips quickly, use the Distance Calculator. For elapsed hours and minutes, the Time Calculator can help clean up the time side of the formula first.

Worked Examples

Example 1: Miles Per Hour

If you travel 120 miles in 2 hours:

120 / 2 = 60 miles per hour

So the speed is 60 mph.

Example 2: Meters Per Second

If you run 400 meters in 80 seconds:

400 / 80 = 5 meters per second

So the speed is 5 m/s.

Example 3: Kilometers Per Hour

If a car travels 150 kilometers in 3 hours:

150 / 3 = 50 km/h

Common Speed Units

Distance UnitTime UnitSpeed Unit
MilesHoursmph
KilometersHourskm/h
MetersSecondsm/s
FeetSecondsft/s

The answer unit always depends on the units you start with.

Common Mistakes

Mixing units is the biggest problem. If you drive 30 miles in 45 minutes, do not divide by 45 unless you want miles per minute. Convert 45 minutes to 0.75 hours first.

Using one-way distance by accident can also change the result. Make sure you know whether the problem is asking about one leg or the total trip.

Forgetting average speed vs. instant speed can be misleading. Most textbook questions use average speed over the full trip.

Converting Speed Units

You may also need to convert the result:

  • To change miles per hour to kilometers per hour, multiply by about 1.609
  • To change meters per second to kilometers per hour, multiply by 3.6

If conversions are part of the problem, the Scientific Calculator makes the arithmetic easier.

Frequently Asked Questions

What is the formula for calculating speed?

The formula is speed = distance / time. Divide the total distance traveled by the total time taken, using matching units.

How do I calculate speed in mph?

Divide miles by hours. If the time is given in minutes, convert it to hours first before dividing.

How do I calculate speed if time is in minutes?

Convert minutes into hours or seconds first, depending on the unit you want. For example, 30 minutes is 0.5 hours.

Is average speed the same as velocity?

No. Average speed is based on total distance traveled. Velocity includes direction, so it is a different physics idea.

What happens if the units do not match?

Your answer may be correct mathematically but wrong in meaning. Convert the units first so distance and time fit the speed unit you need.

Calculating Distance and Time From Speed

The speed formula works both ways. If you know two of the three variables, you can find the third:

Distance = Speed ร— Time

Time = Distance รท Speed

Speed = Distance รท Time

Finding Distance

If you drive at 65 mph for 2.5 hours, how far do you travel?

Distance = 65 ร— 2.5 = 162.5 miles

Finding Time

If you need to cover 240 miles at 60 mph, how long will it take?

Time = 240 รท 60 = 4 hours

Multi-Leg Trip

If you travel 60 mph for 2 hours, then 45 mph for 1 hour:

Total distance = (60 ร— 2) + (45 ร— 1) = 120 + 45 = 165 miles

Total time = 2 + 1 = 3 hours

Average speed = 165 รท 3 = 55 mph

Note: Average speed for a multi-leg trip is NOT simply (60 + 45) รท 2 = 52.5. You must use total distance รท total time.

Speed Unit Conversions

FromToMultiply By
mphkm/h1.60934
km/hmph0.62137
m/skm/h3.6
km/hm/s0.27778
m/smph2.23694
mphm/s0.44704

Common reference speeds:

Speedmphkm/h
Brisk walking4 mph6.4 km/h
Running (average)8 mph12.9 km/h
City driving30 mph48.3 km/h
Highway driving (US)65 mph104.6 km/h
Bullet train200 mph322 km/h
Speed of sound767 mph1,235 km/h

Real-World Speed Calculation Examples

Example: Travel Time Estimation

Road trip distance: 450 miles

Expected average speed (with stops): 55 mph

Time = 450 รท 55 = 8.18 hours โ‰ˆ 8 hours 11 minutes

Example: Running Pace

You run a 10K (10 km) race in 52 minutes.

Convert time: 52 min = 52/60 = 0.867 hours

Speed = 10 รท 0.867 = 11.53 km/h

Pace = 52 min รท 10 km = 5 min 12 sec per km

Example: Science Problem

A ball falls from a 45-meter height and hits the ground in 3 seconds.

Average speed = 45 รท 3 = 15 m/s

(Note: this is average speed during the fall; instantaneous speed at impact is higher due to acceleration from gravity)

Speed vs Velocity

In everyday language, speed and velocity are used interchangeably. In physics, they are different:

  • Speed is a scalar โ€” it has magnitude only (e.g., 60 mph)
  • Velocity is a vector โ€” it has both magnitude and direction (e.g., 60 mph north)

For most practical calculations (driving, running, cooking timers), speed is what you need. Velocity matters in physics problems involving direction, projectiles, and motion in multiple dimensions.

The Bottom Line

To calculate speed, divide distance by time and keep the units consistent from start to finish. Most mistakes come from unit conversion, not the formula itself. Use the same formula rearranged to find distance or time when those are the unknowns.

Use the Distance Calculator for quick distance and speed conversions.

How to Calculate: Step-by-Step Guide

1

Measure distance

Use miles, kilometers, meters, or another distance unit.

2

Measure time

Use hours, minutes, or seconds and convert if needed.

3

Divide distance by time

Speed is the distance traveled per unit of time.

๐Ÿงฎ
Ready to calculate? Try our Distance Calculator Free, fast, and accurate โ€” right in your browser.
Use Distance Calculator โ†’
Topics: calculating speedSpeed FormulaDistance CalculatorTime and SpeedRate Formula