Calculate profit margin
If you know cost and selling price, subtract them and divide the profit by the selling price.
Margin (%) = (Selling price − Cost) ÷ Selling price × 100
FREE TOOL
Calculate profit margin, product profit, or selling price instantly.
Choose the calculation based on the numbers you already have. The calculator applies these formulas automatically.
If you know cost and selling price, subtract them and divide the profit by the selling price.
Margin (%) = (Selling price − Cost) ÷ Selling price × 100
Markup is the percentage you add on top of product cost.
Selling price = Cost × (1 + Markup ÷ 100)
If profit should be a percentage of the final price, simply adding it to cost is not enough.
Selling price = Cost ÷ (1 − Margin ÷ 100)
You buy a product for $10,000 and pay $800 for shipping and $1,200 in payment processing fees. Your total cost is $12,000. If you want to earn a 30% margin on the final price: Selling price = 12,000 ÷ (1 − 0.30) = $17,142.86. If instead you added 30% to the cost, you would sell it for $15,600 and your actual margin would be 23%.

Take your business a step further
Organize products, sales, and orders from an online store that is easy to manage.
Discover MercantisFor a realistic margin, each product's cost needs to be up to date. If you're not sure what you have in stock or what you paid for it, start with how to manage inventory in your store.
Subtract total cost from the selling price. If a product costs $70 and sells for $100, profit is $30 and margin on the sale is 30%.
Margin compares profit with selling price. Markup compares profit with cost. With a $100 cost and $150 price, markup is 50% but margin is 33.33%.
Use the total cost required to sell one unit: purchase or materials, labor, packaging, fees, and any other applicable variable costs. The calculator does not estimate those amounts for you.
Add all costs for one unit and divide the total by (1 − your desired margin). With a $12,000 cost and a 30% margin, the selling price is $17,142.86.
It depends on what you measure it against. As a percentage of the selling price, it is the margin: (price − cost) ÷ price × 100. As a percentage of cost, it is the markup: (price − cost) ÷ cost × 100.
Your store and operations, together.Everything you need to sell online, in one place.