CalculatorWallah logoCalculatorWallah

Sum of Products Calculator

Multiply matching values from two lists, add the products, and review dot-product, weighted-mean, and pair-by-pair checks.

Last Updated: May 2026

Paired products

Multiply matching pairs, then add the products

Enter two lists with the same length. The calculator multiplies each aligned pair, sums the products, and shows dot-product and weighted-mean checks.

Examples

Summary formulas

MetricFormulaResult
Formulasum x_i y_i140
List A sumsum x_i20
List B sumsum y_i24
Sum of A squaressum x_i^2120
Sum of B squaressum y_i^2164
Weighted meansum x_i y_i / sum y_i5.833333

Pair-by-pair products

PairABProduct setupProduct
1232 x 36
2454 x 520
3676 x 742
4898 x 972

Numeric Lists Notice

This calculator evaluates finite numeric lists. It does not simplify Boolean algebra sum-of-products expressions or symbolic polynomial terms.

Reviewed For Methodology, Labels, And Sources

Every CalculatorWallah calculator is published with visible update labeling, linked source references, and review of formula clarity on trust-sensitive topics. Use results as planning support, then verify institution-, policy-, or jurisdiction-specific rules where they apply.

Reviewed By

Jitendra Kumar, Founder & Editorial Standards Lead, reviews methodology, labels, assumptions, and trust-sensitive publishing decisions for this topic area.

Review editor profile

Topic Ownership

Sales tax and tax-sensitive estimate tools, Education and GPA planning calculators, Health, protein, and screening-formula pages, Platform-wide publishing standards and methodology

See ownership standards

Methodology & Updates

Page updated May 2026. Trust-critical pages are reviewed when official rates or rules change. Evergreen calculator guides are checked on a recurring quarterly or annual cycle depending on topic volatility.

How to Use the Sum of Products Calculator

Enter the first list and second list with matching lengths. Values can be separated by commas, spaces, semicolons, or new lines.

Review the main sum of products, each pair product, the product-sign counts, and the weighted mean if the second list represents weights.

  1. Step 1: Enter List A

    Add the first set of numeric values, such as scores, quantities, or vector components.

  2. Step 2: Enter List B

    Add the matching weights, prices, frequencies, or second vector components.

  3. Step 3: Check pair count

    Both lists must contain the same number of values so each product has two factors.

  4. Step 4: Read the product table

    The table shows every x_i y_i product before the final sum is calculated.

How This Sum of Products Calculator Works

The calculator parses both lists into numbers, checks that their lengths match, and pairs values by position.

Each pair is multiplied, and those pair products are added to produce sum x_i y_i. The same value is the dot product when the inputs are vectors.

When the second list is used as weights, the weighted mean is calculated as sum x_i y_i divided by sum y_i, provided the weight total is not zero.

Sum of Products Guide

Sum of Products Rules

ConceptFormula or ExampleMeaning
Pair valuesx_i with y_iEach value in List A is matched with the value in the same position in List B.
Multiply pairsx_i y_iCreate one product for each aligned pair.
Sum productssum x_i y_iAdd all pair products to get the final result.
Dot product[2, 4] dot [3, 5] = 26Vector dot product is a sum of products.
Weighted meansum x_i w_i / sum w_iWhen List B contains weights, divide the sum of products by total weight.

Examples

ListsSum of ProductsNote
2, 4, 6, 8 and 3, 5, 7, 91402x3 + 4x5 + 6x7 + 8x9.
88, 92, 79, 95 and 20, 30, 20, 308,950Weighted-score numerator.
12, 8, 15, 6 and 24.99, 49.50, 12.75, 99.001,481.13Quantity times price lines.
-3, 4, -2, 5 and 6, -1, 8, 2-28Signed products can offset each other.

Common Uses

Sum of products appears in dot products, weighted averages, revenue calculations, frequency tables, spreadsheet formulas, and matrix multiplication. The common pattern is always the same: multiply matching entries, then add the products.

Keep the research moving with Multiplication Calculator, Mean Calculator, Matrix Calculator, and Root Mean Square Calculator.

Frequently Asked Questions

A sum of products multiplies matching values from two lists and then adds those products: x1y1 + x2y2 + ... + xnyn.

For two equal-length numeric vectors, yes. The dot product is the sum of paired products.

Yes. If List B contains weights, the weighted mean is the sum of products divided by the sum of List B.

Yes. Every value in List A must have one matching value in List B.

Yes. Negative values are supported, and the calculator counts positive, negative, and zero pair products.

Related Calculators

Sources & References

  1. 1.Wikipedia - Dot product(Accessed May 2026)
  2. 2.OpenStax - Vectors in the Plane(Accessed May 2026)
  3. 3.OpenStax - Weighted Mean(Accessed May 2026)