Running Total in Table: How to Calculate It
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator works out a running total (cumulative sum) for a list of numbers you enter, and it also shows the final total. You type or paste your numbers into the list, and the calculator returns the running total after each number plus the overall sum. The result updates instantly, so you can see how the total grows step by step.
Formula
A running total is the cumulative sum of a sequence. For a list of numbers x1, x2, …, xn, the running total after the k-th item is:
Sk = x1 + x2 + … + xk
where Sk is the sum of the first k numbers. The final total is Sn, the sum of all n numbers.
Worked Example
Using the default list: 5, 12, 8, 20, 3.
- Start with 0.
- Add 5 → running total = 5.
- Add 12 → running total = 17.
- Add 8 → running total = 25.
- Add 20 → running total = 45.
- Add 3 → running total = 48.
The final total is 48. The calculator shows the running total after each number and the final sum, both rounded to 2 decimal places.
When to Use a Running Total
A running total is useful any time you need to track a cumulative value as new data arrives. Common situations include:
- Tracking daily sales or expenses to see a month-to-date total.
- Monitoring website page views or app downloads over time.
- Calculating cumulative production or inventory levels.
- Keeping a checkbook register or tracking a budget.
- Analyzing data in a spreadsheet where you want a column that adds each row to the previous sum.
In spreadsheet programs like Excel or Google Sheets, the running total is often created with a formula that adds the current cell to the sum of all previous cells (e.g., =SUM($A$1:A2) when copied down).
How to Read the Result
The calculator outputs two things:
- Running total – a list of cumulative sums, one for each input number. The last value in this list is the final total.
- Final total – the sum of all numbers, shown as a single number.
If you enter numbers like 10, 20, 30, the running total will show 10, 30, 60. The final total is 60.
Common Mistakes and Limitations
One frequent error is confusing a running total with a simple total. A running total changes as you add each new number, while the simple total is just the final sum. Another mistake is forgetting to include the first number in the cumulative sum – the first running total should always equal the first number.
Also, be careful with negative numbers. If you have a list like 100, -30, 20, the running total is 100, 70, 90. The final total is 90, not 150.
This calculator assumes your numbers are in the order you want them summed. If you need a running total based on a date or other sorting, you must sort the data first.
Alternatives to a Running Total
Depending on what you need, you might consider:
- Simple total – just the sum of all numbers, no cumulative view.
- Moving average – the average of a sliding window of numbers, which smooths out fluctuations.
- Percent of total – each number divided by the final total, to see relative contribution.
- Difference from previous – the change between consecutive numbers, not the cumulative sum.
Choose the method that answers your specific question. A running total shows growth over time; a moving average shows trends; a percent of total shows proportions.
Frequently Asked Questions
How do I add a running total column in Excel?
In Excel, enter the first value in a cell (e.g., B2). In the cell below (B3), enter the formula =B2+A3 (assuming A3 is the new value). Then drag the fill handle down. This adds each new number to the previous running total.
What is the difference between a running total and a cumulative sum?
They are the same thing. Both refer to the sequence of partial sums of a list of numbers. The term “running total� is more common in everyday contexts like finance, while “cumulative sum� is used in mathematics and programming.
Can a running total be negative?
Yes, if your numbers include negatives or if the cumulative sum drops below zero. For example, 10, -5, 2 gives a running total of 10, 5, 7. Negative running totals are valid and can indicate a deficit or loss.
How do I calculate a running total in SQL?
In SQL, you can use a window function like SUM(column) OVER (ORDER BY date) to get a running total. This adds each row’s value to the sum of all previous rows in the specified order.
Why is my running total not updating in a spreadsheet?
Check that your formula references are correct and that you haven’t accidentally used absolute references (like $A$2) when you need relative ones. Also, make sure the cells are formatted as numbers, not text, and that automatic calculation is enabled.
Does the order of numbers matter for a running total?
Yes. A running total is order-dependent. The cumulative sum after each step depends on the sequence. For example, 1+2+3 gives 1, 3, 6, but 3+2+1 gives 3, 5, 6. The final total is the same, but the intermediate running totals differ.
Related
Formula used
in list | Numbers | - | 5, 12, 8, 20, 3 | 0 out running | Running total | - | cumsum(list) | 2 out final | Final total | - | sum(list) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.