Business Calculators

Profit Margin Calculator

Instantly calculate gross profit margin, net profit margin, operating margin, markup percentage and break-even point. See step-by-step formulas for every calculation, compare your margins against industry benchmarks, and understand the critical difference between margin and markup — the most common pricing mistake in business.

Instant Results
5 Calc Modes
Step-by-Step
Industry Benchmarks
100% Free

Profit Margin Calculator

Choose a calculation mode → enter your values → get instant results with full step-by-step working.

$
$
COGS = direct costs of producing goods: materials, direct labour, manufacturing. Does not include rent, salaries, marketing, admin.
$
$
Total expenses = COGS + operating expenses (rent, salaries, marketing) + interest + taxes. Net margin is the "bottom line" profitability.
$
$
$
Operating expenses = rent, salaries, utilities, depreciation, marketing. Excludes interest and taxes — shows core operational efficiency.
$
$
Calculates both markup % (profit as % of cost) and margin % (profit as % of selling price) — see why they are always different numbers.
$
$
$
Fixed costs = costs that don't change with output (rent, salaries, insurance). Variable costs change per unit (materials, packaging, commission).
Error
✅ Calculation Result
 
Step-by-Step Calculation
Share Result

All Profit Margin Formulas — Complete Reference

Every formula used in profit, margin, markup and break-even calculations with worked examples

The 6 Essential Margin Calculations

Profit margins are expressed as percentages of revenue, not of cost. This is the single most important distinction in business finance. Every formula below uses revenue (selling price) as the denominator for margins, and cost as the denominator for markup — the two are always different numbers for the same transaction.

💰 Gross Profit Margin
Gross Margin % =
(Revenue − COGS) ÷ Revenue × 100
Example: Revenue $100K, COGS $60K → Gross Profit $40K → Gross Margin = 40%. Measures production efficiency and pricing power.
📊 Net Profit Margin
Net Margin % =
Net Profit ÷ Revenue × 100
Net Profit = Revenue − All Expenses (COGS + OpEx + Interest + Tax). The "bottom line" — what % of each sales dollar becomes final profit.
⚙️ Operating Profit Margin
Op. Margin % =
(Revenue − COGS − OpEx) ÷ Revenue × 100
Operating profit (EBIT) excludes interest and tax. Shows how efficiently the core business is run before financing decisions.
🏷️ Markup Percentage
Markup % =
(Selling Price − Cost) ÷ Cost × 100
Markup uses cost as denominator. Cost $60, sell $100 → Markup = 66.67%. Same profit gives higher markup % than margin %. Never confuse the two.
📈 Break-Even Units
BEP (units) =
Fixed Costs ÷ (Price − Variable Cost)
Denominator = Contribution Margin per unit. Fixed $50K, price $150, var $80 → BEP = 50,000 ÷ 70 = 715 units/period.
💲 Selling Price from Margin
Selling Price =
Cost ÷ (1 − Desired Margin %)
To achieve 40% margin on $60 cost: $60 ÷ 0.60 = $100. Warning: adding 40% to cost ($84) only gives 28.6% margin — a very common error!
⚠️ The Most Common Business Pricing Mistake: A business owner wants a 30% margin. They take their cost of $70 and add 30% → $91. But $91 − $70 = $21 profit, and $21 ÷ $91 = 23.1% margin — not 30%. To achieve exactly 30% margin: $70 ÷ (1 − 0.30) = $70 ÷ 0.70 = $100. The correct selling price is $100, not $91. This error, multiplied across thousands of transactions, can destroy profitability silently.

Industry Profit Margin Benchmarks — How Does Your Business Compare?

Average gross and net margins across 20 industries — based on publicly reported company data

What Is a Good Profit Margin in Your Industry?

Profit margins vary dramatically between industries — a 3% net margin is outstanding for a supermarket chain but dismal for a software company. Always benchmark against your own sector, not some universal "good margin" figure. The data below is based on aggregated public company reports and industry surveys (2022–2024).

