Vector Calculator
Add, subtract and scale vectors, with dot and cross products and angles.
Write 2 or 3 numbers, like (1, 2, 3).
Result
You entered
Decimal
Unit vector
Direction
Show the work
Magnitude of a vector
Here . Square each component, add the squares, then take the square root: this is the length of the arrow from the origin to the point.
Unit vector
Dividing a vector by its own length gives a vector of length 1 that points the same way. Here is that unit vector.
Reference angle
The reference angle is the acute angle the vector makes with the x-axis. It uses the sizes of the components only, so signs are dealt with in the next step.
Quadrant adjustment
Both components are positive, so the vector is in quadrant I and the angle is the reference angle, .
Result
So the magnitude is .
Worked examples
Vector addition, Result
Vector subtraction, Result
Scalar multiple of a vector, Result
Scalar multiple of a vector, Result
Magnitude of a vector, Unit vector
Dot product of two vectors, Result
Cross product as a determinant, Expand along the first row
Dot product of two vectors, Magnitude of the first vector