Spillmark

Product Margin Calculator: Margin, Markup and Price

Enter what a unit costs and what you sell it for to get your margin and markup, or enter the margin you want to get the price.

Your product
Fees per unit

Margin after fees

40%

Each $30.00 sale keeps $12.00 after fees, a 40% margin and a 275% markup. That meets your 30% target. Ads need a ROAS above 2.50 on the sales they cause to add profit.

Profit per unitPrice − cost − fees
$12.00
Markup(Price − cost) ÷ cost
275%
Fees per unit
$10.00
Gross margin before fees(Price − cost) ÷ price
73.3%
Price for a 30% margin after fees206.9% markup, $7.37 profit per unit
$24.55
Break-even priceWhere profit after fees is zero
$15.89
Break-even ROAS1 ÷ margin after fees, before ads
2.50
  • Product cost$8.00
  • Fees$10.00
  • Profit$12.00

This uses estimates. Spillmark measures your real number from your own Amazon and Meta data.

Get your real number
Embed this calculator on your site

Free to use on your blog or client pages. Paste this where the calculator should appear. The script is optional: it fits the frame's height to the results; without it the frame is 1,100 pixels tall.

In short

Profit margin is the share of the selling price you keep: (price − cost) ÷ price. Markup is the same profit as a share of cost: (price − cost) ÷ cost. A product that costs $8.00 and sells for $30.00 has a 275% markup and a 73.3% margin before fees. To price for a target margin, divide cost by 1 minus the margin. If you sell on Amazon, take off the referral fee (a percent of the price) and the FBA fee too: here they cost $10.00, which leaves a 40% margin. That margin after fees is also your margin before ads, so the ROAS your ads need to break even is 1 divided by that margin.

What is product margin?

Product margin, or profit margin, is the share of a product's selling price you keep after what it costs you. Sell something for $10 that costs $6 and you keep $4, a 40% margin.

Markup measures the same $4 against the cost instead of the price: $4 ÷ $6 is a 66.7% markup. Margin can never reach 100%; markup can go past it. Set a price with one when you meant the other and it comes out too low.

The same profit as a margin and as a markup, before fees
MarginMarkupPrice for a $10 cost
20%25%$12.50
25%33.3%$13.33
30%42.9%$14.29
40%66.7%$16.67
50%100%$20.00
60%150%$25.00

How to calculate margin, markup and price

profit per unit  = price − cost − fees
margin           = profit ÷ price
markup           = (price − cost) ÷ cost

price for a target margin, no fees:   cost ÷ (1 − margin)
price for a target margin, on Amazon: (cost + FBA fee) ÷ (1 − margin − referral rate)
  • Cost: what one unit costs you landed, including packaging and freight to your warehouse or Amazon's.
  • Referral fee: Amazon's commission, a percent of the price. Most categories charge 15%; the Amazon referral fees guide lists every category.
  • FBA fee: Amazon's fee to pick, pack and ship each unit, set by size and weight. The FBA fee calculator works it out. If you ship orders yourself, put your shipping cost here instead.

The referral fee goes in the price formula's bottom line because it grows with the price. Raise the price by $1 and Amazon takes 15 cents of it.

Worked example

A made-up product sold through FBA. These are the calculator's example values.

  1. Before fees. Cost $8.00, price $30.00. Profit $22.00: a 73.3% margin and a 275% markup.
  2. After Amazon's fees. A 15% referral fee of $4.50 and an FBA fee of $5.50 take $10.00. Profit drops to $12.00, a 40% margin.
  3. Pricing for a target. For a 30% margin after fees: ($8.00 + $5.50) ÷ (1 − 30% − 15%) = $24.55, rounded up to the cent.
  4. Break-even. Below $15.89, each sale loses money after fees, before any ads.

Fees cost more than the product here. A margin worked out from cost alone, 73.3%, would make each sale look almost twice as profitable as it is.

What's a good profit margin?

One that pays for your ads and your fixed costs, like software and salaries, and still leaves profit at the volume you actually sell. There's no single number: it depends on your category, price and costs, so compare your products with each other and with your own past months.

For a brand that advertises, the margin after fees sets the ad targets:

  • Break-even ROAS = 1 ÷ margin after fees. At 40%, ads need a ROAS of 2.50 to pay for themselves.
  • Break-even ACoS = the margin after fees itself, 40% here.

A thin margin leaves little room for ads: at 10%, ads need a ROAS of 10. The break-even ROAS calculator works out both targets, and the contribution margin guide covers which costs to count.

Common mistakes

  • Using markup as margin. Adding 30% to the example's $8.00 cost gives $10.40, a 23.1% margin, not 30%.
  • Leaving out fees. On Amazon, referral and FBA fees can take more of the price than the product costs.
  • Adding the referral fee to cost. It's a percent of the price, so it rises when you raise the price. Use the formula above.
  • Forgetting minimums and extras. Most categories have a $0.30 minimum referral fee per item, and storage, returns and ads aren't in either fee. The Amazon profit calculator adds ads and monthly costs.

How this connects to true incrementality

Margin tells you what each sale is worth. Whether your ads pay off depends on how many sales they add, and ad reports don't show that: they count sales the ads got credit for, including some that would have happened anyway.

Multiply the sales your ads caused by your margin after fees and compare it with spend. A test with a holdout group measures the caused sales: size one with the holdout test calculator, read how lift is calculated, and turn the result into a return with the incremental ROAS calculator.

Frequently asked questions

How do you calculate profit margin?

Subtract cost from price and divide by price. A product that costs $6 and sells for $10 makes $4, a 40% margin. On Amazon, subtract the referral and FBA fees too.

What's the difference between margin and markup?

Margin is profit as a share of the price; markup is profit as a share of the cost. A $4 profit on a $10 price and $6 cost is a 40% margin and a 66.7% markup.

How do I price a product for a target margin?

Divide cost by 1 minus the margin. For a 40% margin on a $6 cost: $6 ÷ 0.6 = $10. With Amazon fees, add the FBA fee to cost and also subtract the referral rate from 1.

Does a 50% markup give a 50% margin?

No. A 50% markup on a $10 cost is a $15 price with $5 profit, which is a 33.3% margin. A 50% margin needs a 100% markup.

Should Amazon fees be included in product margin?

Yes, if you sell on Amazon. The referral fee and the FBA fee are paid on every sale, so a margin without them overstates what each sale keeps.

All free calculatorsCase study: a Meta holdout test on Amazon