Vector Calculator

Dot product, cross product, magnitudes, angle and projection between two 2D or 3D vectors.

Results

u · v—
u × v—
|u|—
|v|—
Angle—
Projection of u on v—

How to use the Vector Calculator

  1. Enter or select: Vector u, Vector v.
  2. The results (u · v, u × v, |u|, |v|, Angle, Projection of u on v) are calculated instantly as you type.
  3. Use “Copy link” to share the calculation with the same input values.

Formula

  • u·v = Σ uᵢvᵢ
  • cos θ = u·v / (|u||v|)