Relative Velocity Calculator

Enter the velocity components of Object A and Observer B to calculate the relative velocity between them. Choose between 1D (same-line) or 2D (vector components) mode — the calculator returns the relative velocity magnitude, direction angle, and X/Y components so you can see exactly how one object moves as perceived from the other's reference frame.

m/s

Velocity of Object A along the shared axis (positive = forward).

m/s

Velocity of Observer B along the same axis.

m/s

Horizontal velocity component of Object A.

m/s

Vertical velocity component of Object A.

m/s

Horizontal velocity component of Observer B.

m/s

Vertical velocity component of Observer B.

Results

Relative Speed

--

Relative Velocity X

--

Relative Velocity Y

--

Direction Angle

--

Object A Speed

--

Observer B Speed

--

Velocity Comparison (m/s)

Frequently Asked Questions

What is relative velocity?

Relative velocity is the velocity of one object as observed from another moving reference frame. Instead of measuring motion against a fixed point, it measures how fast and in what direction Object A appears to move from Object B's perspective. The formula is V_AB = V_A − V_B.

How does relative velocity differ from absolute velocity?

Absolute velocity is measured against a fixed, stationary reference frame (like the ground). Relative velocity is measured between two moving objects. For example, two cars both traveling at 60 km/h in the same direction have zero velocity relative to each other, even though both have a high absolute velocity.

Can relative velocity be negative?

Yes. In 1D problems, a negative relative velocity means Object A is moving backward relative to Observer B — i.e., the two objects are approaching each other or A is slower than B in the chosen positive direction. In 2D, individual X and Y components can be negative while the overall speed (magnitude) is always positive.

Why does relative velocity matter more than absolute velocity in collision avoidance?

Collision risk depends on how fast two objects are closing the gap between them, not their individual ground speeds. Two aircraft flying at 900 km/h toward each other have a relative closing speed of 1800 km/h — far more dangerous than either absolute speed suggests. Collision avoidance systems work entirely in relative velocity space.

How do I calculate 2D relative velocity?

Subtract Observer B's velocity components from Object A's velocity components: V_rel_x = V_ax − V_bx and V_rel_y = V_ay − V_by. The magnitude (speed) is then √(V_rel_x² + V_rel_y²) and the direction is arctan(V_rel_y / V_rel_x), adjusted for the correct quadrant.

What happens when both objects move at the same velocity?

If both objects have identical velocity vectors (same speed and direction), their relative velocity is zero. From each other's perspective, they appear stationary — like two cars in adjacent lanes at the same speed on a highway.

How is relative velocity applied in aviation and navigation?

Pilots and air traffic controllers use relative velocity to predict separation between aircraft, plan intercepts, and schedule arrivals. Ship navigators use it to determine collision risk and compute course corrections. GPS-based systems continuously recalculate relative velocities to trigger alerts when two objects are on a converging path.

What reference frame should I use when dealing with three or more moving objects?

Choose one object as your reference frame and compute the relative velocity of every other object with respect to it. You can switch reference frames as needed — just consistently subtract the chosen observer's velocity vector from each other object's velocity vector. The math is the same regardless of how many objects are involved.

More Physics Tools