Margin with Discount Calculator

See exactly what a discount does to your margin.

Money Profit + margin loss Markup-equivalent
Rate this calculator · 4.0 (1)

Margin with Discount

Effective margin = (Discounted − Cost) ÷ Discounted

Instructions — Margin with Discount Calculator

Retail and SaaS pricing usually has two numbers attached: a list price and a discount. This calculator shows what the discount actually does to the margin you keep.

  1. Original (list) price — the published price before the markdown.
  2. Target margin (%) — the gross margin you set at the list price. The calculator backs out the implied unit cost.
  3. Discount (%) — the markdown applied to the list price. Set this to 0 to see only the cost and profit at list.

The result panel shows the discounted price, the implied cost, dollar profit at both prices, the effective margin after the discount, and how many margin points you give up. A red value means the discount eats your entire margin and pushes you to a loss.

Formulas

Gross margin:

Margin % = (Price − Cost) ÷ Price × 100

Cost implied by a target margin:

Cost = Price × (1 − margin)

Discounted price:

Discounted = Price × (1 − discount%)

Effective margin after discount:

Effective margin = (Discounted − Cost) ÷ Discounted × 100

Markup equivalent of a margin:

Markup % = margin ÷ (1 − margin) × 100

Margin lost to a discount:

Margin loss = Target margin − Effective margin

Reference

A discount is never just the percentage on the tag. The same 20% markdown produces very different margin damage depending on the starting margin.

Effective margin after a 20% discount, by starting margin:

  • Start 50% → effective 37.5%
  • Start 40% → effective 25.0%
  • Start 35% → effective 18.75%
  • Start 30% → effective 12.5%
  • Start 25% → effective 6.25%
  • Start 20% → effective 0% (break-even)
  • Start 15% → effective -6.25% (loss)

The rule of thumb: a discount equal to your margin wipes out all profit. According to the U.S. Bureau of Labor Statistics, U.S. apparel retailers run at about 50% gross margin, grocery at 20-30%, and broadline general merchandise stores at 25-35%. A 30%-off coupon at a grocer is almost always a loss-leader; at an apparel brand it can still be profitable.

Article — Margin with Discount Calculator

The Margin with Discount Calculator, for retail pricing

Margin with discount is the effective gross margin after a markdown on the list price. Effective margin = (Discounted price − Cost) ÷ Discounted price × 100. A discount equal to the starting margin wipes out all profit; any larger discount sells below cost. The relationship is non-linear, which is why a 20% discount on a 40% margin product feels much smaller than a 20% discount on a 25% margin product.

The SBA, the Federal Trade Commission, and the BLS all publish guidance on pricing and discount disclosure. Across U.S. retail, gross margin ranges from about 20% in grocery to above 50% in apparel and 70%+ in software — the same headline discount produces very different bottom lines depending on the sector.

What is margin with discount?

Gross margin is the percent of revenue left after the cost of goods sold. A product priced at $100 with a $60 cost has a $40 gross profit and a 40% gross margin. Apply a 20% discount and the price drops to $80; the cost is still $60; gross profit shrinks to $20; effective margin is 25%. The discount took 15 margin points, not 20, because the price went down too.

The calculator works the relationship in both directions. Enter list price, target margin, and discount, and it returns the discounted price, the implied cost, dollar profit at both price points, and the new margin. Set discount to 0 to see only the cost and full-price margin.

Did you know

According to U.S. Census Bureau retail surveys, U.S. consumers redeemed coupons and promotional discounts on roughly 32% of all e-commerce transactions in 2024. The median effective margin during a promotion drops 8-12 percentage points compared with full-price periods, a band that has been remarkably stable across cycles.

The margin and discount formulas

Margin and discount math
Margin % = (Price − Cost) ÷ Price × 100
Cost = Price × (1 − margin)
Discounted = Price × (1 − d%)
Effective margin = (Disc − Cost) ÷ Disc × 100
Markup % = margin ÷ (1 − margin) × 100

Worked example. List price $200, target margin 40%, discount 20%. Cost = 200 × 0.60 = $120. Discounted price = 200 × 0.80 = $160. Profit at list = $80; profit at discount = $40. Effective margin = 40 ÷ 160 × 100 = 25%. The 20-point discount removed 15 margin points and cut dollar profit in half.

How a discount cuts margin

The damage scales with the starting margin. A 20% discount produces very different effective margins depending on where the list-price margin began.

  • Start 50% — effective 37.5% (loss of 12.5 points)
  • Start 40% — effective 25.0% (loss of 15 points)
  • Start 35% — effective 18.75% (loss of 16.25 points)
  • Start 30% — effective 12.5% (loss of 17.5 points)
  • Start 25% — effective 6.25% (loss of 18.75 points)
  • Start 20% — effective 0% (break-even, no profit)
  • Start 15% — effective −6.25% (loss per unit)

The pattern: the lower the starting margin, the closer a fixed discount drives the effective margin to zero. A 25% margin retailer survives a 10% promotion. A 25% margin retailer running a 30% promotion loses money on every transaction.

40% / 0%
Full price
$80 profit
40% margin
40% / 20%
After discount
$40 profit
25% effective margin

Protecting margin on promotions

Three standard tactics protect margin during a discount cycle. The first is the price-up-then-discount strategy: raise list price before the promotion so the discounted price still hits the target margin. To keep a 40% margin at 20% off, list price needs to equal cost ÷ (0.60 × 0.80) = cost ÷ 0.48, roughly 2.08× cost.

