Understanding Profit Margin

Profit margin expresses how much money remains after subtracting the cost of goods sold (COGS) from revenue, shown as a percentage of that revenue. A 40% margin means you keep $0.40 for every dollar in sales; the remaining $0.60 covers your product cost.

This differs fundamentally from markup, which divides profit by cost rather than revenue. A $30 item with a $20 profit has a 40% margin (20÷50) but a 67% markup (20÷30). Managers often confuse the two, leading to incorrect pricing decisions.

Margin applies broadly across retail, wholesale, software, and service industries. Healthy margins signal strong operational efficiency and pricing power. Declining margins warn that competitive pressure, rising input costs, or operational inefficiency are eroding profitability.

Profit Margin Formulas

The fundamental relationships between cost, revenue, profit, and margin are:

Margin = (Revenue − Cost) ÷ Revenue × 100%

Revenue = Cost ÷ (1 − Margin%)

Cost = Revenue × (1 − Margin%)

Profit = Revenue − Cost

  • Revenue — Total selling price of goods or services
  • Cost — Direct cost of goods sold (COGS) including materials and direct labour
  • Profit — Money remaining after subtracting cost from revenue
  • Margin (%) — Profit expressed as a percentage of revenue

Gross vs Net Margin

Gross profit margin considers only COGS—the direct materials and labour to produce the item. If you manufacture widgets for $15 and sell them for $50, your gross margin is 70%.

Net profit margin subtracts all operating expenses: rent, salaries, utilities, insurance, and taxes. The same widget, after accounting for $1,200 monthly overhead split across 100 sales, might yield a 50% net margin instead.

Gross margin shows production efficiency; net margin shows whether your business actually makes money. Investors focus on net margin because it reflects what's left to reinvest, pay dividends, or weather downturns. For a solo freelancer or small shop, the distinction matters less; for a scaling company with significant overhead, it's critical.

Common Pitfalls and Practical Guidance

Avoid these mistakes when calculating and applying profit margins:

  1. Confusing margin with markup — A 50% markup (profit ÷ cost) equals only a 33% margin (profit ÷ revenue). Always clarify which metric your suppliers, finance team, or industry peers are using. Use the markup calculator to convert between the two.
  2. Forgetting hidden costs in 'COGS' — Packaging, shipping to customers, payment processing fees, and quality control often escape the initial cost calculation. These erode margin silently. Conduct a full cost audit before finalizing prices.
  3. Setting margins too thin for volatility — A 5% net margin leaves no cushion for rising material costs, unexpected discounts, or operational hiccups. Aim for at least 10–20% gross margin unless you operate in a high-volume, low-friction model (e.g. grocery retail).
  4. Ignoring competitive and industry benchmarks — Luxury goods sustain 60%+ margins; groceries operate at 2–5%. Pricing in isolation from your market risks losing customers or leaving money on the table. Research your category first.

Margin in Real-World Context

Retailers typically target 40–50% gross margins to cover staff, rent, and shrinkage. Software companies often exceed 70% because incremental copies cost nothing. Manufacturing might hover at 20–30% if capital-intensive.

Rising margins can signal pricing power or operational excellence—but can also indicate you're underinvesting in growth. Falling margins point to competitive pressure, supply-chain inflation, or operational drift. Neither extreme is good indefinitely.

High margins alone don't guarantee profitability: a $1 million gross profit on a business losing $1.5 million to overhead is still a failure. Balance margin aspiration with the absolute profit dollars your business needs to survive and grow.

Frequently Asked Questions

How do I set a target selling price for a desired profit margin?

Divide your product cost by (1 minus your target margin as a decimal). If your item costs $30 and you want a 40% margin, divide $30 by 0.6 to get a $50 selling price. Verify: $50 revenue minus $30 cost equals $20 profit; $20 ÷ $50 = 40%. This formula works for any target margin percentage.

What's the difference between gross and net profit margin?

Gross margin includes only direct product costs (materials, labour). Net margin subtracts all operating expenses (rent, salaries, utilities, taxes). If your gross margin is 60% but overhead consumes 40% of revenue, your net margin is just 20%. Investors prefer net margin because it shows true profitability; operations teams track gross margin to monitor production efficiency.

Is there a 'good' profit margin for my business?

It depends on your industry. Grocery stores operate at 2–5%; software companies at 60–80%. Generally, a net margin below 5% is tight, 10% is solid, and 20%+ is healthy. For new businesses, match your industry average initially, then aim to exceed it as you scale. Always avoid negative margins—that means losing money on every sale.

How do margin and markup relate to each other?

A 50% markup means profit is 50% of cost. The same sale might have only a 33% margin (50% of revenue). To convert markup to margin: divide markup by (1 + markup). A 25% markup equals a 20% margin. Conversely, divide margin by (1 − margin) to get markup. Most retail and e-commerce uses margin terminology; wholesale and B2B often use markup.

Why would a business reinvest high profits instead of keeping them?

Retaining all profits starves growth. Competitors who reinvest in marketing, product improvement, and capacity outpace you. Over time, a stingy approach erodes market share and forces price cuts that destroy the margin you were protecting. Healthy companies typically reinvest 70–90% of profit and distribute the rest to owners.

How do I calculate margin in a spreadsheet?

Enter cost in A1, revenue in B1. In C1, type =(B1-A1)/B1 to calculate margin as a decimal. Format C1 as Percentage to display 0.40 as 40%. To find revenue given cost and margin, use =A1/(1-C1). To find cost given revenue and margin, use =B1×(1-C1). These formulas let you solve for any variable when the others are known.

More finance calculators (see all)