Skip to content
OddsockLocal
Local

Profit$40.00

Margin
33.33333333333%
Markup
50%
Profit: 40Runs in this browser. Nothing is uploaded.

Ready

How to use

  1. Enter the cost and the selling price.
  2. Read profit, which is price minus cost.
  3. Read margin (profit / price) and markup (profit / cost).

What is Profit margin?

Forty of profit on a cost of 80 and a price of 120 is two different percents, and both are correct. Profit is price minus cost, here 40. Margin is profit divided by the selling price: 40/120 is 33.33%. Markup is profit divided by the cost: 40/80 is 50%. Quoting "50%" without saying which base you divided by is how invoices and dashboards disagree.

Read more

This page starts from the two money figures and reports all three results. The markup calculator goes the other direction: cost and a markup percent in, selling price out. Use that one when you are setting a tag. Use this one when the tag already exists and you want the ratios. A zero price makes margin undefined, because you would be dividing by zero. A zero cost makes markup undefined for the same reason.

Gross profit here is a single unit or a single total, whichever pair you typed. It does not allocate overhead. If the 80 already includes a share of rent, the margin is a fuller margin. If the 80 is only materials, the margin is a contribution margin wearing a short name. The math does not know which story you brought.

Use cases

  • A shopkeeper reading both 33.33% margin and 50% markup off an 80 cost and a 120 price.
  • An accountant checking a quoted markup against the price that was actually charged.
  • A student lining up profit/price and profit/cost on one example.
  • A founder who has been calling a 50% markup a 50% margin and wants the correction in numbers.
  • A buyer testing a lower price to see the margin fall faster than the markup.

Cost 80, selling price 120

Cost 80. Selling price 120.

Profit 40. Margin 33.33%. Markup 50%.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

Subtract cost from price, then divide by the price. (120 − 80) / 120 is 33.33%.