Dot Product Calculator
Calculate the dot product of two vectors in 2D to 6D and see the component-by-component multiplication.
Dot product formula: a₁b₁ + a₂b₂ + ... + aₙbₙ
Vector A
Vector B
Result will appear here.
| Metric | Value |
|---|
Privacy: calculations run locally in your browser. No vector values are stored or transmitted.
How it works
Multiply each matching pair of components, then add all those products together.
Examples
- [1, 2, 3] · [4, 5, 6] = 32
- [1, 0] · [0, 1] = 0 (orthogonal vectors)
FAQ
- What is a dot product?
The dot product multiplies matching vector components and adds them together, producing a single scalar value.
- Do both vectors need the same dimension?
Yes. Both vectors must have exactly the same number of components.
- What does a dot product of 0 mean?
If the dot product is 0, the vectors are orthogonal (perpendicular) when neither vector is the zero vector.
- Are calculations stored?
No. Everything runs locally in your browser.