Calculate the sum of the element-wise products of two numeric vectors.
Enter two vectors (sequences of numbers) to compute their dot product. This is a fundamental operation in linear algebra.
Enter numbers separated by commas or spaces.
Enter numbers separated by commas or spaces.
Click on any example to load it into the calculator.
A simple calculation with two small integer vectors.
A: [1, 2, 3]
B: [4, 5, 6]
The dot product of two orthogonal (perpendicular) vectors is always zero.
A: [1, 0, -1]
B: [1, 1, 1]
An example using floating-point and negative numbers.
A: [1.5, -2, 3.1]
B: [2, 3.5, -1]
Calculating the total cost of items. Vector A is quantities, Vector B is prices.
A: [5, 2, 10]
B: [1.50, 4.00, 0.75]