FREE CALCULATOR · BUSINESS

Margin & Markup Calculator

Margin and markup both describe profit as a percentage — but of different things, and mixing them up is expensive. Enter cost and selling price to see both, side by side.

10

Margin & markup

Compare profit to selling price (margin) and to cost (markup).

→
Gross margin40%Markup 66.67% · profit 40
Key difference: margin divides profit by selling price. Markup divides the same profit by cost.

How the margin & markup calculator works

Margin and markup both describe profit as a percentage — but of different things, and mixing them up is expensive. Enter cost and selling price to see both, side by side.

The formula

margin = (price − cost) ÷ price × 100 · markup = (price − cost) ÷ cost × 100

Worked example

You buy an item for $60 and sell it for $100. Profit is $40. Margin is 40 ÷ 100 = 40%. Markup is 40 ÷ 60 ≈ 66.7%. Same $40 profit, two different percentages.

Where this comes in handy

  • Pricing: set prices that hit your target margin.
  • Reselling: check whether a flip is worth the effort.
  • Restaurants and retail: monitor margins across products.
  • Freelancing: compare your effective markup on time vs. materials.

The margin-to-markup conversion table

Margin and markup are the same $40 of profit described two ways, and the conversion between them is fixed: markup = margin ÷ (1 − margin). The table runs that conversion across the margins a real business actually targets. The pattern is the warning: the gap between the two numbers explodes as margin rises. A 20% margin is a 25% markup — close enough to confuse. An 80% margin is a 400% markup, and anyone quoting the smaller number as if it were the markup is understating the price by a factor of five.

MarginMarkupWhat it means on a $100 sale
10%11.11%Cost $90, profit $10
20%25.00%Cost $80, profit $20
25%33.33%Cost $75, profit $25
30%42.86%Cost $70, profit $30
40%66.67%Cost $60, profit $40
50%100.00%Cost $50, profit $50
60%150.00%Cost $40, profit $60
70%233.33%Cost $30, profit $70
75%300.00%Cost $25, profit $75
80%400.00%Cost $20, profit $80

Read the table from the cost side and the logic clicks: a 50% margin means cost and profit are equal, so the markup — profit over cost — is 100%. Anything above 50% margin means profit exceeds cost, and the markup passes 100% and accelerates. The reverse conversion is just as fixed: margin = markup ÷ (1 + markup). A 25% markup is a 20% margin (0.25 ÷ 1.25); a 100% markup is a 50% margin (1 ÷ 2). Both directions are one division, and both are worth memorizing, because suppliers quote markup and owners think in margin, and the two sides of a negotiation are usually using different numbers for the same deal.

Worked example: pricing to a target margin

A product costs $45 to make and the target is a 35% margin. Divide cost by 1 minus the margin as a decimal: 45 ÷ 0.65 = $69.23. Check it: profit is 69.23 − 45 = $24.23, and 24.23 ÷ 69.23 = 35%. The same $45 cost at a 35% markup would price at only $60.75 (45 × 1.35) and earn a 25.93% margin — the business would miss its target by nine points and never know why, because both prices were built from “35%.” A second check, on the page’s own defaults: cost $60, price $100, profit $40 — margin 40%, markup 66.67%, exactly what the calculator shows. And the reverse trip: a $40 cost with a 25% markup prices at $50 and earns a 20% margin; the same cost with a 100% markup prices at $80 and earns a 50% margin. Markup sets the price from the cost; margin checks the price against the sale — run both, every time.

What a discount does to margin

A discount cuts margin faster than it cuts price, because the cost does not move. The $100 item with a $60 cost earns a 40% margin. Cut the price 10% to $90 and the profit is $30 — a 33.33% margin, down almost seven points on a ten-percent discount. Cut it 25% to $75 and the profit is $15 — a 20% margin, halved. Cut it 40% to $60 and the margin is zero: every dollar of the sale goes to cost. That is why clearance pricing is a margin decision before it is a volume decision, and why the calculator above is worth running before the sale sign goes up rather than after the month’s numbers come in.

Output · formula · meaning

OutputFormulaWhat it means
Gross margin(price − cost) ÷ price × 10040% at the defaults ($60 cost, $100 price)
Markup(price − cost) ÷ cost × 10066.67% at the defaults
Profitprice − cost$40 at the defaults

Who uses this

  • Retailers: checking whether a sale price still clears the margin target after the discount.
  • Freelancers: comparing the markup on their time against the markup on materials they pass through.
  • Resellers: deciding in one calculation whether a flip is worth the effort at the asking price.
  • Restaurant owners: watching food-cost margins dish by dish, where a few points decide the month.

Accuracy & limitations

The two divisions are exact: margin divides profit by price, markup divides the same profit by cost. What the calculator cannot see is everything outside the two numbers typed in — shipping, payment fees, returns, and overhead all eat margin after the sale, so treat the result as gross margin on the item, not net margin on the business. A margin above 100% is impossible by definition, because profit cannot exceed the price; if the calculator ever shows one, the cost and price were entered the wrong way round.

Cite this calculatorBright Side Kit. “Profit Margin & Markup Calculator.” brightoolbox.com, 2026.Bright Side Kit. "Profit Margin & Markup Calculator." https://brightoolbox.com/profit-margin-calculator/ Accessed November 6, 2026.

Margin & Markup Calculator — frequently asked questions

What is the difference between margin and markup?

Margin is profit as a share of the selling price; markup is profit as a share of the cost. A 40% margin on a $100 sale equals a 66.7% markup on its $60 cost.

Why is markup always higher than margin?

Because markup divides by the smaller number (cost). For any profitable sale, markup exceeds margin — sometimes dramatically.

What is a good profit margin?

It varies wildly by industry: grocery stores run 1–3%, while software can exceed 70%. Compare against your own industry, not a universal rule.

How do I price for a target margin?

Divide your cost by (1 − margin as a decimal). For a 40% margin on a $60 cost: 60 ÷ 0.60 = $100.

Can margin exceed 100%?

Gross margin cannot exceed 100% (you cannot profit more than the price). Markup has no upper limit.

How do I convert markup to margin?

Divide the markup as a decimal by 1 plus the markup: margin = markup ÷ (1 + markup). A 25% markup is 0.25 ÷ 1.25 = 20% margin. A 100% markup is 1 ÷ 2 = 50% margin. The table above runs the conversion the other way too, so either number can be read off directly.

What margin do I need to double my money?

A 50% margin doubles the cost into the price: a $40 cost priced at $80 earns $40 profit, a 50% margin and a 100% markup. Anything above 50% margin means the profit is bigger than the cost. Below 50%, the cost is the bigger half of the price.

Why do two shops with the same markup earn different margins?

They cannot, if the markup is really the same — markup and margin are locked together by the conversion table, so equal markup always means equal margin. When two shops report different margins, their markups differ too, or one of them is quoting net margin after overhead while the other quotes gross margin on the item. Ask which costs were counted before comparing.

How do discounts change my margin?

Faster than they change the price, because the cost stays fixed. On a $100 item with a $60 cost, a 10% discount to $90 drops the margin from 40% to 33.33%; a 25% discount to $75 drops it to 20%; a 40% discount to $60 wipes it to zero. Run the numbers through the calculator before discounting, not after.

Embed this calculator

Paste this into any web page to embed the live calculator. The “Bright Side Kit” link below it must stay intact.