Free · No sign-up · Instant

Margin Calculator

Enter any two numbers to get your profit margin, markup and selling price. Then see the price for every target margin, your real margin after marketplace fees, and how many sales cover your monthly costs.

$
$
Profit margin
40.0%
profit ÷ price
Markup
66.7%
profit ÷ cost
Selling price
$50.00
Profit per sale
$20.00
cost $30.00

Real margin after marketplace fees

Fees
$0.00
none
Margin after fees
40.0%
profit $20.00

Official US fees on the selling price, no shipping or tax. For the full picture use the eBay fee calculator.

Break-even

$

Sell 25 a month to cover $500.00 at $20.00 profit each.

Price ladder for a $30.00 cost

Target marginSelling priceProfitSame as markup of
10%$33.33$3.3311.1%
20%$37.50$7.5025.0%
25%$40.00$10.0033.3%
30%$42.86$12.8642.9%
40%$50.00$20.0066.7%
50%$60.00$30.00100.0%
60%$75.00$45.00150.0%
70%$100.00$70.00233.3%

Margin and Markup Formulas

  • Profit = selling price − cost
  • Profit margin = profit ÷ selling price × 100
  • Markup = profit ÷ cost × 100
  • Price for a target margin = cost ÷ (1 − margin)
  • Price for a markup = cost × (1 + markup)

Example: you buy an item for $30 and sell it for $50. Profit is $20, margin is $20 ÷ $50 = 40%, and markup is $20 ÷ $30 = 66.7%.

Markup vs Margin: The Mistake That Costs Money

Many new sellers add 40% to their cost and think they have a 40% margin. They don’t: a 40% markup is only a 28.6% margin. To keep 40% of the price, you need a 66.7% markup. Use this table to convert.

MarkupEquals marginOn a $100 cost, price is
10.0%9.1%$110.00
20.0%16.7%$120.00
25.0%20.0%$125.00
33.3%25.0%$133.33
50.0%33.3%$150.00
75.0%42.9%$175.00
100.0%50.0%$200.00
150.0%60.0%$250.00
200.0%66.7%$300.00

Gross Margin vs Net Profit Margin

Gross margin looks only at the product: price minus the cost of goods. Net profit margin also takes out everything it costs to run the business: marketplace and payment fees, shipping, rent, software, marketing, wages and taxes. A product with a healthy 50% gross margin can still lose money once fees and overhead are counted, which is why this calculator shows your margin after fees and your break-even sales.

Margins vary a lot by industry. For a benchmark, NYU Stern’s Professor Aswath Damodaran publishes gross, operating and net margins by industry for US companies.

5 Ways to Improve Your Margin

  1. Price from a target margin, not a markup habit: cost ÷ (1 − margin).
  2. Count every fee per sale: marketplace, payment processing and shipping you don’t charge for.
  3. Buy in larger quantities or bundle products to lower the cost per unit.
  4. Raise prices on your best sellers first and watch whether sales drop.
  5. Cut fixed costs that don’t bring sales: they decide how many units you must sell to break even.

Frequently Asked Questions

How do you calculate profit margin?

Subtract the cost from the selling price to get the profit, divide the profit by the selling price, and multiply by 100. A $30 item sold for $50 has a $20 profit and a 40% margin.

What is the difference between margin and markup?

Margin is profit as a share of the selling price; markup is profit as a share of the cost. The same $20 profit on a $30 cost and $50 price is a 40% margin but a 66.7% markup. Markup is always the larger number.

How do I price for a 40% margin?

Divide your cost by 1 minus the margin: cost ÷ 0.60. A $30 cost needs a $50 price for a 40% margin. Adding 40% to the cost ($42) only gives a 28.6% margin.

How do I convert markup to margin?

Margin = markup ÷ (1 + markup). A 50% markup is a 33.3% margin, and a 100% markup (doubling the cost) is a 50% margin.

What is a good profit margin?

It depends on the industry: grocery and fuel run on thin margins, while software and consulting can keep most of each sale. Compare yourself with businesses like yours, and always look at margin after fees and overhead, not just on the product.

Is gross margin the same as profit margin?

Gross margin only subtracts the cost of the product. Net profit margin also subtracts rent, wages, marketing, fees and other overhead, so it is always lower.

Founder Newsletter — weekly

Get the growth playbook in your inbox.

One short email every Tuesday, written for founders — not marketers.

  • ✓Startup frameworks
  • ✓AI prompts
  • ✓Growth strategies
  • ✓Product launches

No spam. Unsubscribe anytime.