Vector scalar product
Dot Product Calculator
Calculate the dot product of two 2D or 3D vectors, inspect component products, and optionally see the angle when defined.
Enter vectors
Result
Initializing.
Formula and worked example
Formula: A · B = Σ aᵢbᵢ
For A = (1, 2) and B = (3, 4), A · B = 1×3 + 2×4 = 11.
Method and limitations
Components are parsed as finite decimal values, normalized internally as numeric arrays, and calculated with deterministic browser floating-point arithmetic. Supported dimensions are 2D and 3D.
The angle is supplementary and is undefined if either vector is zero. This page does not calculate cross products.
Inputs are bounded to absolute values from 10⁻¹⁰⁰ through 10¹⁰⁰ when nonzero. Results are rounded only for display.
Related calculators
Cross Product Calculator · Matrix Calculator · All calculators