Direction of the Vector Calculator

Find the direction angle of a 2D vector.

Direction (°) 53.13
Magnitude 5

Formula: θ = atan2(y, x)

Step-by-step with your numbers:
1. Values used:
2. x component = 3
3. y component = 4
4.
5. Direction = 53.13°
6. Magnitude = 5
Did we solve your problem today?

The direction of a vector is the angle it makes with the positive x-axis.

The math behind it

θ = atan2(y, x), reported from 0° to 360° measured counter-clockwise from the positive x-axis.

Worked example

Vector (3, 4) → direction ≈ 53.13°, magnitude 5.

FAQ

Why use atan2 instead of atan?

atan2 uses both components to give the correct quadrant for the angle.