Gross Margin vs. Markup: Avoiding the Pricing Trap
One of the most common pricing mistakes among e-commerce sellers and digital product creators is confusing markup with gross margin. Markup measures how much you add on top of your product cost, whereas gross margin measures the percentage of your final selling price that remains after subtracting cost of goods sold (COGS) and transaction fees. Because margin is always a fraction of the selling price, a 50% markup only yields a 33.3% gross margin.
Exact Unit Economics Formulas
Payment Processing Fee: (Selling Price × Fee %) + Fixed Fee
Net Profit per Unit: Selling Price − Unit Cost − Processing Fee
Net Margin (%): (Net Profit ÷ Selling Price) × 100
Markup (%): ((Selling Price − Unit Cost) ÷ Unit Cost) × 100
Worked Example: $79 Digital Course or Physical SKU
Imagine you sell a product for $79.00 with a landed unit cost of $24.00 and standard card processing fees of 2.9% + $0.30. The payment processor deducts $2.59 per order ($2.29 percentage + $0.30 fixed), leaving $52.41 in net unit profit. That translates to a 66.3% net margin and a 229.2% markup over product cost—giving you $52.41 of headroom per order to fund customer acquisition, customer support, and fixed overhead.
Healthy Margin Benchmarks by Business Model
- SaaS & Digital Downloads: Typically target 75%–90% gross margin after hosting and payment fees, leaving ample budget for R&D and growth.
- Direct-to-Consumer (DTC) E-Commerce: Healthy brands aim for 55%–70% gross margin before paid advertising so they can absorb shipping, returns, and customer acquisition costs.
- Low-Ticket Items (<$15): Fixed per-transaction fees ($0.30) eat disproportionately into small orders. Bundling products or raising average order value (AOV) immediately lifts net margin.
Frequently Asked Questions
Should I include shipping and packaging in Unit Cost?
Yes. Include manufacturing, inbound freight, packaging, and fulfillment labor in your unit cost so your net margin reflects true contribution profit per order.
How does gross margin affect my allowable ad spend?
Your gross margin directly sets your break-even ROAS. A 50% margin requires at least a 2.0x ROAS just to break even on ad spend, whereas a 66% margin breaks even at 1.5x ROAS.
When should I raise prices instead of cutting costs?
A 10% price increase flows almost 100% straight to net profit (minus the small percentage fee), making pricing power far more impactful than incremental supplier discounts.
Next step: translate your margin directly into ad-spend limits with our ROAS Break-Even Calculator or read our E-Commerce Margin & Profitability Guide.