A little context. A clearer answer.
When this calculator is useful
The changed subtraction affects the final total while the earlier subtotal on the tape remains available for comparison. Change “Editable operation tape” from [+ 12.50] [+ 7.25] [S] [- 2.00] [T] to [+ 12.50] [+ 7.25] [S] [- 4.00] [T] and keep the other inputs from the worked example. The value for “Last displayed tape result” goes from $17.75 to $15.75. For a related calculation, try Big number calculator with exact decimals.
What to enter
| Input | What it means | Example value |
|---|---|---|
| Editable operation tape | One line per action: + 12.50, - 2, * 1.05, / 3, S (subtotal), or T (total). A signed amount is allowed after the operation. S preserves the accumulator; T records and clears it. Blank tape equals zero. Edits recompute every dependent line. All amounts and balances use the selected currency; multiplication and division operands are dimensionless factors. | + 12.50 + 7.25 S - 2.00 T |
| Decimal places after each operation | Number of decimal places retained after each arithmetic line, from 0 through 8. This is an arithmetic policy, independent of a currency’s customary minor unit. | 2 |
| Rounding rule | Nearest ties-to-even selects the even last retained digit; nearest ties-away increases magnitude at an exact half; truncation discards toward zero. Rounding is applied after each arithmetic operation. | Nearest · ties to even |
How the calculation works
- Start the accumulator at zero. Apply each tape operation to it in written order using exact scaled integers.
- Round every arithmetic result with the selected policy. Record S without clearing, or record T and clear before the next operation.
- Edit any row to recompute all later results. Grand total is the sum of completed totals and the remaining open balance; undo and print are available beside the keypad.
aₖ = round(aₖ₋₁ ◦ xₖ); S: a unchanged; T: record a, then resetA worked example
Our example: +12.50, +7.25, S, −2.00, T records subtotal 19.75 and total 17.75. There are three arithmetic entries and one completed total.
Example you can load
What to enterThis is a fixed example; changing the form above does not change these numbers.
Assumptions & limits
An adding-machine workflow, not a model of every physical calculator. Up to 100 lines, 20 integer input digits, eight fractional input digits and 100 scaled result digits. Each operation rounds immediately to 0–8 selected decimal places. The tape stays in this page session; no account, upload or automatic permanent saving. Arithmetic follows tape order with no algebraic precedence.
Frequently asked questions
What happens when I press Total?
T prints the current balance into the tape and resets the accumulator for the next arithmetic entry. The main result still shows the recorded total until another action changes it.
Does editing a line update later totals?
Yes. Editing either a row input or the full tape reruns the entire sequence, including all subtotals and completed totals. Undo restores a prior tape state.
Why can summing rounded lines differ from rounding once at the end?
Rounding occurs after each operation. With two decimal places and ties-to-even, adding 0.005 to zero rounds to 0.00 each time. Select a larger precision if you need those fractions retained.