How to Calculate Profit Margin

Profit margin expresses profit as a share of revenue. It is the number that lets you compare two businesses of very different sizes, and the number that tells you whether a sale is worth making at all.

The basic formula

Margin = (revenue − cost) / revenue × 100. A $100 sale with $60 of cost gives a 40% margin. The same profit expressed against cost would be a 66.7% markup.

Margin is usually the more useful of the two for pricing decisions, because revenue is the base you are trying to grow.

Enter cost and price to see profit, margin and markup.

Open the Profit Margin Calculator →

The three margins

Gross margin uses only the cost of goods sold: materials, production, freight in. Operating margin also subtracts operating expenses such as rent, salaries, marketing and software. Net margin subtracts interest and tax as well.

A company with 50% gross margin, 35% operating margin and 25% net margin is healthy. A company with 50% gross and 3% net has a cost problem somewhere between production and the bank.

A worked example

Revenue of $500,000. Cost of goods $250,000. Operating expenses $150,000. Interest $10,000. Tax $18,000.

LineAmountMargin
Revenue$500,000100%
Gross profit$250,00050.0%
Operating profit$100,00020.0%
Net profit$72,00014.4%

Each line tells a different story. The gross margin says the product is priced well. The operating margin says overheads take a big bite. The net margin is what the owner actually keeps.

What counts as healthy

It depends on the industry. Grocery retailers often run net margins of a few percent on enormous volume. Software companies can run 20% or more. Comparing your margin with a business in another sector tells you nothing useful.

Compare with your own history and with direct competitors. A margin that is falling over several years is a warning even if the absolute number still looks fine.

How to improve margin

Margin and cash are not the same

A profitable business can run out of cash. If customers pay in 60 days and suppliers demand payment in 30, a growing company with a healthy margin can still be short of money. Margin measures profitability, not liquidity.

Watch both. A margin calculation will never tell you whether you can pay next month's wages.

Common errors

Reporting it

State which margin you mean. "Margin" alone is ambiguous, and in a business context people will assume net. A one-word clarification prevents a long argument about numbers that were never comparable.

Margin by product line

A single company-wide margin hides which products pay for the overheads. Split revenue and cost of goods by line, calculate each margin, then rank them by total gross profit rather than by percentage.

A product with a 20% margin and huge volume can contribute more than one with a 60% margin and a handful of sales. The ranking by total contribution is what should drive stock and marketing decisions.

What a falling margin usually means

A margin that falls while revenue rises points to discounting, a shift toward cheaper products, or input costs rising faster than prices. Each has a different fix, and the margin alone will not tell you which.

Split the change into price and cost effects before reacting. Raising prices to restore margin can lose volume; cutting costs can damage quality. Knowing which side moved tells you which lever to pull.

Frequently asked questions

Is a higher margin always better?

Usually, but not if it comes from cutting quality or service that keeps customers. A margin that shrinks your market is not an improvement.

Can margin be over 100%?

No. Profit cannot exceed revenue unless costs are negative, which happens only with unusual accounting.

What is contribution margin?

Revenue minus variable costs. It measures what each sale adds toward fixed costs and profit.

Sources

General information only, not financial advice. Results are estimates; confirm real figures with your lender or a qualified adviser.

More free tools

Related guides