In the ordinary U.S. retail sales-tax setting, a store discount is normally subtracted from the selling price before sales tax is calculated, so tax applies only to the reduced amount—but the opposite result is correct in some situations, including manufacturer's coupons (taxed on the pre-coupon price in most states) and income-tax withholding on wages, where tax is computed on gross pay before voluntary deductions, not after. The question, read literally, mixes two different meanings of "tax," and the answer depends on which one is meant.

Why the answer splits by context

"Discount before or after tax" sounds like a single ordering rule, but three separate mechanisms are hiding in it:

1: Sales tax on a discounted purchase. Does the discount reduce the taxable base, or is tax computed on the full price and the discount taken afterward? 2: Income tax on wages or business revenue. Are voluntary reductions—employee discounts, early-payment discounts, trade discounts—subtracted before taxable income is computed? 3: Presentation on a receipt or invoice. Even when the underlying rule is fixed, the document may show tax on the gross line and a discount line, which makes the sequence look reversed.

The reference context supplied is Chinese personal income-tax filing and deductions, but the query itself is the general English one. Since no jurisdiction, tax type, or document is specified, the honest answer states the dominant rule and names the exceptions precisely rather than pretending one rule covers everything.

Retail sales tax: discount first, tax on the net

In the standard U.S. state and local sales-tax framework, a seller's discount—a markdown, a promotional percentage off, a loyalty discount, a buy-one-get-one reduction—reduces the price to which the sales-tax rate is applied. A $100 item at 20% off in an 8% jurisdiction is taxed on $80: $6.40 tax, $86.40 total. Taxing the full $100 first and discounting afterward would produce $108 minus $20, or $88—two dollars more, and not the usual result.

The logic is that sales tax is imposed on the sales price actually paid for the taxable item. If the seller receives $80, the taxable receipt is $80. This is the general principle across most states, and it is why the discount line conventionally appears above the subtotal line on a receipt: subtotal after discounts, then tax, then total.

Where the "before tax" rule bends: manufacturer's coupons and reimbursements

A manufacturer's coupon is different from a store discount, and most states treat it differently. The store accepts the coupon but is reimbursed by the manufacturer, so the store's gross receipts on the sale are the full shelf price; only the customer's out-of-pocket payment is reduced. In those states, sales tax is computed on the pre-coupon price, and the coupon comes off after tax. A $100 item with a $20 manufacturer's coupon and 8% tax is taxed on $100 ($8 tax), and the customer pays $88. A store coupon for the same $20, by contrast, usually reduces the taxable base, and the customer pays $86.40. The distinction is not the word "coupon" but who bears the economic cost: if the seller absorbs it, tax falls on the reduced price; if a third party reimburses the seller, tax typically falls on the unreduced price.

States vary, and a few treat manufacturer's coupons as reducing the taxable price. Rebates paid directly to the customer after purchase generally do not reduce the taxable sales price at all, because the sale already occurred at full price. These are the real ambiguities, and they are resolved by the specific state's sales-tax statutes and the department of revenue's guidance—not by a universal rule.

Where the "after tax" look comes from: invoices and mixed baskets

On a business-to-business invoice, a trade discount or early-payment discount (for example, "2/10 net 30") is ordinarily deducted from the invoice price before sales tax is computed, because it is part of the terms of sale. But a cash discount taken later, after the invoice has been issued and tax charged, may be handled as an adjustment or credit rather than a restatement. The document can therefore show tax on the gross and a discount beneath it, which readers reasonably read as "discount after tax"—even though the governing rule, applied at the point of sale, is net-first.

Baskets that mix taxable and exempt goods add a further wrinkle. An order-level discount usually must be allocated proportionally across the taxable and exempt items before tax is computed, so the effective discount on the taxable portion is not simply the headline percentage. A $50 discount on a $200 order that is half taxable reduces the taxable base by roughly $25, not $50.

Payroll and income tax: gross first, voluntary deductions after

