Skip to content

Profit Margin Calculator

✦ Finance & Money

Use this free profit margin calculator to turn revenue and cost into margin %, markup % and profit, or solve for the selling price a target margin needs — with a gross, operating and net profit margin ladder in Advanced.

  • ✓ Calculated in your browser
  • ✓ Nothing you type is stored
  • ✓ No sign-up required
  • ✓ Formula and sources shown

The formula

Profit margin and markup (margin on revenue, markup on cost)

Margin % = (Revenue − Cost) ÷ Revenue × 100
Markup % = (Revenue − Cost) ÷ Cost × 100
Price from a target margin = Cost ÷ (1 − Margin % ÷ 100)
Markup % = Margin % ÷ (100 − Margin %) × 100   |   Margin % = Markup % ÷ (100 + Markup %) × 100

Margin is measured against revenue; markup is measured against cost. The same $50 profit on a $100 cost is a 50 % markup and a 33.33 % margin. The base is stated beside every result. The ladder in Advanced takes costs off in order — cost of goods (gross), operating expenses (operating), interest and other (pre-tax), then your own tax figure (net) — and shows each line as a share of the same revenue.

Calculating it by hand

  1. Enter the selling price (revenue) and the cost of goods. The calculator shows profit, margin % and markup % as you type.
  2. To price from a target, click "Price from margin", enter the cost and the margin you want; "Cost from margin" solves the most you can pay for a given price.
  3. Read the margin ↔ markup conversion in the table under the chart; the row nearest your margin is highlighted.
  4. For gross, operating and net margin, open Advanced and enter operating expenses, interest, other items and your tax figure. The waterfall chart and ladder table show each line as a share of revenue.
  5. Use Download CSV to take the ladder and conversion table into a spreadsheet, or Print / Save PDF for a business plan.

Worked examples

Retail product: margin and markup from price and cost

  1. Tab "Margin & markup": revenue (selling price) $100, cost of goods $40.
  2. Profit = $100 − $40 = $60.
  3. Margin = $60 ÷ $100 × 100 = 60.00 %.
  4. Markup = $60 ÷ $40 × 100 = 150.00 %.
  5. Check: 150 ÷ (100 + 150) × 100 = 60 % ✓

Profit margin 60.00 % · markup 150.00 % · profit $60.00

Setting a selling price from a target margin

  1. Tab "Price from margin": cost of goods $75, target margin 25 %.
  2. Price = $75 ÷ (1 − 0.25) = $75 ÷ 0.75 = $100.00.
  3. Profit = $100 − $75 = $25.00.
  4. Markup = $25 ÷ $75 × 100 = 33.33 %.

Revenue (price) $100.00 · margin 25.00 % · markup 33.33 %

Full income-statement ladder for a year

  1. Tab "Margin & markup": revenue $500,000, cost of goods $300,000 → gross profit $200,000 (40.00 %).
  2. Advanced: operating expenses $80,000 → operating profit (EBIT) $120,000 (24.00 %).
  3. Interest expense $10,000, other $0 → pre-tax profit $110,000 (22.00 %).
  4. Income tax $22,000 (your figure) → net profit $88,000 (17.60 %).

Gross margin 40.00 % · operating margin 24.00 % · net margin 17.60 %

Methodology

How profit margin is calculated

Margin and markup describe the same profit against two different bases, so a 50 % markup is a 33.3 % margin. Most pricing mistakes come from treating the two numbers as interchangeable.

Read sources and limits

What does a profit margin calculator do?

A profit margin calculator works out what share of each revenue dollar is profit: it subtracts cost from revenue, divides the result by revenue and shows the answer as a percentage, alongside the markup (the same profit divided by cost) and the selling price that a chosen margin would need.

This one also runs the full income-statement ladder, so you can see gross, operating and net margin from the same revenue figure.

At the page defaults — revenue $10,000 and cost of goods $6,000 — profit is $4,000, the margin is 40.00 % and the markup is 66.67 %. Add the Advanced figures (operating expenses $2,000, interest $500, tax $375) and the ladder ends at a net profit of $1,125, an 11.25 % net margin.

How do you calculate profit margin?

Margin % = (Revenue − Cost) ÷ Revenue × 100. Revenue sits in the denominator, which is what makes margin comparable across businesses of different sizes: two companies with a 40 % gross margin keep the same 40 cents of every revenue dollar before overheads, whether they sell $1 million or $1 billion.

The Securities and Exchange Commission describes gross profit, operating income and net income this way in its Beginners' Guide to Financial Statements, and the income-statement presentation behind them is FASB ASC 220.

Sell a product for $100 that cost $40 and the profit is $60, the margin 60 ÷ 100 = 60 % and the markup 60 ÷ 40 = 150 %. If cost is higher than revenue the margin is negative and the page labels the figure a loss; it never colours the headline for gain or loss.

Why is a 50 % markup not a 50 % margin?

Markup divides the same profit by cost instead of revenue. A retailer who marks up by 50 % buys for $100 and sells for $150: the profit is $50, the markup 50 % and the margin 50 ÷ 150 = 33.33 %.

The conversion is exact in both directions — margin % = markup % ÷ (100 + markup %) × 100, and markup % = margin % ÷ (100 − margin %) × 100 — so a 20 % margin is a 25 % markup, a 50 % margin is a 100 % markup and a 75 % margin is a 300 % markup.

