Velocity–Time Graph Calculator – Distance from Area Under a v–t Graph

Use this free Velocity–Time Graph Calculator to find the distance travelled from a velocity–time (v–t) graph. For steady acceleration the graph is a straight line, so the distance is the area of the trapezium under the line. The calculator also works out the acceleration from the slope of the graph.

A velocity–time graph is the most honest picture of a journey ever drawn. The horizontal axis is the clock, the vertical axis is the speedometer, and every feature of the motion is hiding in plain sight in the geometry: the height of the line is the velocity at that instant, the slope of the line is the acceleration, and the area trapped between the line and the time axis is the distance travelled. Learn to read those three features and you can reconstruct a whole trip — how fast, how hard the change, how far — from a single sketch. This calculator handles the most common case, the straight-line graph of steady acceleration, where the area is a trapezium.

Real journeys, of course, are drawn with curves and corners: a bus pulls away, cruises, brakes for a stop, waits, and pulls away again, and its graph is a staircase of ramps and flat tops. But the trapezium rule survives every complication, because any stretch of graph where the velocity changes steadily is a trapezium, and a complicated journey is just several trapeziums side by side. That is why this one shape is worth mastering: it is the atom from which every v–t analysis is built, in school physics, in vehicle engineering and in the telemetry software that racing teams use to dissect a lap.

Velocity–Time Graph Calculator — formula and diagram

There is also a quiet idea underneath the arithmetic. Velocity multiplied by time is distance, so a thin vertical slice of the graph — a moment's velocity times a moment's duration — is a thin slice of distance, and the whole area is those slices added up. That "add up the slices" move is the seed of integral calculus, and the v–t graph is where most students meet it for the first time, disguised as a trapezium.

v u rectangle u × t triangle ½(v − u) × t time t slope = acceleration total area = distance

Formula

Distance = area of trapezium = ½ × (u + v) × t  •  Acceleration = slope = (v − u) ÷ t

The trapezium formula is really two simpler shapes added together: a rectangle of height u (the distance you would cover if you never changed speed) plus a triangle of height (v − u) on top of it (the extra distance the speed-up buys you). That is why the average of the two speeds appears: ½(u + v) is the mean velocity over the interval, and distance = mean velocity × time. The formula rearranges to serve whichever quantity is missing: t = 2s ÷ (u + v) if you know the distance and both speeds, and v = 2s ÷ t − u if you know the distance, the time and the starting speed. It assumes the acceleration is constant — the line is straight — which is exactly the case this calculator is built for.

SymbolMeaningUnits
uinitial velocity — height of the line at the startm/s
vfinal velocity — height of the line at the endm/s
ttime interval — width of the graphs
sdistance — area under the linem
aacceleration — slope of the linem/s²

Two readings of one graph: height, slope and area

Every v–t graph answers three questions at once, and confusing them is the classic beginner's error. The height of the line at any instant is the velocity then — read it straight off the vertical axis. The slope of the line is the acceleration: a steep line means violent change, a gentle line means gradual change, a flat line means none at all, and a downward slope means the acceleration points against the motion. The area under the line, down to the time axis, is the distance. Height, slope, area — velocity, acceleration, distance. The graph is a machine that turns one quantity into the next by geometry alone.

This triple reading explains why the same graph style serves so many masters. A physiologist plotting a sprinter's velocity sees the slope as the athlete's drive out of the blocks and the area as the race distance. An automotive engineer plotting a test car's velocity sees braking performance in the downward slope. A seismologist, an economist, a doctor reading a flow–time curve from a ventilator — all of them are using the identical trick, because "the area under a rate graph gives the total" is one of the most portable ideas in all of applied mathematics.

flat: constant speed area = rectangle falling: slowing down slope negative, area still positive

How to use

  1. Read the starting velocity u off the graph (or from the problem) in metres per second, and enter it.
  2. Enter the final velocity v at the end of the interval, in m/s — smaller than u if the object is slowing down.
  3. Enter the time interval t in seconds between the two readings.
  4. Click "Find Distance & Acceleration" to get the area (distance travelled) and the slope (acceleration; negative when slowing down).
  5. For a graph with several straight sections, run the calculator once per section and add the distances — each section is its own trapezium.

Worked examples

Example 1 — a car speeding up. A car accelerates steadily from u = 10 m/s to v = 30 m/s in t = 5 s. Distance = ½ × (10 + 30) × 5 = ½ × 40 × 5 = 100 m. The slope gives the acceleration: a = (30 − 10) ÷ 5 = 4 m/s². Notice the shortcut hiding inside: the mean speed was 20 m/s, and 20 × 5 = 100 m.

