Physics calculators

Average Speed Calculator

Updated Jul 28, 2026 By Jehan Wadia
Rate Formulas
What do you want to solve for?
Enter a distance and an elapsed time to get the average speed in five units plus running pace.
Journey Details
Enter the total distance traveled, then pick its unit.
Time (total elapsed)
Whole numbers only. Enter 0 in any box you don't need. Minutes and seconds must be 0–59.

Turn this on to average speed across several legs: total distance ÷ total time.
Average Speed
Pace — for runners, cyclists & triathletes
Per kilometer
Per mile
Step-by-Step Solution
Speed Shown in Every Unit

Introduction

The Average Speed Calculator tells you how fast you moved over a whole trip. Type in the distance you went and the time it took, and it gives you the answer right away in miles per hour, kilometers per hour, meters per second, knots, and feet per second.

Average speed is simple: total distance divided by total time. If you drive 150 km in 2 hours and 30 minutes, your average speed is 60 km/h. It does not matter if you sped up, slowed down, or stopped for gas. The math only looks at how far you went and how long it took.

This tool can also solve two other problems. Pick Solve for Distance to find how far you travel at a set speed for a set time. Pick Solve for Time to find how long a trip will take at a set speed. If you want a single screen that flips between all three, the Speed Distance Time Calculator covers the same relationship, and the Speed Calculator handles quick one-off speed problems.

Runners, cyclists, and swimmers get pace too, shown as minutes per kilometer and minutes per mile. If your trip had many parts, turn on multi-segment mode. Add each leg with its own distance and time, and the calculator adds them all up to find your true average speed. You also get step-by-step math and a chart, so you can see how the answer was found.

How to Use Our Average Speed Calculator

Pick what you want to find, type in the numbers you know, and the calculator gives you the answer in five units, plus your pace per kilometer and per mile, a step-by-step solution, and a chart.

What do you want to solve for? Tap "Solve for Speed" to find average speed from distance and time. Tap "Solve for Distance" to find how far you went from speed and time. Tap "Solve for Time" to find how long a trip takes from distance and speed. The boxes you need will show up on their own.

Distance: Type how far you traveled, then pick the unit next to it — miles, kilometers, meters, yards, or feet. If you are still working out how far apart two points are, the Travel Distance Calculator and the Driving Distance Calculator can help you get that number first.

Speed: Type your speed, then pick the unit — mph, km/h, m/s, knots, or ft/s.

Time (total elapsed): Type the hours, minutes, and seconds of your trip in the three boxes. Use whole numbers, and put 0 in any box you don't need. Minutes and seconds must be 0 to 59, so 90 minutes goes in as 1 hour and 30 minutes. If you only have a start time and a finish time on the clock, work out the gap with the Time Duration Calculator or the Hours and Minutes Calculator before you type it in.

Multi-segment journey: Turn this switch on if your trip had more than one leg. Give each leg its own distance and time, and the calculator adds up all the distance and all the time to find your true average speed. Use "Add Segment" for more legs (up to 10) or "Remove" to delete one.

Update results as I type: Leave this on to see answers change while you type. Turn it off and press "Calculate" when you are ready. Press "Reset" to go back to the sample numbers.

What Is Average Speed?

Average speed tells you how fast something moved over a whole trip. You find it by taking the total distance and dividing it by the total time. It does not care about the fast parts, the slow parts, or the stops. It only cares about how far you went and how long it took.

The formula is simple:

Average speed = total distance ÷ total time

If you drive 150 km in 2 hours and 30 minutes, your average speed is 150 ÷ 2.5 = 60 km/h. You may have driven 100 km/h on the highway and 0 km/h at a red light, but the average for the whole trip is still 60 km/h.

The Three Parts of the Formula

Speed, distance, and time are linked. If you know two of them, you can always find the third:

  • Speed = distance ÷ time
  • Distance = speed × time
  • Time = distance ÷ speed

Common Speed Units