The income-tax reading produces the reverse intuition. When an employer withholds tax from wages, the withholding is computed on gross wages—that is, before voluntary deductions such as retirement contributions, health-insurance premiums, or an employee discount on merchandise. The discount or deduction is subtracted from gross pay to arrive at net pay, but the tax calculation starts from the larger gross figure. In that sense, income tax is figured "before" the discount, and the discount lands "after tax."

The exception is pre-tax deductions. Contributions to a qualified retirement plan, certain health-insurance premiums, and dependent-care accounts are excluded from the wages subject to income tax (and often Social Security and Medicare tax as well), so they behave like a discount applied before tax. The label on the payroll stub—"pre-tax" versus "post-tax"—is the operative fact, not the word "discount." An employee discount on store merchandise is almost always post-tax compensation in effect: it reduces what the employee pays but does not reduce taxable wages.

For business income tax, trade discounts and sales returns and allowances reduce gross receipts, so they are netted before taxable income is computed. Cash discounts for prompt payment are generally treated as reductions of the sales price if the customer takes them. The pattern is consistent: a discount that changes the amount the seller is entitled to receive reduces the taxable figure; a discount that is really compensation or a reimbursement may not.

The general principle underneath

Across these settings, the ordering question reduces to one test: does the discount change the amount on which the tax is legally imposed? If yes—a store markdown, a pre-tax payroll deduction, a trade discount—the discount comes before tax. If no—a manufacturer's coupon reimbursed by a third party, a post-tax payroll deduction, a rebate paid after the sale—tax is computed on the larger figure and the discount comes after.

That is why the question cannot be answered with a single word. "Discounts are given before tax" is the default for everyday retail purchases and for genuine price reductions. "Discounts are given after tax" is correct for third-party reimbursements, post-tax payroll items, and rebates. The word "discount" covers all of them.

What is unknown here, and what can still be answered

The query does not name a jurisdiction, a tax type (sales tax, VAT, income tax, withholding), a discount type (store markdown, manufacturer's coupon, rebate, payroll deduction, trade discount), or a document (receipt, invoice, payroll stub, tax return). Those gaps matter because the rules diverge exactly along those lines. What is answerable without them is the dominant default and the structure of the exceptions:

Retail purchase, store discount: discount before tax; tax on the reduced price. Retail purchase, manufacturer's coupon: usually tax on the pre-coupon price in most U.S. states, with state variation. Rebate paid after purchase: no reduction of the taxable sales price. Payroll withholding, voluntary deduction: tax on gross before the deduction. Payroll withholding, pre-tax deduction: tax on the reduced amount. Business trade or early-payment discount: generally netted before tax.

A reader who needs a definite answer for a specific transaction should identify the state (for sales tax) or the payroll item's pre-tax status (for withholding), because those facts, not a general rule, control the result.

Common confusions worth separating

"Before tax" on a price tag. In countries with value-added tax, quoted retail prices are often tax-inclusive, so a discount advertised as "20% off" already reduces the VAT-inclusive price and the VAT is backed out of the reduced total. That is a different arithmetic from the U.S. sales-tax model, where the tax is added at the register, and it is a frequent source of cross-border confusion.

Percentage-off versus dollar-off. A 20% store discount and a $20 store discount on the same $100 item produce the same taxable base. The form of the discount does not change the ordering; only who bears its cost does.

"Tax-free" versus "discounted." A tax holiday or an exempt item removes the tax entirely; a discount reduces the base to which the rate applies. They are not interchangeable, and a receipt may show both effects.

Register versus return. The point-of-sale treatment and the treatment on a later tax return or invoice adjustment can differ in presentation even when the substantive rule is the same, which is why receipts and returns sometimes appear to contradict each other.

The short version: for ordinary shopping, the discount comes off first and tax is charged on what you actually pay. The exceptions are real and rule-driven, not arbitrary, and they turn on whether the discount genuinely reduces the seller's taxable receipts or is reimbursed, deferred, or reclassified.