Example 2 — braking to a stop. A cyclist at u = 24 m/s brakes steadily to v = 0 over t = 6 s. The graph is a triangle: distance = ½ × (24 + 0) × 6 = 72 m, and a = (0 − 24) ÷ 6 = −4 m/s² — the negative sign flags that the acceleration opposes the motion, a deceleration of 4 m/s².

Example 3 — cruising. A train holds a constant 15 m/s for 8 s: u = v = 15, so the trapezium collapses to a rectangle, distance = ½ × (15 + 15) × 8 = 120 m and a = 0. The general formula quietly contains the school formula distance = speed × time as its flat-line special case.

Example 4 — a two-stage journey. A delivery van accelerates from rest to 20 m/s in 4 s, then cruises at 20 m/s for 6 s. Stage one: ½ × (0 + 20) × 4 = 40 m. Stage two: ½ × (20 + 20) × 6 = 120 m. Total distance = 40 + 120 = 160 m in 10 s — an overall average speed of 16 m/s, found by splitting the graph at the corner and adding two trapezia.

Example 5 — a jogger's finish. A jogger builds from 2 m/s to 8 m/s over the last 10 s of a run: distance = ½ × (2 + 8) × 10 = 50 m, with a gentle acceleration of (8 − 2) ÷ 10 = 0.6 m/s². Small slopes still enclose real area — patience covers ground.

Example 6 — up and back down. A ball thrown straight up has velocity falling from 20 m/s through zero to −10 m/s after 3 s (taking g ≈ 10 m/s²). The signed area is ½ × (20 + (−10)) × 3 = 15 m — that is the displacement, the height still above the launch point. But the distance actually travelled counts both triangles separately: ½ × 20 × 2 = 20 m up plus ½ × 10 × 1 = 5 m down, a total path of 25 m. Signed area gives displacement; unsigned area gives distance — the distinction matters whenever a graph dips below the axis.

Velocity–time graphs in real life

Crash investigation. Modern cars log speed against time in their event data recorders. Investigators read the slope of the final seconds to get the braking deceleration and the area to get the distance covered — often the decisive evidence about whether a driver braked at all, and when.

Athletics coaching. Sprint coaches plot velocity curves from timing gates or radar guns. The early slope measures starting acceleration, the height of the plateau measures top speed, and the area over the first 30 m tells them exactly how much ground a slow start is costing.

Elevator and ride design. Lift engineers design velocity profiles — ramp up, cruise, ramp down — so that both slope (acceleration, felt as a push) and its rate of change stay comfortable. Theme-park rides do the opposite on purpose: steep slopes, big areas, maximum thrill per second.

Railway timetabling. A train's whole schedule is a v–t graph in disguise: accelerate out of the station, cruise, brake in. Planners add the trapezia to find journey times and check that braking slopes respect what the brakes and the passengers can tolerate.

Aviation. Flight data recorders store speed against time for every flight. A v–t plot of take-off shows the acceleration slope down the runway, and its area must reach the runway length before the speed reaches the safe climb value — a graph checked, in effect, on every departure.

Fitness trackers. Your watch builds a velocity–time curve from GPS samples and integrates the area to report your run distance. GPS dropouts show up as notches in the graph — and as missing area, which is why a tunnel can steal distance from your total.

pull away cruise brake three trapezia = one bus journey

Curved graphs: when the line bends

Steady acceleration draws a straight line, but real acceleration rarely holds still: a falling object approaching terminal velocity, a car whose engine fades at high speed, a rocket lightening as it burns fuel — all draw curves. The two geometric rules survive intact. The slope of the tangent at any point is the acceleration at that instant, and the area under the curve is still the distance, now estimated by counting grid squares, by splitting the curve into thin trapeziums, or — in calculus — by integrating. This calculator's trapezium is the first rung of that ladder: the method surveyors, engineers and numerical software still use, with thinner and thinner slices, whenever no neat formula exists.

Displacement versus distance: the sign convention

Area above the time axis counts as positive; area below it (negative velocities — motion in the opposite direction) counts as negative. Add the two with their signs and you get the displacement: how far the object ends from where it started, and in which direction. Add them without signs and you get the total distance travelled. Example 6 above shows the gap between the two ideas: 15 m of displacement against 25 m of travel. For one-way journeys the two coincide, which is why everyday problems — and this calculator, fed with ordinary positive speeds — never force you to notice the difference. The moment motion reverses, the distinction becomes the whole problem.

