Cost of goods
What you paid for the product, or made it for. This is the cost field above, and it sets the margin.
Enter what a product costs and what it sells for to get its profit, margin and markup. Or enter the cost and the margin or markup you want, and get the selling price. Amounts exclude VAT unless you add a VAT rate.
Formulas: margin = profit ÷ price, markup = profit ÷ cost.
Last updated 7 October 2026
Your results
After shipping, fees and returns, €26.74 is left per product.
After shipping, fees and returns
Ad spend above this loses money on the order. First order only: repeat purchases are not counted.
Break-even ROAS calculatorYour calculation
The start values are illustrative data.
Each row is the selling price excl. VAT that gives that margin on your cost, with the markup it equals.
| Margin | Markup | Selling price | Profit |
|---|---|---|---|
| 10% | 11.1% | €66.67 | €6.67 |
| 15% | 17.6% | €70.59 | €10.59 |
| 20% | 25.0% | €75.00 | €15.00 |
| 25% | 33.3% | €80.00 | €20.00 |
| 30% | 42.9% | €85.71 | €25.71 |
| 35% | 53.8% | €92.31 | €32.31 |
| 40% | 66.7% | €100.00 | €40.00 |
| 45% | 81.8% | €109.09 | €49.09 |
| 50% | 100.0% | €120.00 | €60.00 |
| 55% | 122.2% | €133.33 | €73.33 |
| 60% | 150.0% | €150.00 | €90.00 |
How it works
Illustrative data. A product costs €60.00 and sells for €100.00 excl. VAT. The calculator takes three routes from there, one per table.
| Step | Calculation | Result |
|---|---|---|
| Profit | €100.00 − €60.00 | €40.00 |
| Margin | €40.00 ÷ €100.00 | 40.0% |
| Markup | €40.00 ÷ €60.00 | 66.7% |
The same €40.00 of profit is a 40.0% margin and a 66.7% markup.
| Step | Calculation | Result |
|---|---|---|
| Price for a 40% margin | €60.00 ÷ (1 − 40%) | €100.00 |
| Price for a 40% markup | €60.00 × (1 + 40%) | €84.00 |
| Shelf price at 21% VAT | €100.00 × (1 + 21%) | €121.00 |
The same 40% means two prices: €100.00 as a margin and €84.00 as a markup.
| Step | Calculation | Result |
|---|---|---|
| Revenue after returns | €100.00 × (1 − 8%) | €92.00 |
| Product gross profit | €92.00 × 40% | €36.80 |
| Payment costs | €92.00 × 2.5% | €2.30 |
| Reverse logistics | €92.00 × 3% | €2.76 |
| Shipping net | €5.00 − €0.00 | €5.00 |
| Contribution | €36.80 − €2.30 − €2.76 − €5.00 | €26.74 |
| Contribution margin | €26.74 ÷ €100.00 | 26.7% |
| Break-even ROAS | €100.00 ÷ €26.74 | 3.74 |
Shipping costs €5.00 and none is collected. The payment fee is 2.5%, 8% of orders are returned and reverse logistics is 3%.
Margin and markup
| Margin | Markup |
|---|---|
| 10% | 11.1% |
| 20% | 25.0% |
| 25% | 33.3% |
| 30% | 42.9% |
| 40% | 66.7% |
| 50% | 100.0% |
Markup = margin ÷ (1 − margin).
The profit is the same €30.00. It is half of the cost, but only a third of the price, because the price includes the profit.
UK
Choose £ in the currency switch and enter 20%, the UK standard rate of VAT, in the VAT field. Margin and markup stay on the price excl. VAT. The shelf price is what your customer pays. The switch changes the symbol only: amounts are not converted. A browser set to British English opens the calculator in pounds.
| Step | Calculation | Result |
|---|---|---|
| Profit | £100.00 − £60.00 | £40.00 |
| Margin | £40.00 ÷ £100.00 | 40.0% |
| Markup | £40.00 ÷ £60.00 | 66.7% |
| Shelf price at 20% VAT | £100.00 × (1 + 20%) | £120.00 |
Cost £60.00, price £100.00 excl. VAT: 40.0% margin, 66.7% markup, and £120.00 on the shelf. Illustrative data.
Source for the UK rate: GOV.UK: VAT rates (UK standard rate 20%).
Costs
What you paid for the product, or made it for. This is the cost field above, and it sets the margin.
What shipping costs you, minus what the customer pays. Enter both in the shipping, fees and returns block.
A share of the revenue you keep after returns, entered as a percentage.
The share of orders that come back, and the cost of handling them (reverse logistics).
Margin after the cost of goods alone is gross margin. After all four it is the contribution margin.
Ad target
Break-even ROAS is 1 ÷ contribution margin %, so each product’s margin sets what its ads can cost. At the start values the contribution margin is 26.7%, so break-even ROAS is 3.74: below that, the ads cost more than the product earns. Put differently, one order can carry up to €26.74 of ad spend at break-even, its contribution. That counts the first order only, not repeat purchases. Product Metrics works on ROAS right away; connect margins to switch to POAS.
Method
Last updated 7 October 2026.
Use any basic calculator on one product. Price minus cost is the profit: €100.00 − €60.00 = €40.00. Divide the profit by the price for the margin: €40.00 ÷ €100.00 = 0.40, which is 40.0%. Divide it by the cost for the markup: €40.00 ÷ €60.00 = 0.667, which is 66.7%. The calculator shows the same figures.
Sources
The currency switch changes the symbol only: no exchange rates are used. Example amounts are illustrative data.
Paste this script tag into your own page to show the calculator there, with the same maths and no sign-up. It fits the width of your page, resizes with the calculator and follows the visitor’s light or dark setting.
The script adds the calculator and a link to the full version under it. Keep the attribution link: it credits the calculator.
Product Metrics segments your products by advertising clicks and return, then writes each segment to a Merchant Center label your campaigns use.