๐Ÿ’ฐ Finance & Money

Profit Margin Calculator

Calculate profit margin, markup, cost, revenue and profit. Enter any two values and get the rest instantly โ€” for pricing, quotes, or financial analysis.

Advertisement
๐Ÿ“Š
Profit Margin Calculator

Choose a mode below โ€” calculate margin from cost and revenue, find what price to set for a target margin, or convert between margin and markup.

The selling price will be calculated
Type here to get markup
Type here to get margin
Profit Margin
0%
Cost
โ€”
Revenue
โ€”
Profit
โ€”
Markup
โ€”
CostProfit
Advertisement

What is a Profit Margin Calculator?

A profit margin calculator tells you what percentage of your selling price is profit after covering costs. It's one of the most fundamental business metrics โ€” a quick way to see how efficiently you're turning revenue into profit. This tool goes further: enter cost and revenue to get margin, enter cost and a target margin to find the right selling price, or convert between margin and markup percentages. It covers everything you need for pricing, quoting, and financial analysis in one place.

Whether you're setting prices for a product, reviewing a supplier quote, doing a business case, or just making sense of financial statements, the profit margin is the number that tells you what's actually left over.

How is Profit Margin Calculated?

Profit margin is the profit divided by the revenue, expressed as a percentage. Revenue is the selling price; cost is what you paid. The difference is your profit, and the margin tells you what fraction of each dollar of revenue you keep.

Profit = Revenue โˆ’ Cost
Margin = (Profit รท Revenue) ร— 100

Example: Cost $40, Revenue $100
Profit = $100 โˆ’ $40 = $60
Margin = ($60 รท $100) ร— 100 = 60%

Markup = (Profit รท Cost) ร— 100
Markup = ($60 รท $40) ร— 100 = 150%

How to Use This Calculator

Choose the mode that fits your question. In Cost & Revenue mode, enter what you paid and what you sell for โ€” the calculator gives you margin, markup, and profit. In Cost & Margin mode, enter your cost and the margin you want, and it tells you the selling price to charge. In Margin โ†” Markup mode, type either percentage and it converts to the other instantly โ€” because the two are related but not the same, and confusing them is one of the most common pricing mistakes.

Margin vs Markup: What's the Difference?

Margin is profit as a percentage of the selling price (revenue). Markup is profit as a percentage of the cost. They describe the same profit in different terms, and they're always different numbers. A 50% margin is not a 50% markup โ€” a 50% margin corresponds to a 100% markup. Confusing them leads to underpricing (if you set a 50% "margin" but actually applied a 50% markup, your real margin is only 33%).

๐Ÿ’ก Easy conversion: Margin = Markup รท (1 + Markup). Markup = Margin รท (1 โˆ’ Margin). Or just type one into the Margin โ†” Markup tab above and the other appears instantly.

What is a Good Profit Margin?

It depends heavily on the industry. Software and services often run 60โ€“90% gross margins. Retail and e-commerce typically sit at 25โ€“50%. Grocery and food are often 1โ€“5%. Manufacturing lands around 10โ€“30%. There's no universal "good" number โ€” what matters is whether your margin covers your operating expenses and leaves room for growth. Compare within your industry, not across all businesses.

Gross Margin vs Net Margin

This calculator computes gross margin โ€” revenue minus the direct cost of the product or service. Net margin goes further and subtracts all operating expenses (rent, salaries, marketing, taxes). Gross margin tells you how profitable each unit is; net margin tells you how profitable the whole business is. Both matter, but gross margin is the starting point for pricing decisions.

How to Improve Profit Margins

  • Raise prices: even a small price increase flows straight to profit if volume holds.
  • Reduce cost of goods: negotiate with suppliers, buy in bulk, optimise production.
  • Cut waste: fewer returns, less spoilage, tighter inventory management.
  • Upsell and bundle: higher-margin add-ons improve the blended margin per sale.
  • Focus on high-margin products: promote the items that make you the most per dollar.

Frequently Asked Questions

What is a 50% profit margin?
A 50% profit margin means that for every dollar of revenue, 50 cents is profit and 50 cents covers costs. If you sell a product for $100, your cost is $50 and your profit is $50. This is a strong margin in most industries and corresponds to a 100% markup on cost.
What's the difference between margin and markup?
Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. They describe the same profit differently. A 50% margin equals a 100% markup. A 33% margin equals a 50% markup. They're related but never the same number โ€” confusing them is a common pricing error. Use the Margin โ†” Markup tab to convert instantly.
How do I calculate the selling price from cost and margin?
Use the formula: Selling Price = Cost รท (1 โˆ’ Margin/100). For example, if your cost is $40 and you want a 60% margin: $40 รท (1 โˆ’ 0.60) = $40 รท 0.40 = $100. The Cost & Margin tab does this calculation for you.
Can profit margin be negative?
Yes โ€” a negative margin means you're selling below cost, i.e. losing money on each unit. This can happen deliberately (loss leaders to attract customers) or accidentally (underpricing). If the calculator shows a negative margin, your cost exceeds your revenue.
What's the difference between gross and net margin?
Gross margin only subtracts the direct cost of the product or service from revenue. Net margin subtracts all expenses โ€” rent, salaries, marketing, taxes, everything. This calculator computes gross margin, which is the right metric for pricing and per-unit profitability.
How do I convert margin to markup?
Markup = Margin รท (1 โˆ’ Margin/100) ร— 100. For example, a 60% margin = 60 รท (1 โˆ’ 0.60) = 60 รท 0.40 = 150% markup. Type the margin into the Margin โ†” Markup tab and the markup appears instantly.
What industries have the highest profit margins?
Software, SaaS, and digital services often have the highest gross margins โ€” frequently 70โ€“90% because the marginal cost of serving another customer is near zero. Financial services and luxury goods also tend toward high margins. Grocery, agriculture, and commodity businesses typically have the lowest, often under 5%.
Is my data private?
Yes. All calculations happen in your browser โ€” nothing is uploaded or stored. You can enter real business figures privately, and the calculator works offline once loaded.
Advertisement
Scroll to Top