/Offers and economics

Shopify discounts: what a promo code really costs

July 21, 2026 · WOCX

A Shopify discount code costs more than the number on it, always, because the percentage comes off the price while the damage lands on the margin. A twenty-percent code does not cost twenty percent, it costs whatever twenty percent of the price represents against the thin slice of that price you actually keep, and on most DTC products that slice is where the whole business lives. This piece runs the real number, the one most stores never calculate before they email a WELCOME10 to every visitor.

The reason the math matters is that discounting feels free and is not. It moves volume, the dashboard lights up, revenue climbs, and the contribution margin that funds everything quietly shrinks under the celebration. A store can discount its way to record sales and less money, and many do.

The margin math nobody runs first

Take an illustrative product, not a client’s, priced at $50 with a $20 cost of goods. Gross margin looks healthy at sixty percent. Now the contribution picture, the honest one, subtract the $20 product cost, the roughly $6 in payment and fulfillment, the $10 of blended ad cost to acquire the buyer, and the real contribution is about $14 before a single discount. That $14 is the number a code eats into.

Apply the twenty-percent code. The price drops $10, straight off the top, and that $10 comes entirely out of the $14 of contribution. What read as a twenty-percent discount on the price just cut contribution margin by more than seventy percent, from $14 to $4. The store did not give away a fifth of anything. It gave away most of the money the order was going to make.

The line Full price With 20% code
Price $50 $40
Product cost $20 $20
Payment + fulfillment ~$6 ~$6
Ad cost to acquire ~$10 ~$10
Contribution left ~$14 ~$4

The figures are illustrative, the mechanism is not. Discounts come off the top of the price and out of the bottom of the margin, and the thinner the contribution to start, the more violent the percentage swing. A store running on a $14 contribution has almost no room, one standard code and the order is close to break-even, add a return and it loses money outright, which our returns breakdown traces in full.

The damage that outlasts the sale

The margin hit is the visible cost. The reference price damage is the one that compounds. A reference price is the number a customer believes a thing is worth, formed from what they last paid, and every discount quietly resets it downward. Run WELCOME10 for a month and the fifty-dollar product is now a forty-dollar product in the mind of every buyer who saw the code, and full price starts to feel like a penalty for arriving without one.

This is how stores train the exact customer they least want. The discount buyer waits for the next code, abandons the cart to trigger the recovery offer, stacks the newsletter coupon on the loyalty coupon, and never once pays the number on the tag. The store taught them to, one promotion at a time, and the retention that looks like loyalty is often just a queue waiting for the following sale.

WHERE THE 20% ACTUALLY LANDS Off the price 20% of $50 Out of margin ~70% Same $10, against $14 of contribution instead of the $50 price. Illustrative order, not a client's.
A discount is small against the price and large against the margin. The margin is the number that funds the business.

Offers that cost the same and teach nothing

The point is not that discounts are forbidden. It is that a plain percentage code is the most expensive way to spend that margin, because it both cuts contribution and resets the reference price, two costs for one lever. The better structures spend the same margin and skip the second cost.

A gift with purchase spends margin without touching the price. Hand over a $10-cost bonus item on a full-price order and the contribution hit is the bonus cost, not a price cut, and the fifty-dollar product stays a fifty-dollar product in memory. A free-shipping threshold spends margin to raise average order value rather than lower it, the customer adds an item to clear the bar, and the discount pays for itself in the larger basket. A bundle at an equivalent effective discount ties the saving to buying more, so the margin funds volume instead of just funding a lower price on what they were already going to buy.

Each of these can cost the same ten dollars of margin as the code. None of them tells the buyer the real price is lower than the tag. That is the whole trick, spend the margin on something that moves volume or perceived value, never on quietly repricing your own catalog downward in the customer’s head.

When a discount is the right call

Discounts earn their cost in specific places. A genuine first-purchase incentive to break the inertia of a cold buyer, priced knowing it eats most of the first order’s contribution and betting on the second. Clearing dead stock, where the alternative is capital frozen on a shelf. A real, dated event the whole market expects, run hard and then ended, not a permanent WELCOME code pretending to be urgent. Outside those, the reflex to slap a percentage on the problem is usually the store paying twice, once in margin now and once in trained behavior later, for a revenue bump it could have bought cleaner.

FAQ

Does a 20% code cost 20% of margin?

No, it costs far more. The discount comes off the price but out of contribution margin, which is a thin slice of the price. On an illustrative $50 product with ~$14 contribution, a 20% code cuts that contribution by roughly 70 percent, not 20.

Why is discounting called a trap?

Because it resets the reference price. Run codes regularly and buyers relearn what your product is worth downward, then wait for the next code, abandon carts to trigger offers, and stop paying full price. You train the customer you least want.

What should I use instead of a code?

Spend the same margin without cutting the price. A gift with purchase, a free-shipping threshold that lifts order value, or a bundle tied to buying more. Each costs similar margin and none tells the buyer the tag price is negotiable.

Are discounts ever worth it?

Yes, in three spots. A first-purchase incentive betting on the second order, clearing dead stock where capital is stuck, and a real dated event run hard then ended. The mistake is the permanent code pretending to be a limited offer.

How do I know my real contribution margin?

Subtract product cost, payment and fulfillment fees, and blended acquisition cost from the price. What remains is what a discount actually eats. Most stores calculate gross margin and never this number, which is the one that funds the business.

Want your discount and offer strategy costed properly before the next sale? Send me the store and I will run the real contribution math on your top products. Free look, no obligation, usually a reply within the hour.