Profit margin calculator

Buying at 800 and selling at 1,000 gives a profit of 200: a 20% margin and a 25% markup. Type your cost and selling price, or the margin or markup you want, to see the price to charge.

What you type stays on your device. Nothing is sent to our server.

Profit margin calculator

Answers as you type

Step 1: Type the cost and what you know

I know

What the item costs you, including delivery.

Step 2: Price, profit, margin and markup

Profit margin

–

How it is worked out

How to calculate profit margin

  1. Type your cost

    Everything the item costs you to sell: purchase price, delivery, packaging and fees.

  2. Type the price, or the margin you want

    Choose whether you know the selling price, a target margin or a markup.

  3. Read the result

    You get the selling price, profit, margin and markup together, with the working.

About this tool

Margin is not markup

Margin is profit as a share of the selling price; markup is profit as a share of the cost. The same sale gives two different numbers:

MarkupMargin
25%20%
50%33.33%
100%50%
200%66.67%

Pricing for a target margin

To get a 20% margin on a cost of 800, the price is 800 ÷ (1 − 0.20) = 1,000. Adding 20% to the cost gives 960, which is only a 16.67% margin. This is the most common pricing mistake.

Count every cost

For an honest margin, include delivery, packaging, marketplace commission and payment charges in the cost, not only the purchase price. Gross margin uses the cost of the goods; net margin also takes off rent, wages and other running costs.

Privacy

This calculator runs in your browser, on your own device. The numbers and dates you type are not sent to our server and we cannot see them. They appear in the page address only so you can bookmark or share a result, and that address stays on your device unless you share it.

Frequently asked questions

What is the profit margin formula?

(selling price − cost) ÷ selling price × 100. With a cost of 800 and a price of 1,000: 200 ÷ 1,000 × 100 = 20%.

How do I calculate markup?

(selling price − cost) ÷ cost × 100. The same example: 200 ÷ 800 × 100 = 25%.

Can a margin be more than 100%?

No, because profit can never be more than the selling price. Markup can be more than 100%: selling for 300 what cost 100 is a 200% markup and a 66.67% margin.

Should I include sales tax?

No. Use prices without sales tax, because the tax is collected for the government and is not your income.

Is my data sent anywhere?

No. The calculator runs in your browser, so the numbers and dates you type are never sent to us.