Calculate sum, product, arithmetic/geometric/harmonic means, sum of squares, power sums, and cumulative totals for any set of numbers.
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 all in one place — along 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 — this calculator gives you comprehensive results instantly with no software to install.
This calculator replaces needing a spreadsheet or programming environment for basic aggregate computations. It computes sum, product, four types of means, power sums, and cumulative totals all at once — with visual breakdowns that make the AM-GM inequality and each element's contribution immediately clear. Perfect for students, teachers, and anyone who works with number sets regularly.
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ᵢᵏ.
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.
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.
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).
**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.
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.
A power sum Sₖ = Σxᵢᵏ is the sum of each element raised to the kth power. For k=1 it's the ordinary sum, k=2 gives the sum of squares, k=3 the sum of cubes, and so on. Power sums appear throughout algebra, number theory, and Newton's identities.
RMS = √(Σxᵢ²/n) is the quadratic mean. In electrical engineering, RMS voltage represents the effective DC equivalent of an AC signal. In statistics, the RMS of deviations from the mean equals the standard deviation.
The geometric mean involves taking an nth root of the product. If any number is negative, the product may be negative, and even-index roots of negative numbers are not real. If any number is zero, the product is zero regardless of other values.
The calculator handles up to 1,000 numbers efficiently. For the range generator, the step size is limited so the sequence doesn't exceed 1,000 elements. For extremely large datasets, specialized statistical software may be more appropriate.
The sum of 1+2+…+n equals n(n+1)/2, known as the nth triangular number. For n=100, the sum is 5,050 — a result famously derived by young Gauss by pairing numbers from opposite ends of the sequence.