Use-Case Guides

How to Extract Totals from a Scanned Receipt

Quick answer

To extract totals from a scanned receipt, scan it flat in bright, even light, then look for the total near the bottom of the receipt — usually labelled total, amount due, or balance. Read the figure at full zoom and check it against the item lines before you record it anywhere.

How to Extract Totals from a Scanned Receipt — Scanner.cam guide

Receipt totals hide in plain sight, but they are easy to misread: a subtotal is not a total, a card payment line is not the amount owed, and a faded thermal print can turn a 7 into a 1. A careful scan plus a short manual check gives you a total you can trust for expenses, budgets, and tax records.

Scan for readability first

The total is usually the largest number on the receipt, but only a clean scan makes it reliably readable. Lay the receipt flat, use bright, even light with no flash glare, and capture the whole slip including the bottom edge, where the total and payment lines sit. Check the scan at full zoom before filing it: if the total line is blurry or cut off, rescan rather than guessing. For long receipts, scan in overlapping sections so nothing at the fold is lost.

Find the right number

  1. Look near the bottom of the receipt for labels like total, amount due, balance, or total due — that is the figure you want.
  2. Ignore the subtotal above it: that is the amount before tax, discounts, or tips, and it is not what you paid.
  3. Ignore card and change lines below the total: "Visa 42.50" and "Change 7.50" describe how you paid, not what the purchase cost.
  4. If the receipt shows several totals — for example, a restaurant bill split across guests — take the grand total, and note the split separately if you need it.
  5. Cross-check: add up the item lines roughly. If your sum is far from the printed total, you are probably reading the wrong line or a faded digit.
Try it as you readOpen the scanner in a new tab and follow along — free, no signup.
Open Scanner.cam

Use OCR as a helper, not a verdict

Text recognition (OCR) can pull numbers out of a receipt scan automatically, and it is a handy shortcut for long receipts. Treat its output as a draft: OCR commonly misreads faded digits, confuses similar characters, and grabs the wrong line as the total. Always compare the extracted figure with the total you can see in the scan itself. For anything that goes into accounts or a tax file, the human check is the step that matters — a wrong total copied into a spreadsheet is worse than a slow total entered by hand.

Common mistakes to avoid

Frequently asked questions

Where is the total on a receipt?
Almost always near the bottom, labelled total, amount due, or balance, above the payment and change lines. The subtotal sits above it and is not the final figure.

Can I extract totals automatically from a scan?
Yes, with OCR tools, but always verify the result against the scan. Faded or crumpled receipts produce the most errors, and a wrong total in your records is costly.

What if the total is faded or cut off?
Rescan with better light and a flatter receipt first. If the figure is truly gone, match the purchase against your bank or card statement for the same date and shop.

Should I record the total with or without tax?
Record the grand total — the amount actually paid, including tax. Keep the tax line visible in the scan if you need it broken out later.

What about receipts with tips added by hand?
If you wrote a tip on the receipt, scan it after writing, and record the handwritten total. Note that the card statement may show the tipped amount, which is a useful cross-check.

Try it right now — free

Open Scanner.cam in your browser, scan, and download. No signup, no watermark, nothing uploads.

Open Scanner.cam
Scan documents free — no app, no signupScan Now