IndustryAvg. Gross MarginAvg. Net MarginRating
🛒 Grocery / Supermarket
25–30%
1–3%Low
👗 Fashion / Apparel Retail
40–60%
4–8%Low–Mid
🍕 Restaurants / Food Service
60–75%
3–9%Low–Mid
🏗️ Construction
15–25%
2–6%Low
🚗 Automotive Retail / Dealerships
10–15%
2–4%Low
🏭 Manufacturing (General)
25–40%
5–10%Mid
🏥 Healthcare / Medical Services
30–50%
5–12%Mid
🏦 Financial Services / Banking
50–80%
15–30%High
⚖️ Legal & Professional Services
70–85%
15–25%High
💡 Consulting / Management
75–90%
15–30%High
💻 Software / SaaS
70–85%
15–35%High
📱 Technology Hardware
35–55%
8–20%Mid
💊 Pharmaceuticals
60–80%
15–25%High
🎓 Education / E-Learning
60–80%
10–25%High
🏡 Real Estate
25–45%
8–20%Mid
✈️ Airlines
15–25%
2–8%Low
🎮 Video Games / Interactive Media
50–75%
10–25%High
🛍️ E-Commerce
35–55%
3–8%Low–Mid
⚡ Energy / Utilities
20–40%
5–15%Mid
📦 Logistics / Shipping
15–30%
3–8%Low

The History & Science of Profit Margins — From Roman Merchants to Modern Finance

How profit measurement evolved from ancient trade to double-entry bookkeeping to GAAP accounting standards

3,000 Years of Measuring Business Profit

The concept of profit is as old as trade itself. Cuneiform tablets from ancient Mesopotamia (~3000 BCE) record merchants calculating the difference between the cost of goods bought and the price received — the earliest written evidence of profit tracking. Babylonian merchants used clay tablets to record partnerships in which one party provided capital and the other labour, with profits split according to agreed ratios — a system remarkably similar to modern venture capital terms.

In ancient Rome, the negotiatores (long-distance traders) and argentarii (bankers) developed sophisticated systems for tracking profit across multiple transactions and geographies. Roman law recognised the concept of lucrum (gain) and damnum (loss), and partnership agreements (societas) specified how profits were to be divided. Interest rates — another form of profit on capital — were regulated by the Twelve Tables (~450 BCE), which capped them at 8.33% per year.

📚 The Birth of Double-Entry Bookkeeping: Luca Pacioli's Summa de Arithmetica, Geometria, Proportioni et Proportionalità (1494) included the first published description of double-entry bookkeeping — the accounting system that makes modern profit calculation possible. Every transaction is recorded twice: as a debit in one account and a credit in another, so that the books always "balance." Pacioli didn't invent the system (Venetian merchants had used it since the 13th century) but his publication standardised and spread it across Europe. Every modern profit margin calculation relies on this 530-year-old framework.

The Industrial Revolution (1760–1840) transformed profit measurement from a simple trading surplus into a complex accounting exercise. Factory owners faced a new challenge: how to account for the depreciation of machinery, the allocation of overhead costs across products, and the distinction between capital expenditure and operating costs. These questions led to the development of cost accounting in the mid-19th century. Andrew Carnegie famously obsessed over his steel mills' "cost per ton" figures, using detailed cost accounting to undercut competitors and build a vertically integrated empire — becoming the richest person in history in his time.

The 20th century brought formal standardisation. The Generally Accepted Accounting Principles (GAAP) in the US and International Financial Reporting Standards (IFRS) globally created common frameworks for calculating and reporting profit. The distinction between gross profit, operating profit (EBIT), and net profit was formalised in income statement formats required by securities regulators after the 1929 crash exposed widespread accounting manipulation. Warren Buffett's focus on return on equity and net profit margins in the 1960s–70s brought margin analysis to popular investing attention, cementing profit margin as the single most-watched metric in business.

