Skip to content

Free calculator

Margin calculator. Margin, markup and price.

Profit margin is your profit divided by the selling price. Markup is the same profit divided by your cost. Enter the cost and any one of price, margin or markup, and the calculator gives you the other two.

One item

What it costs you to make or buy
Before sales tax
Profit margin40.0%$20.00 profit on each one.
Selling price
$50.00
Cost
$30.00
Profit
$20.00
Margin
40.0%
Markup
66.7%
Revenue on 120
$6,000.00
Profit on 120
$2,400.00

How to calculate margin and markup

Both start from the same two numbers, what it costs you and what you sell it for. They differ only in what the profit is divided by.

Profit = price - cost. Margin % = profit / price x 100. Markup % = profit / cost x 100. Price for a margin = cost / (1 - margin % / 100).

  1. Find the cost of oneWhat you pay to make or buy one item: materials, packaging and freight in. For a plate of food, the cost of what's on it.
  2. Subtract it from the priceUse the price before sales tax. What's left is the gross profit on one sale.
  3. Divide by the price for marginMargin says what share of each dollar of sales you keep before rent, wages and the rest.
  4. Divide by the cost for markupMarkup says how much you added on top of cost. It is always the larger number of the two.
  5. Price from a margin, not a markup, when you have a targetTo keep 40% of the price, divide the cost by 0.6. Adding 40% to the cost only keeps 28.6%.

A worked example

Something that costs you $30.00 and sells for $50.00, 120 times in a month. These are the numbers the calculator opens with.

One item
Selling price$50.00
Cost$30.00
Profit on each$20.00
Margin40.0%
Markup66.7%
Profit on 120 sold$2,400.00
Price for a 40% margin on the same cost$50.00

Markup vs margin

The same profit, said both ways. A markup is always bigger than the margin it leaves, and the gap grows as the numbers do: doubling your cost is a 100% markup and a 50% margin.

Margin % = markup % / (100 + markup %) x 100. Markup % = margin % / (100 - margin %) x 100.

On an item that costs $30.00
MarkupPriceMargin
10%$33.009.1%
20%$36.0016.7%
25%$37.5020.0%
30%$39.0023.1%
40%$42.0028.6%
50%$45.0033.3%
75%$52.5042.9%
100%$60.0050.0%
150%$75.0060.0%
200%$90.0066.7%

This is gross margin on one item. It leaves out labor, rent and everything else it takes to stay open, so a healthy number here is a start, not the whole answer. For a restaurant plate, the food cost calculator and the recipe cost calculator work from ingredients.

Margin on one item is a snapshot. The operating review in the app reads your sales and costs for the day, week, month or year and shows what changed.The calculator needs no account.