Free Online Profit Margin Calculator

Calculate profit margin, markup percentage, and gross profit instantly for smarter pricing decisions.

OC
OmniCalculator Pro Editorial TeamReviewed for accuracy by our editorial team
โœ… Fact-checked๐Ÿ”„ Updated 2026โญ Trusted tool

Calculate Profit Margin

Enter cost and selling price to find profit, margin, and markup.

Profit
Margin
Markup

What is Profit Margin?

Profit margin measures how much of each dollar of revenue becomes profit. It's essential for pricing decisions, competitive analysis, and financial health monitoring. Understanding the difference between margin and markup helps you price products effectively.

Margin vs. Markup Explained

Profit Margin

Profit as a percentage of selling price:

Margin = ((Selling - Cost) รท Selling) ร— 100

Markup

Profit as a percentage of cost price:

Markup = ((Selling - Cost) รท Cost) ร— 100

Example: Buy for $60, sell for $100.

Profit = $40

Margin = ($40 รท $100) ร— 100 = 40%

Markup = ($40 รท $60) ร— 100 = 66.67%

Key Differences

Industry Benchmarks

Frequently Asked Questions

It depends on your industry. A 5% net margin is excellent for grocery but poor for software. Research your industry benchmarks.

Raise prices if the market allows, reduce costs through better supplier negotiations, improve efficiency, or focus on higher-margin products.

Related Calculators

What is Profit Margin?

Profit margin is profit expressed as a percentage of revenue. It answers a single question: of every unit of money that comes in, how much stays with the business? Because it is a percentage rather than an absolute figure, it allows a corner shop and a multinational to be compared on the same terms. The critical distinction to grasp is between margin, calculated on the selling price, and markup, calculated on cost.

How to Use This Calculator

  1. Enter your cost and selling price.Use the direct cost of the item for gross margin, or include all costs for a net figure.
  2. Read margin and markup separately.They are different numbers from the same inputs, and knowing both prevents pricing errors.
  3. Work backwards if pricing.If you have a target margin, use the pricing formula below rather than adding a percentage to cost.

The Formulas

Profit = Selling Price - Cost
Margin % = (Profit / Selling Price) x 100
Markup % = (Profit / Cost) x 100

Price for a target margin = Cost / (1 - target margin as decimal)
The margin and markup trap

Adding a 40 percent markup to cost does not produce a 40 percent margin. A cost of 60 plus 40 percent gives 84, which is a margin of 28.6 percent, not 40. Businesses that confuse these two consistently price below their intended profitability, and because the error is proportional it never corrects itself with volume.

Worked Example

An item costing 60 that you want to sell at a 40 percent margin

Step 1: Calculate the correct price

Price = Cost / (1 - 0.40) Price = 60 / 0.60 = 100

Step 2: Verify the margin

Profit = 100 - 60 = 40 Margin = (40 / 100) x 100 = 40% Correct

Step 3: See what the markup is

Markup = (40 / 60) x 100 = 66.7%

A 40 percent margin requires a 66.7 percent markup on cost — the same trade in two different languages

Margin to Markup Conversion

Target MarginRequired MarkupDivide Cost By
10%11.1%0.90
20%25.0%0.80
25%33.3%0.75
33%50.0%0.67
40%66.7%0.60
50%100.0%0.50
60%150.0%0.40

Notice how the gap widens as margins rise. At low margins the two figures are close enough that confusing them causes minor damage. At high margins the difference becomes severe.

The Three Levels of Margin

TypeWhat It SubtractsWhat It Reveals
Gross marginCost of goods sold onlyWhether the product itself is profitable
Operating marginPlus rent, wages, marketingWhether the business operation is profitable
Net marginPlus interest and taxWhat actually remains for owners

A shop with revenue of 500,000

Revenue 500,000 Cost of goods sold - 300,000 Gross profit 200,000 Gross margin 40% Operating expenses - 140,000 Operating profit 60,000 Operating margin 12% Interest and tax - 18,000 Net profit 42,000 Net margin 8.4%

A healthy 40 percent gross margin becomes 8.4 percent net once every cost is accounted for

Typical Margins by Sector

These are broad indications only. Margins vary widely within any industry depending on scale, positioning and business model.

SectorTypical Net Margin
Grocery retail1% to 3%
General retail2% to 5%
Restaurants3% to 9%
Construction3% to 7%
Professional services10% to 20%
Software15% to 35%+
Margin beats volume more often than people expect

On a 10 percent net margin, a 1 percent price increase with no loss of volume adds roughly 10 percent to profit. Achieving the same profit increase through sales growth alone would require selling 10 percent more, with all the extra cost that entails. Small pricing corrections are usually the highest-leverage change available to a small business.

People Also Ask

Margin is profit as a percentage of the selling price, while markup is profit as a percentage of the cost. An item costing 60 and selling for 100 has a 40 percent margin but a 66.7 percent markup. Confusing the two systematically underprices products, which is why it is one of the more expensive mistakes in small business.
Subtract the cost from the selling price to get profit, divide that by the selling price, then multiply by 100. An item costing 60 that sells for 100 yields 40 profit, and 40 divided by 100 is a 40 percent margin. Always divide by the selling price, never the cost.
It depends heavily on the industry. Grocery retail often runs on net margins of 1 to 3 percent, while software can exceed 30 percent. Comparing your margin against businesses in your own sector is far more useful than against any general benchmark.
Gross margin covers only the direct cost of goods sold. Operating margin also subtracts running costs such as rent, salaries and marketing. Net margin subtracts everything, including interest and tax. Each strips away another layer of cost, so net margin is always the smallest of the three.
Divide your cost by one minus the target margin as a decimal. For a cost of 60 and a 40 percent target margin, divide 60 by 0.60, giving a price of 100. Adding 40 percent to the cost gives 84, which produces a margin of only 28.6 percent.

📚 Sources & References

  1. U.S. Small Business Administration (SBA) — Guidance on pricing, costing and small business finance.
  2. U.S. Securities and Exchange Commission (SEC) — Public company filings showing reported margins by sector.
  3. Bureau of Labor Statistics — Industry data and business cost statistics.

This calculator is for general business information only and is not financial or accounting advice. Margin benchmarks vary widely by industry, region and business model. Consult a qualified accountant for decisions affecting your business.