Profit margin calculator for one sale, fees included

Price
Costs per sale
Tax and fees

In the US, sales tax is added at checkout and is not part of your price: leave VAT at 0. In the UK, EU, India or Australia, prices are shown with tax included: enter the rate you charge.

Where the price goes

Markup to margin, and back

A markup is profit divided by cost; a margin is profit divided by the selling price. Type in either box.

Enter what an item costs you and what the buyer pays, then the fees and costs that come out of each sale: marketplace and payment fees, VAT or GST, shipping, packaging, advertising and returns. The calculator shows the profit left on that one sale, the margin and markup, and the lowest price that still breaks even. Switch to Find my price to start from the margin you want instead. The numbers stay in your browser.

Why the margin you see is usually too high

Most profit margin calculators ask for two numbers, cost and price, and divide. For an item bought for $12 and sold for $30, that gives a 60% margin. It is the right answer to the question asked, and the wrong answer for anyone selling online, because the $18 between cost and price is not all yours. The card processor takes its cut, the parcel has to be paid for, and so does the box.

Here is the same sale with the costs that come out of it, using the example already filled in above: a payment fee of 2.9% plus $0.30, $4 shipping you pay, and $0.50 of packaging.

Out of the $30 the buyer paysAmount
Item cost$12.00
Payment fee (2.9% + $0.30)$1.17
Shipping$4.00
Packaging$0.50
Profit$12.33
Profit margin41.1% (not 60%)

Nothing exotic was added: no advertising, no marketplace commission, no returns. The margin still dropped by a third. Add a marketplace fee or a 20% discount and it falls further; with the discount alone the buyer pays $24 and the profit is $6.50, a little over half of what it was. A small cut in price takes a much larger share of the profit, because the costs do not shrink with it.

The textbook price formula can lose money

The usual way to price for a margin is price = cost ÷ (1 − margin). For a 30% margin on a $12 item that is $12 ÷ 0.7 = $17.14. The formula assumes the item is the only cost. With the fees, shipping and packaging from the example, the break-even price is $17.30, so $17.14 loses $0.16 on every sale while looking like a 30% margin on paper.

Find my price solves the other way round: it counts every cost first, then works out the price that leaves the margin you asked for. For 30% in the example that is $25.04, and selling at $25.04 leaves $7.51, which is 30% of the price. If the percentage fees and the target margin together take the whole price, no price can work, and the calculator says so instead of printing a negative number.

Markup and margin are not the same number

Markup is profit as a share of cost; margin is profit as a share of the selling price. They describe the same sale, so one converts to the other, but the numbers are never equal. Asked for a 40% margin, a seller who adds 40% to cost ends up with 28.6%.

MarkupMarginItem costing $10 sells for
20%16.7%$12.00
25%20%$12.50
40%28.6%$14.00
50%33.3%$15.00
75%42.9%$17.50
100%50%$20.00
150%60%$25.00
200%66.7%$30.00

The two formulas are margin = markup ÷ (1 + markup) and markup = margin ÷ (1 − margin). The converter under the calculator does this for any number. In the calculator itself, markup is measured on the item cost alone, which is how it is normally quoted; margin is measured after all costs, which is what you actually keep.

VAT, GST and the fee on top of the tax

Where prices include tax, part of what the buyer pays was never yours. On a £30 sale with 20% VAT, £5 goes to the tax office and £25 is the price you sell for. The calculator takes the tax out first and measures the margin on what is left, so a VAT registered seller and a US seller with the same figures get comparable margins.

The detail that most calculators miss is what the marketplace takes its fee on. Some charge their percentage on the full price including VAT, some on the price before VAT, and the fee pages say which. It is not a rounding difference. With the example costs, a 20% VAT rate and a 6.5% fee:

£30 sale, 20% VAT, 6.5% feeFee on price incl. VATFee on price excl. VAT
Marketplace fee£1.95£1.63
Payment fee£1.17£1.03
Profit£5.38£5.85
Profit margin21.5%23.4%
Break-even price£22.72£22.25

Almost 9% more profit from a setting most sellers never check. Set Fees are charged on to match your marketplace and payment provider; if you are not sure, the first option is the cautious one.

Returns cost more than the refund

A returned item that can be sold again still costs the shipping twice: once to send it and once when it comes back, often on a label you pay for. The calculator counts that as an expected cost per sale, the return rate times twice the shipping. With $4 shipping:

Return rateCost per saleProfit per saleBreak-even price
0%$0.00$12.33$17.30
5%$0.40$11.93$17.71
10%$0.80$11.53$18.13
20%$1.60$10.73$18.95

Where buyers order two sizes and send one back, the rate can be high, so it is worth a real number rather than zero. If a returned item cannot be resold, add its cost to Other costs as well.

What this calculator does not do

It works out one sale. It does not spread your rent, software subscriptions or wages across your products, and it has no marketplace fee presets, because the rates differ by country, category and seller plan and change often; copying them from the marketplace's own fee page is safer than trusting a list. Income tax on the profit is not included either.

If you send invoices for what you sell, the invoice generator makes the PDF in your browser in the same way, and the barcode generator prints labels for your stock. To keep a list of products and their margins on your phone, the same calculation is in our iPhone app, Satış Kârı Hesaplayıcı (in English on an English iPhone).

Frequently asked questions

How do I calculate profit margin?

Subtract every cost of the sale from the price you keep, then divide by that price. If an item sells for $30, costs $12 and fees, shipping and packaging come to $5.67, the profit is $12.33 and the margin is 12.33 ÷ 30 = 41.1%. Leaving the fees out gives 60%, which is the number most simple calculators show.

What is the difference between markup and margin?

Markup is profit divided by cost; margin is profit divided by the selling price. An item bought for $10 and sold for $15 has a 50% markup and a 33.3% margin. Margin is always the smaller number, and a margin can never reach 100%, while markup can go as high as you like.

What price do I need for a 30% margin?

With no fees, divide the cost by 0.7: a $12 item needs $17.14. Once fees and shipping are counted, that price can lose money: in our example it is below the $17.30 break-even and loses $0.16 a sale. Use Find my price, enter 30%, and the calculator solves for the price that leaves 30% after every cost ($25.04 in the same example).

Should I enter the price with or without VAT?

Enter what the buyer pays. If your prices include VAT or GST, as in the UK, EU, India or Australia, enter the rate in the VAT box and the calculator takes the tax out before working out the margin. In the US, sales tax is added at checkout on top of your price, so leave VAT at 0.

Are marketplace fees charged on the price with VAT or without?

It depends on the marketplace, and it changes the profit. On a £30 item with 20% VAT and a 6.5% fee, the fee is £1.95 if it is charged on the full price and £1.63 if it is charged on the price before VAT. The marketplace's fee page says which; set the Fees are charged on box to match.

What is a break-even price?

The lowest price at which a sale makes neither a profit nor a loss, after the item cost, fees, tax, shipping, packaging, advertising and expected returns. Below it, every sale loses money however many you sell.

How are returns counted?

As expected cost per sale: the return rate times twice the shipping cost, because you pay to send the item and lose that shipping again when it comes back. This assumes the returned item can be sold again; if it cannot, add its cost to Other costs.

Are my numbers saved or sent anywhere?

They are saved only in this browser, so the form is filled in when you come back, and they never leave your device. Reset to the example clears them back to the sample numbers.