Displacement is calculated by finding the difference between the initial and final positions of an object. It is a vector quantity, meaning it has both magnitude and direction. The formula for displacement is:
[ \text{Displacement} = \text{Final Position} - \text{Initial Position} ]
This can be expressed in a straight line or in a multi-dimensional space, depending on the context of the movement.