DealCraftDealCraft

How to Calculate Discount Margins Without Losing Money (Step-by-Step)

Learn the exact formula to calculate discount profitability. Avoid the #1 mistake merchants make that turns promotions into losses.

D
DealCraft Team

How to Calculate Discount Margins Without Losing Money (Step-by-Step)

Most Shopify merchants create discounts by guessing. They pick a percentage that "feels right," hit publish, and hope the promotion is profitable.

The problem? A discount that seems small can wipe out your entire margin. A 30% off sale on a product with a 35% margin leaves you earning pennies per unit.

This guide teaches you the exact formula to calculate discount profitability — so you never lose money on a promotion again.

The Discount Margin Formula

The math is straightforward once you know it:

Step 1: Calculate the discounted price Discounted Price = Original Price x (1 - Discount%)

Example: $60 product with 20% off = $60 x 0.80 = $48

Step 2: Calculate profit per unit Profit = Discounted Price - Cost

Example: $48 - $24 cost = $24 profit

Step 3: Calculate margin percentage Margin % = (Profit / Discounted Price) x 100

Example: ($24 / $48) x 100 = 50% margin

The #1 Mistake: Ignoring Your Cost Structure

Here is where most merchants get burned. Let us say you have a $60 product with 60% margin ($24 cost, $36 profit).

You run a 30% off promotion:

  • Discounted price: $60 x 0.70 = $42
  • Profit: $42 - $24 = $18
  • Margin: ($18 / $42) x 100 = 42.9%

That looks fine — until you realize your profit dropped 50% (from $36 to $18) while you are doing twice the work packing and shipping orders.

Now consider a 50% off flash sale:

  • Discounted price: $60 x 0.50 = $30
  • Profit: $30 - $24 = $6
  • Margin: ($6 / $30) x 100 = 20%

You just gave away 83% of your normal profit. Is the volume increase worth it?

BOGO and Buy X Get Y: The Hidden Math

BOGO and volume discounts are even trickier because the effective discount is not obvious. For a detailed breakdown of when each type makes sense, see our BOGO vs Percentage Off comparison.

BOGO (Buy One Get One Free):

The customer pays for 1 unit but receives 2. The effective price per unit is:

Effective Price = Original Price / 2

For a $60 product: effective price = $30 per unit. That is a 50% discount — much more aggressive than most merchants realize.

Buy 3 Get 1 Free:

The customer pays for 3 units but receives 4. The effective price per unit is:

Effective Price = (Original Price x 3) / 4

For a $60 product: effective price = $45 per unit. That is a 25% discount.

Real-World Comparison

Let us compare all discount types on a $60 product with $24 cost:

Discount TypeCustomer PaysYour ProfitMargin
No discount$60.00$36.0060%
10% Off$54.00$30.0055.6%
20% Off$48.00$24.0050.0%
30% Off$42.00$18.0042.9%
BOGO (50% effective)$30.00$6.0020.0%
Buy 3 Get 1 (25% effective)$45.00$21.0046.7%

The difference between 20% off and BOGO is $18 per unit. Across 100 monthly orders, that is $1,800/month left on the table.

The Break-Even Question

Before running any discount, ask: how many additional units do I need to sell to match my normal profit?

Formula:

Break-Even Volume Increase = Normal Profit / Discounted Profit - 1

Example with 20% off ($24 profit vs $36 normal):

Break-Even = $36 / $24 - 1 = 0.5 = 50%

You need 50% more orders just to match your normal profit. If the promotion does not increase volume by at least 50%, you are losing money.

How to Use This in Your Store

1. Know your cost — calculate your true cost per unit (product cost + shipping + packaging)

2. Calculate your normal margin — before any discount

3. Use a calculator — compare discount types side by side

4. Set a minimum margin threshold — never go below 15-20% margin on any promotion

Use our free Shopify Discount Calculator to run the numbers for your specific product. Enter your price and cost, and see exactly how each discount type affects your profit.

Need to know how many extra units you must sell to justify a discount? The Break-Even Analyzer calculates your minimum profitable volume instantly — enter your cost, price, and discount, and see exactly how many additional orders you need to match your normal profit.

