Margin vs. Markup Explained: Formulas & Key Differences

Margin vs. Markup: What’s the Difference?
If you run an ecommerce business, understanding margin vs. markup is critical to setting profitable prices. While these two ecommerce metrics sound similar, these two measure profit in very different ways and mixing them up can hurt your bottom line. Let’s break it down by margin vs markup definition.
What Is Margin?
Margin Formula:
Margin Example:
Let’s say you sell a product for $50, and it costs you $30.
What Is Markup?
Markup shows how much you’ve increased your cost price to set your selling price. It’s calculated as a percentage based on cost, not revenue.
Markup Formula:
Markup Example:
Same product: selling price is $50, cost is $30.
In other words, you’ve marked up your product by 66.67% from its original cost.
Knowing when to use margin and when to use markup is just as important as understanding the difference. Each metric serves a specific purpose in pricing, profitability analysis, and business decisions.
When to Use Margin
When to Use Markup
Why Using Both Markup and Margin Matters?
Tracy is a senior content executive at TrueProfit – specializing in helping eCommerce businesses scale profitably through content. She has over 4 years of experience in eCommerce and digital marketing editorial writing. She develops high-impact content that helps thousands of Shopify merchants make data-driven, profit-focused decisions.
The Newsletter for Dropshippers
Who Hate Losing Money
Weekly tactics from dropshippers & eCom operators who've cracked profitability in an era where thin margins kill most stores.
Your next wise move starts with seeing your True Net Profit now.
Get instant net profit insights into your numbers to make every choice count with TrueProfit!









