Sum & Product Calculator

Calculate sum, product, arithmetic/geometric/harmonic means, sum of squares, power sums, and cumulative totals for any set of numbers.

Enter one or more numbers separated by commas or spaces
Sum of 2th powers: Σ xᵢ^2
Count (n)
10
Number of elements in the set
Sum (Σ xᵢ)
55.000000
Sum of all values
Product (Π xᵢ)
3,628,800.000000
Product of all values
Sum of Squares (Σ xᵢ²)
385.0000
Sum of each value squared
Sum of Cubes (Σ xᵢ³)
3,025.0000
Sum of each value cubed
Power Sum (Σ xᵢ^2)
385.0000
Sum of each value raised to the 2th power
Arithmetic Mean
5.500000
Sum / n — the ordinary average
Geometric Mean
4.528729
ⁿ√(product) — average of ratios and growth rates
Harmonic Mean
3.414172
n / Σ(1/xᵢ) — average of rates
RMS (Quadratic Mean)
6.204837
√(Σxᵢ²/n) — root mean square
Min
1.000000
Smallest value
Max
10.000000
Largest value

Mean Comparison

Harmonic
3.4142
Geometric
4.5287
Arithmetic
5.5000
RMS
6.2048
For positive numbers: Harmonic ≤ Geometric ≤ Arithmetic ≤ RMS (AM-GM inequality)

Element Breakdown

#ValueCum. SumCum. ProductShare of Sum
11.0000001.00001.00001.0000
1.8%
22.0000004.00003.00002.0000
3.6%
33.0000009.00006.00006.0000
5.5%
44.00000016.000010.000024.0000
7.3%
55.00000025.000015.0000120.0000
9.1%
66.00000036.000021.0000720.0000
10.9%
77.00000049.000028.00005,040.0000
12.7%
88.00000064.000036.000040,320.0000
14.5%
99.00000081.000045.0000362,880.0000
16.4%
1010.000000100.000055.00003,628,800.0000
18.2%
Total55.0000385.000055.00003,628,800.0000100%

Formulas Reference

MeasureFormulaValue
SumΣ xᵢ55.0000
ProductΠ xᵢ3,628,800.0000
Arithmetic MeanΣxᵢ / n5.5000
Geometric Meanⁿ√(Πxᵢ)4.5287
Harmonic Meann / Σ(1/xᵢ)3.4142
RMS√(Σxᵢ²/n)6.2048
Sum of SquaresΣ xᵢ²385.0000
Sum of CubesΣ xᵢ³3,025.0000
Planning notes, formulas, and examples

About the Sum & Product Calculator

Working with sets of numbers is fundamental to mathematics, statistics, physics, and finance. Whether you need the **sum** of a data set, the **product** of a sequence, the **geometric mean** of growth rates, or the **root mean square** of alternating signals, our **Sum & Product Calculator** computes them together with cumulative sums, per-element breakdowns, and a visual comparison of different types of averages.

The tool handles both manually entered lists and auto-generated arithmetic ranges. It computes over a dozen summary statistics simultaneously: sum, product, sum of squares, sum of cubes, custom power sums, arithmetic mean, geometric mean, harmonic mean, root mean square, minimum, maximum, and range. A mean-comparison bar chart makes the AM-GM-HM inequality tangible, and the element breakdown table shows each number's squared value, cumulative running total, and share of the overall sum.

Whether you're a student verifying homework on series and sequences, a data analyst computing summary statistics, or an engineer who needs the RMS of a signal, the page keeps the main aggregates, mean comparisons, and per-element contributions together so you can inspect both the result and the structure of the data set.

When This Page Helps

Many number-set problems involve more than one summary at a time. You may need the sum, product, RMS, and several means before you can decide which statistic is actually relevant. This calculator keeps those outputs aligned so you can compare them on the same data instead of recomputing each one separately.

It also adds structure that is hard to see from a single total alone. The cumulative totals, element breakdown table, and mean comparison chart make it easier to explain why one data set behaves differently from another.

How to Use the Inputs

  1. Choose an input mode: "Enter Number List" to type or paste values, or "Generate Range" to create an arithmetic sequence.
  2. For Number List mode: enter values separated by commas or spaces. Click a preset to load sample data sets.
  3. For Range mode: set the start, end, and step values to generate a series.
  4. Adjust the power k to compute a custom power sum Σ xᵢᵏ (default k=2 gives sum of squares).
  5. Review the output cards for all summary statistics: sum, product, means, min, max, etc.
  6. Check the mean comparison chart to see the AM-GM-HM inequality visually.
  7. Scroll to the element breakdown table for cumulative sums, products, and share-of-total bars.
Formula used
Sum: Σxᵢ = x₁ + x₂ + … + xₙ. Product: Πxᵢ = x₁ × x₂ × … × xₙ. Arithmetic Mean: x̄ = Σxᵢ/n. Geometric Mean: (Πxᵢ)^(1/n). Harmonic Mean: n/(Σ 1/xᵢ). RMS: √(Σxᵢ²/n). Sum of Squares: Σxᵢ². Power Sum: Σxᵢᵏ.

Example Calculation

Result: Sum = 55, Product = 3,628,800, Arithmetic Mean = 5.5

The first 10 natural numbers sum to 55 (the 10th triangular number). Their product is 10! = 3,628,800. The arithmetic mean is 55/10 = 5.5. The geometric mean is approximately 4.5287, and the harmonic mean is approximately 3.4142 — demonstrating the AM ≥ GM ≥ HM inequality.

Tips & Best Practices

  • Paste long lists of numbers directly from spreadsheets — the calculator handles comma, space, or newline separators.
  • The AM-GM inequality (Arithmetic ≥ Geometric ≥ Harmonic for positive numbers) is visible in the bar chart — try different data to see it hold.
  • Use the Range mode to quickly generate arithmetic sequences without typing each number.
  • Adjust the power k to explore higher power sums — useful for checking Newton's identity problems.
  • The cumulative product column shows the running product; it can grow very fast for large numbers.

Understanding Power Sums

Power sums Sₖ = x₁ᵏ + x₂ᵏ + … + xₙᵏ are fundamental objects in algebra and number theory. Newton's identities relate power sums to elementary symmetric polynomials, providing a bridge between individual values and their collective properties. For instance, knowing S₁ (sum) and S₂ (sum of squares) for two numbers lets you recover both numbers through the quadratic formula. These relationships underpin Vieta's formulas, which connect polynomial coefficients to their roots.

The AM-GM-HM Inequality

For any set of positive real numbers, the harmonic mean is always less than or equal to the geometric mean, which is always less than or equal to the arithmetic mean: HM ≤ GM ≤ AM. Equality holds if and only if all numbers are identical. This inequality has deep implications in optimization (the AM-GM inequality is used extensively in mathematical olympiad problems), economics (comparing average returns), and physics (relating different types of effective quantities).

Applications Across Disciplines

**Finance**: Geometric mean for compound annual growth rates (CAGR). **Physics**: RMS for AC voltage and current calculations. **Statistics**: Sum of squares for variance and regression analysis. **Computer Science**: Running sums for prefix-sum arrays. **Music Theory**: Harmonic mean for frequency relationships. **Chemistry**: Weighted averages for mixture concentrations. The sum and product operations are universal building blocks that appear in virtually every quantitative field.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • The arithmetic mean (AM) is the ordinary average: sum divided by count. The geometric mean (GM) is the nth root of the product — best for growth rates and ratios. The harmonic mean (HM) is the reciprocal of the mean of reciprocals — best for averaging rates like speed or density. For positive numbers, HM ≤ GM ≤ AM always holds.