My Calculator

Distance Calculator

Calculate the distance traveled, initial velocity, acceleration, or time using s = u × t + ½ × a × t² — with unit conversion, a full step-by-step solution, and a labeled velocity-time area diagram.

Try an example

Distance200 m
Distance in meters200 m
Distance in kilometers0.2 km
Final Velocity (v = u + at)20 m/s

Velocity–Time Diagram: Area = Distance

The shaded region under the line is exactly the distance traveled — its area equals s = u×t + ½×a×t². Every value from your inputs is labeled directly on the diagram.

Time (0 → 10 s)Velocity (m/s)u = 20 m/sv = 20 m/sslope = a = 0 m/s²Distance s = 200 mt = 10 s0

Step-by-Step Solution

Here's exactly how this answer was calculated, one step at a time.

Given: u = 20 m/s, a = 0 m/s², t = 10 s

  1. Step 1: Write the distance formula

    This is the standard kinematics equation for distance covered under constant acceleration. If acceleration is zero, it simplifies to the familiar s = u × t.

    Distance (s) = Initial Velocity (u) × Time (t) + ½ × Acceleration (a) × Time² (t²)
  2. Step 2: Convert to consistent base units

    u = 20 m/s = 20 m/s a = 0 m/s² = 0 m/s² t = 10 s = 10 s
  3. Step 3: Calculate the velocity term

    u × t = 20 × 10 = 200 m
  4. Step 4: Calculate the acceleration term

    ½ × a × t² = 0.5 × 0 × 10² = 0 m
  5. Step 5: Add both terms

    s = 200 + 0
  6. Step 6: Result in meters

    s = 200 m
  7. Step 7: Convert to meters (m)

    s = 200 m ÷ conversion factor = 200 m
  8. Step 8: Final answer

    Distance = 200 m

The result is:

200 m

Free Online Distance Calculator

This distance calculator finds the distance traveled by an object under constant acceleration using the core kinematics formula s = u×t + ½×a×t², and it can also solve the equation in reverse for initial velocity, acceleration, or time. Enter any three known values in any common unit, and the calculator converts everything automatically, works through a complete step-by-step solution, and plots your numbers on a labeled velocity-time diagram where the shaded area literally is the distance — so the whole answer is visible in one picture, not just a final number.

This makes it more capable than a basic 'distance = speed × time' tool: by including acceleration, it correctly handles objects that start from rest, speed up, slow down, or move at a constant velocity (simply set acceleration to zero), which covers the vast majority of real kinematics problems found in physics classes and everyday motion questions.

What Is Distance in Physics? (Definition and Formula)

In kinematics, distance describes how far an object travels along its path of motion over a given time. When an object moves with constant acceleration, its distance traveled is given by:

  • Distance (s) = Initial Velocity (u) × Time (t) + ½ × Acceleration (a) × Time² (t²), often written s = ut + ½at²
  • The SI unit of distance is the meter (m), though kilometers, miles, and feet are also common.
  • Special case: if acceleration is zero (constant velocity), the formula simplifies to the familiar s = u × t, or s = v × t.
  • Example: a car starts from rest and accelerates at 3 m/s² for 8 seconds → s = 0×8 + ½×3×8² = 96 meters

Distance vs Displacement: What's the Difference?

Distance and displacement are closely related but not identical. Distance is a scalar quantity representing the total path length covered, and it is always positive or zero, regardless of direction. Displacement is a vector quantity representing the straight-line change in position from start to end, including direction, and it can be zero even if an object has traveled a long distance — for example, running a full lap around a track covers a real distance, but ends with zero displacement, since the start and end points are the same.

This calculator computes distance traveled under constant acceleration in a single direction, which is the most common scenario in introductory physics problems, and is numerically equal to displacement magnitude when motion doesn't change direction during the interval.

How to Find Initial Velocity from Distance, Time, and Acceleration

If you know how far an object traveled, how long it took, and its acceleration, you can rearrange the distance formula to solve for the starting velocity.

  • Initial Velocity (u) = (Distance (s) − ½ × Acceleration (a) × Time² (t²)) ÷ Time (t)
  • Example: an object covers 200 m in 10 s while accelerating at 1 m/s² → u = (200 − ½×1×10²) ÷ 10 = (200 − 50) ÷ 10 = 15 m/s

How to Find Acceleration from Distance, Initial Velocity, and Time

If you know the distance covered, the starting velocity, and the time taken, you can solve for the acceleration that produced that motion.

  • Acceleration (a) = 2 × (Distance (s) − Initial Velocity (u) × Time (t)) ÷ Time² (t²)
  • Example: an object starting at 5 m/s covers 100 m in 5 s → a = 2×(100 − 5×5) ÷ 5² = 2×75 ÷ 25 = 6 m/s²

How to Find Time from Distance, Initial Velocity, and Acceleration

Solving for time is slightly different, because s = ut + ½at² is a quadratic equation in t whenever acceleration is not zero. This calculator rearranges it into the standard quadratic form ½at² + ut − s = 0, solves it using the quadratic formula t = (−u ± √(u² + 2as)) ÷ a, and automatically keeps the physically meaningful positive root as the answer. When acceleration is zero, the equation reduces to the simple linear case t = s ÷ u.

Reading the Velocity–Time Diagram

The diagram above this section uses the same idea physics textbooks rely on to explain motion visually. The two dots mark the initial velocity (u) at the start of the interval and the final velocity (v) at the end. The line connecting them has a slope, and that slope is the acceleration. The shaded region underneath the line — a combination of a rectangle and a triangle — represents distance traveled, because distance is the accumulation of velocity over time. This is exactly why the area under a velocity-time graph equals s = ut + ½at²: the rectangle's area is u×t and the triangle's area is ½×(v−u)×t, which combine to the same formula.

