Skip to main content

Relative Velocity Calculator

Calculate relative velocity in 1D and 2D, solve riverboat and airplane wind problems, and visualize motion from the ground frame or moving observer frame.

Background

Relative velocity describes how fast one object appears to move from another object's point of view. The key idea is frame of reference: the same motion can look different from the ground, from a moving car, from a boat in a river, or from an airplane moving through wind.

Calculate relative velocity

Choose problem type

Start with 1D for cars, trains, or moving walkways. Use riverboat or airplane mode for classic 2D vector problems.

Frame and unit settings

The animation changes to show what motion looks like from each frame.

Solve mode

Use normal mode to calculate vA/B. In 1D and 2D modes, you can also solve for a missing A velocity, B velocity, or relative velocity.

For riverboat and airplane modes, normal vector-sum mode is used.

1D relative motion

Positive direction is to the right. Use the solve mode above to calculate a missing value when needed.

Used only when solving for vA or vB.

Used to estimate meet/pass/overtake time.

Used to show displacement over time.

Riverboat problem

Boat velocity is usually relative to the water. River current is relative to the ground. Their vector sum gives ground velocity.

Use 90° for straight across the river in math angle mode.

Used for time to cross and downstream drift.

Airplane + wind problem

Airspeed is the plane's velocity relative to the air. Wind is the air's velocity relative to the ground. Their vector sum gives ground velocity.

Used to estimate required heading to stay on course.

2D vector relative velocity

Enter components for any two known vectors. The solve mode can find vA/B, vA, or vB.

Animation controls

Supported formats

30-122.51D signsx/y componentsangles in degreesriver currentwind vector
  • Use negative values in 1D when an object moves opposite the positive direction.
  • For vector modes, angles are measured from the +x axis unless compass bearing mode is selected.
  • Relative velocity is about viewpoint: vA/B means “velocity of A as seen by B.”
  • The animation is scaled for learning, so it shows direction and relative motion rather than exact screen distance.

Display options

Result

No result yet. Enter motion values or choose a quick example, then click Calculate Relative Velocity.

How to use this calculator

  • Choose a problem mode: 1D motion, riverboat, airplane and wind, or 2D vector relative velocity.
  • Enter the velocities, directions, or vector components requested by that mode.
  • Use solve mode to calculate a missing velocity in 1D or 2D vector problems.
  • Choose the frame view: ground frame or moving observer frame.
  • Click Calculate Relative Velocity.
  • Use the animation and vector breakdown to understand what changes when the observer is moving.

How this calculator works

  • The calculator converts all speeds to a common internal unit.
  • For 1D motion, it subtracts the observer velocity from the object velocity.
  • For 2D motion, it subtracts x-components and y-components separately.
  • For riverboat problems, it adds boat velocity relative to water and river current relative to ground.
  • For airplane problems, it adds airspeed and wind velocity to get ground velocity.
  • It reports magnitude, direction angle, components, special outputs, and a student-friendly interpretation.

Formula & Equations Used

Relative velocity: vA/B = vA − vB

Solve for A: vA = vA/B + vB

Solve for B: vB = vA − vA/B

2D components: vA/B,x = vA,x − vB,x, vA/B,y = vA,y − vB,y

Magnitude: |v| = √(vx2 + vy2)

Direction angle: θ = atan2(vy, vx)

Riverboat ground velocity: vboat/ground = vboat/water + vwater/ground

Airplane ground velocity: vplane/ground = vplane/air + vair/ground

Example Problems & Step-by-Step Solutions

Example 1: Two cars moving in the same direction

Car A moves at 30 m/s and car B moves at 20 m/s in the same direction.

The relative velocity of A as seen by B is vA/B = 30 − 20 = 10 m/s.

So from car B, car A appears to move forward at 10 m/s.

Example 2: Boat crossing a river

A boat moves across the river while the river current flows downstream.

The boat's velocity relative to water and the river current are added as vectors.

If river width is given, the calculator also estimates crossing time and downstream drift.

Example 3: Plane flying through wind

An airplane's airspeed tells how fast it moves relative to the air, not the ground.

To find ground velocity, add the wind vector to the plane's airspeed vector.

The calculator can also estimate the heading needed to maintain a desired course.

Common mistakes to avoid

  • Do not forget the order: vA/B means velocity of A relative to B, so subtract B from A.
  • Do not add magnitudes when the velocities point in different directions. Add or subtract vector components.
  • In riverboat problems, do not confuse velocity relative to water with velocity relative to ground.
  • In airplane problems, do not confuse heading, airspeed, wind, and ground velocity.
  • Watch signs in 1D motion. Opposite directions should use opposite signs.

Frequently Asked Questions

What is relative velocity?

Relative velocity is the velocity of one object as measured from another object's frame of reference.

Why do we subtract velocities?

Changing to a moving observer's frame means removing the observer's own velocity. That is why vA/B = vA − vB.

How do riverboat problems use relative velocity?

The boat's velocity relative to water combines with the water's velocity relative to ground. The vector sum gives the boat's velocity relative to ground.

How does wind affect airplane velocity?

The plane's airspeed is relative to the air. Wind is the air's motion relative to the ground, so the ground velocity is the vector sum of airspeed and wind.

Function Analyzer Calculator
Analyze functions with graphs, derivatives, extrema, limits, asymptotes, and step-by-step explanations
Equation Solver
Solve algebra equations step by step with checks, visuals, and multiple equation types
SUVAT Calculator
Solve constant-acceleration motion using SUVAT equations
Law of Cosines Calculator
Solve triangles using Law of Cosines for SAS and SSS cases
Dot Product Calculator
Calculate dot product, angle, orthogonality, and vector projections
Trigonometry Calculator
Calculate trig values and solve right triangles in degrees or radians
Law of Sines Calculator
Solve triangles using Law of Sines, including SSA ambiguous cases
Simplify Expression Calculator
Simplify, expand, factor, and reduce algebraic expressions step by step
Doppler Effect Calculator
Calculate Doppler-shifted frequency for sound or redshift/blueshift for light
Pythagorean Theorem Calculator
Find hypotenuse, solve missing leg, or check if sides make right triangle
Graphing Calculator
Graph functions, compare equations, trace coordinates, and explore graph features step by step
Velocity Calculator
Calculate velocity using average, instantaneous, acceleration, and 2D vectors
Point-Slope Form Calculator
Build line equations from a point and slope with steps and graph
Unit Circle Calculator
Calculate sin, cos, tan, quadrant, reference angle, and unit circle coordinates
Acceleration Calculator
Calculate acceleration using velocity, time, force, and mass
Radians ↔ Degrees Converter
Convert angles between radians and degrees instantly
Slope / Slope-Intercept Calculator
Find slope, line equations, intercepts, and graph linear equations with steps
Momentum Calculator
Calculate momentum and impulse with unit conversion, vectors, and steps.
Distance Calculator
Calculate distance in 2D, 3D, point-to-line, speed/time, lat-long, or scaled grid modes
Vector Projection Calculator
Calculate scalar projection, vector projection, angle, and orthogonality of vectors
Projectile Motion Calculator
Calculate projectile motion: range, time of flight, max height, target solutions.
Cross Product Calculator
Compute 2D/3D cross products with steps, magnitude, area & visuals
Triangle Calculator
Solve right and any triangle (SSS, SAS, ASA, SSA). Find sides, angles, area, perimeter
Right Triangle Calculator
Solve right triangles: sides, angles, area, perimeter, steps, visual
Vector Calculator
Calculate vector operations with steps and visual diagrams
All Calculators & ConvertersAll calculators