Profit margin calculator

Margin and markup from cost and price, or the price you need for a target.

What do you want to work out?
Platform fees, shipping label, packaging

Selling on a marketplace? Enter what the buyer pays (item plus any shipping you charge) as the selling price, and the platform’s fees plus your label as selling costs. The result then matches the margin in the Profit Calculator and the fee calculators.

Profit margin37.5%
Profit $15.00Markup 60.0%
Breakdown
Price, cost and profit
Selling price$40.00
Item cost−$25.00
Profit$15.00
Marginprofit ÷ price37.5%
Markupprofit ÷ item cost60.0%

The formulas

Profit

Selling price − item cost − fees and selling costs

Margin

Profit ÷ selling price × 100

Markup

Profit ÷ item cost × 100

Price for a margin

(Item cost + selling costs) ÷ (1 − margin), rounded up to the cent

Price for a markup

Item cost × (1 + markup) + selling costs, rounded up to the cent

Margin questions

What’s the difference between margin and markup?

Margin is profit as a share of the selling price; markup is profit as a share of the cost. An item bought for $25 and sold for $40 makes $15 profit: a 37.5% margin and a 60% markup.

How do I price an item for a 30% margin?

Divide the cost by (1 − 0.30). For a $10 item that’s $10 ÷ 0.7 = $14.2857…, so $14.29 once rounded up to the cent. Choose “Price for a target” above to do it for any cost.

Can a margin be more than 100%?

No. Margin is a share of the price, so it stays under 100% unless the item cost nothing. Markup has no upper limit: selling a $5 item for $20 is a 300% markup but a 75% margin.

Should I count marketplace fees?

Yes, for a true margin. Enter what the buyer pays (item plus any shipping you charge) as the selling price and the platform’s fees plus your shipping label as “Fees and selling costs”. That gives the same margin as our platform calculators, which work the fees out for you.

Don’t enter the platform’s payout as the selling price with no selling costs: the margin would be measured against a smaller amount and come out too high.