Free · no sign-up · any currency

Profit Margin Calculator

See how much you really keep from each sale, or work backwards from the margin you want to the price you should charge.

Updated November 2026

What do you want to find?
$
Everything it costs you to make or buy one
$
Profit margin 38.46%
Selling price
—
Profit per item
—
Profit margin
—
Markup
—

How to use the Profit Margin Calculator

  1. Choose what to find

    Pick margin from a price you already have, or the price that gives a margin you want.

  2. Enter cost and price

    Use the full cost per item, including materials, shipping and fees.

  3. Compare margin and markup

    See profit per item, margin and markup together.

Margin vs markup

Both describe profit, but they divide by different numbers. Margin is profit as a share of the selling price. Markup is profit as a share of the cost. Mixing them up is one of the most common pricing mistakes.

Margin = (Price − Cost) ÷ Price × 100

Markup = (Price − Cost) ÷ Cost × 100

An item that costs 40 and sells for 65 makes 25 profit. That is a 38.5% margin but a 62.5% markup.

MarkupMarginPrice for a 100 cost
25%20.0%125
50%33.3%150
66.7%40.0%166.67
100%50.0%200
150%60.0%250

How to price for a target margin

Price = Cost ÷ (1 − Target margin ÷ 100)

To make a 40% margin on a 40 cost, charge 40 ÷ 0.60 = 66.67. Adding 40% to the cost would give 56, which is only a 28.6% margin.

Frequently asked questions

What is a good profit margin?

It varies a lot by industry. Grocery and fuel often run on a few percent, while software and services can be much higher. Compare your gross margin with businesses like yours.

Is this gross margin or net margin?

It is gross margin per item: price minus the direct cost of that item. Net margin also subtracts overheads like rent, salaries and marketing.

Why is my margin always lower than my markup?

Margin divides profit by the selling price, which is larger than the cost. So for the same profit, margin is always the smaller percentage.

Can margin be 100%?

Only if the item costs nothing. As costs approach zero, margin approaches 100%, which is why the price-from-margin mode needs a target below 100%.

Related guide

More finance & business tools