Example: Comparing Three Promotions on a $45 Product

Consider a product selling at $45 with a unit cost of $15 (66.7% margin, $30 profit per unit). A normal month moves 120 units for $3,600 profit.

Here is how three different promotion types would perform:

Promotion A: 20% off
  • Discounted price: $36
  • Profit per unit: $21
  • Orders: 150 (volume up 25% from the discount)
  • Total profit: $3,150 (down 12.5% from normal)
Promotion B: BOGO
  • Effective price: $22.50 per unit
  • Profit per unit: $7.50
  • Orders: 200 units (100 transactions)
  • Total profit: $1,500 (down 58% from normal)
Promotion C: Buy 3 Get 1 Free
  • Effective price: $33.75 per unit
  • Profit per unit: $18.75
  • Orders: 240 units (60 transactions of 4)
  • Total profit: $4,500 (up 25% from normal)

The takeaway: BOGO looks exciting but destroys profit at this price point. Buy 3 Get 1 is the optimal choice here because it moves inventory in bulk while protecting margins. The general pattern: reserve aggressive discounts (BOGO, deep percentage-off) for low-cost consumables, and use volume-based deals (Buy X Get Y) for higher-margin products.

Seasonal Discount Strategy: When to Discount Deeply

Not all discounts need to maximize profit. Sometimes the goal is cash flow, inventory clearance, or customer acquisition. Here is a seasonal framework:

Q1 (January-March): Post-holiday clearance
  • Goal: Move holiday inventory, generate cash flow
  • Recommended: BOGO or 30-40% off on seasonal products
  • Margin target: Break even or small profit is acceptable
Q2 (April-June): Spring refresh
  • Goal: Attract new customers, build email list
  • Recommended: 15-20% off for first-time buyers (code-based)
  • Margin target: Maintain 30%+ margin
Q3 (July-September): Back to school / Summer clearance
  • Goal: Increase AOV, move summer inventory
  • Recommended: Free shipping threshold + Buy X Get Y on consumables
  • Margin target: Maintain 40%+ margin
Q4 (October-December): Holiday season
  • Goal: Maximize revenue during peak demand
  • Recommended: Minimal discounting — demand is high without incentives
  • Margin target: Full margin on bestsellers, 20% off on slow movers only

The key insight: discount depth should be inversely proportional to demand. When demand is naturally high (Q4), discount less. When demand is low (Q1), discount more aggressively to move inventory.

Frequently Asked Questions

What is a good profit margin after a discount?

For most e-commerce stores, you should maintain at least 20% margin after any discount. Below 15%, you risk losing money after accounting for payment processing fees (2.9% + $0.30), returns, and overhead. Premium brands should target 40%+ post-discount margin.

How do I calculate the break-even point for a discount?

Use this formula: Break-Even Volume Increase = Normal Profit / Discounted Profit - 1. For example, if your normal profit is $36 per unit and discounted profit is $24, you need 50% more orders to match your normal total profit. If the promotion will not increase volume by at least that amount, it is not profitable.

Is BOGO always worse than percentage off?

No. BOGO is better when you need to clear slow-moving inventory, when your product cost is very low relative to price (80%+ margin), or when the volume increase from "free" psychology exceeds the margin loss. For most standard products, however, percentage off at 15-25% generates more total profit.

How often should I run discounts?

Frequent discounts train customers to wait for sales instead of buying at full price. Limit store-wide promotions to 4-6 per year (seasonal events). Use targeted, smaller discounts (10% off for email subscribers) sparingly between major sales to maintain pricing credibility.

Continue Learning

Automate the Right Discount in Shopify

Once you know which discount type is most profitable for your product, you need to set it up in your store.

DealCraft makes it easy to create any discount type:
  • Percentage off, fixed amount, BOGO, Buy X Get Y
  • Automatic discounts that apply at checkout without codes
  • Cart-level calculation powered by Shopify Functions (sub-50ms)
Install DealCraft free and create your first profitable discount rule in under 2 minutes.

Put This Into Practice

DealCraft lets you create, test, and automate discount strategies directly in Shopify. Free plan available — no credit card required.

Install DealCraft — It's Free