The second is selective discounting: use coupon codes, member pricing, or SKU-specific markdowns rather than broad price drops. This preserves the headline price for regular customers while attracting marginal buyers. Third, run the promotion only on high-margin SKUs where the effective margin remains acceptable.

Tip

Always check the discount against the contribution margin (price − variable cost), not the gross margin. The contribution margin is what you actually keep to cover fixed costs after the sale. A discount that leaves a positive contribution margin can still make sense even if the gross margin is razor-thin.

Stacked discounts and margin

Stacked discounts are not additive. A 20% off coupon plus another 20% off promotion is not 40% off. It is 20% × 80% = 36% off the original price. Three 10% discounts produce 27.1% off, not 30%. The math compounds multiplicatively, always producing less total discount than the simple sum.

This rule matters for both the consumer (smaller savings than expected) and the retailer (smaller margin damage than a worst-case calculation would predict). Stacking is also where many promotion rules go wrong — a poorly written code that combines with a base promo can produce a 50%+ effective discount and turn a profit into a loss. The FTC's pricing-disclosure guides require retailers to make stacked-discount math clear to shoppers.

Margin by retail sector

Sector matters because the same discount has very different consequences depending on the starting margin. BLS producer-price and BEA retail-trade data put U.S. sector medians roughly here:

  • Grocery — 20-30% gross margin (high volume, thin per-unit profit)
  • General merchandise — 25-35%
  • Hardware / DIY — 30-40%
  • Apparel — 45-55% (heavy seasonal discounting baked in)
  • Jewelry — 50-65%
  • Software / digital goods — 70-90%
  • Restaurants — 60-70% on food cost; 5-10% net
Match discounts to your margin floor

A simple rule keeps promotions safe: discount < starting margin. A 25% margin should not run anything deeper than a 20-22% discount unless paired with attach-rate uplift or volume guarantees. Beyond the margin floor, you sell each unit at a loss; the only justification is acquiring a customer worth more in lifetime value than the per-unit loss.

Common margin and discount mistakes

The first mistake is confusing margin and markup. They share the dollar profit but use different denominators. A 50% margin equals a 100% markup. A 40% margin equals a 67% markup. Discounts get computed on the price (margin denominator), which is why margin is the right starting point for promotional math. Mixing the two terms in the same conversation produces 20-point pricing errors that ripple through every cost-plus quote.

The second is forgetting that loss-leader pricing only works at scale. A grocer can sell milk near AVC because the basket margin recovers it. A boutique cannot. Before announcing a deep promotion, run the math on attach-rate — what fraction of discounted transactions include a full-price item — and confirm that the blended margin still clears your fixed-cost coverage. The FTC's deceptive-pricing guides explicitly require that any "was/now" price reference an actual prior selling price; manufactured original prices designed to inflate the apparent discount are not permitted.

The third is announcing a discount before knowing the cost. If the buyer's cost moved (commodity input swing, FX shift, supplier price change) since the price was set, the assumed margin may not match reality. Pull updated cost data, recompute the effective margin at the proposed discount, then decide whether the promotion is still viable. SaaS pricing teams hit this when third-party cloud costs jump and the discount math — built on last quarter's margin — suddenly produces near-zero contribution per seat.

The fourth is forgetting that not every customer needs the discount. Member-only or first-time-buyer codes let you cut price for the marginal customer without sacrificing margin on customers who would have paid full. Personalized pricing, when done legally, is the highest-ROI discount tactic available to e-commerce; it preserves the headline margin while still pulling in price-sensitive shoppers.

FAQ

A discount cuts the selling price while the cost stays the same, so the dollar profit per unit shrinks. The effective margin is profit divided by the new (lower) price. A 20% discount on a product with a 40% margin drops the effective margin to 25%.
Margin is profit divided by the selling price; markup is profit divided by the cost. Margin = markup ÷ (1 + markup). A 100% markup is a 50% margin. Retailers think in margin (what fraction of revenue is profit); manufacturers often think in markup (how much they raise the cost).
The maximum discount before you lose money equals your current margin. If your margin is 30%, a 30% discount sells exactly at cost. Above that, every unit sold loses money. The calculator flags this with a red profit value.
Raise the list price first so the discounted price still hits your target margin. To keep a 40% margin at 20% off, your list price needs to be cost ÷ ((1 − 0.40) × (1 − 0.20)) = cost ÷ 0.48, roughly cost × 2.08.
Effective margin = (Discounted price − Cost) ÷ Discounted price × 100. If cost is $60 and discounted price is $80, effective margin is 25%.
No. 20% off and another 20% off is not 40% off. It is 20% × 80% = 36% total off. Stacking always produces a smaller cumulative discount than summing the individual percentages.
Common tactics: hold a target margin floor (never discount past your variable cost plus a slim contribution), use coupon codes rather than headline price changes, and limit sales to specific SKUs or windows. The SBA recommends mapping your full price-list to a target margin before running any promotion.
It varies by sector. According to Bureau of Labor Statistics producer-price and trade data, grocery runs 20-30% gross margin, general merchandise 25-35%, apparel near 50%, jewelry above 50%, software and digital goods 70%+. Compare your margin to the median for your sector before deciding on a discount.