A velocity-time graph answers two different questions with two different readings: the slope of each straight leg is the acceleration, and the area underneath it is the displacement. This free calculator takes a profile of up to three straight legs — four times and four velocities — and returns that signed area as the displacement, with the total distance travelled, both averages and a per-leg breakdown beside it. Areas below the time axis count as negative, and that one rule is why the two lengths it reports are not always the same number.
Distance and displacement agree only while the line stays on one side of the axis. The page opens on a metro train that never reverses, so the headline and the distance chip both read 615 m. Press Car reverses and the same tool reports 52 m travelled against 12 m displaced, out of one graph.
Each button writes all four times and all four velocities into the eight boxes, so the answer changes the moment you press it. The line underneath quotes back whatever the widget then works out, so nothing in it is stored text. Four of the six are one-leg graphs, entered by putting a 0 in the leg 2 end time box.
Pick a case above, or type your own figures.

The velocity-time graph calculator is a free online tool for the two rules a velocity-time graph carries at once: the slope of a straight leg is the acceleration, and the area underneath it is the displacement. Give it a profile of up to three straight legs as four times and four velocities, and it returns the signed area as the displacement in metres, with the total distance travelled, the average velocity, the average speed, the elapsed time and the acceleration and area of every leg beside it. One straight leg is a trapezium, so the only area formula it needs is 0.5 (v1 + v2)(t2 - t1).
The sign of the area is not a detail, it is the whole answer. Velocity here is a signed component along a positive direction you choose, so a reading below the time axis is motion the other way and the area it encloses is subtracted. That one rule is why a velocity-time graph can report two different lengths for the same journey.
Distance and displacement agree only while the line stays on one side of the axis. The calculator opens on a metro train that speeds up for 10 s, cruises for 30 s at 15 m/s and brakes to rest at 52 s: the headline reads 615 m and the distance chip reads 615 m too, because nothing is ever subtracted. Press the second preset, where one leg crosses the axis, and the same tool reports 52 m travelled against 12 m displaced — the crossing leg contributes a 16 m triangle above the axis and a 4 m triangle below it, which add to 20 m of ground covered and subtract to 12 m of displacement.
A graph with fewer than three legs is entered by stopping the list early. Legs are taken in order and stop at the first end time that does not strictly exceed the one before it, so a 0 in the t2 box gives a one-leg graph and a 0 in the t3 box gives a two-leg one — and because that 0 is read as an ordinary time rather than as a blank, a graph lying entirely before 0 s needs any value at or below the previous end time instead. A Legs used chip then reads 1 of 3, 2 of 3 or 3 of 3, so a truncated profile can never be mistaken for the full one, and the same single test absorbs a blank, an equal time and a decreasing one, which is why no leg of no width is reachable anywhere on the page.
The slope rule needs the same care about signs, for a less obvious reason. A negative slope does not mean slowing down and a positive slope does not mean speeding up: it is the sign of the slope compared with the sign of the velocity that decides. All four combinations are reachable, and the one that reads wrong to almost everybody has its own preset — a leg from -11 m/s to -5 m/s returns an acceleration of +3 m/s² with a displacement of -16 m, which is an object moving backwards and losing speed.
Relabel the vertical axis as speed and the area rule stops being true. A speed is never negative, so an area under a speed-time graph can never be negative either, and what it gives is the path length rather than the displacement. A ball thrown upward and caught again makes the gap as wide as it goes: the velocity-time area over the whole flight is 0 m while the speed-time area over the same flight is 14.6939 m, which in one dimension is the distance travelled and in general is not the size of the displacement at all.
And the slope rule stops being true wherever the line jumps. Halving the width of a leg doubles its slope, so a bounce from -5 m/s to +4 m/s reads 450 m/s² over 0.02 s, 900 m/s² over 0.01 s and 1800 m/s² over 0.005 s. The slope diverges as the contact narrows instead of settling anywhere, so a vertical jump has no acceleration to read, the engine refuses a leg of no width in words rather than printing an infinity, and the honest route through a genuine bounce is impulse and momentum rather than a slope at all.
No ratio of the two lengths is reported, and that is a design constraint rather than an omission. The thrown-ball preset makes the displacement exactly zero, so a distance-to-displacement ratio would be an infinity rather than a number. The two averages on the page divide by the elapsed time and by nothing else.
The panel rounds in two places and says which is which. The headline and the chips carry four significant figures, which is this page's reading precision, and the working carries six so that each printed operation reproduces the figure on its own right-hand side. The thrown-ball preset shows why both exist: it uses the printable round-trip time 2.449 s, so the working prints its slope as -9.79992 m/s² while the chip shows that same slope as -9.8 m/s².
What the page does not do is worth naming as plainly as what it does. It models straight legs only, so it fits no curves: a curved velocity-time graph has to be read by drawing the tangent to it at the instant you want, which the last preset demonstrates with the jet-car tangent the source draws for 25 s, whose endpoints 1.0 s at 210 m/s and 51 s at 260 m/s give exactly 1.0 m/s² — and that tangent's area of 11750 m is the area under a straight line laid on a curve, not the car's displacement. It has no position-time or acceleration-time graph of its own, it never treats forces, and it draws no graph: the drawing is the interactive lab linked beside it, which animates one constant-acceleration run and reports no area, which is exactly the gap this calculator fills.
| Symbol | Quantity | Default unit | Also accepts | Example value |
|---|---|---|---|---|
| t0 | Start time | s | min. The left-hand corner of the graph; it may be negative, and the jet-car preset starts at 1 s | 0 |
| v0 | Velocity at the start | m/s | km/h, signed along a positive direction you choose; negative is ordinary rather than an error | 0 |
| t1 | Time leg 1 ends | s | min. The one box that must be later than the start time, because a leg of no width has no slope | 10 |
| v1 | Velocity ending leg 1 | m/s | km/h; the thrown-ball preset uses -12 | 15 |
| t2 | Time leg 2 ends | s | min, and 0 here stops the profile after leg 1 | 40 |
| v2 | Velocity ending leg 2 | m/s | km/h; the worked table moves this box alone | 15 |
| t3 | Time leg 3 ends | s | min, and 0 here stops the profile after leg 2 | 52 |
| v3 | Velocity ending leg 3 | m/s | km/h; 0 is the metro train coming to rest | 0 |
t0 and v0 boxes, then each leg’s right-hand corner into the pair beneath it. Four corners make three legs, which is as many as this page takes.0 in the t2 box gives a one-leg graph and a 0 in the t3 box gives a two-leg one. That shortcut reads 0 as an ordinary time rather than as a blank, so on a graph that runs entirely before 0 s type any value at or below the previous end time instead, and the Legs used chip then reads 1 of 3, 2 of 3 or 3 of 3 so a truncated profile can never be mistaken for the whole one.s or min and each velocity box takes m/s or km/h. Everything is converted before any arithmetic happens, so the headline is in metres however you typed the inputs.615 m. A negative headline is not an error: it means the object finished behind where it started, which the Slowing down while moving backwards preset shows at -16 m.Two neighbouring ideas are worth separating from this one before you start. This page reads one graph, the velocity-time one; the position-time and acceleration-time graphs are a different pair of rules, and the guide to the three motion graphs sets all three against each other. What the slope itself means as a quantity belongs to the guide to acceleration, which this tool assumes rather than explains.
The other is the axis label. Swap velocity for speed and the area stops being a displacement, because a speed cannot be negative and so neither can the area — the guide to velocity against speed is where that difference is argued out. For the worked problems, the shaded diagrams and the sign table in prose, the velocity-time graph guide is the half of this pair that explains; this page is the half that computes.
15 m/s in 10 s, thirty seconds of cruise, then a brake to rest at 52 s. The headline reads 615 m and the distance chip reads 615 m too, because the line never crosses the time axis.The table below holds a two-leg graph fixed — from rest at 0 s up to 8 m/s at 4 s, then one leg out to 10 s — and moves the velocity at the end of that second leg alone. Every headline and chip cell was read out of the running widget rather than worked out by hand. Where a cell and the tool ever part company, believe the tool.
| Velocity at the end of leg 2, in metres per second | Headline displacement, in metres | Distance travelled chip | Direction reversals chip | Leg 2 acceleration and area chip |
|---|---|---|---|---|
| 8 | 64 | 64 m | none · the direction never changes | 0 m/s² · area 48 m |
| 4 | 52 | 52 m | none · the direction never changes | -0.6667 m/s² · area 36 m |
| 0 | 40 | 40 m | none · the direction never changes | -1.333 m/s² · area 24 m |
| -2 | 34 | 36.4 m | 1 · at t = 8.8 s | -1.667 m/s² · area 18 m · 20.4 m travelled |
| -4 | 28 | 36 m | 1 · at t = 8 s | -2 m/s² · area 12 m · 20 m travelled |
| -8 | 16 | 40 m | 1 · at t = 7 s | -2.667 m/s² · area 0 m · 24 m travelled |
Three things are worth reading off that table. The displacement falls steadily as the second leg is pulled down — 64, 52, 40, 34, 28 and 16 m — because every metre the line drops takes area away. The distance does not: it falls to 36 m and then climbs back to 40 m.
The turn is the crossing. From -2 m/s downwards the second leg dips below the axis, and from there on each extra metre of dip is subtracted from the displacement and added to the distance. That is the whole mechanism in one column, and the reversals chip marks where it starts each time: 8.8 s, then 8 s, then 7 s as the dip steepens.
The bottom row is the one to keep. At -8 m/s the second leg’s signed area is exactly 0 m while its path length is 24 m, so a leg can contribute nothing whatever to the displacement and still lay down more path than either of the other rows that cross the axis. The leg went out and came back, and only one of the two lengths noticed.
| Symbol | What it is | Unit | On this page |
|---|---|---|---|
| t0 | The time at the left-hand corner of the graph. It may be negative, and the jet-car preset starts at 1 s rather than at 0 | s | Box menu reads s or min. 0 is the default. |
| v0 | The velocity at that first corner, signed along a positive direction you choose for the whole graph | m/s | Box menu reads m/s or km/h. 0 is the default; the ball preset uses 12. |
| t1 | Where leg 1 ends. The only hard requirement on the page: it must be later than the start time | s | 10 is the default. A value at or below t0 is refused in words, because a leg of no width has no slope. |
| v1 | The velocity at the end of leg 1. Negative is ordinary here, not an error | m/s | 15 is the default; the ball preset uses -12. |
| t2 | Where leg 2 ends. At or below t1 the profile simply stops after leg 1 |
s | 40 is the default. Type 0 for a one-leg graph, as four of the six presets do — or any time at or below t1, which is what a graph lying before 0 s needs. |
| v2 | The velocity at the end of leg 2 | m/s | 15 is the default. It is the one box the worked table below moves. |
| t3 | Where leg 3 ends. At or below t2 the profile stops after leg 2 |
s | 52 is the default. Type 0 for a two-leg graph, or any time at or below t2. |
| v3 | The velocity at the last corner | m/s | 0 is the default, which is the metro train coming to rest. |
| a = (v2 - v1) / (t2 - t1) | The slope of one leg, which is its acceleration, with the sign the graph gives it | m/s² | A chip, never an input. 1.5, 0 and -1.25 on the three default legs. |
| A = 0.5 (v1 + v2)(t2 - t1) | The SIGNED area of one leg: a trapezium, negative wherever the leg sits below the time axis | m | A chip beside each leg's slope. 75, 450 and 90 on the defaults. |
| s | The displacement: the sum of the signed areas of every active leg. This is the headline | m | 615 m on the defaults, 12 m on the Car reverses preset and 0 m on the ball preset. |
| d | The distance travelled: the sum of the path lengths. Never negative, and never smaller than the size of s |
m | The first chip. Equal to the size of s until the line crosses the axis; 52 m against 12 m on the Car reverses preset. |
| t* | The instant a leg crosses v = 0, solved in closed form rather than searched for |
s | Reported by the Direction reversals chip and printed in the working. 8 s on the Car reverses preset. |
Strip everything away and one straight leg is a trapezium. Its area is the two end velocities added, halved and multiplied by the width in time, which is why 0.5 (v1 + v2)(t2 - t1) is the only area formula this page needs. A flat leg is the special case where the two velocities match and the trapezium is a rectangle.
That expression is also the average-velocity equation of motion written for one leg, with the average velocity taken as the mean of the two end values. It is noted here and taken no further, because deriving the constant-acceleration equations is a different job from reading a graph.
What makes the area worth computing rather than just measuring is the sign. A leg sitting below the time axis has a negative area, so it cancels against what came before it, and the two quantities the page reports differ by exactly twice whatever sits below the axis. The Ball thrown up and caught preset is the extreme: the areas cancel to 0 m of displacement while 14.69 m of path is still covered.
The slope needs the same care, and for a less obvious reason. A negative slope does not mean slowing down and a positive slope does not mean speeding up: it is the sign of the slope compared with the sign of the velocity that decides, which is the table in the next section but one. The working names the state for each leg, so the panel never leaves that comparison to the reader.
12 m and the distance chip is 52 m, and the working splits the crossing leg into a 16 m triangle above the axis and a 4 m one below it — added for the distance, subtracted for the displacement.25 s, and its area of 11750 m is the area under the straight tangent rather than the jet car’s displacement — an area under a tangent drawn on a curve has no physical meaning, and it is on the page only so the slope can be read.-5 m/s to +4 m/s reads 450 m/s² over 0.02 s, 900 m/s² over 0.01 s and 1800 m/s² over 0.005 s. The slope therefore diverges as the contact narrows instead of settling anywhere, so a genuinely vertical jump has no acceleration to read and the engine refuses a zero-width leg in words rather than printing an infinity. The guide to impulse is the honest treatment of that jump, and the impulse calculator does the arithmetic for it.0 m while the speed-time area over the same flight is 14.6939 m — a statement about one dimension, because in general the path length is not the size of the displacement at all.0 m, so a distance-to-displacement ratio would be an infinity rather than a number, and a readout that can be an infinity is not a readout. The two averages on this page divide by the elapsed time and by nothing else.2.449 s, the printable round-trip time, rather than the exact one. Its slope is therefore -9.79992 m/s², which is what the working prints, and the chip shows that same slope as -9.8 m/s² at this page’s four significant figures. It is worth knowing which of the two you are looking at before you quote it.0 m/s of average velocity against 6 m/s of average speed.25 s the source draws it for, and taking its endpoints 50 s apart only makes the slope less sensitive to error in reading coordinates off a printed figure. A chord between two points on the curve itself is a different construction answering a different question, because its slope is the average acceleration across the span it covers.| Sign of the velocity | Sign of the slope | The leg, in seconds and metres per second | What the panel reports |
|---|---|---|---|
| Positive | Positive | (0, 5) to (2, 11) | Displacement 16 m, distance 16 m, leg chip 3 m/s² · area 16 m. The working calls it a positive velocity with a positive slope, so it is moving forwards and speeding up |
| Positive | Negative | (0, 11) to (2, 5) | Displacement 16 m, distance 16 m, leg chip -3 m/s² · area 16 m. A positive velocity with a negative slope, so it is moving forwards and slowing down |
| Negative | Negative | (0, -5) to (2, -11) | Displacement -16 m, distance 16 m, leg chip -3 m/s² · area -16 m. A negative velocity with a negative slope, so it is moving backwards and speeding up |
| Negative | Positive | (0, -11) to (2, -5) | Displacement -16 m, distance 16 m, leg chip 3 m/s² · area -16 m. A negative velocity with a POSITIVE slope, so it is moving backwards and slowing down. This is the fourth preset, because it is the row that reads wrong |
| Changes sign | Either | (4, 8) to (10, -4), which is leg 2 of the Car reverses preset | Signed area 12 m against 20 m travelled, with the crossing printed at t = 8 s. The size of the area is no longer the ground covered |
0, so Legs used reads 1 of 3. The displacement is 0 m exactly and the distance is 14.69 m, and the working prints the slope as -9.79992 m/s² where the chip rounds it to -9.8.For the shaded diagrams, the worked problems and the sign rules in prose, read the velocity-time graph guide, which this tool is the arithmetic half of. The guide to the three motion graphs puts the position-time and acceleration-time graphs beside this one, the guide to distance against displacement handles that distinction away from any graph, and the guide to free fall is where the thrown-ball case belongs.
Five tools sit beside this one. The SUVAT calculator takes over when there is no graph to read; the acceleration calculator does the slope on its own; the impulse calculator handles the bounce this page has to refuse; and the SUVAT simulator and the distance and displacement simulator let you move both effects by hand. The full physics lab library and the calculator index are open too.
It turns a velocity-time graph of up to three straight legs into two different lengths. The headline is the displacement, which is the sum of the signed areas under the legs, so a part of the graph below the time axis is subtracted. Beside it the panel reports the total distance travelled, the average velocity, the average speed, the elapsed time, the acceleration and area of each leg, where the direction reverses, and how many legs it used.
Because the area below the time axis counts as negative for the displacement and as positive for the distance. While the line stays on one side of the axis there is nothing to subtract and the two are the same number. Once the line crosses, part of the journey cancels part of what came before it: the Car reverses preset covers 52 m of ground while finishing only 12 m from where it started, and the ball preset cancels exactly, returning 0 m of displacement against 14.69 m travelled.
Put 0 in the leg 2 end time box for a one-leg graph, or in the leg 3 end time box for a two-leg graph. A blank, an equal time and a decreasing time all do the same thing, so on a graph that lies entirely before 0 s type any time at or below the previous end time instead. The Legs used chip then reads 1 of 3 or 2 of 3, so you can always see which legs the answer actually came from.
The acceleration, with the sign the graph gives it. Each active leg has its own chip reporting that slope as the change in velocity divided by the change in time, and a flat leg reports 0. The sign of the slope on its own does not say whether the object is speeding up or slowing down: it is the sign of the slope compared with the sign of the velocity that decides, which is why the Slowing down while moving backwards preset returns an acceleration of +3 m/s² with a displacement of -16 m.
No, and this is the one place the area rule stops being true. A speed is never negative, so an area under a speed-time graph can never be negative either, and what it gives is the path length rather than the displacement. The thrown-ball case makes the gap as large as it gets: the velocity-time area over the whole flight is 0 m while the speed-time area over the same flight is 14.6939 m, which is the distance.
No: it models straight legs only, so a curve has to be handled the way it is handled on paper, by drawing a tangent to the curve at the instant you want and reading the slope of that straight tangent. A tangent's slope is the instantaneous acceleration at the point it touches, and the Tangent on a curve preset carries the jet-car tangent the source draws for 25 s, whose endpoints 1.0 s at 210 m/s and 51 s at 260 m/s give exactly 1.0 m/s². Its area of 11750 m is the area under that straight tangent and is not the car's displacement, so do not read it as one.
Because a leg of no width has no slope to read. Halving the width of a leg doubles its slope, so as the width shrinks towards nothing the slope grows without limit instead of settling on any value at all. The honest treatment of a genuine jump is impulse and momentum rather than a slope, so the page refuses the zero-width case in words instead of printing an infinity.
Only the rounding. The chips and the headline carry four significant figures, which is this page's reading precision, and the working carries six so that each printed operation reproduces the figure on its own right-hand side. The ball preset shows why both exist: the working prints a slope of -9.79992 m/s2 for a round-trip time of 2.449 s, and the chip shows that same slope as -9.8 m/s², with the working writing that unit as m/s2 in plain characters so every operation in it reads as typed.