Interactive Margin Calculator
Calculate profit margin, profit amount, markup, or selling price instantly — for products, retail, ecommerce, or any business pricing scenario.
Margin Calculator
Find profit margin or the selling price you need for a target margin
This margin calculator tells you exactly how much profit you keep after covering your costs. Enter your cost and selling price and it instantly shows your profit amount, markup percentage, and gross margin percentage. Or flip it around — enter your cost and target margin and it calculates the selling price you need to hit that margin. Either way, you get the answer in seconds.
🎥 Video — Interactive Margin Calculator
What is Profit Margin?
Profit margin is the percentage of your selling price that is profit. If you sell something for $100 and it cost you $60 to make or buy, your profit is $40 and your margin is 40%. It's the number that tells you how efficiently your pricing is working.
Margin vs Markup — What's the Difference?
These two numbers are not the same and confusing them is one of the most common pricing mistakes we see. Margin is calculated as a percentage of the selling price. Markup is calculated as a percentage of the cost. Same profit, different percentages.
Cost: $40 | Selling Price: $60 | Profit: $20
Margin = $20 ÷ $60 = 33.3%
Markup = $20 ÷ $40 = 50%
Same product, same profit — but margin and markup give you different percentages. Always be clear which one you're working with.
How to Calculate Selling Price from a Target Margin
If you know your cost and you know the margin you need, use the second mode on the calculator above. The formula is straightforward:
Cost: $40 | Target Margin: 30%
Selling Price = $40 ÷ (1 − 0.30) = $40 ÷ 0.70
Required Selling Price = $57.14
When Do You Use Margin vs Markup?
Use margin when you're working with revenue targets, financial reporting, or comparing profitability across different products. Retailers and ecommerce businesses almost always work in margin terms.
Use markup when you're pricing from cost — for example, if you buy a product for $50 and apply a standard 100% markup, you sell it for $100. Distributors and wholesalers often work this way.
The calculator above handles both. Switch between "Find Margin %" and "Find Sale Price" depending on what you're solving for.
Common Margin Benchmarks
What counts as a good margin varies significantly by industry. Here are typical gross margin ranges to give you a reference point:
- Software / SaaS: 70–90%
- Industrial / Manufacturing: 25–45%
- Ecommerce / Retail: 20–50%
- Wholesale / Distribution: 10–25%
- Construction / Engineering services: 15–30%
These are gross margins — they don't account for operating expenses, salaries, or overhead. Net margin (after all costs) is always lower.
Why This Matters for Product Pricing
If you're pricing physical products — whether you manufacture them or source them — getting your margin right upfront prevents a lot of pain later. A product priced at a 20% margin sounds fine until you add shipping, returns, payment processing fees, and marketing costs. You need to know your floor before you set your price.
Use this calculator to work backwards from your required net margin. Add your overhead and operational costs on top of your product cost before entering the cost figure, and the selling price the calculator gives you will account for everything.