Speed always mixes a distance unit with a time unit. These are the ones people use most:

  • km/h — kilometers per hour, used for cars in most countries
  • mph — miles per hour, used in the US and UK
  • m/s — meters per second, the science (SI) unit
  • knots — nautical miles per hour, used for boats and planes
  • ft/s — feet per second

Handy facts: 1 m/s = 3.6 km/h, and 1 mile = 1.609344 km. To change km/h into m/s, divide by 3.6. If you need to switch the distance itself between systems, the Meters to Feet Calculator and the Cm to Inches Calculator handle those conversions.

Average Speed Is Not Speed at One Moment

The number on a car's speedometer is instantaneous speed — how fast you are going right now. Average speed covers the entire trip, including slow traffic and breaks. That is why your average speed on a long drive is almost always lower than the top speed you hit. When speed keeps changing, the Acceleration Calculator shows how quickly it changes, and the Rate of Change Calculator does the same idea for any pair of quantities.

Speed vs. Velocity

Speed only says how fast. Velocity says how fast and in what direction. If you run one lap and finish where you started, your average speed is high, but your average velocity is zero, because you ended up in the same spot. The Velocity Calculator works with direction in mind, and the Displacement Calculator shows the straight-line change in position that velocity depends on.

Why You Can't Just Average Two Speeds

This trips people up. If you drive 60 km at 60 km/h and then 60 km at 20 km/h, the answer is not 40 km/h. The first part takes 1 hour and the second takes 3 hours. So you went 120 km in 4 hours, which is 30 km/h. You must always add the real distances and the real times first. That is why breaking a trip into segments gives the correct answer. This is also why a plain Average Calculator gives the wrong result here, while a Weighted Average Calculator (weighting each speed by its time) gives the right one.

Pace: Speed Flipped Around

Runners, cyclists, and swimmers often use pace instead of speed. Pace is the time it takes to cover one unit of distance, like 5:00 min/km or 8:03 min/mile. A lower pace means you are moving faster. Pace and speed hold the same information, just upside down. For race-specific planning, try the Running Pace Calculator, the Marathon Pace Calculator, the 5k Pace Calculator, or the Swimming Pace Calculator for pool splits.

Where People Use Average Speed


Formulas used

Average speed from distance and time
v = \frac{d}{t}
Distance from speed and time
d = v \times t
Time from distance and speed
t = \frac{d}{v}
Elapsed time converted to seconds
t = (h \times 3600) + (m \times 60) + s
Unit conversion to SI (meters, m/s) and back
x_{SI} = x_{unit} \times k_{unit}, \qquad x_{unit} = \frac{x_{SI}}{k_{unit}}
Average speed over multiple segments
v_{avg} = \frac{d_{total}}{t_{total}} = \frac{\sum_{i=1}^{n} d_i}{\sum_{i=1}^{n} t_i}
Pace per kilometer and per mile
\text{pace}_{km} = \frac{1000}{v}, \qquad \text{pace}_{mi} = \frac{1609.344}{v}
Splitting total seconds into hours, minutes, seconds
h = \left\lfloor \frac{t}{3600} \right\rfloor, \quad m = \left\lfloor \frac{t - 3600h}{60} \right\rfloor, \quad s = t - 3600h - 60m

Frequently asked questions

Do rest stops and traffic lights count in average speed?

Yes. Average speed uses the total time from start to finish, including stops, red lights, and breaks. If you drove 100 km in 2 hours but sat in traffic for 30 minutes, you still divide 100 km by 2 hours to get 50 km/h.

If you want to leave stops out, only enter the time you were actually moving. That gives you your moving average speed instead.

Why does the calculator say time cannot be zero?

Because dividing by zero has no answer. Speed is distance divided by time, so a time of 0 makes the math break.

Check all three time boxes. If hours, minutes, and seconds are all 0 or blank, type at least 1 second to get a result.

Why can't I type 90 in the minutes box?

Minutes and seconds only accept 0 to 59, just like a clock. Split the extra time into the bigger box instead:

  • 90 minutes = 1 hour, 30 minutes
  • 150 seconds = 2 minutes, 30 seconds
  • 75 minutes = 1 hour, 15 minutes

