Skip to contentSellstamp

Profit margin calculator

Enter what an item costs you and what you sell it for to get your profit margin and markup, or enter a target margin to get the price that hits it.

What do you know?
Profit margin
40.00%
Profit per sale
40.00
Markup
66.67%

We’ll send you tips and updates from Sellstamp. Unsubscribe any time.

Stays on your device

Everything runs in your browser. Nothing you type is sent anywhere unless you choose to email yourself the result.

Pricing something to sell?

Sellstamp gives a digital product a storefront, a checkout into your own payment account and automatic delivery. Open a free store

How to use it

  1. Choose “Cost and price” to check a price you already have, or “Cost and target margin” to find one.
  2. Enter the cost of one sale: what the item cost you, plus any per-sale costs you want counted.
  3. Enter your selling price, or the margin you are aiming for as a percentage.
  4. Read the margin, the markup and the profit. They update as you type.

Margin and markup are not the same number

Both describe the same profit. They differ in what they measure it against. Margin is profit as a share of the price you sold at; markup is profit as a share of what the item cost you. An item that cost 60 and sells for 100 carries a 40% margin and a 66.7% markup — one sale, two true percentages.

The mistake that costs money is applying a margin target with the markup formula. Multiplying a 60 cost by 1.4 gives 84, which is a 28.6% margin, not the 40% you were aiming at. The price that actually yields a 40% margin is 60 ÷ (1 − 0.40) = 100.

What this does not include

Cost here means whatever you decide to count as the cost of one sale. This calculator does not know about payment processing fees, refunds, shipping, platform commission or the hours you spent — if those come out of the same sale, fold them into the cost before you type it, or your margin is the gross one rather than the one that reaches you.

Questions

How do I calculate profit margin?

Subtract the cost from the price to get the profit, then divide the profit by the price. An item that costs 60 and sells for 100 makes 40 of profit, and 40 ÷ 100 is a 40% margin.

What is the difference between margin and markup?

Margin divides the profit by the selling price; markup divides it by the cost. The same sale, cost 60 and price 100, is a 40% margin and a 66.7% markup.

What price gives me a 30% margin?

Divide the cost by (1 − 0.30). With a cost of 70 that is 70 ÷ 0.7 = 100. Multiplying the cost by 1.3 instead gives 91, which is only a 23% margin.

Can a margin be more than 100%?

No. Profit can never be larger than the price, so 100% is the ceiling, and it would mean the item cost nothing. Markup has no ceiling: selling something that cost 10 for 50 is a 400% markup and an 80% margin.

Should I include shipping and payment fees in the cost?

If they come out of every sale, yes. Add them to the cost first, or the margin shown is the gross one rather than what actually reaches you.

Is the margin before or after tax?

Enter prices without sales tax or VAT. Tax collected on a sale is not your revenue, so including it would overstate both the price and the margin.