Calculate a cumulative sum and running total from a list of numbers, with each value’s share and cumulative percentage, plus count and average.

Sum and running totals in the order entered.

Separate values with commas, spaces or new lines. Enter 1000 without thousands separators; up to 1,000 values.


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Running totalAdds a list of numbers and shows the total reached after each one, in the order enteredRequires a list of up to 1,000 numbers
Cumulative percentageFinds each number’s share of the total and the cumulative share reached after each rowRequires a list of up to 1,000 numbers whose total is not zero, and the row order: as entered, largest first or smallest first

Numbers are separated by commas, spaces or new lines, and negative values are accepted. A thousands separator is rejected, because 1,000 could mean one number or two, so one thousand is entered as 1000. Both functions report the cumulative value as the main result, with the count, average, minimum and maximum, and a table with one row per number.

Cumulative Value Formulas

CV = Xโ‚ + Xโ‚‚ + โ€ฆ + Xโ‚™
CVCumulative value, the total of every number in the list
XแตขThe number in row i
nCount of numbers in the list

The average shown with the result is CV รท n.

Running total

Rแตข = Xโ‚ + Xโ‚‚ + โ€ฆ + Xแตข

Rแตข is the running total at row i: the sum of that row and every row before it. The last running total equals the cumulative value. For 50, 100 and 150 the running totals are 50, 150 and 300, so the cumulative value is 300 and the average is 100.

Cumulative percentage

Share = Xแตข รท CV ร— 100
Cumulative % =
Rแตข รท CV ร— 100

Each row shows its own share of the total and the share reached by that row and all rows above it. For 50, 100 and 150 as entered, the shares round to 16.67%, 33.33% and 50%, and the cumulative percentages are 16.67%, 50% and 100%.

The order setting sorts the rows before the running totals are taken, which changes every cumulative percentage except the last. Largest first gives 150, 100 and 50, with cumulative percentages of 50%, 83.33% and 100%. In that order, and when no number is negative, the result also counts the values needed to reach 80% of the total, which is 2 in this list.

Limits of This Estimate

  • A total of zero has no cumulative percentage, so Cumulative percentage rejects a list that sums to zero.
  • With negative numbers in the list, a share can be negative or above 100%, and the count of values to reach 80% is not reported.
  • Decimal values are added exactly. Averages and percentages are rounded for display, so shown shares may not add to exactly 100%.