Free Online Tool · Three Solve Modes · Step-by-Step

Speed Distance Time Calculator

Solve s = d/t for speed, distance or time. Choose km/h or m/s, metres or kilometres, seconds, minutes or hours — and get step-by-step working with every answer.

1 Enter distance and time
2 Speed output unit
Preview: enter distance and time

Advertisement

What Is a Speed Distance Time Calculator?

A speed distance time calculator solves the relationship $s = d/t$ between the three quantities that describe motion. If you know any two of speed, distance or time, this free online tool finds the third with the correct units and shows every step. It supports distance in metres or kilometres, time in seconds, minutes or hours, and speed in metres per second (m/s) or kilometres per hour (km/h). Because the calculator converts units internally, you can mix kilometres, minutes and m/s in a single problem and still get a correct answer.

This is a browser-based calculator — no download, registration or mobile app is required. It is used by students, teachers, drivers, cyclists and runners around the world who want a quick, trustworthy calculation with visible working. The formulas compute average speed or ideal travel time under a constant-speed assumption; real journeys with traffic, stops or speed changes will take longer.

How to Calculate Speed, Distance and Time

  1. Choose what you want to find — speed, distance or time — using the three-mode toggle above.
  2. Enter the two known quantities and select the units you have (km or m; s, min or h; km/h or m/s).
  3. Choose the output unit for the answer.
  4. Press Calculate to see the final answer, the equivalent unit conversion, the formula used and a step-by-step substitution.

The calculator validates inputs: it rejects negative distance or time, negative speed in the distance mode, zero time in the speed mode, and zero speed in the time mode (division by zero). A friendly message explains each domain error rather than showing NaN.

Speed Distance Time Formula Explained

Speed, distance and time are related by a single equation that can be rearranged three ways. The version you use depends on which quantity is unknown.

Speed Formula: Distance Divided by Time

Find speed
s = d / t

Speed is the distance travelled per unit of time. If a car covers 180 km in 3 hours, its average speed is 180 ÷ 3 = 60 km/h.

Distance Formula: Speed Multiplied by Time

Find distance
d = s × t

Distance is how far you travel at a given speed for a given time. A train at 90 km/h for 2.5 hours covers 90 × 2.5 = 225 km.

Time Formula: Distance Divided by Speed

Find time
t = d / s

Time is how long a journey takes at a given speed. A car travelling 240 km at 80 km/h takes 240 ÷ 80 = 3 hours.

Variable Definitions

  • s — average speed, in m/s or km/h.
  • d — distance travelled, in m or km.
  • t — time taken, in s, min or h.

Unit consistency rule: the three quantities must be in matching units before the formula is applied. If d is in km and t is in h, s comes out in km/h. If d is in m and t is in s, s comes out in m/s. This calculator performs the conversion internally, so you can freely mix units.

How to Calculate Driving Time

To estimate driving time from distance and speed, use $t = d/s$: divide the total distance by the average speed. For example, a 240 km motorway journey at an average of 80 km/h gives 240 ÷ 80 = 3 hours. This is an ideal constant-speed estimate. It does not account for traffic, junctions, rest stops, roadworks or speed-limit changes, so real arrival times are usually longer. For traffic-aware predictions, use a navigation app; for physics homework, this calculator gives the correct theoretical time.

A useful sanity check: at 100 km/h, each 100 km takes 1 hour; at 50 km/h, each 100 km takes 2 hours. If a calculation tells you a 300 km journey at 100 km/h takes 30 minutes, a unit or arithmetic error has occurred.

Bike Speed, Distance and Time Examples

The same formula applies to bicycles, e-bikes and motorbikes. Typical cycling averages are 15–25 km/h, jogging is around 8–11 km/h, and brisk walking is around 5 km/h — useful sanity checks for any answer.

  • Bicycle: 20 km in 1 hour → 20 km/h (≈ 5.56 m/s).
  • Motorbike: 90 km in 1.5 hours → 60 km/h (≈ 16.67 m/s).
  • Walking: 1.4 m/s for 15 minutes (900 s) → 1,260 m = 1.26 km.

These are average speeds over the whole trip. A cyclist who stops at lights has a lower average speed than their cruising speed.

Speed and Unit Conversion (km/h ↔ m/s)

Conversion factors
1 m/s = 3.6 km/h · 1 km/h = 5/18 m/s
  • km/h → m/s: multiply by 5/18 (or divide by 3.6). Example: 72 km/h × 5/18 = 20 m/s.
  • m/s → km/h: multiply by 3.6. Example: 20 m/s × 3.6 = 72 km/h.
  • Reason: 1 km = 1000 m and 1 h = 3600 s, so 1 km/h = 1000/3600 m/s = 5/18 m/s.

This calculator converts automatically, so you can enter speed in one unit and see the answer in the other. SI units are m/s; everyday speed limits in many countries use km/h.

Step-by-Step Solved Questions

Example 1 — Car at constant speed (find speed)

Given: d = 180 km, t = 3 h. Required: s.
  1. Formula: s = d / t.
  2. Units already match (km and h).
  3. Substitute: s = 180 / 3.
  4. Answer: 60 km/h = 60 × 5/18 = 16.67 m/s.

Example 2 — Motorcycle at constant speed (find speed)

Given: d = 45 km, t = 30 min. Required: s in km/h.
  1. Convert time: 30 min = 0.5 h.
  2. Formula: s = d / t = 45 / 0.5.
  3. Answer: 90 km/h = 25 m/s.

Example 3 — Bicycle speed calculation