From graph to story — and back

The deepest skill this calculator supports is translation: turning a graph into a story and a story into a graph. Given the line, narrate it — "the bus pulled away gently, held 12 m/s through the market, then braked hard for the lights" — and every change of slope becomes an event with a cause. Given the story, sketch the line: flat where the speed held, tilted where it changed, kinked where the change was sudden. Examiners love this direction because it cannot be faked by formula-hunting, and engineers use it daily: a telemetry trace that cannot be narrated as a sequence of driver actions is usually a faulty sensor, not a strange lap. Practise both directions on any journey you take; the trapezium arithmetic then becomes bookkeeping for a picture you already understand, which is exactly what it was for the physicists who invented the method.

Quick reference: common graph shapes

Shapeu, v, tDistanceAcceleration
triangle (from rest)0, 12 m/s, 3 s18 m4 m/s²
rectangle (cruising)5, 5 m/s, 10 s50 m0
trapezium (braking)20, 4 m/s, 4 s48 m−4 m/s²
trapezium (speeding up)8, 16 m/s, 7 s84 m≈ 1.14 m/s²

Read the table as four photographs of motion: the triangle is a launch, the rectangle a motorway cruise, and the two trapezia are the same shape tilted in opposite directions — one gaining speed, one shedding it.

Common mistakes

  • Reading the height when you need the area. The value of the line at t = 5 s is the velocity at 5 s, not the distance travelled in 5 s. Distance is always an area, never a point reading.
  • Forgetting the triangle on top. Using u × t alone ignores the extra distance gained while speeding up; using v × t alone overcounts it. The trapezium — equivalently, the mean of u and v times t — is the honest middle.
  • Dropping the sign of the slope. A downward line has negative acceleration. Reporting a braking slope as positive 4 m/s² instead of −4 m/s² (a deceleration of 4 m/s²) loses the direction information the graph was drawn to give.
  • Treating a multi-stage graph as one trapezium. If the line has corners, each straight piece needs its own calculation. One big trapezium drawn from start to finish invents area that was never there (or erases area that was).
  • Mixing up the axes. On a distance–time graph the slope is velocity and the area means nothing simple; on a velocity–time graph the slope is acceleration and the area is distance. Check which quantity is plotted vertically before reading anything.

FAQ

Why does the area under a v–t graph give distance?
Each small strip of the graph has height = velocity and width = time, and velocity × time = distance. Adding up all the strips (the total area) gives the total distance travelled.

What if the object is slowing down?
The formula still works — the line slopes downwards, v is smaller than u, and the acceleration comes out negative, which means deceleration.

What does a flat (horizontal) v–t graph mean?
The velocity is constant, so the area is just a rectangle: distance = v × t, and the acceleration is zero.

How do I find acceleration from a curved v–t graph?
Draw the tangent to the curve at the instant you care about and find its slope: rise ÷ run between two well-separated points on the tangent line. The steeper the tangent, the greater the acceleration at that moment.

What does the area under the graph mean if the line is below the axis?
Negative velocity — motion in the chosen negative direction. That area counts as negative displacement. Total distance travelled is found by adding the sizes of all areas, ignoring signs.

Can I use this for a graph drawn in km/h?
Only after converting: the area of a graph plotted in km/h against seconds mixes units and gives nonsense. Convert speeds to m/s first (divide km/h by 3.6), or convert the time axis to hours so the area comes out in kilometres.

Why is the formula the same as the average-speed formula?
Because they are the same statement. For steady acceleration the average velocity is exactly ½(u + v) — the height of the trapezium's midline — and distance = average velocity × time is the area.

What if the object starts from rest?
Then u = 0 and the trapezium becomes a triangle: distance = ½ × v × t. It is the most common special case — every standing start in sport and traffic draws one.

How accurate is splitting a curve into trapeziums?
Very, if the slices are thin. Halving the slice width typically cuts the error by about a factor of four for smooth curves, which is why numerical integrators use thousands of slices and achieve near-exact areas.

What is the area under an acceleration–time graph?
The change in velocity. The pattern repeats one level up: the area under a rate graph always gives the total change in the quantity whose rate it is — distance from velocity, velocity from acceleration, charge from current.

Sarah Mitchell

Sarah Mitchell

Physics Editor · Motion & Measurement

Sarah Mitchell creates and reviews our kinematics, units and vectors calculators at CalcVIP. Every calculator is checked against hand-worked examples before it is published, so the formula, the diagram and the answer all agree.

View full profile & all calculators by Mitchell →