Overview

Calculate the total amount of a receipt including tax and tips from PDF files by automatically extracting the necessary information.

Freelancers totaling business expenses, employees preparing a reimbursement claim, and anyone splitting costs after a trip often have a folder of PDF receipts and need one number. Instead of opening each file and adding totals by hand, upload them together and the tool reads the text of each PDF, pulls out the amount labelled as the total, and adds them up. A per-receipt table shows what was found in each file, so you can quickly spot a receipt that needs checking before you submit an expense report or record the spending in a budget.

Formula and example

Label order=Grand total→Amount, Balance or Total due→Total→Amount\displaystyle \text{Label order} = \text{Grand total} \to \text{Amount, Balance or Total due} \to \text{Total} \to \text{Amount}
Receipt total=Last amount(first label found)\displaystyle \text{Receipt total} = \text{Last amount}(\text{first label found})
Total amount=∑receipts foundReceipt total\displaystyle \text{Total amount} = \sum_{\text{receipts found}} \text{Receipt total}

Where:

Label order
— The labels tried in turn on each PDF, highest priority first; plain Total skips Subtotal, Total tax, savings, discount and item-count lines, and Amount also matches Amount paid or Amount charged.
Receipt total
— The amount read from one PDF, or Not found when none of the labels has a number on the same line.
Last amount
— The number on the last line carrying that label, since receipts list the final total after any running totals.
Total amount
— The combined total of every receipt amount that was found; receipts marked Not found are skipped.

Worked example

You upload three PDF receipts whose text reads Subtotal 39.00 then Total: 42.18, Amount due: 17.50, and Total $130.

  1. Receipt 1: the subtotal is skipped and the Total line is used

    Subtotal 39.00, Total: 42.18  ⇒  $42.18\displaystyle \text{Subtotal } 39.00,\ \text{Total: } 42.18 \;\Rightarrow\; \$42.18
  2. Receipt 2: the Amount due line is used

    Amount due: 17.50  ⇒  $17.50\displaystyle \text{Amount due: } 17.50 \;\Rightarrow\; \$17.50
  3. Receipt 3: the Total line is used

    Total $130  ⇒  $130.00\displaystyle \text{Total } \$130 \;\Rightarrow\; \$130.00
  4. Total amount

    $42.18+$17.50+$130.00=$189.68\displaystyle \$42.18 + \$17.50 + \$130.00 = \$189.68

Result

The table lists $42.18, $17.50 and $130.00 for Receipts 1 to 3, and the Total Amount is $189.68. A fourth receipt with no readable total would show Not found and leave the sum unchanged.

FAQs

How do I add up multiple receipts quickly?

Upload all the PDF receipts at once and the calculator sums the total from each one. For example, receipts of $42.18, $17.50 and $129.99 give a combined total of $189.67.

What file format is supported?

Only PDF files are accepted, and you can select several at once. Photos such as JPG or PNG need to be converted to PDF first.

Why does a receipt show Not found?

The tool looks for Grand Total, then Amount Due or Balance Due, then Total, then Amount, followed by a number on the same line, such as Total: 42.18 or Total $42. Subtotal, Total Tax and Total Savings lines are skipped. If a receipt uses a different label or places the amount on another line, it is marked Not found and left out of the sum.

Does it work with scanned or photographed receipts?

Usually not. The calculator reads the text layer inside a PDF and does not perform OCR, so a scan or photo saved as PDF contains no readable text. Emailed and downloaded PDF receipts from online stores and billing systems work best.

Can I use the total for an expense report?

Yes, as a starting point. The tool takes the last Grand Total, Amount Due or Total line on each receipt and skips subtotals, but an unusual layout can still be misread, so check the per-receipt table against your receipts first.

How to use

Upload your PDF receipts and get a combined total with a per-receipt breakdown.

  1. Upload Receipt PDFsSelect one or more PDF receipts, such as emailed order confirmations or downloaded invoices. The files are read in your browser; this upload works on the web version of the site.
  2. Check each receipt in the tableEach row shows the total found in that file, labelled Receipt 1, Receipt 2 and so on. A row marked Not found means no total label with an amount could be read from that receipt, so add it manually.
  3. Read the Total AmountThe highlighted Total Amount is the sum of every total that was found. Compare a couple of rows with the original receipts before using the figure for a reimbursement or expense report. Receipts With a Total and Receipts to Check count how many files gave a total and how many need a manual look.

Assumptions

  • Only text-based PDFs can be read; scanned images and photos are not processed with OCR.
  • The receipt total is the last amount after Grand Total, Amount Due, Balance Due or Total (in that order of preference), with up to two decimal places; subtotal and tax lines are skipped.
  • All receipts are assumed to be in the same currency, and no currency conversion is applied.

Explore more