How to Use This Distance Calculator

Choose what you want to find — Distance, Initial Velocity, Acceleration, or Time — from the dropdown, then fill in the three values you already know, picking whichever unit matches your problem. If motion is at a constant velocity with no acceleration, simply leave the acceleration field at zero. The calculator instantly converts everything to a common base unit, applies the correct rearranged formula, and shows the result — plus the resulting final velocity and distance in multiple units for quick reference.

Scroll down for the complete step-by-step solution, which mirrors exactly how you'd solve it by hand: the formula first, unit conversion shown explicitly, then the arithmetic worked through term by term to the final answer.

Worked Examples

Finding distance at constant speed: an object moves at 20 m/s for 10 s with no acceleration → s = 20×10 + 0 = 200 m.

Finding distance with acceleration: a car starts from rest and accelerates at 3 m/s² for 8 s → s = 0×8 + ½×3×8² = 96 m.

Finding acceleration: an object starting at 5 m/s covers 100 m in 5 s → a = 2×(100−25) ÷ 25 = 6 m/s².

Finding time: an object starts from rest and accelerates at 4 m/s² to cover 500 m → t = √(2×500 ÷ 4) ≈ 15.81 s.

Real-World Applications of the Distance Formula

The distance equation for constant acceleration appears constantly across science, engineering, and everyday planning:

  • Vehicle stopping distance — estimating how far a car travels while decelerating to a stop, important for road safety analysis.
  • Sports science — measuring how far a sprinter covers during the acceleration phase of a race.
  • Aerospace and rocketry — calculating the distance covered during launch or re-entry acceleration.
  • Engineering and robotics — planning the travel distance of a motor-driven system given its acceleration profile.
  • Physics education — solving classic kinematics word problems involving falling objects, moving vehicles, or thrown projectiles.

Distance in Kinematics: Connecting to Other Motion Equations

The distance formula s = ut + ½at² is one of three fundamental equations describing motion under constant acceleration, alongside v = u + at (used to find final velocity, see the dedicated Acceleration Calculator) and v² = u² + 2as (useful when time isn't known at all). All three equations describe the same physical situation, just solved for different unknowns, and this calculator's four modes are built directly from rearranging the distance version of that system. For problems involving gravity specifically, the Free Fall Calculator applies the same equations with acceleration fixed at g ≈ 9.8 m/s².

Why Unit Conversion Matters When Calculating Distance

A common mistake when solving distance problems by hand is mixing units — for example, plugging a velocity in km/h directly into a formula alongside a time in seconds, which produces a meaningless result. This calculator avoids that entirely by converting every input into a common base (meters, seconds, and m/s²) before applying the formula, then converting the answer back into whichever unit was requested. That's also why every step-by-step solution includes an explicit 'convert to consistent base units' step — the part of the calculation most often skipped by hand, and most likely to cause an error.

Tips for Solving Distance Word Problems

Most distance, velocity, and acceleration word problems follow a predictable pattern, and a few habits make them noticeably easier to solve correctly:

  • Identify which three quantities are given and which one is being asked for, to know which rearranged formula to use.
  • Watch for the words 'starts from rest,' which mean initial velocity u = 0.
  • Convert every value to the same unit system (meters and seconds) before doing any arithmetic.
  • Remember that solving for time when acceleration is present requires the quadratic formula, not simple division.
  • Sanity-check your answer against realistic magnitudes — a car covering a few hundred meters in under a minute, or a sprinter covering 100 m in around 10 seconds, are reasonable references to compare against.

Frequently Asked Questions

What is the formula for distance in physics? Distance = Initial Velocity × Time + ½ × Acceleration × Time², or s = ut + ½at², which simplifies to s = ut when acceleration is zero.

What is the difference between distance and displacement? Distance is the total path length traveled and is always positive; displacement is the straight-line change in position including direction, and can be zero even after real motion has occurred.

How do you find distance without acceleration? When acceleration is zero, use the simpler formula Distance = Speed × Time (s = v × t).

How do you find time when acceleration is involved? Rearranging s = ut + ½at² into the quadratic form ½at² + ut − s = 0 and applying the quadratic formula gives the time, keeping only the positive root.

Can this calculator solve for initial velocity, acceleration, or time, not just distance? Yes — switch the 'What do you want to find?' dropdown, and the calculator automatically rearranges the formula to solve for whichever value you need.

Frequently Asked Questions

What is the formula for distance in physics?

Distance = Initial Velocity × Time + ½ × Acceleration × Time², written s = ut + ½at². When acceleration is zero, this simplifies to s = ut (distance = speed × time).

What is the difference between distance and displacement?

Distance is the total length of the path traveled and is always positive, while displacement is the straight-line change in position including direction, which can be zero even after real motion has occurred.

How do you calculate distance traveled with acceleration?

Use s = ut + ½at², where u is initial velocity, a is acceleration, and t is time. This calculator applies that formula automatically after converting your inputs to consistent units.

How do you find time when acceleration is involved?

Rearrange s = ut + ½at² into the quadratic form ½at² + ut − s = 0 and solve using the quadratic formula t = (−u ± √(u² + 2as)) ÷ a, keeping the positive root.

What is the relationship between the velocity-time graph and distance?

The area under a velocity-time graph equals the distance traveled — this calculator's diagram shades exactly that area so the distance is visible directly on the graph.

Can I use this calculator for constant-speed motion with no acceleration?

Yes — simply leave acceleration at zero, and the formula automatically reduces to distance = velocity × time, giving the same result as a basic speed-distance-time calculation.