General

➡️ Vector Calculator

Calculate 2D vector magnitude, sum, difference, dot product, and angle between vectors.

What is a Vector Calculator?

This calculator computes vector addition, subtraction, dot product, cross product, and magnitude.

How it's calculated

Magnitude |v| = √(x² + y² + z²)
Dot product a·b = |a||b|cosθ (result: scalar)
Cross product a×b (result: vector)

Step-by-step example

Dot product of vectors a=(3,4) and b=(1,2)

Interpretation: Since the dot product is positive, the angle between the vectors is less than 90°.

Scalars vs. vectors

A scalar has only magnitude; a vector has both magnitude and direction. 'Traveling 60 km/h' is a scalar (speed), but 'traveling 60 km/h north' is a vector (velocity). This distinction matters in physics because direction changes the outcome entirely — two equal forces pointing the same way add up, but pointing opposite ways cancel out completely.

Good to know

Frequently asked questions

Q. What's the difference between dot and cross product results?

Dot product gives a number (scalar); cross product gives a vector. Cross product is only defined in 3D.

Q. What does a dot product of zero mean?

The two vectors are perpendicular to each other.

Q. What is a unit vector?

A vector with magnitude 1, representing pure direction. Divide any vector by its own magnitude to get one.