Resultant Velocity Calculator

Add two velocity vectors to find the resultant speed and direction, or work out how a boat crossing a river drifts, how long it takes and where to aim.

➕ Resultant Velocity Calculator
Speed unit (typed values are not converted)
Angle convention
Velocity 1: speed
speed
0100
Velocity 1: direction angle
°
0360
Velocity 2: speed
speed
0100
Velocity 2: direction angle
°
0360
Boat speed relative to the water
speed
050
River current speed
speed
050
Heading from the downstream bank (90 = straight across)
°
1179
River width
m
11000
Resultant speed |R|
—
Component Rx (east)
—
Component Ry (north)
—
Direction (math angle)
—
Direction (compass bearing)
—
Angle between vectors
—
Special case
—
Check value
—

Vector triangle: v1 (blue) and v2 (orange) placed head to tail, with the resultant R (green) drawn from the start to the end.

Crossing time
—
Crossing time (minutes)
—
Downstream velocity
—
Across velocity
—
Ground speed (resultant)
—
Track angle from the bank
—
Downstream drift
—
Path length over ground
—
Heading to land straight across
—
Upstream lean needed
—
Straight-across crossing time
—
Straight-across speed
—

Vector triangle: the boat velocity (blue) plus the current (orange) gives the ground velocity (green), shown from the near bank.

➕ What is Resultant Velocity?

Resultant velocity is the single velocity vector you get when two or more velocities act on the same object at once. Velocity has both a size (speed) and a direction, so it is added the way all vectors are added: place the vectors head to tail and draw the arrow from the first tail to the last head, or equivalently add the x components and the y components separately. A boat that points across a river is moving relative to the water, and the water is moving relative to the bank, so the boat's velocity relative to the bank is the vector sum of the two. The same idea describes an aircraft in a crosswind, a swimmer in a current, a walker on a moving walkway and a person running along the deck of a moving train.

This calculator has two modes. The first adds any two velocities that you give as a speed and a direction angle, and reports the resultant components, speed, direction as a math angle and as a compass bearing, and a check on the special cases of parallel, antiparallel and perpendicular vectors. The second mode is the classic river problem: a boat with a given speed relative to the water, a given heading, a river current and a river width. It returns the ground velocity, the time to cross, the downstream drift and the heading that would take the boat straight across, or a clear message when the current is too strong for that.

A few points are easy to get wrong. Speeds never add arithmetically unless the vectors point the same way. The resultant is not the average of the two velocities. Time to cross a river depends only on the part of the boat's velocity that points across the river, so a faster current never makes the crossing slower or faster, it only moves where you land. And the direction you enter must be the direction each velocity points toward: aviation wind is quoted as the direction it comes from, so it must be reversed by 180 degrees before it is entered here. For the aviation wind triangle with true airspeed and a wind correction angle, use the ground speed calculator; for a single speed from distance and time, use the velocity calculator.

The page works in m/s, km/h, mph or knots, using 1 mph = 0.44704 m/s and 1 knot = 1852 / 3600 m/s. Each mode draws the vector triangle to scale and a chart: the resultant speed against the angle between the two vectors, and the downstream drift against the boat heading. The charts mark your current inputs so you can see how sensitive the answer is to the angle.

📐 Formula

Rx = v1 cos α1 + v2 cos α2    Ry = v1 sin α1 + v2 sin α2    |R| = √(Rx² + Ry²)
v1, v2 = the two speeds; α1, α2 = their direction angles as math angles, counterclockwise from the +x axis (east)
Direction: αR = atan2(Ry, Rx) wrapped to 0 to 360 degrees. Compass bearing = 90° − αR (and the bearing input is converted with math angle = 90° − bearing).
Cosine rule check: |R| = √(v1² + v2² + 2 v1 v2 cos θ), where θ is the angle between the vectors. θ = 0° gives v1 + v2, θ = 180° gives |v1 − v2| and θ = 90° gives √(v1² + v2²).
River mode: with heading φ measured from the downstream bank, vx = vr + vb cos φ and vy = vb sin φ. Crossing time t = w / (vb sin φ) and drift d = (vr + vb cos φ) t, where w is the river width, vb the boat speed relative to the water and vr the current.
Straight across: if vr < vb, head upstream of the perpendicular by asin(vr / vb), so φ = 90° + asin(vr / vb). The speed across is √(vb² − vr²) and t = w / √(vb² − vr²). If vr ≥ vb it is not possible.
Example: 3 m/s east and 4 m/s north give Rx = 3, Ry = 4 and |R| = 5 m/s at 53.13°.

📖 How to Use This Calculator

Steps

1
Choose a mode and unit. Pick Add two velocities or River crossing, then choose m/s, km/h, mph or knots. Changing the unit does not convert the numbers you typed, it only relabels them.
2
Enter the velocities. For vector addition type each speed and its direction angle, and select whether the angles are math angles or compass bearings. For the river mode type the boat speed, current speed, heading from the downstream bank and river width in metres.
3
Read the resultant and the check. The results give the resultant speed, components and direction, or the crossing time, drift and straight-across heading. The triangle diagram and the chart update with your inputs, and the dashed guide on the chart marks your current angle.

