Margin Calculator

Cost and selling price

Profit Margin

40%

The Numbers

  • Cost: $60.00
  • Selling price: $100.00
  • Profit: $40.00
  • Markup: 66.67%

Compare Calculations

Downloads

Includes your inputs and results for this calculation, plus any additional calculations you've compared.

Disclaimer

This calculator provides estimates for informational purposes only and does not constitute financial, medical, legal, or tax advice. Always consult a qualified professional about your specific situation.

How This Calculator Works

Profit margin and markup both describe the same dollar profit, but as a percentage of two different numbers — margin is profit divided by the selling price, markup is profit divided by the cost — which is exactly why the two percentages are never equal and are easy to confuse. Enter whichever two of cost, selling price, and margin you already know, and this calculator finds the third, along with the profit and markup.

The Formula

Profit: Profit=Selling PriceCost\vD{\text{Profit}} = \vB{\text{Selling Price}} - \vA{\text{Cost}}

Margin=ProfitSelling Price×100\text{Margin} = \frac{\vD{\text{Profit}}}{\vB{\text{Selling Price}}} \times 100 Markup=ProfitCost×100\text{Markup} = \frac{\vD{\text{Profit}}}{\vA{\text{Cost}}} \times 100

Selling price, from cost and a target margin:

Selling Price=Cost1Margin÷100\vB{\text{Selling Price}} = \frac{\vA{\text{Cost}}}{1 - \vC{\text{Margin}} \div 100}

Cost, from selling price and a target margin:

Cost=Selling Price×(1Margin÷100)\vA{\text{Cost}} = \vB{\text{Selling Price}} \times \left(1 - \vC{\text{Margin}} \div 100\right)

Worked Example

An item costs $60 and sells for $100:

  1. Profit: 10060=40\vB{100} - \vA{60} = \vD{40} dollars.
  2. Margin: 40÷100×100=40%\vD{40} \div \vB{100} \times 100 = 40\%.
  3. Markup: 40÷60×10066.67%\vD{40} \div \vA{60} \times 100 \approx 66.67\%.

The same $40 profit is a 40% margin but a 66.67% markup — the two numbers describe the exact same profit, just relative to different bases.

Source: Standard profit margin and markup formulas.

Frequently Asked Questions

What's the difference between margin and markup?

Both describe the exact same dollar profit, just as a percentage of two different numbers. Margin divides profit by the selling price; markup divides the same profit by the cost. Because the selling price is always higher than the cost, markup is always a bigger percentage than margin for the same profit — mixing them up is one of the most common pricing mistakes.

How do I price something to hit a target margin?

Use the "Cost and target margin" mode: enter your cost and the margin percentage you want, and this calculator finds the selling price that achieves it. This is usually more useful than guessing a markup percentage, since margin is what most businesses actually budget and report against.

What is a good profit margin?

It varies enormously by industry — a grocery store might run on a 2-3% margin while a software company might run on 70%+. There's no universal target; compare your margin against typical numbers for your specific industry rather than a general rule of thumb.