📊
EBITDA — The Margin Metric Wall Street Loves
EBITDA (Earnings Before Interest, Tax, Depreciation & Amortisation) became the dominant valuation metric in the 1980s LBO (leveraged buyout) era. It approximates operating cash flow and removes the effects of financing and accounting decisions, making companies easier to compare. An EBITDA margin of 20%+ is generally considered healthy. Critics note that "EBITDA is a fantasy profit figure" — depreciation is a real cost (assets do wear out) and interest is a real obligation.
🍎
Apple's Extraordinary Margin Story
Apple's gross margins have expanded from ~27% in 2009 to ~44% in FY2023 despite operating in the fiercely competitive consumer electronics market. This is achieved through vertical integration (designing its own chips), premium pricing power, and a rapidly growing high-margin Services segment (App Store, iCloud, Apple Music) now contributing ~26% of revenue with ~72% gross margins. Apple's net margin of ~25% on $383B revenue generates ~$97B in annual profit — the highest ever by any company in history.
🛒
Why Supermarkets Survive on 1–3% Net Margin
Tesco's net margin is typically 2–3%. On £65 billion revenue, that's £1.3–2B profit — an enormous absolute amount. Supermarkets survive on thin margins through extraordinary capital efficiency: stock turns over 20–30 times per year, suppliers are paid on 60–90 day terms while customers pay immediately (creating a working capital advantage), and fixed costs are spread over massive volumes. This is the "high-volume, low-margin" model — volume × thin margin = large profit pool.
💡
The Rule of 40 — SaaS Profit Benchmark
The Rule of 40 states that a healthy SaaS business should have its revenue growth rate plus profit margin ≥ 40. A company growing at 60% per year with −20% profit margin scores 40 (acceptable). One growing at 20% needs 20% profit margin to pass. It balances growth investment against profitability, acknowledging that early-stage SaaS sacrifices margin for growth. Salesforce, Shopify and Atlassian consistently score above 40; below 20 raises investor concerns.

Fascinating Profit Margin Facts, Records & Business Science

Extraordinary margins, surprising business models and the counterintuitive economics of profitability

The Economics of Profit — From Pennies to Billions
💊
Pharmaceutical Margins — The Most Profitable Legal Business

Pfizer's gross margin is typically 75–80%. For a blockbuster drug like Lipitor (atorvastatin), the manufacturing cost of a month's supply was approximately $5.80 while the US retail price was ~$150 — a 2,500% markup. However, this ignores R&D costs: developing a new drug costs an estimated $1–3 billion over 10–15 years, with only 12% of clinical trial drugs ever reaching market. The margin covers not just production but the enormous cost of failures.

Coffee — The Ultimate High-Margin Product Chain

A coffee farmer receives approximately 1–2% of the final retail price of a cup of coffee. The raw arabica beans in a £3.50 latte cost about 3–5p. The café's gross margin on a coffee drink is typically 65–75% (£2.28–2.63). However, net margins for coffee shops are only 3–8% after rent (~25%), labour (~35%), and other operating costs. The beans are cheap; the expensive parts are real estate, staff and equipment — not the raw ingredient.

🎮
Video Game DLC — Near-100% Margin Digital Goods

A downloadable content (DLC) pack priced at £7.99 for a video game has a production cost near zero once created — no physical manufacturing, no shipping, no retail markup. Distribution through Steam/PlayStation Store takes 30%, leaving the developer 70%, of which almost all is profit. This is why gaming companies aggressively pursue "games as a service" models. Fortnite's in-game cosmetics (skins, emotes) generated over $5.8 billion in a single year at near-100% gross margin on digital items.

✈️
Airlines — High Revenue, Razor-Thin Margins, Maximum Complexity

The global airline industry's average net margin was approximately 2–4% pre-pandemic. On a £200 transatlantic ticket: ~35% goes to fuel, ~20% to labour, ~10% to aircraft leases, ~8% to airport fees, ~5% to maintenance — leaving 2–4% net. Yet airlines generate enormous revenue: $750 billion globally in 2023. Warren Buffett calculated that the cumulative net profit of the entire US airline industry from the Wright Brothers' first flight (1903) to 2007 was approximately zero — investors had funded a century of travel for no financial return.

🏪
The McDonald's Real Business Is Real Estate, Not Burgers

McDonald's net margin from burger sales would be approximately 5–7%. But McDonald's actual net margin is ~25–32% because its real business model is real estate and franchising. McDonald's owns ~45% of its restaurant locations and leases them back to franchisees at a profit, while charging 4–5% royalties on franchisee sales. Only 5% of McDonald's ~40,000 restaurants are company-operated. The company collects rent and royalties regardless of whether individual restaurants are profitable — essentially a real estate company that franchises burger restaurants.

🤖
Why Amazon's 1–3% Net Margin Masks an Extraordinary Business

