ThisCalculator

Everyday

Running Total: How to Calculate It

Updated · Standard formula, shown below

Average pace 2.00 min/km
Average speed
30.00 km/h
Result
Time (min)
10 min
You entered
Distance (km)
5 km
You entered

Running Total: How to Calculate It

To calculate a running total, add each new value to the sum of all previous values, giving a cumulative sum that updates with every entry. You start with zero, then add the first number, then add the second number to that result, and so on. The result is a sequence of totals, each one equal to the sum of all numbers up to that point.

Formula

The running total formula is written as:

Sn = Sn-1 + xn

Where:

  • Sn = the running total after the n-th item
  • Sn-1 = the running total before adding the n-th item
  • xn = the value of the n-th item

For example, if your sales are 100, 150, and 200, the running totals are 100, 250, and 450. The first total is just the first sale; the second total is 100 + 150; the third is 250 + 200.

Worked Example

Suppose you track daily steps: Monday 4,000, Tuesday 6,500, Wednesday 5,200, Thursday 7,800. Calculate the running total after each day.

  1. Start with 0.
  2. After Monday: 0 + 4,000 = 4,000.
  3. After Tuesday: 4,000 + 6,500 = 10,500.
  4. After Wednesday: 10,500 + 5,200 = 15,700.
  5. After Thursday: 15,700 + 7,800 = 23,500.

The running totals are 4,000; 10,500; 15,700; and 23,500. The final running total equals the sum of all four days, which you can verify: 4,000 + 6,500 + 5,200 + 7,800 = 23,500.

When to Use a Running Total

A running total is useful whenever you need to see cumulative progress over time or over a sequence of events. Common scenarios include:

  • Tracking daily expenses to see monthly spending.
  • Monitoring sales or revenue day by day.
  • Counting inventory as items are added or removed.
  • Calculating cumulative test scores or points in a game.
  • Keeping a checkbook balance after each transaction.

Unlike a simple sum, a running total shows the trend and the current standing at any point, which helps in budgeting, forecasting, and spotting unusual jumps.

How to Calculate a Running Total in a Spreadsheet

In Excel, Google Sheets, or similar programs, you can use a formula that adds the current cell to the cell above it. For example, if your values are in column A (A1 to A10), put =A1 in B1, then in B2 put =B1+A2 and drag down. Each row shows the cumulative sum up to that row.

Alternatively, use the SUM function with a mixed reference: =SUM($A$1:A2) in B2. The dollar signs fix the start row while the end row moves, so dragging down gives a running total. This works in both Excel and Google Sheets.

For large datasets, a pivot table with a cumulative sum field or a database query with a window function (like SUM(...) OVER (ORDER BY ...)) can be more efficient, but the basic principle is identical.

Common Mistakes and How to Avoid Them

The most frequent error is mixing up the running total with a simple total. A running total updates each row; a simple total is the same number on every row. Another mistake is resetting the total accidentally when you copy a formula down—check that the first cell reference is absolute (with $) if you use the SUM method.

Unit confusion also occurs. If you add numbers with different units (e.g., dollars and cents, or minutes and hours), convert them first. For example, 1 hour and 30 minutes must be 90 minutes before adding to other minute values.

Rounding too early can distort a running total. If each item is rounded to the nearest dollar, the cumulative total can drift from the true sum. Keep full precision until the final step, then round.

Limits of the Running Total Formula

The running total assumes you want to add every value without skipping or weighting. It does not handle negative numbers incorrectly—it simply adds them, which can lower the total. It also assumes the order of entries matters; if you reorder the data, the running totals at each step change, though the final total stays the same.

For very large datasets, floating-point precision can become an issue. Adding many very small numbers to a large running total can lose precision. In such cases, use a summation algorithm that adds smaller numbers first, or use a library that handles arbitrary precision.

The formula only works for numeric values. Text or blank cells cause errors in most spreadsheet programs, so ensure your data is clean and numeric.

Frequently Asked Questions

What is the difference between a running total and a cumulative sum?

They are the same thing. Both terms refer to the sequence of sums obtained by adding each new value to the previous total.

How do I calculate a running total in SQL?

Use a window function: SELECT value, SUM(value) OVER (ORDER BY id) AS running_total FROM table. This computes the cumulative sum over the ordered rows.

Can I calculate a running total without a formula?

Yes, manually add each new number to the previous total. For a list of 10 numbers, you would write down 10 intermediate sums. This is practical only for short lists.

Does a running total include negative numbers?

Yes, negative numbers are added like any other value, which decreases the total. This is useful for transactions like refunds or withdrawals.

Why is my running total in Excel not updating?

Check that the formula references the correct cells and that calculation is set to automatic. If you used absolute references incorrectly, the formula may not drag properly. Also ensure the cells are formatted as numbers, not text.

What is the running total of 1 to 100?

The running total after each number increases, and the final total after 100 is 5,050. This is the sum of the first 100 natural numbers, given by the formula n(n+1)/2.

Related

Formula used
in t | Time (min) | min | 10 | 0
in d | Distance (km) | km | 5 | 0
out pace | Average pace | min/km | t / d | 2
out speed | Average speed | km/h | d / (t / 60) | 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.