Everyday

Discount Calculator

Calculate sale prices, invoice discounts, gross margin, a target-based maximum discount, or the sales volume needed to offset a price reduction.

Your result appears here after you calculate.

Check this calculator’s assumptions and limits below.

How the calculation works

Forward sale price = original × (1 − percent off / 100). Original price equivalent = sale price ÷ (1 − percent off / 100). Percent off = savings ÷ original price × 100. Successive discounts multiply their remaining-price factors; equivalent percent off = (1 − product of those factors) × 100. Invoice discount = eligible amount × cash-discount rate, rounded to cents. Payment within the window = full invoice − cash discount. For extra credit period t days, period cost = discount ÷ discounted full-invoice payment; simple annualized cost = period cost × year basis ÷ t, and compounded annualized cost = (1 + period cost)^(year basis ÷ t) − 1. In markup mode, list price = entered cost × (1 + markup-on-cost percentage / 100). In either pricing mode, sale price = list price × (1 − discount / 100), unit gross profit = sale price − entered cost, realized markup = 100 × gross profit / cost, and gross margin = 100 × gross profit / sale price. Entered tax is calculated separately on the unrounded sale price and excluded from gross profit. Target margin: minimum exact sale price = cost ÷ (1 − target margin / 100). Round that price UP to cents, then calculate its percentage discount from the list price and round the percentage DOWN to six decimals. Revenue preservation: required units = original units × original price ÷ discounted price. Contribution preservation: required units = original units × (original price − unit variable cost) ÷ (discounted price − unit variable cost). Round required units UP to obtain whole units.

A worked example

A $100 item at 20% off costs $80 before tax. At 6% tax, the total is $84.80. A sale price of $80 at 20% off implies a $100 original price. Successive 20% and 10% reductions leave $72 from $100, equivalent to 28% off. In invoice mode, a $1,000 invoice with the full amount eligible for a 2% cash discount gives a $20 reduction and $980 payment within the modeled window. The agreed start date is day 0: October 1 plus 10 calendar days is October 11, and plus 30 days is October 31. With an entered cost of $50, a 50% markup makes a $75 list price. A 20% discount gives a $60 sale price and $10 unit gross profit: 20% realized markup on cost, but about 16.666667% gross margin on sale. An entered 10% post-discount tax adds $6, for a $66 total. With a $50 unit cost and a 20% gross-margin target, the minimum sale price is $62.50. From a $100 list price, that permits a 37.5% discount. At a $100 original price, 100 baseline units and a 20% discount, 125 units preserve $10,000 revenue. If all variable costs are $50 per unit, preserving the original $5,000 contribution requires 166.666667 theoretical units, or 167 whole units.

Before you use the result

