Vector Calculator

Dot product, cross product, magnitude and angle between vectors.

Dot product (A · B)
11
Cross product
(8, -6, 2)
|A|
5
|B|
3
Angle between
42.833°
A + B
(4, 6, 2)
Show the working
  1. 1A · B = 3×1 + 4×2 + 0×2 = 11
  2. 2|A| = 5, |B| = 3
Formula
A·B = Σaᵢbᵢ; |A×B| for the cross product

How it works

Dot product, cross product, magnitudes and the angle between two 3D vectors. Set z to 0 for 2D.

Example

(3,4,0) · (1,2,2) = 11, with an angle of about 56.9°.

About the Vector Calculator

Dot product, cross product, magnitude and angle between vectors. It sits in the Math & Algebra section of NWS Calc, a free collection of calculators that run entirely in your browser. There is no signup, no paywall and no tracking — open the page, enter your numbers, get an answer.

Frequently asked questions

Is the Vector Calculator free to use?
Yes. Every calculator on NWS Calc is completely free, with no signup, no usage limits and no ads.
Does my data leave my device?
No. The Vector Calculator runs entirely in your browser using JavaScript. Nothing you type is uploaded, logged or stored on a server.
Can I use the Vector Calculator on my phone?
Yes. The page is fully responsive and works in any modern mobile or desktop browser — there is nothing to install.
What else is in Math & Algebra?
Equations, fractions, primes, roots, sequences and number theory. You can browse the full Math & Algebra category for related calculators.

Related calculators