Using the Dot Product Calculator
This page adds the products of matching components. The lists 1, 2, 3 and 4, 5, 6 give 1 times 4, plus 2 times 5, plus 3 times 6, which is 4 plus 10 plus 18, which is 32. The headline is 32. The component line says 3. The two lists must have the same length, from 1 to 50 numbers each. Different lengths are rejected. The page does not compute a cross product, a magnitude, or an angle between the lists.
Commas separate the numbers. Spaces around commas are fine. A blank gap between commas is skipped. A word is rejected. Negative numbers and decimals are allowed. Check 32 before you trust another pair of lists.
What the Sum of Products Is
The headline is the dot product. For the sample it is 32. The component line is the shared length, 3. The copied sentence says the dot product is 32. Copy the two lists beside that sentence, because 32 can also be some other pair. The page's sentence does not repeat every component.
Order inside a list matters relative to the other list. Swapping the first list to 3, 2, 1 changes the pairs. 3 times 4, plus 2 times 5, plus 1 times 6, is 12 plus 10 plus 6, which is 28. The page will not warn you that you reordered a list. The new headline is the new sum.
Reset returns the fields toward 1, 2, 3 and 4, 5, 6. The previous total stays until the next calculation.
How Matching Components Multiply
The page reads each list from left to right, multiplies the first numbers, multiplies the second numbers, and so on, then adds those products. Nothing is squared unless the same number appears in both lists at the same position. Nothing is crossed with a neighbor. The third number of the first list meets only the third number of the second list.
If one list is longer, the page rejects both rather than dropping the extra value or treating it as zero. The message says to enter two lists of the same length. A list with no numbers is also rejected. Each list needs from 1 to 50 numbers.
Estimating a value between endpoints is a different page. The Interpolation Calculator fills a gap between known points. It does not add 4, 10, and 18. Use it for an in-between estimate. Use this page for a dot product.
What the Sum Leaves Out
The page does not divide the dot product by the lengths of the lists, so it does not return a cosine. An angle would need those lengths and a further inverse cosine. Neither step is on this page. If your note needs an angle, compute it separately and label it.
The page does not return a cross product. In three dimensions a cross product is a new list of three numbers, not a single sum. The headline here is one number. A reader who expected three components is looking for a different operation.
There is no plot. The result is the sum, the component count, and a sentence.
1, 2, 3 and 4, 5, 6
Enter 1, 2, 3 in the first list and 4, 5, 6 in the second. The headline is 32. The component line is 3. Enter 1, 2 in the first list and 3 in the second and confirm the rejection. Enter a single pair, 2 and 5. The headline is 10, and the component line is 1. One pair is a valid dot product. It is just one product.
Enter 1, 2, 3 and 4, 5, 6 again and confirm 32. The sample is the pair to restore when a shorter list has replaced it.
A straight estimate between two points is a different page. The Linear Interpolation Calculator interpolates on a line. It does not return 32 for these lists. Use it for that estimate. Use this page for the sum of products.
Limits of Two Equal Lists
Each list holds from 1 to 50 numbers. A 51st number is rejected. The lists must match in length after empty gaps are skipped. Decimals and negative signs are allowed. A token that is not a plain number is rejected, and the message names the list that failed.
The page does not align lists by a label or a header. Position is the only match. If your first components are not the ones you meant to pair, reorder the text before you calculate. The page will pair whatever order you leave in the fields.
There is no unit. If the components are meters and the products are areas, the unit belongs in your note. The headline is the bare sum.
Common Mistakes
The usual miss is to add the lists first and then multiply the totals. 1 plus 2 plus 3 is 6, and 4 plus 5 plus 6 is 15, and 6 times 15 is 90. That is not the dot product. The dot product multiplies before it adds, and the sample is 32. Another miss is to multiply component 1 by component 2 of the same list. The pairs cross between the lists.
A third miss is to drop a trailing number so the lengths match, and then forget that you dropped it. The component line shows the length the page used. If you expected 4 and the line says 3, one number was not in both fields.
A least common multiple of whole numbers is a different page. The Least Common Multiple Calculator finds a multiple. It does not pair two lists. Use it for a multiple. Use this page for a dot product.
Reading 32 in a Note
Write both lists next to the headline. "The dot product is 32" is true of the sample and can be true of another pair. The sample lists are 1, 2, 3 and 4, 5, 6. The products are 4, 10, and 18.
Say that the figure is a dot product, not a cross product and not an angle. A reader who divides by the vector lengths will get a different number. That division is not this page.
The component count belongs in the note. A one-component result of 10 is a different calculation from the three-component result of 32.
Rebuilding the Sample
Enter 1, 2, 3 and 4, 5, 6. Confirm 32 and 3 components. Enter lists of different lengths and confirm the rejection. Enter 2 and 5 and confirm 10. Return to the sample and confirm 32.
Ordinary arithmetic on one product is a different page. The 4 Function Calculator multiplies two numbers you type. It does not walk two lists. Use it to check 3 times 6. Use this page to add all of the paired products.
File both lists with the headline. A later check should paste the same commas and see 32.
Checking a New Pair
Confirm the sample before you edit. The headline should be 32. Then change only the last number of the second list from 6 to 0. The last product becomes 0 instead of 18, so the headline should fall by 18, to 14. If the headline stays 32, the field did not update.
Keep the lists the same length. Stay within 50 numbers. A word in either field is rejected.
A mean of one list is a different page. The Mean Median Mode Calculator summarizes a single list. It does not multiply that list by a second one. Use it for a mean. Use this page when you have two lists to pair.
What the Fields Accept
Each field is a comma-separated list of 1 to 50 numbers. The sample lists are 1, 2, 3 and 4, 5, 6. The lengths must match. A blank list is rejected. A non-numeric token is rejected. Negatives and decimals are accepted.
The headline is the dot product. The lines are the component count and the same product. The copied sentence states the product. There is no diagram.
32 is the sample headline. 3 is the sample component count. Keep the lists beside both numbers.
Why the Sample Adds to 32
Pair the lists in order. 1 times 4 is 4. 2 times 5 is 10. 3 times 6 is 18. Add those products from the left. 4 plus 10 is 14. 14 plus 18 is 32. There is no fourth product. There is no square of 1 hiding in the sum. If a note shows 90, it multiplied the two sums, 6 and 15. That is a different operation. Show the three products if you need to explain the gap between 32 and 90.
Reordering one list changes the pairs. 3, 2, 1 against 4, 5, 6 is 12 plus 10 plus 6, which is 28. Reordering both lists the same way can restore 32, because the pairs move together. 3, 2, 1 against 6, 5, 4 is 18 plus 10 plus 4, which is 32 again. The page does not tell you the lists were rearranged. The headline matches the sample only because the pairs still match. Keep the written order in the note so a later check pastes the same text.
A negative component is allowed. Replace 6 with -6 and the last product is 3 times -6, which is -18. The sum is 4 plus 10 plus -18, which is -4. The headline can be negative. A negative headline is the arithmetic, not an error. A mismatched length never produces a negative as a signal. It is rejected before any product is shown.
Adding 4, 10, and 18
Pair the lists in order. 1 times 4 is 4. 2 times 5 is 10. 3 times 6 is 18. 4 plus 10 is 14, and 14 plus 18 is 32. The headline is 32. The component line is 3. Adding the lists first and then multiplying the totals is a different operation: 6 times 15 is 90, and 90 is not the dot product. Show the three products if you need to explain that gap.
Checking the Calculator
Enter 1, 2, 3 and 4, 5, 6. Confirm 32. Enter two lists of different lengths and confirm the rejection. When the sample is 32 and a length mismatch is refused, the page is adding the products of matching components.