Use the sales tax rate that applies to your purchase. This tool assumes the discount is applied before tax. Each displayed money amount is rounded half up to two decimal places. Tax uses the unrounded discounted price; intermediate amounts are not rounded before calculating the total. This is an entered-rate estimate, not a jurisdiction-specific tax or merchant rounding rule. Original price and each unrounded result are limited to 100 million for cent precision. Other modes use prices before tax and exclude fees, fixed-amount coupons and merchant eligibility. An original-price calculation treats the entered sale price as exact; a rounded receipt may have several possible original prices. A 100% discount cannot identify an original price. Percentage-from-prices modes require a positive original price and savings or sale price no greater than it. Successive modes apply 1–20 entered percentage reductions, each from 0 to 100, to the remaining price; percentages are not added, and stages are not rounded. Enter decimal rates one per line (commas, spaces or slashes also separate rates), without percent signs; up to 2,000 characters total and 100 per rate. Decimal exponents from −324 through 324 are supported. Equivalent percentages display to six decimals, with a less-than or greater-than label when a small positive difference would otherwise round to 0% or 100%. The default money display is USD; no currency conversion is calculated. The six basic retail discount modes do not answer invoice deadlines, tax-law treatment, quantity tiers, allocations, markup/margin, loan points, securities, benefit schemes or software instructions. Invoice mode is a separate USD scenario. Enter the full amount and the portion eligible for the cash discount after applicable returns or trade discounts; amounts must be nonnegative, at most $100 million and have no more than two decimals. Eligible amount cannot exceed the invoice total. The discount rate permits 0–100% with at most six decimals. It rounds the discount to cents first, then subtracts it; a very small percentage can therefore produce no payable saving. Enter the agreed start event as day 0, not necessarily the invoice issue date. Add calendar days with no weekend, holiday, end-of-month or receipt adjustment, and include the final discount day. Enter a discount period of 0–3,650 days and a strictly longer full credit period of 1–3,650 days; real dates must stay within 1600–9999. The proposed full-payment date cannot precede the start. A date after the net due date shows the undiscounted invoice before any late fees. The rates always compare payment on the discount deadline with payment on the net date, using the rounded full-invoice payment as the denominator. They do not change with the proposed payment date. Choose a 360- or 365-day year. Compounded annualization assumes hypothetical repeated identical credit periods; it does not assert actual invoice interest or a legally disclosed APR. Rates round half up to six decimals. A zero discounted payment makes the rates undefined; a compounded annual rate above 1,000,000% is labeled above the numerical display limit. Contract eligibility, actual payment receipt, partial payments, special terms, taxes, journal entries and penalties remain outside the model. Markup and gross-margin modes use USD. Enter nonnegative unit cost and list price up to $100 million; no intermediate rounding occurs. A markup may exceed 100%, up to 1,000,000%; discounts range from 0% to 100%, and entered tax from 0% to 1,000%. Every unrounded monetary result, including the marked-up list and taxed total, must stay within $100 million in magnitude. All monetary displays round half away from zero to cents only at the end. The exact finite decimal values entered are used even when a value is smaller than a cent. Negative profit and negative margins remain negative; markup on zero cost and margin on zero sale are explicitly undefined. Percentages display to six decimals; a nonzero value below that precision retains its sign, while magnitude above 1 trillion is labeled beyond the display limit. The exact sale-versus-cost comparison remains visible even when displayed cents round to zero. Include the cost components relevant to your scenario; no fees, overhead or shipping are inferred. Tax is modeled as a separate pass-through on the post-discount price, without deciding the legal base, rate or exemptions. Unit gross profit is not net operating profit or business break-even. These two forward modes do not solve for a maximum discount or the sales volume needed to offset a price reduction. Target-margin mode requires positive USD cost and list price, each at most $100 million with at most two decimal places. The target is 0–99.999999% with up to six decimals. It chooses the smallest whole-cent price that meets that unit gross-margin target; if that price exceeds the list price, no nonnegative discount works. A required price above $100 million is shown as beyond the display limit. The six-decimal percentage is rounded DOWN, so applying it can yield a slightly higher exact sale price than the minimum cent price; the two attained margins are shown separately. Neither scenario applies an unstated merchant rounding rule. Volume modes require a positive original unit price up to $100 million, 1–1 billion baseline whole units, an entered discount of 0–100%, and baseline revenue no greater than $100 million. Contribution mode also needs all unit variable costs, nonnegative and strictly less than the original price. Finite decimal inputs, including values below a cent, remain exact internally. A nonpositive discounted amount per unit cannot preserve a positive baseline at any positive finite volume. Theoretical counts and whole-unit ceilings are separate, with separate percentage increases. Exact counts and percentages above 1 trillion use a display-limit label; positive values below six-decimal display precision keep a small-value label. Money displays to cents, while separate exact-sign labels identify amounts that round to zero. Post-discount aggregate revenue is neither displayed nor subject to an additional cap. Keep unit costs, fixed costs and product mix constant within a suitable operating range. These modes do not predict demand, capacity or actual sales, and they do not calculate operating break-even, legal pricing rules or taxes.

Read the guide

References