Find the magnitude of velocity from its x and y (or x, y, z) components, or the magnitude of average velocity from displacement and time.

Output units

Calculator Functions

FunctionWhat it doesWhat it requires
2D magnitude and directionFinds the size and direction of a velocity from its two componentsRequires the x and y velocity components
Average velocity from displacement and timeFinds the magnitude of average velocity from a change in positionRequires the x displacement and the elapsed time, plus the y displacement for motion off a single line
X component from magnitude and YFinds the missing x component of a velocityRequires the velocity magnitude, the y component and the sign of the root
Y component from magnitude and XFinds the missing y component of a velocityRequires the velocity magnitude, the x component and the sign of the root
Components from magnitude and angleSplits a velocity into its x and y componentsRequires the velocity magnitude and its angle from the +x axis
3D magnitudeFinds the size of a velocity that has three componentsRequires the x, y and z velocity components
Average speed from distance and timeFinds average speed along a pathRequires the total distance and the elapsed time

Velocities can be entered in m/s, km/h, mph or ft/s, distances in m, km, mi, ft or yd, and times in seconds, minutes or hours. The optional output settings choose the unit of each result. Conversions use 1 km/h = 1 ÷ 3.6 m/s, 1 mph = 0.44704 m/s and 1 ft/s = 0.3048 m/s [2].

Magnitude of Velocity Formulas

|v| = √(vx² + vy²) [1]
|v|Magnitude of the velocity, which is the speed
vxVelocity component along the x axis
vyVelocity component along the y axis

Velocity has a size and a direction. Its magnitude is the size alone, and that is what physics calls speed [1]. All components must be in the same unit, and the answer comes out in that unit.

2D magnitude and direction

θ = atan2(vy, vx)

θ is the direction, measured counterclockwise from the +x axis and reported from 0° to 360°. Components of 30 m/s and 50 m/s give √(30² + 50²) = 58.3095 m/s at 59.04°. A velocity of zero has no direction.

Average velocity from displacement and time

|vavg| = √(Δx² + Δy²) ÷ Δt [3]

The average velocity is the change in position divided by the time it took [3], so its magnitude is the straight-line distance between start and end divided by the elapsed time. Moving 300 m along x and 400 m along y in 100 s is a displacement of 500 m, and the magnitude of the average velocity is 5 m/s. The route taken between the two points does not matter.

X component from magnitude and Y

vx = ±√(|v|² − vy²)

A velocity of 50 m/s with a y component of 30 m/s has an x component of 40 m/s or −40 m/s. Both satisfy the formula, so the component sign setting picks one.

Y component from magnitude and X

vy = ±√(|v|² − vx²)

A velocity of 13 m/s with an x component of 5 m/s has a y component of 12 m/s or −12 m/s.

Components from magnitude and angle

vx = |v| × cos θ
vy = |v| × sin θ

A velocity of 20 m/s at 30° above the +x axis has vx = 17.3205 m/s and vy = 10 m/s. The angle can be in degrees or radians.

3D magnitude

|v| = √(vx² + vy² + vz²) [1]

Components of 2, 3 and 6 m/s give √(4 + 9 + 36) = 7 m/s.

Average speed from distance and time

speed = d ÷ t

d is the total distance covered along the path. One 400 m lap of a track in 50 s is an average speed of 8 m/s, even though the runner ends where they started and the average velocity for the lap is zero. The two only agree for travel in a straight line without turning back.

How to Find the Magnitude of Velocity

Square each velocity component, add the squares and take the square root of the total. For components of 3 m/s and 4 m/s that is √(9 + 16) = 5 m/s. When the motion is described by positions instead of components, first find the displacement between the start and end points, then divide its length by the elapsed time to get the magnitude of the average velocity.

Limits of This Estimate

  • A magnitude and one component fix the other component only up to its sign. The known component can never be larger than the magnitude.
  • Average speed and the magnitude of average velocity are different quantities whenever the path bends or reverses.
  • The component formulas assume x, y and z axes at right angles to each other.

Sources

  1. Feynman, Leighton and Sands, The Feynman Lectures on Physics, Volume I, Chapter 9, Sections 9-2 and 9-3: speed as the magnitude of velocity, and the square-root formula for it
  2. NIST Special Publication 811, Appendix B.8: speed unit conversion factors
  3. Feynman, Leighton and Sands, The Feynman Lectures on Physics, Volume I, Chapter 11, Section 11-5: average velocity as displacement divided by the time interval