Calc Lab Online
Finance•7 min read•Updated: 2026-11-26•Editorial Reviewed

Gross Margin vs. Markup vs. Target Selling Price: Essential Pricing Math for Retail & SaaS

Stop confusing markup with profit margin—learn the exact algebraic conversions, marketplace fee buffers, and reverse markdown pricing formulas.

MJ

Maruf Jias

Founder & Lead Engineer

Key Takeaways & Core Summary

  • •Markup divides profit by cost; gross margin divides profit by final selling revenue—so margin percentage is always lower than markup percentage.
  • •A 50% markup produces only a 33.33% gross margin, while achieving a 50% gross margin requires a 100% markup.
  • •When marketplaces charge percentage commissions on total checkout amount, pricing must divide fixed costs plus profit by (1 - feeRate).
  • •Applying a 25% sale discount on an item with a 30% margin cuts net dollar profit nearly to zero unless pre-baked into the list price.

1. The Core Difference: Cost Denominator vs. Revenue Denominator

Confusing markup with gross profit margin is one of the fastest ways for new retail sellers, contractors, and agencies to lose money even while growing top-line sales. Both numbers use the exact same dollar Gross Profit (Revenue − Cost of Goods Sold), yet each divides by a different base:

Gross Profit ($): Revenue − Cost
Markup (%): (Gross Profit / Cost) × 100%
Gross Margin (%): (Gross Profit / Revenue) × 100%
Margin from Markup: Margin = Markup / (1 + Markup)
Markup from Margin: Markup = Margin / (1 − Margin)

If an item costs $60 wholesale and sells for $100, your dollar profit is $40. Your markup is $40 / $60 = 66.67%, whereas your gross margin is $40 / $100 = 40.00%. If a team wants a 40% profit margin and mistakenly marks up cost by 40% ($60 × 1.40 = $84), the actual realized margin drops to $24 / $84 = 28.57%.

2. Quick Markup-to-Margin Conversion Table

Markup on Cost Resulting Gross Margin Cost Multiplier $100 Cost → Sell Price
25.0%20.00%1.25×$125.00
33.3%25.00%1.333×$133.33
50.0%33.33%1.50×$150.00
66.7%40.00%1.667×$166.67
100.0%50.00%2.00×$200.00
150.0%60.00%2.50×$250.00

3. Solving for Selling Price with Percentage Platform Fees

Online sellers pay variable percentages on total checkout value—such as a 12% marketplace referral fee plus a 2.9% + $0.30 payment processing charge. Because the fee rises dynamically as selling price increases, calculating profit reliably requires dividing out the fee complement: Price = (Cost + Shipping + Fixed Fees + Target Profit) / (1 − Total Variable Fee Rate). Model your exact unit fees automatically in our Selling Price Calculator.

4. Setting List Prices Before Promotional Discounts

Promotional percentage markdowns always shrink the margin denominator less than expected unless you price backward from your target realized sale price. If your target discounted sale revenue is $75 and you intend to run a 25% coupon campaign, the pre-discount tag price must be $75 / (1 − 0.25) = $100, not $75 × 1.25 = $93.75. Test campaign margins ahead of launch using our List Price & Markdown Calculator.

Frequently Asked Questions

Why can gross margin never exceed 100%, while markup can be 200% or 500%?

Because positive cost eats up part of selling revenue, profit can only be 100% of revenue if cost is zero. Markup divides profit by cost instead, so selling a $10 item for $30 equals a $20 profit divided by $10 cost, or a 200% markup (66.67% margin).

How do I calculate list price if I plan to offer a 20% discount code?

First compute your minimum required net sale price R for your desired margin, then divide by (1 - Discount Rate): List Price = R / (1 - 0.20) = R / 0.80. Do not simply add 20% to R, because subtracting 20% of a higher number reduces revenue by more than 20% of R.

MJ

Maruf Jias

Founder & Lead Engineer

Software engineer and creator of Calc Lab Online, focused on building fast, transparent, client-side calculation engines and clear educational documentation.

More Insights

Related Educational Guides

View All Articles →