Running Total Calculator

Enter a list of numbers to see the cumulative total after each one.

How it is calculated

The tool splits the text on commas and spaces, checks that every piece is a number, then adds them one by one from left to right: S1 = n1, Sk = Sk−1 + nk. Each running total is rounded to two decimals and listed in the same order as the input, and the last one is also shown separately as the final total. Order matters: the intermediate totals change if you reorder the numbers, though the final total does not. Negative numbers subtract, so the total can fall or become negative. Any non-numeric piece rejects the whole input. Use a dot as the decimal mark, because a comma is read as a separator, so 2,5 becomes the two values 2 and 5.

Worked example

An account starts at zero and sees these movements: +250, −80, +120.5, −40. Step 1: 250. Step 2: 250 − 80 = 170. Step 3: 170 + 120.5 = 290.5. Step 4: 290.5 − 40 = 250.5. The tool prints the running totals 250.00, 170.00, 290.50, 250.50, and the final total is 250.50. The list shows when the balance peaked (290.50) as well as where it ended.

Try this example →

Common mistakes

  • Typing a decimal comma such as 120,5. It is split into 120 and 5, giving two entries and a wrong total; write 120.5.
  • Entering withdrawals or expenses as positive numbers. The tool adds everything, so outgoing amounts need a minus sign.
  • Expecting an opening balance to be included. The first total is just the first number, so enter the starting balance as the first item.
  • Reordering the list and expecting the same intermediate totals. Only the final total is order-independent.
  • Pasting items separated by semicolons or other symbols, which makes the input invalid.

About this calculator

A running total (or cumulative sum) turns a list of numbers into a new list where each entry is the sum of everything up to and including that point, rather than a single final total — so instead of just knowing the grand sum, you can see exactly how it built up step by step. It's the same operation as a cumulative-sum (cumsum) function found in spreadsheet software and data-analysis libraries.

Bookkeepers and accountants use running totals to maintain a ledger balance that updates with every transaction, sports statisticians use them to track a cumulative score or points tally as a game or season progresses, and inventory managers use them to watch stock levels rise and fall with each shipment or sale — in every case, the point is tracking the trajectory of a total, not just its final value.

Was this helpful?

You can pick up to 3 reactions.

Comments

  • Be the first to comment.

Popular calculators

All Calculators