💡 Example Calculations

Example 1 — Two Perpendicular Velocities

3 m/s east (0°) plus 4 m/s north (90°), math angles

1
Rx = 3 cos 0° + 4 cos 90° = 3.000 m/s, Ry = 3 sin 0° + 4 sin 90° = 4.000 m/s
2
|R| = √(3² + 4²) = √25 = 5.000 m/s, the Pythagoras special case
3
Direction = atan2(4, 3) = 53.13° counterclockwise from east, which is a compass bearing of 36.87°
Resultant = 5.000 m/s at 53.13° (bearing 36.87°)
Try this example →

Example 2 — Airplane in a Crosswind

240 km/h airspeed heading east (bearing 90°), wind blowing toward bearing 150° at 40 km/h

1
Bearing components (east = speed × sin bearing, north = speed × cos bearing): the plane gives 240.000 east and 0 north, the wind gives 20.000 east and −34.641 north, so Rx = 260.000 km/h and Ry = −34.641 km/h
2
|R| = √(260.000² + 34.641²) = √68,800 = 262.298 km/h, found with the cosine rule at θ = 60°
3
Math angle = atan2(−34.641, 260) = 352.41°, so the compass bearing is 97.59°: the plane drifts about 7.6° south of east
Ground velocity = 262.30 km/h on a track of bearing 97.59°
Try this example →

Example 3 — A Swimmer in a River

Swimmer at 1.2 m/s heading straight across a 50 m river with a 0.5 m/s current

1
Heading 90° gives vx = 0.5 + 1.2 cos 90° = 0.500 m/s downstream and vy = 1.2 sin 90° = 1.200 m/s across
2
t = 50 / 1.200 = 41.67 s, so drift = 0.500 × 41.67 = 20.83 m downstream. Ground speed = √(0.5² + 1.2²) = 1.300 m/s at 67.38° to the bank
3
To land directly opposite the swimmer must lean asin(0.5 / 1.2) = 24.62° upstream (heading 114.62°), crossing at √(1.2² − 0.5²) = 1.091 m/s in 45.83 s
Crossing = 41.67 s, drifting 20.83 m downstream
Try this example →

Example 4 — A Boat Across a Current

Boat at 5 m/s heading straight across a 200 m river with a 3 m/s current

1
vx = 3.000 m/s downstream, vy = 5.000 m/s across, so t = 200 / 5 = 40.00 s
2
Drift = 3 × 40 = 120.00 m. Ground speed = √(3² + 5²) = 5.831 m/s at 59.04° to the bank, covering a path of 233.24 m
3
To land straight across the pilot leans asin(3 / 5) = 36.87° upstream (heading 126.87°), crossing at √(25 − 9) = 4 m/s in 50.00 s
Crossing = 40.00 s, drift = 120.00 m, ground speed = 5.831 m/s
Try this example →

Example 5 — Opposite Velocities

A boat making 8 m/s east against a 5 m/s flow toward the west, math angles

1
Rx = 8 cos 0° + 5 cos 180° = 8 − 5 = 3.000 m/s, Ry = 8 sin 0° + 5 sin 180° = 0.000 m/s
2
The angle between the vectors is 180°, the antiparallel special case, so |R| = |8 − 5| = 3.000 m/s, matching the components
Resultant = 3.000 m/s east (0°, bearing 90°)
Try this example →

Example 6 — Heading Upstream to Land Straight Across

The Example 4 boat (5 m/s, 3 m/s current, 200 m) aimed at 126.87° from the downstream bank

1
vx = 3 + 5 cos 126.87° = 0.000 m/s (the current is cancelled) and vy = 5 sin 126.87° = 4.000 m/s
2
t = 200 / 4 = 50.00 s, drift = 0.00 m and the track is 90.00° to the bank
Lands directly opposite after 50.00 s, 10 s slower than heading straight across
Try this example →

❓ Frequently Asked Questions

