Finance

Invoice Discount Calculator

Find the discount that brings an invoice to a target grand total, after taxes and fees. Add line items, fees and taxes, enter the total you need, and get the exact % and amount.

Line items
Untick Discountable for anything the discount shouldn't touch, like delivery.
CA$850.00
CA$300.00
CA$40.00
Fees
Optional. A fixed fee or a % of the subtotal can be taxable; a % of the grand total (like a card surcharge) is added last.
Taxes
Charged on taxable items and fees, after the discount.
%

Presets are a starting point; check current rates for your region.

Target grand total
Without a discount the total is CA$1,344.70.

Discount needed

26.525%

CA$305.04 off

Grand total comes to exactly CA$1,000.00.

Invoice breakdown
ItemsCA$1,190.00
Discount−CA$305.04
SubtotalCA$884.96
Taxable amountCA$884.96
HST (13%)CA$115.04
Grand totalCA$1,000.00

The discount comes off before tax. Your invoice is saved in this browser only.

About this tool

The Invoice Discount Calculator works backwards from the grand total you need. Add your line items with quantities and unit prices, mark which ones are taxable and which the discount can apply to (so delivery or other fixed charges stay untouched), and add any fees: a fixed amount, a percentage of the subtotal, or a percentage of the grand total like a card surcharge. Add one or more taxes, from Canadian GST, HST, PST and QST presets, UK VAT, or your own rates, including compound taxes. Then type the grand total you want to land on, whether it is a client's budget, a round number or a price you have already agreed, and it tells you the exact discount as a percentage and as an amount, with the full invoice breakdown. Everything is calculated to the cent with real invoice rounding, so the numbers match what your invoicing software will show, and when rounding makes an exact total impossible it says so and shows the closest discounts on either side. Your invoice is saved in your browser so you can come back to it.

How to use the Invoice Discount Calculator

  1. Add your line items with quantities and unit prices. Untick Discountable for anything the discount should not reduce.
  2. Add any fees, such as a setup fee, a percentage admin fee or a card surcharge.
  3. Add your taxes, or pick a preset like HST 13% or GST + PST.
  4. Type the grand total you need in Target grand total.
  5. Read the discount as a percentage and an amount, check the breakdown, and copy the summary.

Use it from your code

The Invoice Discount Calculator is also a REST API endpoint. Create a free API key and call it from your own scripts and apps.

# Discount an invoice down to $1,000
curl -X POST https://opentools.ca/api/v1/tools/invoice-discount-calculator \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "items": [
    {
      "description": "Design work",
      "quantity": 10,
      "unitPrice": 85
    },
    {
      "description": "Printing",
      "quantity": 250,
      "unitPrice": 1.2
    },
    {
      "description": "Delivery",
      "quantity": 1,
      "unitPrice": 40,
      "discountable": false
    }
  ],
  "taxes": [
    {
      "name": "HST",
      "rate": 13
    }
  ],
  "targetTotal": 1000
}'

Give us your feedback

Help us improve Invoice Discount Calculator!

Frequently asked questions

Is the discount applied before or after tax?

Before tax, which is how invoices and sales taxes normally work: the discount reduces the price of the items, and tax is then charged on the reduced amount. Fees that are a percentage of the subtotal are also calculated after the discount.

Why can't it hit my total exactly?

Every amount on an invoice is rounded to the cent, and with taxes and percentage fees, one more cent of discount can lower the total by more than one cent. When your exact target falls between two of those steps, the calculator shows the discount just under and just over it.

Why does the percentage have so many decimals?

It is given to just enough decimal places that, entered into invoicing software as a percentage, it produces exactly the same discount to the cent. You can also enter the discount as the dollar amount instead.

What does Discountable mean?

Only items marked Discountable are reduced. Untick it for things like delivery, deposits or third-party costs that you charge at cost, and the calculator spreads the discount over the other items only.

Are the tax presets up to date?

They reflect common rates, such as HST 13% in Ontario and 14% in Nova Scotia, but rates change, so check the current rate for your region. You can edit any rate or add your own taxes.

Is my invoice saved or sent anywhere?

It is saved in your own browser so you can come back to it, and it is never sent to a server. Start over clears it.

Invoice Discount Calculator screenshot