The Basic Formula for Miles Per Hour

Miles per hour (mph) is the distance traveled in miles divided by the time it took in hours. The formula is: mph = miles ÷ hours. If you drove 120 miles in 2 hours, you would divide 120 by 2 to get 60 mph.

The key is making sure your units match before you divide. Your distance must be in miles and your time must be in hours. If your measurements are in different units—say, kilometers or minutes—you need to convert them first. Once both numbers are in the right units, the math is straightforward division.

Key Takeaways

  • Miles per hour equals the total distance in miles divided by the total time in hours.
  • Convert minutes to hours by dividing by 60, and convert kilometers to miles by multiplying by 0.621.
  • For trips with multiple segments at different speeds, add all the miles and all the hours, then divide once.
  • Average speed is not the same as the average of your speeds—you must use total distance and total time.

Converting Minutes to Hours

If you know your travel time in minutes instead of hours, divide the minutes by 60 to convert to hours. For example, if you traveled 45 miles in 50 minutes, first convert 50 minutes to hours: 50 ÷ 60 = 0.833 hours. Then divide the distance by the time: 45 ÷ 0.833 = 54 mph.

This conversion works because there are 60 minutes in one hour. If your trip took 30 minutes, that is 30 ÷ 60 = 0.5 hours. If it took 90 minutes, that is 90 ÷ 60 = 1.5 hours. Once you have hours as a decimal, you can use the mph formula.

Converting Kilometers to Miles

If your distance is measured in kilometers, multiply by 0.621 to convert to miles. For example, if you traveled 100 kilometers in 1.5 hours, first convert: 100 × 0.621 = 62.1 miles. Then divide by time: 62.1 ÷ 1.5 = 41.4 mph.

The conversion factor 0.621 is fixed—one kilometer always equals about 0.621 miles. If you have 50 kilometers, multiply 50 × 0.621 = 31.05 miles. If you have 200 kilometers, multiply 200 × 0.621 = 124.2 miles. After converting distance to miles, use the standard mph formula with your time in hours.

Calculating Average Speed for Multi-Segment Trips

When you travel at different speeds for different parts of a trip, do not average the speeds themselves. Instead, add up all the miles and all the hours, then divide once. For example, if you drove 60 miles at 60 mph (taking 1 hour) and then 80 miles at 40 mph (taking 2 hours), your average speed is (60 + 80) ÷ (1 + 2) = 140 ÷ 3 = 46.7 mph.

A common mistake is to average the two speeds: (60 + 40) ÷ 2 = 50 mph. This is wrong because you spent more time at the slower speed. The correct method accounts for how long you spent at each speed. Always sum the total distance and total time first, then divide.

Working Backwards: Finding Time or Distance

You can rearrange the mph formula to find missing information. If you know mph and distance, find time by dividing distance by mph: hours = miles ÷ mph. If you know mph and time, find distance by multiplying: miles = mph × hours.

For example, if you drive at 55 mph for 3 hours, the distance is 55 × 3 = 165 miles. If you need to cover 200 miles at 50 mph, the time is 200 ÷ 50 = 4 hours. These rearrangements are useful when you are planning a trip or checking whether a speed claim makes sense.

Common Mistakes to Avoid

The most frequent error is forgetting to convert units. If you use minutes instead of hours, or kilometers instead of miles, your answer will be wrong. Always check that distance is in miles and time is in hours before dividing.

Another mistake is mixing up the order of division. The formula is miles divided by hours, not hours divided by miles. If you divide backwards, you will get hours per mile instead of miles per hour—a very different number. A third error is averaging speeds directly instead of using total distance and total time, which gives the wrong result for trips with unequal segments.

Frequently Asked Questions

What if my time is in hours and minutes, like 2 hours and 30 minutes?

Convert the minutes to a decimal by dividing by 60, then add to the hours. Thirty minutes is 30 ÷ 60 = 0.5 hours, so 2 hours and 30 minutes = 2.5 hours. If you traveled 150 miles in 2.5 hours, your speed is 150 ÷ 2.5 = 60 mph.

Can I use this formula for speeds other than driving?

Yes. The formula works for running, cycling, flying, or any motion where you measure distance and time. If you ran 5 miles in 50 minutes (0.833 hours), your speed is 5 ÷ 0.833 = 6 mph. The units stay the same: miles per hour.

Why is average speed different from the average of two speeds?

Because you spend different amounts of time at each speed. If you drive 60 mph for 1 hour and 40 mph for 2 hours, you spent twice as long at the slower speed, so the average is pulled down. Using total distance and total time accounts for this automatically.

What if I only know my starting and ending times, not the duration?

Subtract the start time from the end time to find the duration. If you left at 10:00 a.m. and arrived at 1:30 p.m., the trip took 3.5 hours. Then use the standard formula: miles ÷ 3.5 = mph.