Home / Finance Toolkit / Profit Margin Calculator
Business & Finance Calculators

Profit Margin Calculator

Find out how much of every sale you actually keep as profit. Enter your cost and price, or work backward from the margin you want to hit.

I know my cost and price
I want a target margin
Profit margin 0%
Selling price
$0
Profit per unit
$0
Total profit
$0
Where each sale dollar goes
Cost, 0% Profit, 0%
Profit margin
0%
Markup
0%
Typical profit margins by industry
Your business0%
Grocery stores~2 to 4%
Retail and apparel~25 to 50%
Restaurants~60 to 70%
Software and digital products~70 to 90%

What profit margin really tells you

Profit margin shows how much of each sale you actually keep. Picture a lemonade stand. Each cup costs you 50 cents to make. You sell it for 2 dollars. You keep $1.50 from every sale. That $1.50 is your profit. Divide it by the $2 price and you get 75%. That is your profit margin.

Margin is not the same as profit in dollars. A high margin on a cheap product can still earn less money than a low margin on an expensive one. Both numbers matter together.

Profit Margin = (Selling Price − Cost) ÷ Selling Price × 100
Selling Price is what the customer pays. Cost is what the item cost you to make or buy.
The result on top, before dividing, is your profit per unit.
Real example: a coffee shop buys milk, beans, and cups for $1.20 per latte. They sell each latte for $4.50. Profit per cup is $3.30. Divide that by $4.50 and multiply by 100. The margin comes out to 73%. That single number tells the owner exactly how healthy each sale really is.

Margin and markup are easy to mix up

These two numbers use the same ingredients but answer different questions. Margin asks what share of the price is profit. Markup asks how much you added on top of your cost. They will almost never be the same number.

MetricQuestion it answersFormula
Profit marginWhat share of my price is profit?Profit ÷ Price
MarkupHow much did I add on top of my cost?Profit ÷ Cost

Take a $10 cost item sold for $20. Profit is $10 either way. Markup is 100%, since you doubled your cost. Margin is only 50%, since profit is half the price. Mixing these up is one of the most common pricing mistakes small business owners make.

  • Price using margin, not markup. A 100% markup sounds strong but only produces a 50% margin. Decide your target margin first, then work out the price.
  • Track margin by product, not just overall. One bestseller with thin margin can quietly drag down a business that looks profitable on paper.
  • Compare against your industry, not a random number. A 10% margin is thin for software but strong for a grocery store.

Frequently asked questions

Is profit margin the same as profit?

No. Profit is a dollar amount. Margin is a percentage showing what share of the price that profit represents. You need both to understand a business fully.

Can profit margin be over 100%?

No, profit margin cannot exceed 100%, since profit can never be larger than the selling price itself. Markup, on the other hand, can go well beyond 100%.

Should I always aim for the highest margin possible?

Not necessarily. A very high margin can mean prices are too high to attract enough customers. The healthiest margin balances profit with steady sales volume.

How is profit margin different from ROI?

Profit margin looks at a single sale or product. ROI looks at the return on money invested overall, often across a longer period. They answer related but different questions.

Want to know how many units you need to sell to break even?

Try the Break-Even Calculator next.

Break-Even Calculator Back to Toolkit