Amazon's e-commerce net margin is typically 1–3% — similar to a supermarket. But this obscures Amazon Web Services (AWS), which generates ~15–20% of Amazon's revenue but ~60–70% of its operating profit. AWS had a 30%+ operating margin in 2023 on $90B revenue = ~$27B operating profit. Amazon effectively uses AWS profits to subsidise aggressive pricing in e-commerce and logistics, building market share while appearing to operate on thin retail margins. The two-segment obfuscation is intentional.

🧴
The Cosmetics Industry's "Cost of Hope" Economics

The raw material cost of a premium moisturiser priced at £50 is typically £1–3. The 94–98% gross margin is not simply "overcharging" — it funds extensive R&D, clinical testing, regulatory compliance, premium packaging (often £2–5 of the cost), celebrity endorsements, glossy advertising, and retail shelf space fees (retailers take 40–50%). L'Oréal spends ~3.4% of revenue on R&D (~€1.1B) and ~30% on advertising. The consumer pays for research, brand equity and distribution, not just chemistry.

🏦
Warren Buffett's Margin Philosophy — The Moat Metric

Warren Buffett evaluates businesses primarily through their ability to maintain consistently high margins over decades — evidence of a durable competitive advantage ("moat"). His portfolio companies share high margins: Coca-Cola ~25% net margin, American Express ~20%, Apple ~25%, See's Candies ~40%. Buffett famously rejected low-margin businesses despite high volume: "I'd rather own a wonderful business at a fair price than a fair business at a wonderful price." Consistently high margins prove that competitors cannot easily replicate the business model.

How to Use the Profit Margin Calculator

Step-by-step guide to each of the 5 calculation modes with practical business examples

Calculate Any Margin in Seconds
  • 1
    Choose the Right Calculation Mode

    Select one of five modes at the top of the calculator. Use Gross Margin for production/pricing efficiency (Revenue vs COGS only). Use Net Margin for overall profitability (Revenue vs all expenses including tax). Use Operating Margin for core business efficiency (excludes interest and tax). Use Markup to compare cost price vs selling price. Use Break-Even to find the minimum sales volume needed to cover all costs.

  • 2
    Enter Your Financial Values

    Type your values in any currency — the calculator works with any denomination, just be consistent. Revenue/sales is your total income before any deductions. COGS includes materials, direct labour, and manufacturing costs only. Operating expenses include rent, salaries, marketing, utilities, and depreciation. Do not include interest or tax in operating expenses — those go in the Net Margin calculation.

  • 3
    Review the Results Panel

    The large result panel shows your primary margin percentage. The metrics grid below shows multiple related values simultaneously — for Gross Margin: gross profit amount, gross margin %, markup %, and revenue. For Break-Even: units required, revenue required, and contribution margin per unit. The colour-coded cards make it easy to identify the key headline figure vs supporting calculations.

  • 4
    Expand Step-by-Step Working

    Click "Step-by-Step Calculation" to see every arithmetic step — the formula used, each intermediate value, and how the final answer was reached. This is essential for presenting results to stakeholders, double-checking your inputs, or learning the formulas. Every calculation routes through the standard financial definitions used in GAAP accounting and business school curricula.

  • 5
    Compare Against Benchmarks & Share

    After calculating, scroll down to the Industry Benchmarks table to see how your margin compares against typical values for 20 sectors. Your last 20 calculations are saved in the sidebar history — useful for tracking how margin changes as you adjust pricing, costs or volume. Use the Share buttons to copy your result for business plans, presentations or financial reports.

💡 Margin vs Markup — The Formula to Remember: Given a cost price C and a desired margin M%: Selling Price = C ÷ (1 − M/100). Given a cost price C and desired markup K%: Selling Price = C × (1 + K/100). To convert between them: Margin = Markup ÷ (1 + Markup) and Markup = Margin ÷ (1 − Margin). A 50% markup = 33.3% margin. A 100% markup = 50% margin. A 40% margin = 66.7% markup.

Frequently Asked Questions

Common profit margin questions answered with exact formulas and practical examples

