Sum of Products Calculator

Quick answer

The sum of products calculator multiplies matching items of two lists and adds the products: Σ aᵢ·bᵢ, the same as Excel's SUMPRODUCT or a dot product.

Sum of products
21.7
Sum of A
11
Sum of B
8.5
Weighted average of B (weights A)
1.97272727

Sums of products are everywhere: the total cost of a shopping list (quantities × prices), weighted scores, expected values and the dot product of two vectors.

How to use the Sum of Products Calculator

  1. Dataset A
  2. Dataset B

Results update as you type, and everything is calculated in your browser.

How it works

The lists are paired item by item and only as many pairs as the shorter list are used.

Inputs explained

Field What to enter
Dataset A A list of numbers separated by commas, spaces or new lines
Dataset B A list of numbers separated by commas, spaces or new lines

What each result means

  • Sum of products = dot([Dataset A], [Dataset B])
  • Sum of A = sum([Dataset A])
  • Sum of B = sum([Dataset B])
  • Weighted average of B (weights A) = dot([Dataset A], [Dataset B])÷sum([Dataset A])

Formula

Sum of products = a₁b₁ + a₂b₂ + … + aₙbₙ

Worked example

Inputs: Dataset A: 3, 2, 5, 1; Dataset B: 1.20, 0.80, 2.50, 4.00.
Results: Sum of products = 21.7; Sum of A = 11; Sum of B = 8.5; Weighted average of B (weights A) = 1.97272727.

Key terms

Dot product
Σ aᵢbᵢ for two vectors a and b.

Frequently asked questions

What is SUMPRODUCT in Excel?

It multiplies corresponding entries of ranges and adds the products, which is exactly this calculation.

Is it the same as a dot product?

Yes, for two vectors.

What if the lists have different lengths?

Only the matching pairs are used.

How is it used for weighted averages?

Weighted average = sum of products ÷ sum of weights.

Sources

  1. OpenStax: Prealgebra 2e
  2. OpenStax: Contemporary Mathematics

Cite this calculator

Speedy Calculator. (2026). Sum of Products Calculator. Speedy Calculator. https://speedycalculator.com/calculators/math/sum-product/