Dot product of a vector

Online calculator for calculating the scalar product or dot product of two vectors with 4 elements

Calculate vector dot product

This function calculates the scalar product (dot product) of two vectors. To perform the calculation, enter the vectors and click the Calculate button. Empty fields are counted as 0.

Vector dot product calculator

 Vector 1 Vector 2 Result * = Decimal places 0 1 2 3 4 6 8 10

Description of the vector dot product

In contrast to vector multiplication, the result of multiplication to the vector scalar product is not a vector, but a real number (scalar product).

The individual elements of the vectors are multiplied with one another and the products added. The sum of the addition is the scalar product of the vector.

For two vectors $$\overrightarrow{x}=\left[\matrix{x_1\\⋮\\x_n}\right]$$ and $$\overrightarrow{y}=\left[\matrix{y_1\\⋮\\y_n}\right]$$
the scalar product is defined as $$\overrightarrow{x}·\overrightarrow{y}= x_1·y_1 + ⋯ + x_n·y_n$$

Example

$$\overrightarrow{x}=\left[\matrix{1\\2\\3}\right]$$     $$\overrightarrow{y}=\left[\matrix{4\\5\\6}\right]$$     $$\overrightarrow{x}·\overrightarrow{y}= 1·4+2·5+3·6=4+10+18=32$$