What is profit margin and how do you calculate it?
Profit margin is the percentage of revenue that remains as profit after deducting costs. Gross margin % = (Revenue − COGS) ÷ Revenue × 100. Net margin % = Net Profit ÷ Revenue × 100. Example: Revenue £100,000, COGS £60,000 → Gross Profit £40,000 → Gross Margin = 40%. If all other expenses total £32,000, Net Profit = £8,000, Net Margin = 8%. Margin always uses revenue (selling price) as the denominator — this distinguishes it from markup which uses cost as the denominator.
What is the difference between profit margin and markup?
Margin = profit as a % of selling price. Markup = profit as a % of cost price. Same numbers, different denominators — always different results. Cost £60, Sell £100: Margin = £40 ÷ £100 = 40%. Markup = £40 ÷ £60 = 66.67%. Converting: Markup = Margin ÷ (1 − Margin). Margin = Markup ÷ (1 + Markup). Common markup-to-margin pairs: 25% markup = 20% margin · 50% markup = 33.3% margin · 100% markup = 50% margin · 200% markup = 66.7% margin. The confusion between these causes major pricing errors — always clarify which is meant.
What is a good profit margin?
"Good" entirely depends on your industry. Net margins: Grocery 1–3% (outstanding for volume), Retail 3–8%, Restaurants 3–9%, Manufacturing 5–10%, Professional Services 15–25%, Software/SaaS 15–35%, Pharma 15–25%, Finance 15–30%. General rule: below 5% is tight (vulnerable to cost increases), 5–20% is healthy, 20%+ is excellent for most sectors. Absolute profit matters too — Apple's 25% margin on $383B revenue vastly outperforms a consultant's 50% margin on £200K.
How do you calculate gross profit margin?
Gross Margin % = (Revenue − Cost of Goods Sold) ÷ Revenue × 100. COGS includes only direct production costs: raw materials, direct labour (factory workers), manufacturing overhead, and freight inbound. It does NOT include: office rent, admin salaries, marketing, sales commissions, or R&D — those are operating expenses. Example: £500K revenue, COGS £300K → Gross Profit £200K → Gross Margin 40%. Gross margin shows how efficiently you produce/source your product and your pricing power vs competitors. It's the first line of profitability before overheads are applied.
How do you work backwards from a desired margin to a selling price?
Formula: Selling Price = Cost ÷ (1 − Desired Margin %/100). Example: cost £60, target 40% margin → £60 ÷ (1 − 0.40) = £60 ÷ 0.60 = £100. The critical warning: adding 40% to cost is NOT the same as a 40% margin. Adding 40% to £60 = £84. But £84 margin = (£84 − £60) ÷ £84 = 28.6% — not 40%. Many businesses unknowingly undercharge by confusing markup with margin. At scale, this gap destroys profitability: on £1M COGS, a 40% margin target gives £1,666,667 revenue; incorrectly applying 40% markup gives only £1,400,000 — a £266,667 shortfall.
What is the break-even point and how is it calculated?
Break-Even Units = Fixed Costs ÷ Contribution Margin per Unit. Contribution Margin per unit = Selling Price − Variable Cost per unit. Example: Fixed costs £50,000/month (rent, salaries, insurance). Selling price £150/unit. Variable cost £80/unit (materials, packaging). Contribution margin = £70/unit. Break-even = £50,000 ÷ £70 = 715 units/month. At 715 units: Revenue = £107,250 = Total Costs (£50,000 fixed + £57,200 variable) exactly. Every unit above 715 generates £70 of pure profit contribution. Break-even in revenue = Fixed Costs ÷ Gross Margin % = £50,000 ÷ 0.467 = £107,066.
What is the difference between gross, operating and net margin?
Three levels of the same income statement, each deducting more costs: Gross Margin = (Revenue − COGS) ÷ Revenue — production efficiency. Operating Margin = (Revenue − COGS − Operating Expenses) ÷ Revenue — operational efficiency including overheads. Net Margin = (Revenue − All Costs − Interest − Tax) ÷ Revenue — final profitability. Example with £1M revenue: COGS £500K → Gross margin 50%. Add operating expenses £300K (salaries, rent, marketing) → Operating margin 20%. Add interest £30K, tax £42K → Net income £128K → Net margin 12.8%. The gap between gross and net margins shows your cost structure — a large gap means high overheads.