Dot product calculator

Dot product/scalar product of arbitrary size vectors (sequences of numbers). It is defined as a sum of products of all i-th pairs of sequences. See Wikipedia for full definition. Remember that a and b vectors must be of the same size.

In a simple 2-dimensional case your vectors are points (ax, ay), (bx, by). Enter ax and ay into the first two fields of the a vector below, and bx and by into b vector's fields. Leave other fields blank and click "Calculate".

vector a:
vector b:
 Upload Excel or CSV file for batch operation: (read about supported files and formats)
  API URL: (see documentation. JSONP is now available)