Profit margin calculator for online stores

Enter any two of cost, price and margin. The third one fills in.

$
$
Calculated
%

Gross margin

70.00%

($28.00 - $8.40) / $28.00 x 100 = 70.00% gross margin.

You keep $19.60 per sale before shipping, fees and ads, and break even on ads at 1.43x ROAS.

How profit margin is calculated

Gross margin

(Price - cost) / price x 100

($28 - $8.40) / $28 x 100 = 70%

Price

Cost / (1 - margin)

$10 / (1 - 60%) = $25

Cost

Price x (1 - margin)

$40 x (1 - 65%) = $14

The ROAS your margin needs

Break-even ROAS is 1 / margin. Below it, ads cost more than each sale earns.

Gross marginBreak-even ROAS
30%3.33x
40%2.50x
50%2.00x
60%1.67x
70%1.43x
80%1.25x

Profit margin questions

How do you calculate profit margin?

Subtract cost from price, divide by price and multiply by 100. A $28 product that costs $8.40 has a ($28 - $8.40) / $28 x 100 = 70% gross margin.

What is the difference between margin and markup?

Margin divides the profit by the price and markup divides it by the cost. A product that costs $14 and sells for $28 has a 50% margin and a 100% markup.

What margin do I need to run ads profitably?

Your margin sets your break-even ROAS: 1 / margin. To break even at Meta's 1.88x median ROAS from Triple Whale, you need about a 53% margin.

What is the difference between gross and net margin?

Gross margin counts only the cost of the product. Net margin also takes off shipping, fees, ads, staff and every other cost of running the store.

Turn a product link into ads

Static and UGC video ads for Meta and TikTok.

No credit card required

More free tools

Ask an AI about this page

ChatGPTClaudePerplexityGoogle AI Mode