How do you find the resultant of two velocities?+
Resolve each velocity into x and y components, add the components, then rebuild the result. Rx = v1 cos a1 + v2 cos a2 and Ry = v1 sin a1 + v2 sin a2. The resultant speed is the square root of Rx squared plus Ry squared, and the direction is atan2(Ry, Rx).
What is the resultant velocity of two perpendicular velocities?+
Use Pythagoras: |R| = sqrt(v1 squared + v2 squared). For 3 m/s and 4 m/s at right angles the resultant is 5 m/s, pointing at atan(4/3) = 53.13 degrees from the 3 m/s direction toward the 4 m/s direction.
What is the resultant of two velocities in the same or opposite direction?+
In the same direction the speeds add: 10 m/s plus 10 m/s gives 20 m/s. In opposite directions they subtract: 8 m/s east and 5 m/s west give 3 m/s east. The calculator labels these special cases and checks them against the cosine rule.
What is the cosine rule for adding two velocities?+
If theta is the angle between the two velocity vectors, |R| = sqrt(v1 squared + v2 squared + 2 v1 v2 cos theta). It gives 0 degrees as v1 + v2, 90 degrees as Pythagoras and 180 degrees as the difference of the speeds.
How do I convert a compass bearing to a math angle?+
Math angle = 90 degrees minus the bearing, wrapped into 0 to 360. North (bearing 0) is 90 degrees, east (bearing 90) is 0 degrees and south (bearing 180) is 270 degrees. The calculator shows the answer both ways.
How long does it take a boat to cross a river?+
Only the component of the boat velocity across the river matters. With heading measured from the bank, t = w / (vb sin heading). A 200 m wide river and a 5 m/s boat heading straight across takes 40 s, whatever the current is.
How far does the current carry a boat downstream?+
Drift d = (vr + vb cos heading) times t. For a 5 m/s boat heading straight across a 3 m/s current, 200 m wide, d = 3 x 40 = 120 m. The current only changes where you land, never how long the crossing takes.
At what angle should a boat head to cross a river straight across?+
Aim upstream of the opposite point by asin(vr / vb) so the upstream part of the boat velocity cancels the current. With vb = 5 m/s and vr = 3 m/s that is 36.87 degrees, and the crossing then takes w / sqrt(vb squared minus vr squared).
What if the river current is faster than the boat?+
If vr is at least vb, no heading cancels the current, so you cannot land directly opposite. The calculator reports that straight crossing is not possible. You will always be carried downstream, though you can still reach the far bank by heading across.
How is this different from the ground speed calculator?+
The ground speed calculator works the aviation wind triangle with a wind coming FROM a direction and gives a wind correction angle. This one adds any two velocity vectors toward their stated directions, and adds a river crossing mode with drift and crossing time.
Is the resultant velocity the same as the average velocity?+
No. Resultant velocity is the vector sum of velocities acting at the same moment, such as boat and current. Average velocity is total displacement divided by elapsed time for one motion. The two are different quantities, even though both are vectors.
Can the resultant be smaller than both of the original speeds?+
Yes. When the angle between the vectors is greater than 90 degrees the vectors partly cancel. Two 10 m/s velocities 120 degrees apart give a resultant of exactly 10 m/s, and two 10 m/s velocities at 180 degrees give zero.

How do you find the resultant of two velocities?

Resolve each velocity into x and y components, add the components, then rebuild the result. Rx = v1 cos a1 + v2 cos a2 and Ry = v1 sin a1 + v2 sin a2. The resultant speed is the square root of Rx squared plus Ry squared, and the direction is atan2(Ry, Rx).

What is the resultant velocity of two perpendicular velocities?

Use Pythagoras: |R| = sqrt(v1 squared + v2 squared). For 3 m/s and 4 m/s at right angles the resultant is 5 m/s, pointing at atan(4/3) = 53.13 degrees from the 3 m/s direction toward the 4 m/s direction.

What is the resultant of two velocities in the same or opposite direction?

In the same direction the speeds add: 10 m/s plus 10 m/s gives 20 m/s. In opposite directions they subtract: 8 m/s east and 5 m/s west give 3 m/s east. The calculator labels these special cases and checks them against the cosine rule.

What is the cosine rule for adding two velocities?

If theta is the angle between the two velocity vectors, |R| = sqrt(v1 squared + v2 squared + 2 v1 v2 cos theta). It gives 0 degrees as v1 + v2, 90 degrees as Pythagoras and 180 degrees as the difference of the speeds.

How do I convert a compass bearing to a math angle?

Math angle = 90 degrees minus the bearing, wrapped into 0 to 360. North (bearing 0) is 90 degrees, east (bearing 90) is 0 degrees and south (bearing 180) is 270 degrees. The calculator shows the answer both ways.

How long does it take a boat to cross a river?

Only the component of the boat velocity across the river matters. With heading measured from the bank, t = w / (vb sin heading). A 200 m wide river and a 5 m/s boat heading straight across takes 40 s, whatever the current is.

How far does the current carry a boat downstream?

Drift d = (vr + vb cos heading) times t. For a 5 m/s boat heading straight across a 3 m/s current, 200 m wide, d = 3 x 40 = 120 m. The current only changes where you land, never how long the crossing takes.

At what angle should a boat head to cross a river straight across?

Aim upstream of the opposite point by asin(vr / vb) so the upstream part of the boat velocity cancels the current. With vb = 5 m/s and vr = 3 m/s that is 36.87 degrees, and the crossing then takes w / sqrt(vb squared minus vr squared).

What if the river current is faster than the boat?

If vr is at least vb, no heading cancels the current, so you cannot land directly opposite. The calculator reports that straight crossing is not possible. You will always be carried downstream, though you can still reach the far bank by heading across.

How is this different from the ground speed calculator?

The ground speed calculator works the aviation wind triangle with a wind coming FROM a direction and gives a wind correction angle. This one adds any two velocity vectors toward their stated directions, and adds a river crossing mode with drift and crossing time.