Math & Utilities

Speed & Distance

km, miles, m/s, all formats

Instant results100% private, runs in browser

Speed & Distance

Free · No login required · Instant results

Distance covered
120 km
Meters120,000 m
Miles74.565 mi
Nautical miles64.795 nm

Speed conversions

km/h60
mph37.28
m/s16.667
Knots32.397

Quick Answer

Speed-Distance-Time triangle: Speed = Distance ÷ Time · Distance = Speed × Time · Time = Distance ÷ Speed. Enter any two values and the calculator solves for the third.

What Is Speed & Distance?

Speed, distance, and time are locked in a simple triangular relationship, know any two, calculate the third. This comes up constantly: how long will a road trip take, how far does a train travel in a set time, what average speed did a runner maintain.

Speed is measured in km/h, distance in kilometres, and time in decimal hours. Time must be in decimal hours, 90 minutes = 1.5 hours. The calculator removes friction by letting you declare which value to solve for.

This relationship applies far beyond driving: runners track pace in min/km (pace is the inverse of speed); shipping companies calculate freight transit times from vessel speed and port distance; pilots use airspeed, wind correction, and ground distance together. Knowing any two values instantly unlocks the third, a universally useful relationship.

Unit consistency is the most common source of error in speed calculations. Speed stated in km/h must use distance in kilometres and time in hours. If you have minutes, divide by 60 first. If you have miles, convert to km (multiply by 1.60934) before using a km/h formula.

How to Use

  1. 1Select what you want to calculate: Speed, Distance, or Time.
  2. 2Enter the two known values.
  3. 3The result updates instantly.

Formula

Speed
Speed = Distance ÷ Time
Distance
Distance = Speed × Time
Time
Time = Distance ÷ Speed

Example: A car travels 240 km in 3 hours, what is its average speed?

  • Speed = Distance ÷ Time
  • Speed = 240 ÷ 3
  • Second example, how long does a 540 km train journey take at 90 km/h?
  • Time = Distance ÷ Speed = 540 ÷ 90 = 6 hours
Average speed = 80 km/h · Journey time = 6 hours

Tips & Things to Know

  • This gives AVERAGE speed, real-world travel has stops and traffic.
  • Time must be decimal hours: 90 minutes = 1.5 hours. Divide minutes by 60.
  • Convert km/h to m/s: divide by 3.6. Convert mph to km/h: multiply by 1.60934.
  • Reference speeds: walking ≈ 5 km/h; cycling ≈ 15–25 km/h; city driving ≈ 40–60 km/h; motorway ≈ 100–120 km/h; commercial aircraft ≈ 900 km/h.
  • Running pace (min/km) and speed (km/h) are inverses: pace = 60 ÷ speed; speed = 60 ÷ pace. A 5:00 min/km pace = 12 km/h.
  • Fuel planning: if your car does 12 km/litre and the trip is 360 km, you need 30 litres. Combine distance with this calculator to estimate both journey time and fuel cost.

Frequently Asked Questions

What is the formula for speed?

Speed = Distance ÷ Time. If a car travels 300 km in 4 hours, speed = 300 ÷ 4 = 75 km/h.

How do I convert minutes to hours?

Divide by 60. 30 minutes = 0.5 hours. 90 minutes = 1.5 hours.

What is average speed vs instantaneous speed?

Average speed is total distance divided by total time. Instantaneous speed is speed at a single moment, what a speedometer shows.

How do I convert km/h to mph?

Divide km/h by 1.60934 to get mph. 100 km/h ≈ 62.1 mph.

How do I calculate fuel cost for a trip?

Fuel cost = (Distance ÷ Fuel efficiency) × Price per litre. Example: 400 km trip, car does 12 km/litre, fuel is $1.40/litre: (400÷12) × 1.40 = 33.3 litres × $1.40 = $46.67.

What is the difference between speed and velocity?

Speed is a scalar, it has magnitude only (e.g. 60 km/h). Velocity is a vector, it has both magnitude and direction (e.g. 60 km/h north). For everyday distance-time calculations, speed is what matters.

How do I find distance if I know speed and time?

Distance = Speed × Time. A train travelling at 120 km/h for 2.5 hours covers 120 × 2.5 = 300 km. Ensure time is in decimal hours (90 min = 1.5 h).

Related Calculators