Loading…

Dot Product Calculator

Math Linear Algebra • Vectors and Basic Operations

View all topics

Compute the dot product \(\mathbf{A}\cdot\mathbf{B}=\sum_i a_i b_i\), the angle \(\theta=\cos^{-1}\!\left(\frac{\mathbf{A}\cdot\mathbf{B}}{\lVert\mathbf{A}\rVert\lVert\mathbf{B}\rVert}\right)\), orthogonality, and the projection of \(\mathbf{A}\) onto \(\mathbf{B}\).

Accepted formats: 1,2,3, [1 2 3], (1; 2; 3). Dimension \(n\) is inferred from the number of components (A and B must match).

Ready
Angle + projection visualization
2D: drag to pan, wheel to zoom. 3D: drag to rotate, Shift+drag to pan, wheel to zoom. “Play” rotates \(\mathbf{B}\) once (one full turn) and stops automatically.
\(\mathbf{A}\) \(\mathbf{B}\) \(\mathrm{proj}_{\mathbf{B}}(\mathbf{A})\) (dashed) angle arc
Enter vectors and click “Calculate”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.