Interactive Margin Calculator

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

$
$
Profit $—
Markup
Margin
Cost
Selling price
Profit
Markup
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 % = (Selling Price − Cost) ÷ Selling Price × 100

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.

Example

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:

Selling Price = Cost ÷ (1 − Target Margin %)
Example

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.

Frequently Asked Questions

What is the difference between gross margin and net margin?
Gross margin is calculated from revenue minus the direct cost of goods. Net margin subtracts all operating expenses — salaries, rent, marketing, and overhead — from revenue. This calculator computes gross margin. Your net margin will always be lower.
Can I use this calculator for services, not just products?
Yes. Replace "cost" with your cost of delivering the service (labour, materials, subcontractors) and "selling price" with what you charge the client. The margin calculation works the same way.
What's a healthy profit margin for a product business?
It depends heavily on your industry and business model. For physical product businesses, gross margins of 30–50% are common targets. Below 20% leaves very little room once you factor in operating costs. Above 60% is excellent for physical goods.
Why does my markup percentage look higher than my margin percentage?
Because they use different denominators. Margin divides by selling price. Markup divides by cost. Since cost is always lower than selling price, markup is always a higher percentage than margin for the same profit amount. A 50% markup equals a 33.3% margin.
Share This Article
Tags: