Profit Margin Calculator

Find your profit margin, or the price you need for a target margin. Works instantly.

Quick answer

How do I calculate profit margin? Profit margin = (selling price − cost) ÷ selling price × 100. If you sell for $100 and the item cost $60, your margin is $40 ÷ $100 = 40%.

Profit margin formula

Profit margin = (price − cost) ÷ price × 100

Margin tells you how much of every dollar of sales you keep as profit. A 40% margin means 40 cents of each dollar is profit and 60 cents covered the cost.

Worked examples

1. Cost $60, price $100

Profit $40. Margin 40%. Markup 66.67%.

2. You want a 40% margin on an $18 item

Price = $18 ÷ (1 − 0.40) = $30.00. A common mistake is to add 40% to the cost ($25.20), which only gives a 28.57% margin.

3. A thrifted jacket: cost $12, sells for $40

Margin 70% before fees. After platform fees and shipping the real margin is lower; check it with the Where should I sell this? tool.

Margin to markup conversion

MarginEquals markupPrice for a $10 cost
10%11.11%$11.11
20%25%$12.50
25%33.33%$13.33
30%42.86%$14.29
40%66.67%$16.67
50%100%$20.00
60%150%$25.00
75%300%$40.00

Gross vs net margin

Gross margin only subtracts the cost of the goods. Net margin also subtracts fees, shipping, ads and overheads. Use the gross margin calculator for business totals, and our fee calculators for net profit per sale.

Frequently asked questions

How do I calculate profit margin?

Profit margin = (selling price − cost) ÷ selling price × 100. If you sell for $100 and the item cost $60, your margin is $40 ÷ $100 = 40%.

How do I find the price for a target margin?

Price = cost ÷ (1 − margin). For a 40% margin on an $18 cost: $18 ÷ 0.60 = $30.00. Choose "Find the price for a target margin" above.

What is the difference between margin and markup?

Margin divides profit by the selling price; markup divides profit by the cost. The same $100 sale of a $60 item is a 40% margin but a 66.67% markup. See our markup calculator.

What is a good profit margin for resellers?

It depends on volume and effort, but many resellers aim for at least 40% to 60% gross margin before platform fees so there is still real profit after fees, shipping and returns.

Should I include platform fees in cost?

Yes, for your true net margin. Add eBay, Etsy or PayPal fees to the cost, or use our platform comparison, which shows profit after fees.

Can profit margin be over 100%?

No. Margin is a share of the selling price, so it is always below 100%. Markup can be over 100%.

Fees change often. See every platform side by side in our 2026 seller fees table and every recent change on our fee changes log.

Last updated: . Estimates only. Fees can change; check the platform before you list. Found an error? Tell us and we will fix it.