Home · Everyday · Vectors & Complex Numbers · Dot Product Calculator
Dot Product Calculator
The dot product of two vectors — sum of component products — with the angle between them.
What this calculator does
The dot product of two vectors — sum of component products — with the angle between them. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
Enter vectors as comma-separated components; both vectors must share the same dimension.
Components are combined by the standard vector rules (Euclidean geometry).
Angles are returned in degrees unless you switch the angle unit.
Worked example
With the example inputs this page opens with (a — x 1, a — y 2, a — z 3, b — x 4), the result is 12 — dot product a · b. Sum of component products. Positive means the vectors point in broadly the same direction; zero means they are perpendicular.
Quick reference
| a — x | Dot product a · b |
|---|---|
| 0.5 | 10 |
| 0.8 | 11.2 |
| 1 | 12 |
| 1.25 | 13 |
| 1.5 | 14 |
| 2 | 16 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Dot Product Calculator work?
The dot product of two vectors — sum of component products — with the angle between them. Vector a · Vector b → a · b. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Dot Product Calculator need?
Vector a · Vector b → a · b. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Dot Product Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.