Handitab

Vector Calculator

Calculate the sum, difference, dot product, cross product, magnitudes, angle, and projection of two vectors in 2D or 3D.

About Vector Calculator

A vector is a quantity with magnitude and direction, written as a list of components. This calculator adds and subtracts two vectors component by component, finds the dot product (the sum of the products of matching components), and for 3D vectors the cross product, which is perpendicular to both. The magnitude is the square root of the sum of squared components, and the angle comes from cos θ = A·B ÷ (|A| |B|).

How to use Vector Calculator

  1. Fill in "Vector A" and "Vector B".
  2. The result appears below and updates as you type.
  3. Copy the result with the copy button, or download it as a file where that is offered.

Questions about Vector Calculator

What does a dot product of zero mean?

The two vectors are perpendicular. The dot product equals |A| |B| cos θ, and cos 90° is zero. A positive value means the angle between them is under 90°, and a negative value means it is over 90°.

Runs in your browser. Page last updated .

More math calculators

All 36 math calculators