Displacement Calculator with Formula, Direction and Units
Calculate one-dimensional signed displacement from initial and final position, several motion legs, average velocity, or constant-acceleration data. The result keeps direction, magnitude and total path distance separate.
Online Displacement Calculator
Choose the known quantities, define the positive direction, enter signed motion data with units, then review the displacement, magnitude, direction, conversions and formula steps.
The final position is 10 m in the positive direction from the initial position.
Displacement Unit Conversions
| Unit | Signed displacement | Magnitude |
|---|
Calculation Steps
How to Use This Displacement Calculator
- Choose a method. Use positions, signed motion legs, average velocity, or the constant-acceleration formula that matches your known values.
- Define the positive direction. Select a generic axis or label positive as east, north, right or up.
- Enter signed data. Coordinates, velocities and acceleration may be positive, negative or zero. Motion-leg magnitudes must be non-negative.
- Select every unit. The calculator normalizes length, velocity, acceleration and time to SI units before applying the formula.
- Choose the result unit and precision. These settings change the display, not the internal calculation.
- Select Calculate Displacement. Review the signed result, magnitude, direction, conversions and substituted formula.
- Check the model. Constant-acceleration methods are valid only when one-dimensional acceleration remains constant over the entered interval.
What Is Displacement?
Displacement is the change in an object’s position from the beginning of a chosen interval to the end. In one dimension, it is a signed quantity. The sign identifies direction along a defined axis, while the absolute value gives the displacement magnitude.
Here, xi is initial position and xf is final position. If an object moves from 12 m to −8 m, its displacement is −8 − 12 = −20 m. The result points toward the negative axis and has a magnitude of 20 m.
Position needs an origin and a reference frame. A coordinate of −8 m does not mean a negative length. It means the object is 8 m from the origin on the side defined as negative. Changing the origin changes both coordinate values, but it does not change their difference when the same reference frame is used consistently.
Displacement depends only on the two endpoints. It does not reveal the route between them. A runner who completes a 400 m lap finishes at the starting position. The total distance is 400 m, but the net displacement is 0 m.
Displacement Formulas Supported by This Tool
Select the formula that matches the information you know. Do not mix values from different intervals or reference frames.
1. Initial and final position
This is the definition of one-dimensional displacement. Positions may use different length units because the calculator converts both to metres before subtraction.
2. Signed motion legs
Distance = Σ|Δxi|
The tool adds each directed leg to find net displacement and adds each magnitude to find path distance. Four legs are available. A closed route may have zero displacement while retaining a positive distance.
3. Average velocity and elapsed time
This relationship follows from the definition of average velocity, vavg = Δx / Δt. Enter velocity, not speed. A negative average velocity produces negative displacement. The method does not require constant instantaneous velocity, but the entered average must describe the full interval.
4. Endpoint velocity, constant acceleration and time
Final velocity known: Δx = vft − ½at2
Use these kinematic equations only when acceleration remains constant. Select which endpoint velocity you know. The calculator derives the other velocity from vf = vi + at. If velocity crosses zero inside the interval, it reports the turning time and path distance implied by the model.
5. Initial velocity, final velocity and time
Under constant acceleration, velocity changes linearly, so the mean of the endpoint velocities equals the average velocity. The calculator derives acceleration as (vf − vi) / t.
6. Initial velocity, final velocity and acceleration
This time-free equation also assumes constant acceleration. Acceleration must be nonzero. The implied elapsed time, (vf − vi) / a, must be positive. Otherwise, the signed inputs do not describe a forward-time interval.
Worked Displacement Examples
Example 1: Position changes from 12 m to −8 m
Let the positive axis point right. The initial position is 12 m and the final position is −8 m.
The signed displacement is −20 m. Its magnitude is 20 m, and its direction is left, the selected negative direction. The endpoints alone do not tell us the total distance travelled.
Example 2: Out-and-back route
A walker moves 100 m east and then 100 m west. Define east as positive. The signed legs are +100 m and −100 m.
Distance = 100 + 100 = 200 m
The walker moved 200 m along the path but returned to the starting position. The net displacement is zero and therefore has no direction.
Example 3: Average velocity
A vehicle has an average velocity of 72 km/h for 30 s along the positive axis. First convert 72 km/h to 20 m/s.
The positive displacement is 600 m. If 72 km/h were only the vehicle’s average speed, direction would still be missing and displacement could not be determined.
Example 4: Constant acceleration without reversal
An object starts at +5 m/s, accelerates at +2 m/s2 for 4 s, and moves on one axis.
vf = 5 + 2(4) = +13 m/s
Velocity stays positive, so path distance and displacement magnitude are both 36 m.
Example 5: Direction reversal under constant acceleration
An object begins at +10 m/s and has constant acceleration of −2 m/s2 for 10 s.
It reaches zero velocity after 5 s, 25 m from its starting point, then travels back 25 m. Net displacement is 0 m, but the modelled path distance is 50 m. This is why displacement magnitude and total distance are not interchangeable.
Distance vs Displacement
Distance is the total length of a path. It is a scalar and cannot be negative. Displacement describes the direct change from initial position to final position. In one dimension, its sign identifies axis direction.
- Same straight direction: distance equals displacement magnitude when the object never reverses.
- Direction reversal: distance becomes greater than displacement magnitude because some motion cancels in the signed total.
- Closed route: displacement is zero when the endpoint equals the start, even though distance is positive.
- Endpoints only: initial and final position determine displacement, but they cannot determine path distance.
The motion-leg method calculates both values because each directed leg is known. The constant-acceleration methods also estimate path distance when their linear-velocity model detects a single reversal. Position and average-velocity methods do not invent a route that the inputs do not describe.
Positive, Negative and Zero Displacement
A displacement sign is meaningful only after you define an axis. You might choose east, north, right or up as positive. The opposite direction then becomes negative. A different valid axis can reverse the sign without changing the physical motion.
Positive displacement means the final position lies along the positive axis from the initial position. Negative displacement means it lies along the negative axis. Zero displacement means the initial and final positions match. A zero vector has zero magnitude and no direction.
Do not remove a negative sign merely because a length is usually positive. Coordinate positions, velocity, acceleration and one-dimensional displacement are signed quantities. Their magnitudes are non-negative, but their components may be negative.
Negative acceleration does not automatically mean an object is slowing down. Speed decreases when velocity and acceleration have opposite signs. Speed increases when they have the same sign. A reversal occurs when velocity passes through zero during the chosen interval.
Displacement Units and Conversions
The SI unit of displacement is the metre. Any valid length unit can describe displacement. This calculator converts all inputs to metres, performs the signed calculation, then converts the result to the selected display unit.
- 1 kilometre = 1,000 metres
- 1 centimetre = 0.01 metre
- 1 inch = exactly 0.0254 metre
- 1 foot = exactly 0.3048 metre
- 1 yard = exactly 0.9144 metre
- 1 international mile = exactly 1,609.344 metres
- 1 international nautical mile = exactly 1,852 metres
Velocity inputs support m/s, cm/s, km/h, ft/s, mph and knots. Acceleration inputs support m/s2, ft/s2, standard gravity, km/h per second and mph per second. One standard gravity is exactly 9.80665 m/s2.
Which Displacement Method Should You Use?
- Use initial and final position when both endpoint coordinates are known in one reference frame.
- Use signed motion legs for an out-and-back route or a textbook journey with known directed segments.
- Use average velocity and time when a signed whole-interval average velocity is given.
- Use endpoint velocity, acceleration and time when either the initial or final velocity is known under constant acceleration.
- Use initial velocity, final velocity and time when both endpoint velocities and elapsed time are known.
- Use the no-time method only when both signed velocities and a nonzero constant acceleration are known.
For a two-dimensional or three-dimensional coordinate separation, use the Distance Formula Calculator. It handles coordinate differences and straight-line magnitude. This page focuses on signed one-dimensional motion, where direction can be shown directly with a positive or negative result.
Common Displacement Calculation Mistakes
- Subtracting in the wrong order. Displacement is final position minus initial position.
- Using speed instead of velocity. Speed has no direction, so it cannot supply a signed displacement by itself.
- Adding route lengths without signs. That finds distance, not net displacement.
- Mixing origins or reference frames. Endpoint coordinates must describe the same axis and origin.
- Mixing units before calculating. Convert both values or let the calculator normalize them.
- Using a non-positive elapsed time. Velocity-based formulas require a time interval greater than zero.
- Applying constant-acceleration equations to variable acceleration. Use calculus or measured data when acceleration changes materially.
- Rounding intermediate values. Keep full conversion precision and round only the final reported result.
Accuracy, Rounding and Calculator Limits
Numeric fields accept trimmed decimals and scientific notation. They reject commas, fractions, unit text, partial exponents, non-finite values and magnitudes outside the supported range. After conversion to SI units, a nonzero input must have a magnitude of at least 2.2250738585072014 × 10−308. This excludes subnormal inputs whose relative precision is not dependable. Only fields in the active method are validated. Any edit clears the previous result, conversion table, calculation steps and copied data.
The page uses officially defined conversion factors where available and retains JavaScript Number precision until display. JavaScript Number arithmetic carries about 15 to 17 significant decimal digits. Tiny valid nonzero results use scientific notation instead of collapsing to zero. If a derived supporting value, such as acceleration, is beyond the numeric range while the primary displacement remains finite, the calculator labels that supporting value instead of discarding the result. A non-finite or out-of-range primary calculation is reported as an error.
The constant-acceleration model describes one-dimensional translational motion with constant acceleration. It does not integrate a time-varying acceleration function, model a curved path, calculate projectile trajectory, handle latitude and longitude, or account for relativistic effects. The route-leg method assumes each leg lies on the same straight axis.
Measurement uncertainty still matters. Coordinate accuracy, sensor calibration, timing resolution, reference-frame motion and rounding may affect a real result. Match the displayed significant digits to the least precise measured input.
Related Calculators
Browse the Science & Engineering Calculators directory for more motion, mechanics and measurement tools.
Displacement Calculator FAQs
What is displacement?
Displacement is the vector change from initial position to final position. In one dimension, it is final position minus initial position, with the sign showing direction along a defined axis.
What is the difference between distance and displacement?
Distance is the non-negative length of the path travelled. Displacement is the signed change between the two endpoints. A round trip has positive distance but zero net displacement.
Can displacement be negative?
Yes. A negative displacement points opposite the chosen positive axis. Its magnitude is the absolute value, so a displacement of −20 m has a magnitude of 20 m.
Can displacement be zero after an object moves?
Yes. Displacement is zero whenever the final position equals the initial position. The object may still have travelled a positive distance along an out-and-back or closed route.
How do I calculate displacement from two positions?
Subtract the initial position from the final position after converting both to the same unit. For example, 3 m to 11 m gives 11 − 3 = +8 m.
How do I calculate displacement from velocity and time?
Multiply signed average velocity by positive elapsed time. A velocity of −5 m/s over 12 s gives −60 m. Speed alone is insufficient because it has no direction.
Which constant-acceleration displacement formula should I use?
Use initial velocity times time plus one-half acceleration times time squared when initial velocity is known. Subtract the same acceleration term from final velocity times time when final velocity is known. Use mean endpoint velocity times time when both velocities are known, or the velocity-squared formula when time is unknown.
Why must I enter velocity rather than speed?
Velocity carries a sign or direction, while speed is only a non-negative magnitude. Displacement is directional, so the calculation needs signed velocity to preserve the correct result.
What does a zero displacement direction mean?
A zero displacement vector has no direction because its magnitude is zero. The object ends at its starting position for the chosen interval, even if it moved along a longer path.
When are the constant-acceleration equations invalid?
They are unsuitable when acceleration changes materially during the interval, motion curves into another dimension, the reference frame changes, or the entered velocities and acceleration imply a non-positive elapsed time.
Method References
- OpenStax University Physics, Position, Displacement and Average Velocity, endpoint definition, signs, reference frames and average velocity.
- OpenStax Physics, Relative Motion, Distance and Displacement, distance-versus-displacement examples and SI length units.
- OpenStax University Physics, Motion with Constant Acceleration, the three supported kinematic displacement equations.
- BIPM SI Brochure, 9th edition, metre, second, SI derived units and accepted non-SI units.
- NIST Guide to the SI, Appendix B.9, exact conversion factors for inch, international foot, yard, international mile, nautical mile and standard gravity.
Disclaimer: This calculator provides educational and preliminary planning results from user-entered values. Verify the reference frame, signs, units, measurements, uncertainty and motion assumptions before using a result for laboratory, vehicle, navigation, machinery, safety-critical or professional engineering work.