Can I mix units, like miles for distance and km/h for speed?

Yes. In Solve for Time mode you can pick any distance unit and any speed unit. The calculator turns both into meters and seconds first, so the answer is still correct.

For example, 26.2 miles at 12 km/h works fine.

What unit does the big answer at the top use?

It matches the unit you picked. If you enter kilometers, the main answer is km/h. If you enter miles, it shows mph. Meters give m/s, and feet or yards give ft/s.

All five speed units are still listed below the main answer, so you can use whichever one you need.

When should I use multi-segment mode?

Use it when your trip had parts with different speeds and you know the distance and time of each part. Good examples:

  • A road trip with city driving and highway driving
  • A triathlon with swim, bike, and run legs
  • A delivery route with several stops

The calculator adds all distances and all times, then divides. That is the only correct way to average speeds.

How many segments can I add?

Up to 10. Press Add Segment for another leg and Remove to delete one. You always need at least one segment.

If you have more than 10 legs, group short ones together by adding their distances and times before you type them in.

Can each segment use a different distance unit?

Yes. One leg can be in miles and the next in kilometers. Each segment has its own unit menu.

The total shown in the results uses the unit from the first segment.

What does the pace number mean?

Pace is the time it takes to cover one kilometer or one mile. It shows as minutes:seconds, like 5:30 min/km.

A smaller pace number means you are faster. Runners, cyclists, and swimmers usually track pace instead of speed.

Why does the pace box disappear sometimes?

Pace only shows in Solve for Speed mode. In distance and time modes there is no pace to show, so that box is hidden.

What is a knot and when would I use it?

A knot is one nautical mile per hour, about 1.852 km/h or 1.15 mph. Boats and planes use it.

The calculator always shows knots along with the other speed units, so you do not need to convert by hand.

Is average speed the same as the number on my speedometer?

No. A speedometer shows your speed right at that moment. Average speed covers your whole trip, stops and all.

Your average is almost always lower than your top speed.

Can I enter a decimal distance like 5.75 km?

Yes. The distance and speed boxes accept decimals. Only the hours, minutes, and seconds boxes need whole numbers.

What is the segment breakdown table for?

It shows each leg's distance, time, and speed side by side. It also shows what share of the total distance and total time each leg used.

This makes it easy to spot which leg slowed you down the most.

What does the red dashed line on the segment chart mean?

That line marks your average speed for the whole trip. Bars above it were faster than your average. Bars below it were slower.

How do I turn off results changing while I type?

Switch off Update results as I type. Then type all your numbers and press Calculate when you are done. You can also press Enter in any box.

How accurate is this calculator?

It uses exact conversion values, such as 1 mile = 1,609.344 meters and 1 nautical mile = 1,852 meters. All math is done in meters and seconds first, then converted back.

Displayed answers are rounded to two decimals, but the math behind them is not rounded.

How do I find my average speed if I only know start and end clock times?

Work out the gap between the two times first, then type it into the hours, minutes, and seconds boxes.

Example: 9:15 a.m. to 11:45 a.m. is 2 hours and 30 minutes.

Can I use this for walking or swimming?

Yes. It works for any steady movement. Walkers often use meters or miles, and swimmers use meters with a pool distance.

For a 1,500 m swim in 30 minutes, enter 1500 meters and 30 minutes to see your speed and pace.

Why is my answer 0?

A distance of 0 gives a speed of 0. Check that you typed a real distance and that the unit is right. Typing 5 with meters selected when you meant kilometers will give a very small answer, not zero, but it is a common mix-up.

How do I convert km/h to m/s myself?

Divide by 3.6. So 90 km/h ÷ 3.6 = 25 m/s. To go the other way, multiply m/s by 3.6.

The calculator does this for you and shows both units at once.

Does the Reset button erase my segments?

Reset puts everything back to the sample numbers, including two example segments. Any legs you added are cleared.

Use the small Clear buttons instead if you only want to empty one field.