Free pricing tool
Profit margin calculator
Short answer
Gross margin is gross profit divided by the selling price. Markup is the same profit divided by the cost, so it is always the larger number. This calculator reports both, plus net margin after shipping, payment fees and overhead, ROI on total cost, your break-even price, and the price that delivers a target margin.
Calculate your margin
Every figure is per unit unless labelled otherwise, and results update as you type. Use landed cost for the unit cost - the supplier invoice alone understates it.
Price and cost
What the customer pays
Product plus freight, duty and prep
Card or marketplace fee, often 2.9%
Packaging, software, allocated overhead
Targets and volume
We return the price that delivers it
Net profit / unit
$14.17
Net margin
56.7%
Gross margin
66.4%
Markup
197.5%
Profit over cost, not over price
ROI on total cost
131.0%
Price for 35% margin
$16.26
Your price already clears this
Where the price goes
Monthly at 500 units
Break-even price: $10.40
The break-even price is higher than the $10.10 of fixed costs because the payment fee is a percentage of whatever you charge. It solves price = fixed costs + price x 2.9%, rather than adding up the cost lines at your current price.
Margin, markup, and the gap between them
Margin and markup describe the same profit against different denominators, and confusing them is the most expensive arithmetic error in ecommerce pricing. A product costing $8.40 and selling for $24.99 carries a 66.4% gross margin and a 197.5% markup - one $16.59 of profit, described two ways. Price to the markup figure when you meant the margin and you land well under the number you planned for.
| Measure | Formula | Result |
|---|---|---|
| Gross margin | (price - unit cost) / price | 66.4% |
| Net margin | (price - all per-unit costs) / price | 56.7% |
| Markup | (price - unit cost) / unit cost | 197.5% |
| ROI | net profit / total cost per unit | 131.0% |
How this calculator works
Every figure above comes from the formulas below. Nothing is estimated and nothing is hidden.
| Output | Formula |
|---|---|
| Payment fee | price x payment rate |
| Total cost per unit | unit cost + outbound shipping + payment fee + other cost |
| Net profit | price - total cost per unit |
| Gross margin | (price - unit cost) / price x 100 |
| Net margin | net profit / price x 100 |
| Markup | (price - unit cost) / unit cost x 100 |
| ROI | net profit / total cost per unit x 100 |
| Break-even price | fixed costs / (1 - payment rate) |
| Target price | fixed costs / (1 - payment rate - target margin) |
| Monthly figures | per-unit figure x units per month |
Two of those deserve a note. ROI divides by the total cost per unit, not by the product cost alone - that is the money actually tied up in getting one unit sold, and dividing by the goods alone produces a flattering and much larger number. And the break-even price is not the sum of your costs: because the payment fee is a percentage of whatever you charge, it rises with the price, so the break-even price solves price = fixed costs + price x payment rate.
Every per-unit fee is rounded to cents before it is summed, and monthly figures are the rounded per-unit result multiplied by volume. That is how the fees are actually charged, and it is why the monthly total differs by a few dollars from what infinite-precision arithmetic would give.
The margin and markup definitions follow standard accounting practice as set out by AccountingCoach and the Corporate Finance Institute. The 2.9% payment default is the standard US domestic card rate published by Stripe.
Profit margin calculator FAQ
Margin divides profit by the selling price; markup divides the same profit by the cost. A product that costs $25 and sells for $50 has a 50% margin and a 100% markup - one $25 of profit, described two ways. Pricing to a 50% markup when you meant a 50% margin leaves you a third short on every unit, which is why this calculator shows both side by side.
Gross margin is (selling price - unit cost) / selling price x 100. Net margin uses the same denominator but subtracts every per-unit cost first: shipping, payment processing, packaging and allocated overhead. Gross margin measures the product; net margin measures the business.
Because the payment processing fee is a percentage of the price, so it rises as the price rises. With $10.10 of fixed costs and a 2.9% card fee, a $10.10 price still loses money on the fee. The break-even price solves price = fixed costs + price x fee rate, which gives $10.40. Adding up the cost lines at your current price gives the wrong answer.
Landed cost: what one sellable unit costs delivered to you, including the supplier invoice, freight, duty and any prep. Using the supplier invoice price alone is the most common way to overstate a margin, because freight and duty land weeks later and never make it back into the model.
It depends on the channel and how much of your cost base is fixed. There is no universal number, and any tool that gives you one is guessing. What this calculator can tell you honestly is the margin you have, the markup that produces it, and the price you would need for a different one.
No - it is net profit divided by the total cost per unit, which includes shipping, payment fees and overhead alongside the goods. That is the money actually tied up in getting one unit sold. Dividing by the product cost alone produces a materially higher and more flattering number.
Selling on Amazon or running a store?
Referral fees, fulfillment fees and ad spend change the picture enough to deserve their own tools.
notifcentral
Fee changes, buy box, listing issues, held funds, reimbursement recovery, payout confirmations - delivered to your phone before any of it costs you money.
Alerts
Compare
Guides
Free tools
© 2026 Notifcentral
