Mathwords logoMathwords

Distance-Time Graph — Definition, Formula & Example

A distance-time graph (also called a distance vs. time graph; a position-time graph is closely related, but position can be negative) is a picture of a journey. Time runs along the horizontal axis and distance along the vertical axis, so the steepness of the line tells you how fast something is moving.

A distance-time graph is the graph of distance dd as a function of time tt, with tt on the horizontal axis. The slope of a straight segment is the average speed over that time interval, ΔdΔt\frac{\Delta d}{\Delta t}. A straight segment means constant speed. A horizontal segment (slope 00) means the object is stationary. A curved section means the speed is changing. If the vertical axis shows distance from a starting point, a segment that slopes downward means the object is moving back toward that point.

Key Formula

speed=slope=ΔdΔt=d2−d1t2−t1\text{speed} = \text{slope} = \frac{\Delta d}{\Delta t} = \frac{d_2 - d_1}{t_2 - t_1}
Where:
  • d1,d2d_1, d_2 = distances read from the vertical axis at two points on the graph
  • t1,t2t_1, t_2 = the matching times read from the horizontal axis, with t2≠t1t_2 \neq t_1
  • Δd,Δt\Delta d, \Delta t = change in distance and change in time

Worked Example

Problem: A distance-time graph for a car passes through the points (1 h, 40 mi) and (3 h, 120 mi) along a straight segment. From 3 h to 4 h the graph is a horizontal line at 120 mi. Find the car's speed on each part.
Step 1: Find the change in distance on the sloped segment.
Δd=120−40=80 mi\Delta d = 120 - 40 = 80 \text{ mi}
Step 2: Find the change in time on the same segment.
Δt=3−1=2 h\Delta t = 3 - 1 = 2 \text{ h}
Step 3: Divide to get the slope, which is the speed. Then check the flat part: the distance does not change, so its slope is 0.
802=40 mph,120−1204−3=0 mph\frac{80}{2} = 40 \text{ mph}, \qquad \frac{120 - 120}{4 - 3} = 0 \text{ mph}
Answer: The car travels at 40 mph from 1 h to 3 h. It is stopped (0 mph) from 3 h to 4 h.

Why It Matters

Distance-time graphs are where many students first meet slope as a rate of change. The same idea returns in algebra as the slope mm in y=mx+by = mx + b. In physics, it becomes velocity on a position-time graph.

Common Mistakes

Mistake: Reading the height of the graph as the speed, or thinking a horizontal line means steady movement.
Correction: Height tells you how far the object is from the start. Speed comes from steepness. A flat line means the distance is not changing, so the object is not moving.

Related Terms