let's consider two vectors $v_1[i]$, $v_2[i]$, for $i = 0, 1, ... , N-1$.
Suppose you want to calculate the scalar product between them: it is simply the sum of all $v_1[i] * v_2[i]$ terms $(i=0,...,N-1)$.
Suppose now that each element of $v_1, v_2$ may be written as a $M$ - bits binary number. How many bits are the necessary to express the result?