Given: d = 12 km, t = 40 min. Required: s in km/h and m/s.
  1. Convert: 40 min = 40/60 h = 2/3 h.
  2. s = 12 ÷ (2/3) = 12 × 3/2 = 18 km/h.
  3. Convert: 18 × 5/18 = 5 m/s.

Example 4 — Running and walking speed

Given: d = 400 m, t = 50 s. Required: s.
  1. s = 400 / 50.
  2. Answer: 8 m/s = 8 × 3.6 = 28.8 km/h (sprinting pace).
  3. Walking comparison: 1.4 m/s = 5.04 km/h — typical walking pace.

Example 5 — Finding travel time from distance and speed

Given: d = 240 km, s = 80 km/h. Required: t.
  1. Formula: t = d / s.
  2. Substitute: t = 240 / 80.
  3. Answer: 3 h.

Example 6 — Finding distance from speed and time

Given: s = 90 km/h, t = 2.5 h. Required: d.
  1. Formula: d = s × t.
  2. Substitute: d = 90 × 2.5.
  3. Answer: 225 km = 225,000 m.

Example 7 — Converting km/h to m/s

Convert 108 km/h to m/s.
  1. Multiply by 5/18: 108 × 5/18.
  2. Answer: 30 m/s.
  3. Check: 30 × 3.6 = 108 km/h.

Example 8 — Converting m/s to km/h

Convert 15 m/s to km/h.
  1. Multiply by 3.6: 15 × 3.6.
  2. Answer: 54 km/h.

Example 9 — Mixed units (hours, minutes, seconds)

Given: d = 5 km, s = 72 km/h. Required: t in minutes and seconds.
  1. t = 5 / 72 h = 0.06944 h.
  2. Convert to minutes: 0.06944 × 60 = 4.1667 min.
  3. Convert fraction: 0.1667 × 60 = 10 s.
  4. Answer: 4 min 10 s.
  5. Alternative: 5,000 m ÷ 20 m/s = 250 s = 4 min 10 s. Same answer.

Common Calculation Mistakes

  • Mixing units silently. If distance is in km and time in seconds, convert everything to one system first. This calculator handles it, but students should understand the principle.
  • Using km/h with metres and seconds. Convert km/h to m/s (× 5/18) before mixing with m and s — or convert m and s to km and h. Never blend the two systems in the arithmetic.
  • Confusing average speed with instantaneous speed. s = d/t gives average speed over the journey. A car can cruise at varying speeds and still average 60 km/h if 180 km takes 3 hours.
  • Mixing up speed and velocity. Speed is a scalar; velocity is a vector. A car going around a roundabout at constant speed has changing velocity, so s = d/t gives speed but not velocity.
  • Forgetting to convert minutes to hours. "2 hours 30 minutes" is 2.5 hours, not 2.3 or 230. Convert mixed time units to a single unit before using the formula.
  • Zero speed in the time formula. If speed is zero, the object never moves and arrival time is infinite — a domain error.
  • Zero time in the speed formula. Dividing by zero is undefined, so the calculator flags it with an explanation.
  • Assuming the answer is traffic-aware. Constant-speed results are ideal estimates; real driving time is usually longer.

Frequently Asked Questions

What is the formula for speed, distance and time?

Speed = distance ÷ time (s = d/t). The same equation can be rearranged for the other two: distance = speed × time (d = s × t) and time = distance ÷ speed (t = d/s). All three forms are equivalent and this calculator supports all three.

What are the SI units of speed?

Speed is measured in metres per second (m/s) in the SI system. Distance is in metres (m) and time in seconds (s). In everyday life, kilometres per hour (km/h) is more common in many countries. 1 m/s = 3.6 km/h.

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

Multiply by 5/18, or equivalently divide by 3.6. For example, 72 km/h = 72 × 5/18 = 20 m/s. To go the other way, multiply m/s by 3.6: 20 m/s = 72 km/h. The conversion factor comes from 1000 m per km divided by 3600 s per hour.

What is the difference between speed and velocity?

Speed is a scalar — it tells you how fast without direction. Velocity is a vector — it tells you how fast and in which direction. A car driving in a circle at constant speed has changing velocity because its direction keeps changing. The formula s = d/t gives speed; the velocity equivalent uses displacement rather than distance.

Can speed be zero?

Yes, speed can be zero if the object is at rest, which means distance = 0 over a positive time. In the speed calculator mode, d = 0 gives s = 0. In the time mode, a speed of zero is a domain error — the object would never arrive.

Why does the calculator reject zero speed or zero time?

Zero time makes speed undefined (division by zero) — no physical object travels a nonzero distance in zero time. Zero speed in the time formula means the object never moves, so arrival time is infinite. Both are domain errors and the calculator flags them with a friendly message.

Does this calculator account for traffic, stops or road conditions?

No. It computes average speed or ideal travel time under the stated constant-speed assumption. Real driving journeys involve traffic, stops and varying speeds, so actual arrival times are typically longer. Use a navigation app for traffic-aware estimates.

Can I use this for bike, running or walking speed calculations?

Yes. Enter the distance in metres or kilometres and the time in seconds, minutes or hours. The calculator returns average speed in km/h or m/s. Typical cycling is around 15–25 km/h, jogging around 8–11 km/h, and brisk walking around 5 km/h.

Related Tools

Related Hira Academy Resources

Revise the theory behind motion with our Class 9 notes and Class 10 notes, and track term progress with the free Student Portal.

Author: Muhammad Tayyab — Mathematics and Physics Educator, Hira Science Academy. Assumptions: constant speed, ideal conditions, no traffic or stops. Unit conversions use exact SI factors (1 km = 1000 m, 1 h = 3600 s, 1 km/h = 5/18 m/s).

↑