Distance & Time to Speed Calculator

Distance & Time to Speed Calculator

Leading AI Skill PRO

Enter Calculation

Formula

Speed=Distance (km)Hours+Minutes60+Seconds3600\text{Speed} = \dfrac{\text{Distance (km)}}{\text{Hours} + \dfrac{\text{Minutes}}{60} + \dfrac{\text{Seconds}}{3600}}

Example

Speed=1001+060+03600=100.00\text{Speed} = \dfrac{100}{1 + \dfrac{0}{60} + \dfrac{0}{3600}} = 100.00
Usage stats

Advertisement

Results

Speed (Kilometers per hour)
100.00 km/h
Speed (Miles per hour) 62.14 mph
Total Time 1.00 hours

Report an error on this page

What the Distance & Time to Speed Calculator Does

This calculator works out how fast you travelled by dividing the distance covered by the time it took. You enter a distance, choose whether it's in kilometres or miles, then enter the time broken down into hours, minutes and seconds. The tool returns your average speed in both kilometres per hour (km/h) and miles per hour (mph), so it's useful for runners, cyclists, drivers and anyone planning or reviewing a journey anywhere in the world.

Car traveling distance d over time t to give speed v
Speed is the distance traveled divided by the time taken.

The Inputs You Provide

  • Distance — the total length of the trip as a number.
  • Unit (km or miles) — tells the calculator which distance unit you typed.
  • Time — entered as separate hours, minutes and seconds fields, so you don't have to convert anything yourself.

The Formula and How It Works

The core formula is simple:

$$\text{Speed} = \text{Distance} \div \text{Time}$$

Behind the scenes the calculator does three steps. First it converts your distance to kilometres (if you chose miles, it multiplies by \(1.60934\)). Next it converts your time into decimal hours using \(\text{hours} + \text{minutes} \div 60 + \text{seconds} \div 3600\). Finally it divides distance by time to get km/h, then divides that result by \(1.60934\) to also give mph.

$$\text{Speed} = \dfrac{\text{Distance (km)}}{\text{Hours} + \dfrac{\text{Minutes}}{60} + \dfrac{\text{Seconds}}{3600}}$$

$$\text{Speed} = \dfrac{1.60934 \times \text{Distance (miles)}}{\text{Hours} + \dfrac{\text{Minutes}}{60} + \dfrac{\text{Seconds}}{3600}}$$

Advertisement
Hours, minutes and seconds combined into total time for the speed formula
Hours, minutes, and seconds are combined into a single total time before dividing distance by it.

Worked Example

Suppose you cycled 30 km in 1 hour, 15 minutes and 0 seconds.

  • Distance in km = 30 (no conversion needed).
  • Time in hours = \(1 + (15 \div 60) + (0 \div 3600) = 1.25\) hours.
  • Speed = \(30 \div 1.25 =\) 24 km/h.
  • In mph = \(24 \div 1.60934 \approx\) 14.91 mph.

If you had entered 30 miles instead, the calculator would first convert that to 48.28 km, giving 38.62 km/h or 24 mph.

Speed Across Common Journey Scenarios

Speed is found by dividing the distance travelled by the total time, with the time expressed in hours. The general formula is:

$$\text{Speed} = \frac{\text{Distance}}{\text{Hours} + \dfrac{\text{Minutes}}{60} + \dfrac{\text{Seconds}}{3600}}$$

The table below applies this formula to several everyday journeys. Results are shown in kilometres per hour (km/h) and miles per hour (mph), using the conversion \(1\ \text{km/h} = 0.6214\ \text{mph}\).

Scenario Distance Time Speed (km/h) Speed (mph)
Leisure walk 5 km 1 h 00 min 5.00 3.11
Steady run 10 km 0 h 50 min 12.00 7.46
Recreational cycle 30 km 1 h 15 min 24.00 14.91
Suburban drive 100 km 1 h 30 min 66.67 41.43
Highway drive 240 km 2 h 00 min 120.00 74.56

Worked example for the steady run: \(10 \div (0 + \tfrac{50}{60} + 0) = 10 \div 0.8333 = 12.00\ \text{km/h}\), which is \(12.00 \times 0.6214 = 7.46\ \text{mph}\).

Typical Speeds for Common Activities

The values below are broad averages for planning and comparison. Actual speed varies with fitness, terrain, traffic and conditions. The mph column is derived using \(1\ \text{km/h} = 0.6214\ \text{mph}\).

Activity Typical speed (km/h) Typical speed (mph)
Walking (leisurely) 5 3.1
Brisk walking 6.5 4.0
Jogging 8–10 5.0–6.2
Recreational cycling 15–25 9.3–15.5
City / urban driving 30–50 18.6–31.1
Rural road driving 70–90 43.5–55.9
Highway / motorway 100–120 62.1–74.6
Advertisement

Speed Unit Conversion Table

This calculator works internally in kilometres. When the distance unit is set to miles, the input is first converted using \(1\ \text{mile} = 1.60934\ \text{km}\), then the speed formula is applied. The factors below let you translate a computed speed between the three most common units.

From km/h mph m/s
1 km/h 1 0.6214 0.2778
1 mph 1.60934 1 0.4470
1 m/s 3.6 2.2369 1

Key relationships:

  • \(1\ \text{km/h} = 0.6214\ \text{mph} = 0.2778\ \text{m/s}\)
  • \(1\ \text{mph} = 1.60934\ \text{km/h} = 0.4470\ \text{m/s}\)
  • \(1\ \text{m/s} = 3.6\ \text{km/h} = 2.2369\ \text{mph}\)
  • Distance factor used internally: \(1\ \text{mile} = 1.60934\ \text{km}\)

Example conversion: a speed of \(100\ \text{km/h}\) equals \(100 \times 0.6214 = 62.14\ \text{mph}\) and \(100 \times 0.2778 = 27.78\ \text{m/s}\).

Conventions and edge cases

Each case below was run through this calculator; the result column is what it actually returns.

CaseInputResult
Negative distance-100, 2, 0, 0The time must be greater than 0, and the distance cannot be negative.
100 in 2 hours100, 2, 0, 0Speed (Kilometers per hour): 50.00 km/h
Zero time100, 0, 0, 0The time must be greater than 0, and the distance cannot be negative.

Checked on 2026-11-08

Frequently Asked Questions

Does this give average or instantaneous speed? It calculates average speed across the whole trip. It cannot tell you how fast you were going at any single moment.

Can I leave some time fields blank? Yes. If your trip was exactly 2 hours, just enter 2 in hours and leave minutes and seconds as zero. The decimal-hour formula handles any combination.

Why does it show both km/h and mph? So you don't need a separate conversion. The km/h figure is calculated first, and the mph value is derived from it using the \(1.60934\) km-per-mile factor, making the results consistent.

Last updated:

Most popular in Physics and Engineering

View all Physics and Engineering calculators