Skip to content
Investment Math
Investment Math

Currency and number style

Only changes how amounts look. There is no currency conversion.

How to Write a Receipt for a Payment: formula, worked example and common mistakes

Type the line items and the payment, read a document-shaped receipt, print a one-page sheet. Free, nothing stored or sent.

Updated

What a receipt adds up

A receipt is a record of a payment, and the arithmetic is the engine the invoice and quotation pages use: line items multiplied out, a subtotal, a discount, a typed tax rate on the discounted subtotal, a shipping charge added after tax, and one total at the bottom. The page settles the amount received against that total and reports either the change to hand back or the amount still owed, neither of which is an error.

The calculator is at /tools/receipt/. The receipt is labeled as the visitor’s own: the page keeps no copy and checks no legal requirements, no logos are attached, and the examples carry no real firm names. Print on the page prints a one-page sheet.

The formula

line total = quantity × unit price
subtotal   = sum of the line totals          (unrounded)
discount   = subtotal × discount%
taxable    = subtotal − discount
tax        = taxable × tax%
total      = taxable + tax + shipping        (shipping is never taxed)
change = received − total, when positive
owed   = total − received, when positive

A blank amount received counts as the total, so an untyped payment settles exactly.

A worked example at the calculator’s defaults

Two lines, a 10% discount, a 20% tax rate and 15.00 of shipping, with no amount received typed.

Design work   10 × 85     = 850.00
Printing       4 × 32.50  = 130.00
subtotal                  = 980.00
discount 10%              =  98.00
taxable                   = 882.00
tax 20%                   = 176.40
shipping                  =  15.00
total                     = 1,073.40
received                  = 1,073.40   (blank counts as the total)
owed                      = 0

The headline reads REC-001: total 1,073.40. Typing 1,000 as received flips the rows: the receipt reports 73.40 still owed with a grey note, and typing 1,100 reports 26.60 of change instead. A quantity of 0 and a blank description are both allowed, and the payment method is free text such as cash.

What the page does not know

The page does not check tax rules or legal requirements and keeps no copy: whatever a receipt is required to carry where you are is yours to add to the printed sheet. No tax rate is stored, the shipping charge is never taxed, and the totals come from the unrounded line amounts with money figures rounded for display only. For the same engine with a due date and a balance, the invoice page runs the same numbers; for the percent arithmetic behind the discount, the discount calculator works on its own.

Frequently asked questions

What is the receipt total formula?

The same one the invoice page uses, because they share an engine: subtotal = sum of quantity × unit price; discount comes off the subtotal; tax charges the discounted subtotal; shipping is added after tax. The example lines make 980.00, and 10% off with 20% tax and 15.00 of shipping gives 1,073.40.

What if the payment was not the full total?

The page subtracts: received 1,000 against a total of 1,073.40 leaves 73.40 still owed, reported with a grey note; receiving 1,100 hands back 26.60 of change. Leaving the amount received blank counts the whole total as received, so the default run settles exactly.

Does the receipt need my signature or details?

The page carries the names and document number you type and nothing else; it keeps no copy and checks no legal requirements, so anything the rules where you are ask of a receipt is yours to add on the printed sheet.

Why does the total match the invoice page?

Because the three document pages share one line-item engine, so the same lines give the same total on the receipt, the invoice and the quotation. Only the settling differs: the receipt works out the amount received, the change or the amount still owed.

This tool shows math, not advice.

Cite this page

Copy this line into a reference list, a report or a spreadsheet note.

Investment Math Calculator. “How to Write a Receipt for a Payment”. Updated 2026-11-22. https://investmentmathcalculator.com/guides/receipt-calculator/

Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.