Dynamic discount calculator
- Discount
- $328.77
- Amount paid
- $49,671.23
- Discount as % of the invoice
- 0.66%
Formula: Discount = invoice amount × annual rate × days paid early / 365
Example
- Invoice amount ($)
- $50,000
- Annual rate (%)
- 12%
- Days paid early
- 20
- Discount
- $328.77
- Amount paid
- $49,671.23
- Discount as % of the invoice
- 0.66%
What the calculator works out
The calculator works out the dollar discount, the amount paid, and the discount as a percentage of the invoice under a sliding-scale early-payment offer. It uses the formula Discount = invoice amount × annual rate × days paid early / 365. Dynamic discounting replaces a fixed discount window with a discount that scales by the day, so the result changes when the payment date changes.
The invoice amount is the approved total on the invoice you intend to pay, taken from the invoice or the AP ledger. The annual rate is the rate stated in the supplier's early-payment offer, entered as a percentage. Days paid early is the number of days between the scheduled payment date and the invoice due date when payment is made before the due date.
The arithmetic is simple interest over 365 days. Offers may be quoted differently, so use the offer's own terms. The supplier chooses whether to accept early payment at that rate; the calculator only prices the offer.
A worked example
Suppose an AP clerk has an approved invoice for $50,000 and a supplier offer with an annual rate of 12%. The clerk plans to pay 20 days early. Those are the three inputs: invoice amount ($): $50,000; annual rate (%): 12%; days paid early: 20.
The calculator returns a discount of $328.77, an amount paid of $49,671.23, and a discount as % of the invoice of 0.66%. The formula with those inputs is $50,000 × 12% × 20 / 365 = $328.77.
The supplier must still accept early payment at that rate. The buyer's return is the annual rate entered, earned on cash paid early. The 0.66% figure is the discount on this invoice, not a second annual rate.
Reading the result
Read $328.77 as the cash discount on this invoice and $49,671.23 as the amount to pay. The 0.66% is the discount as a share of the invoice; the 12% is the annual rate used in the formula. Keep those two percentages separate when you report the result.
Compare the 12% annual rate with your own cost of funds. If your cost of funds is higher than the rate, paying early may look more attractive; if it is lower, the case is weaker. That comparison is general and depends on your own financing, not on the calculator.
On the AR side, the same figures show the cash discount the supplier would give up to be paid early. The supplier chooses whether to accept. Offers may be quoted differently, so use the offer's own terms rather than assuming every offer uses this annual-rate convention.
Where the inputs go wrong
The most common input error is counting days from the invoice date instead of the due date. Days paid early run from the payment date to the due date. If the payment run is scheduled for a date after the due date, the invoice is late, not early, and this early-payment calculation does not apply.
A second error is entering a flat discount as an annual rate. If an offer states a flat discount rather than an annual rate, that is not the same input as an annual rate; use the offer's own terms and do not force a flat percentage into the annual-rate field. The calculator uses 365 days, while an offer may use another day-count convention.
A third error is using the wrong invoice amount. Use the approved invoice total subject to the offer, not a total for the whole payment run and not an amount that still includes a vendor credit. Check the vendor record and the invoice before you enter the amount.
Finally, rerun the calculation when the payment date moves. A one-day change in the payment date changes the days paid early and therefore the discount. Small date errors produce small dollar errors on one invoice and larger ones across a payment run.
Questions
What is dynamic discounting?
Dynamic discounting is an early-payment arrangement in which the discount scales by the day instead of sitting inside a fixed discount window. The supplier chooses whether to accept early payment at the offered rate. The buyer's return is the annual rate entered, earned on cash paid early.
How is a dynamic discount calculated?
Discount = invoice amount × annual rate × days paid early / 365. For a $50,000 invoice at 12% paid 20 days early, the discount is $328.77 and the amount paid is $49,671.23. The discount as % of the invoice is 0.66%.
What does days paid early mean?
It is the number of days between the payment date and the invoice due date when payment is made before the due date. Use the due date, not the invoice date. If payment is on or after the due date, the invoice is not being paid early.
Should we accept a 12% annual rate offer?
Compare the 12% annual rate with your own cost of funds; the calculator does not decide whether the offer fits your cash position. The supplier chooses whether to accept early payment at that rate. Offers may be quoted differently, so use the offer's own terms.
Updated Nov 7, 2026. Figures on this page are calculated by ERPSav from the definitions shown. The explanatory text is drafted with AI from those figures and checked automatically before it is published. General information only, not legal, tax or financial advice.