Running total
Sk = x1 + … + xk. Year-to-date (YTD) sales and account balances.
Running totals, cumulative percentages, Pareto charts and running averages of a list.
Enter your values below to get started.
The last cumulative sum always equals the total of the list.
Choose Pareto to sort from largest to smallest and find the categories that make up 80%.
Negative values make the running total go down, as with withdrawals.
Subtract 2 cumulative sums to get the total of any stretch: xi + … + xj = Sj − Si−1.
A cumulative sum calculator adds a list of numbers one at a time and shows the running total after each value. Paste your data to get every cumulative sum, the cumulative percentage, a Pareto (80/20) ranking, sums from the end of the list or a running average, with a table and a chart that draws the values and the running total together.
A cumulative sum is the running total of a sequence: each term is the sum of all values up to that point. The cumulative sums of 1, 2, 3, 4 and 5 are 1, 3, 6, 10 and 15.
A cumulative sum is called a running total in accounting, a prefix sum in computer science and a cumulative frequency in statistics. Monthly sales of 120, 95, 140, 110, 130 and 160 have running totals of 120, 215, 355, 465, 595 and 755.
The cumulative sum calculator keeps 1 running total, adds each value to the previous total and records the result. The calculator then divides each total by the grand total for the cumulative percentage and by the count for the running average.
Numbers in order, with optional labels and a starting value.
S1 = x1, then Sk = Sk−1 + xk: 120, 120 + 95 = 215, 215 + 140 = 355 …
Cumulative % = Sk ÷ total × 100. March: 355 ÷ 755 = 47.02%.
Bars show each value; the line shows the running total climbing to 755.
The cumulative sum formula is Sk = Sk−1 + xk, with S0 = 0 (or a starting balance). 3 related formulas give the cumulative percentage, the running average and the original values back.
Differencing undoes a cumulative sum, the discrete version of the fundamental theorem of calculus.
There are 4 common types of cumulative sums: the running total, the cumulative percentage, the running average and the reverse cumulative sum. All 4 come from the same running total, read in a different way.
Sk = x1 + … + xk. Year-to-date (YTD) sales and account balances.
Sk ÷ total. Pareto charts and cumulative frequency (ogive) curves.
Sk ÷ k. Batting averages and moving performance during a season.
xk + … + xn. Remaining work, "more than" frequencies and survival counts.
To calculate a cumulative sum by hand, write the first value, then add each new value to the total above it. Here are the cumulative sums of 2, 5, 3, 8 and 1.
A Pareto chart sorts categories from largest to smallest and draws their cumulative percentage, showing which few causes make up most of the total. The 80/20 rule is named after the Italian economist Vilfredo Pareto, and the quality engineer Joseph M. Juran applied the idea to quality problems in manufacturing.
Defects of 42 scratches, 18 dents, 9 misalignments, 6 cracks and 5 others total 80. The cumulative percentages are 52.5%, 75%, 86.25%, 93.75% and 100%, so the top 3 of 5 types pass 80%.
The sum of any stretch xi … xj equals Sj − Si−1, so 1 subtraction replaces many additions. Programmers store this array as a prefix sum to answer range queries in constant time, O(1).
For 5, 3, 8, 6, 2, 7, 4, 9, the cumulative sums are 5, 8, 16, 22, 24, 31, 35, 44; the sum of positions 3 to 6 is 31 − 8 = 23.
Paste your values, add labels if you want them on the chart, pick a calculation and press Calculate. The result shows the final total, a table of every cumulative sum and percentage, and a chart.
Commas, spaces or new lines: 120 95 140.
Optional names such as months or categories.
Running total, Pareto, reverse or running average.
Each row lists the value, cumulative sum, cumulative % and running average.
Cumulative sums track progress toward a total over time. There are 5 common applications:
7 common cumulative sum calculations.
| Values | Type | Cumulative result | Calculator |
|---|---|---|---|
| 1, 2, 3, 4, 5 | Running total | 1, 3, 6, 10, 15 | |
| 120, 95, 140, 110, 130, 160 | Running total | 120, 215, 355, 465, 595, 755 | |
| 4, −2, 7, −5, 3 | Running total | 4, 2, 9, 4, 7 | |
| $1,000 start: −200, 350, −125, 500 | Running balance | 800, 1,150, 1,025, 1,525 | |
| Defects 42, 18, 9, 6, 5 | Pareto % | 52.5%, 75%, 86.25%, 93.75%, 100% | |
| 5, 10, 15, 20 | Reverse | 50, 45, 35, 20 | |
| 10, 20, 30, 40 | Running average | 10, 15, 20, 25 |
Try each one, then reveal the answer or solve it in the calculator.
Find the cumulative sums of 2, 5, 3, 8 and 1.
Monthly rainfall is 45, 38, 52, 60, 41 and 29 mm. Find the running total after each month.
Complaints: Late 120, Wrong item 45, Damaged 20, Billing 10, Other 5. How many causes reach 80% of complaints?
An account opens at $500 with transactions +250, −120, −80 and +300. Find each balance.
Find the reverse cumulative sums (sum from each position to the end) of 3, 6, 9, 12.
Scores of 80, 90, 70 and 100 arrive in order. Find the running average after each score.
Discover 67 free sum calculators across different categories. Find the right calculator for your needs.
Try a different name or choose another category.
A cumulative sum calculator is an online tool that returns the running total of a list of numbers, 1 value at a time. It gives the cumulative percentage, a Pareto ranking, reverse sums and running averages with a table and chart.
Start with the first value, then add each new value to the previous total: S<sub>k</sub> = S<sub>k−1</sub> + x<sub>k</sub>. For 2, 5, 3 the cumulative sums are 2, 7 and 10.
A sum is 1 number, the total of all values, while a cumulative sum is a list of partial totals after each value. The last cumulative sum equals the sum.
A cumulative percentage is a running total divided by the grand total and multiplied by 100. For 42, 18, 9, 6 and 5 (total 80), the first cumulative percentage is 52.5%.
Yes, a cumulative sum decreases whenever the next value is negative, for example a withdrawal from a bank account.
Yes, a cumulative sum and a running total are the same thing. Programmers call the same list a prefix sum or scan.
Type =SUM($B$2:B2) in the first cell next to your data and fill it down; the fixed start $B$2 makes the range grow 1 row at a time. Google Sheets uses the same formula.
The 80/20 rule says that about 80% of effects come from about 20% of causes. A Pareto chart sorts causes from largest to smallest and finds where the cumulative percentage crosses 80%.
Subtract each cumulative sum from the next: x<sub>k</sub> = S<sub>k</sub> − S<sub>k−1</sub>. The cumulative sums 3, 4, 8, 9 give back 3, 1, 4, 1.
A cumulative sum turns a list into its running totals, and the cumulative sum calculator returns every total, the cumulative percentage, a Pareto ranking, reverse sums and running averages. Remember Sk = Sk−1 + xk and that any stretch of values sums to Sj − Si−1.
Not sure which calculation to pick? Answer the questions below.