Speed Distance Time Formula with Examples

What Is the Speed Distance Time Formula?

Speed, distance, and time are three of the most fundamental concepts in mathematics and physics. They are closely connected — if you know any two of them, you can always calculate the third using a simple formula.
These calculations appear in everyday life constantly. How long will a road trip take? How fast is a train traveling? How far can a plane fly in 5 hours? All of these questions are answered using the speed distance time formula.
The relationship between speed, distance, and time is one of the first real-world math applications students encounter — and it remains relevant throughout science, engineering, transport, athletics, and navigation.

Key Definitions

Before applying the formula, understand what each term means:
Speed — How fast an object is moving. It measures the distance covered per unit of time. Common units are km/h, m/s, and mph.
Distance — The total length of the path traveled by an object. Common units are kilometers (km), meters (m), and miles.
Time — The duration taken to cover the distance. Common units are hours (h), minutes (min), and seconds (s).

The Speed Distance Time Formula

The three formulas are all derived from one relationship:
Speed = Distance / Time
By rearranging this, you get:
Distance = Speed × Time
Time = Distance / Speed
A simple way to remember all three formulas is the DST Triangle:

Where:

Units of Speed

Speed is always expressed as a unit of distance per unit of time. Make sure your units are consistent before applying the formula.

Speed UnitMeaning
km/hKilometers per hour
m/sMeters per second
mphMiles per hour
m/minMeters per minute

Converting km/h to m/s: Multiply by 5/18
Converting m/s to km/h: Multiply by 18/5
Example: 72 km/h = 72 × 5/18 = 20 m/s

Step-by-Step Examples

Example 1 — Finding Speed

Problem: A car travels 240 km in 4 hours. What is its speed?

Distance = 240 km, Time = 4 hours
Speed = Distance / Time
Speed = 240 / 4
Answer: Speed = 60 km/h

Example 2 — Finding Distance

Problem: A cyclist rides at a speed of 15 km/h for 3 hours. How far does he travel?

Speed = 15 km/h, Time = 3 hours
Distance = Speed × Time
Distance = 15 × 3
Answer: Distance = 45 km

Example 3 — Finding Time

Problem: A train travels 360 km at a speed of 90 km/h. How long does the journey take?

Distance = 360 km, Speed = 90 km/h
Time = Distance / Speed
Time = 360 / 90
Answer: Time = 4 hours

Example 4 — Converting Units Before Solving

Problem: A person walks 1,800 meters in 30 minutes. What is their speed in km/h?

Distance = 1,800 m = 1.8 km
Time = 30 minutes = 30/60 = 0.5 hours
Speed = Distance / Time
Speed = 1.8 / 0.5
Answer: Speed = 3.6 km/h

Example 5 — Average Speed

Problem: A car travels 100 km at 50 km/h and another 100 km at 100 km/h. What is the average speed for the entire journey?
Many people incorrectly add the two speeds and divide by 2. The correct method is:

Total Distance = 100 + 100 = 200 km
Time for first half = 100 / 50 = 2 hours
Time for second half = 100 / 100 = 1 hour
Total Time = 2 + 1 = 3 hours
Average Speed = Total Distance / Total Time
Average Speed = 200 / 3
Answer: Average Speed = 66.67 km/h

Note: Average speed is never the simple average of two speeds when the distances are equal but speeds differ.

Example 6 — Relative Speed (Same Direction)

Problem: Train A travels at 60 km/h and Train B travels at 40 km/h in the same direction. What is the relative speed of Train A with respect to Train B?

Relative Speed (same direction) = Speed A − Speed B
Relative Speed = 60 − 40
Answer: 20 km/h

Example 7 — Relative Speed (Opposite Direction)

Problem: Two trains are moving toward each other. Train A is traveling at 70 km/h and Train B at 50 km/h. What is their relative speed?

Relative Speed (opposite direction) = Speed A + Speed B
Relative Speed = 70 + 50
Answer: 120 km/h

Average Speed vs Average Velocity

These two terms are often confused:
Average Speed — Total distance divided by total time. It is a scalar quantity (no direction).
Formula: Average Speed = Total Distance / Total Time
Average Velocity — Total displacement divided by total time. It is a vector quantity (includes direction).
Formula: Average Velocity = Total Displacement / Total Time
For straight-line motion in one direction, speed and velocity are equal. For a round trip, average velocity is zero (displacement = 0) but average speed is not.

Relative Speed Summary

Direction of MotionRelative Speed Formula
Same directionSpeed A − Speed B
Opposite directionSpeed A + Speed B

Quick Reference — Speed Distance Time Formulas

What to FindFormula
SpeedDistance / Time
DistanceSpeed × Time
TimeDistance / Speed
Average SpeedTotal Distance / Total Time
km/h to m/sMultiply by 5/18
m/s to km/hMultiply by 18/5
Relative Speed (same direction)Speed A − Speed B
Relative Speed (opposite direction)Speed A + Speed B

Related Formulas

The speed distance time formula connects directly to several other important formulas:

Related Calculator and Pages

Frequently Asked Questions (FAQ Schema)

Q1. What is the speed distance time formula?
The three formulas are: Speed = Distance / Time, Distance = Speed × Time, and Time = Distance / Speed. If you know any two values, you can always calculate the third using one of these formulas.

Q2. How do you calculate average speed?
Average speed is calculated by dividing the total distance traveled by the total time taken. It is not simply the average of individual speeds, especially when the same distance is covered at different speeds.

Q3. How do you convert km/h to m/s?
To convert km/h to m/s, multiply the speed by 5/18. For example, 90 km/h = 90 × 5/18 = 25 m/s. To convert m/s back to km/h, multiply by 18/5.

Q4. What is relative speed and how is it calculated?
Relative speed is the speed of one object with respect to another. When two objects move in the same direction, relative speed = difference of their speeds. When they move in opposite directions, relative speed = sum of their speeds.

Q5. What is the difference between speed and velocity?
Speed is a scalar quantity that measures how fast an object moves regardless of direction. Velocity is a vector quantity that includes both speed and direction. For straight-line motion in one direction, they are equal in magnitude.

Q6. Why is average speed not the simple average of two speeds?
Because average speed depends on time spent at each speed, not just the speeds themselves. If you travel the same distance at two different speeds, you spend more time at the slower speed, which pulls the average down. The correct formula is always total distance divided by total time.

Summary

The speed distance time formula — Speed = Distance / Time — is one of the most widely used formulas in mathematics, physics, and real life. By rearranging this single relationship, you can solve for speed, distance, or time in any situation.
Always check that your units are consistent before solving. Convert minutes to hours or meters to kilometers where needed. For problems involving multiple legs of a journey, calculate total distance and total time separately before finding average speed.
Together with average speed, relative speed, and unit conversion, this formula gives you a complete toolkit for solving any motion-related problem — from everyday travel to competitive exam questions.