Home / Mathematics Tools / Vector Calculator

Vector Calculator

Calculate magnitude, direction, and vector operations.

Vector A (x, y)
x
y
Vector B (x, y)
x
y
Reset Calculator
Vector Properties
|A| Magnitude
0.00
|B| Magnitude
0.00
Angle A (deg)
Angle B (deg)
Operations
Addition (A + B)
(0, 0)
Subtraction (A - B)
(0, 0)
Dot Product (A · B)
0.00

Vector Formulas

Magnitude

The length of the vector calculated using the Pythagorean theorem.

|v| = √(x² + y²)

Direction

The angle the vector makes with the positive x-axis.

θ = atan2(y, x)

Addition

Add corresponding x and y components.

(x₁ + x₂, y₁ + y₂)

Dot Product

The product of vector magnitudes and the cosine of the angle between them.

x₁x₂ + y₁y₂