Use markup when you start from a known cost and need a price, because it is a plain multiplication; use margin when you compare products or periods, because it is measured on the consistent revenue base. The markup calculator is the same engine with cost as the base, keystone and other presets, and a wholesale-to-retail chain.

What do gross, operating and net profit margin each include?

The ladder takes a further layer of cost off at each line, always divided by the same revenue. Gross margin deducts only cost of goods sold: materials, direct labour and manufacturing overhead (FASB ASC 330 defines what goes into inventory cost). Operating margin, also called EBIT margin, deducts operating expenses — salaries, rent, marketing and depreciation.

EBITDA adds depreciation and amortisation back and is a non-GAAP figure, which is why the page labels it so. Pre-tax margin deducts interest and other non-operating items, and net margin deducts the tax figure you enter.

On a sole proprietor's Schedule C the same ladder appears as line 3 (gross profit) and line 31 (net profit). The tax line on this page is your own figure, not a computed liability: the calculator does not know your entity type, deductions or state.

What is a good profit margin?

There is no benchmark that holds across industries, and this page does not type one. Margins differ with the cost structure: a business with heavy cost of goods and light overheads has a thin gross margin and a net margin close behind it; a people business has a wide gross margin that overheads then consume.

The useful comparisons are your own earlier periods and audited filings of listed companies in the same line of business — their income statements are on the SEC's EDGAR database under the same ASC 220 definitions this ladder uses. A margin that moved is more informative than a margin that merely exists.

Profit Margin questions

How do you calculate profit margin?

Subtract cost from revenue, divide by revenue and multiply by 100. Revenue $200 and cost $120 give a profit of $80 and a margin of 80 ÷ 200 × 100 = 40 %. The formula is the same at every line of the income statement; only the cost changes — cost of goods for gross margin, everything including interest and tax for net margin.

What is the difference between markup and margin?

Margin is profit ÷ revenue; markup is profit ÷ cost. They describe the same profit, so they are never equal unless profit is zero. A 50 % markup means the price is 1.5 × cost and the margin is 50 ÷ 150 = 33.33 %. Convert with markup % = margin % ÷ (100 − margin %) × 100, or read the pair off the table under the calculator.

How do I convert markup to margin?

Margin % = markup % ÷ (100 + markup %) × 100. A 50 % markup is 50 ÷ 150 × 100 = 33.33 % margin; a 100 % markup is 50 %; a 300 % markup is 75 %. In reverse, markup % = margin % ÷ (100 − margin %) × 100, so a 40 % margin is 40 ÷ 60 × 100 = 66.67 % markup. The conversion is exact, not an approximation.

What is a 30 % margin on $100?

A 30 % margin on a $100 selling price is $30 of profit and $70 of cost. Seen from the cost side that is a 42.86 % markup (30 ÷ 70 × 100). If instead you have a $100 cost and want a 30 % margin, the price must be $100 ÷ 0.70 = $142.86, which the "Price from margin" tab gives directly.

How do I find the selling price from a target margin?

Price = cost ÷ (1 − margin % ÷ 100). A $75 cost and a 25 % target margin give $75 ÷ 0.75 = $100. Do not multiply cost by 1.25 — that is a 25 % markup and gives $93.75, a margin of only 20 %. The margin can never reach 100 %, because that would need a cost of zero.

What is gross profit margin?

Gross profit margin = (revenue − cost of goods sold) ÷ revenue × 100. It deducts only the direct costs of making or buying what you sell — materials, direct labour, manufacturing overhead — and none of the operating expenses. A 40 % gross margin keeps 40 cents of every revenue dollar before the business pays rent, salaries, interest or tax.

What is the net profit margin formula?

Net profit margin = net profit ÷ revenue × 100, where net profit is revenue minus cost of goods, operating expenses, interest, other non-operating items and income tax. On IRS Schedule C, line 3 is gross profit and line 31 is net profit. At the page defaults the ladder runs $10,000 → $4,000 gross → $2,000 operating → $1,500 pre-tax → $1,125 net, an 11.25 % net margin.

What is operating profit margin and how is EBITDA different?

Operating margin = (gross profit − operating expenses) ÷ revenue × 100, also called EBIT margin because it is before interest and tax. EBITDA adds depreciation and amortisation back to operating profit; it is not a GAAP measure, so the page labels it as a non-GAAP add-back and shows it only when you enter a D&A figure in Advanced.

Can profit margin be negative?

Yes. When cost is higher than revenue the profit is negative and so is the margin: revenue $100 and cost $120 give a margin of −20 %. The page labels the figure a loss rather than colouring it. Markup is also negative in that case (−16.67 %), and a markup is undefined when cost is zero.

What is a good profit margin for a small business?

No single figure applies across industries, and this page does not type a benchmark. Compare your margin with your own earlier periods and with audited income statements of listed companies in the same line of business, which the SEC publishes on EDGAR under the same ASC 220 definitions the ladder here uses. The trend tells you more than the level.

Source notes

Method, sources & limitations

Every figure on this page comes from the formula above applied to the values you enter. Nothing is estimated from market data, and no result is a forecast. These are the sources behind the method and any fixed figures it uses:

Educational information only. Results are estimates produced from the assumptions you enter, and are not financial, tax, legal or medical advice. Check anything that matters against a qualified professional and the cited sources.