Maaz Zindani

Loading the index…

↑↓ move↵ openesc close3993 pages

Free tool · Finance calculators

Profit margin calculator

Type your revenue and costs to see gross, operating and net margin, or give a cost and a target margin to get the price. Your numbers are worked through step by step.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

What do you want?
Rent, wages, marketing. Leave empty for gross margin only.
Result

Gross margin 40.00%Gross profit $400.00 on revenue of $1,000.00

  • Gross 40.00%
  • Operating 15.00%
  • Net 10.00%
Gross profit
$400.00
Operating profit
$150.00
Net profit
$100.00
Markup on goods
66.67%

Formula: margin % = profit ÷ revenue × 100. Gross profit = revenue − cost of goods sold. Operating profit = gross profit − operating expenses. Net profit = operating profit − other costs.

Your numbers: (1,000.00 − 600.00) ÷ 1,000.00 × 100 = 40.00% gross; 150.00 ÷ 1,000.00 × 100 = 15.00% operating; 100.00 ÷ 1,000.00 × 100 = 10.00% net.

How to use the Profit Margin Calculator

  1. Choose Margin from revenue and costs or Price for a target margin.
  2. For the first, fill in Revenue (sales) and Cost of goods sold, plus Operating expenses (optional) and Interest and taxes (optional) if you want operating and net margin.
  3. For the second, enter the Cost per item and your Target margin %.
  4. Pick a Currency symbol, then read the margin, the profits, the formula and your numbers under Result.

How do I calculate profit margin?

Profit margin is profit as a percent of revenue: margin % = profit ÷ revenue × 100. Subtract the cost from the revenue to get the profit, divide that profit by the revenue, then multiply by 100. The word margin on its own is ambiguous, so name the profit you mean.

Gross margin subtracts only the cost of goods sold, the direct cost of what you sold. Operating margin also subtracts operating expenses such as rent, wages and marketing. Net margin also subtracts interest and taxes, so it is the share of revenue left at the very end.

Worked example, using the calculator's default numbers: revenue 1,000.00, cost of goods sold 600.00, operating expenses 250.00 and interest and taxes 50.00. Gross profit is 400.00, so gross margin is 400.00 ÷ 1,000.00 × 100 = 40.00%. Operating profit is 150.00, an operating margin of 15.00%. Net profit is 100.00, a net margin of 10.00%. Each 100 of sales keeps 40.00% after the direct cost, and 10.00% after everything.

Leave Operating expenses and Interest and taxes empty and the card shows the gross margin alone. The result also shows the markup on goods, which is gross profit divided by cost of goods sold: 66.67% here.

How do I check the margin on a price I already have?

Use Margin from revenue and costs with the price as the revenue and the cost as the cost of goods sold. An item sold for 80.00 that costs 60.00 leaves 20.00, so the margin is 20.00 ÷ 80.00 × 100 = 25.00%. The markup on the same sale is 33.33%.

The same works for a whole month or a whole order. Revenue 50,000.00, cost of goods sold 32,000.00, operating expenses 9,000.00 and interest and taxes 1,500.00 give a gross profit of 18,000.00 (36.00%), an operating profit of 9,000.00 (18.00%) and a net profit of 7,500.00 (15.00%). Enter totals for the same period on every line, or the percentages mean nothing.

Read the three chips under the answer from left to right: each one is smaller than or equal to the one before, because each subtracts more cost. If you only know gross margin, you cannot tell whether the business makes money overall. Put in your overheads to see that.

How do I find the price for a target margin?

Margin is measured against the price, so the price is the cost divided by what is left of each sale after profit: price = cost ÷ (1 − margin ÷ 100). Switch to Price for a target margin, enter the Cost per item and the Target margin %.

Example 1: a cost of 60.00 and a 40% target give 60.00 ÷ (1 − 40 ÷ 100) = 100.00. The profit is 40.00, which is 40% of the price and a 66.67% markup on the cost.

Example 2: to earn a 30% margin on an item that costs 70.00, the price is 70.00 ÷ 0.70 = 100.00. Adding 30% to the cost instead gives 91.00, which is only a 23.08% margin. This is the usual mistake: a markup of X% is not a margin of X%.

A margin can approach but never reach 100%, because that would need a price with no cost behind it. The calculator refuses a target of 100% or more, and a cost of zero or less.

What is the difference between margin and markup?

Margin divides profit by the selling price. Markup divides the same profit by the cost, so a markup is always the larger number. The table runs the calculator for an item that costs 100.00 at several target margins. A 20% margin needs a price of 125.00 and equals a 25.00% markup.

Target margin, the matching markup, and the price for a cost of 100.00
Target marginSame as markupPriceProfit
10%11.11%111.1111.11
20%25.00%125.0025.00
25%33.33%133.3333.33
30%42.86%142.8642.86
40%66.67%166.6766.67
50%100.00%200.00100.00
60%150.00%250.00150.00

To go the other way, from a cost and a markup to a price, use the markup calculator. If you want to know the price after a percent off, the discount calculator does that. All the rows above are plain maths, and they are the same in any currency.

What if my margin is negative, and what is a good margin?

A negative margin means costs are higher than revenue. With revenue 800.00, cost of goods sold 500.00 and operating expenses 400.00, gross margin is 37.50% but operating profit is -100.00, an operating margin of -12.50%. The card shows the loss with a minus sign, so a business can have a healthy gross margin and still lose money once overheads are counted.

What counts as a good margin depends on the industry, the size of the business and which margin is quoted, so no single figure fits. Compare your own margin with your past results and with sources that cover your sector.

This calculator uses the figures you type and standard formulas. Results are estimates, not financial advice: check them with an accountant before you rely on them for prices or tax.

Use it with

Questions

What is the profit margin formula?

Margin % = profit ÷ revenue × 100. Gross margin uses revenue minus cost of goods sold, operating margin also subtracts operating expenses, and net margin also subtracts interest and taxes.

How do I calculate gross profit margin?

Subtract the cost of goods sold from revenue, divide by revenue and multiply by 100. Revenue 1,000.00 and cost 600.00 give a gross profit of 400.00 and a gross margin of 40.00%.

What is the difference between gross and net margin?

Gross margin only removes the direct cost of what you sold. Net margin removes every cost, including operating expenses, interest and taxes. In the example above gross is 40.00% and net is 10.00%.

How do I find the price for a 40% margin?

Price = cost ÷ (1 − 0.40). A cost of 60.00 gives a price of 100.00, which leaves a profit of 40.00, or 40% of the price.

Is margin the same as markup?

No. Margin is profit divided by price and markup is profit divided by cost. A 40% margin is a 66.67% markup, and a 20% margin is a 25.00% markup.

What is a good profit margin?

It depends on the industry and on which margin is quoted, so there is no general answer here. Compare your figure with your own history and with sources for your sector.

How this page was made: the tool's results are computed in your browser by the code on this page; the explanations were drafted with AI help and checked against the tool's own output.