Margin
Margin is the share of revenue left after costs, as in gross, operating and net margin. Learn each profit margin, margin vs. markup and margin in trading.
Contents
In business, margin is the difference between what a company earns from a sale and what it costs to earn it, typically expressed as a percentage of revenue. A 40% margin means 40 cents of every sales dollar remains after the costs being measured. Which costs depends on the margin: gross, operating, pre-tax and net margins each deduct more of the income statement, so each answers a different question about profitability.
In trading and investing, margin means something else altogether: the collateral an investor deposits with a broker or clearinghouse to open and hold a leveraged position. That meaning is covered near the end of this page.
Profit margin formula
Profit margin = Profit ÷ Revenue × 100
Every profit margin uses the same denominator, revenue (net sales). Only the profit figure on top changes, moving down the income statement from gross profit to net income.
Types of profit margin
- Gross profit margin = (Revenue − Cost of goods sold) ÷ Revenue. It measures product economics: pricing and the cost of making or buying what is sold.
- Operating profit margin = Operating income ÷ Revenue. It also deducts operating expenses such as SG&A and R&D, so it shows how efficiently the entire business runs.
- Pre-tax profit margin = Earnings before tax ÷ Revenue. It also deducts interest and includes non-operating items, so it reflects financing.
- Net profit margin = Net income ÷ Revenue. It deducts everything, including income taxes, and is what people typically mean by "profit margin."
Margin example
One manufacturer's year shows how the margins step down:
- Revenue $10,000,000 − cost of goods sold $6,000,000 = gross profit $4,000,000. Gross margin: 40%.
- Gross profit − operating expenses $2,800,000 = operating income $1,200,000. Operating margin: 12%.
- Operating income + $50,000 gain on an investment − $250,000 interest = earnings before tax $1,000,000. Pre-tax margin: 10%.
- Earnings before tax − $250,000 income tax = net income $750,000. Net margin: 7.5%.
Read together, the margins indicate where revenue goes. Here 60 cents of each dollar pays for the products, 28 cents for running the business, and interest and taxes take 2.5 cents each, partly offset by the half-cent gain, leaving 7.5 cents of profit.
Margin vs. markup
Margin and markup both describe the gap between cost and price, but they divide by different numbers. Margin divides the profit by the selling price; markup divides it by the cost.
- Margin = (Price − Cost) ÷ Price
- Markup = (Price − Cost) ÷ Cost
Per unit, the manufacturer above sells its product for $100 and its cost of goods sold is $60. That is a $40 gross profit, a 40% margin and a 66.7% markup. Markup is always the larger percentage for a profitable product. To convert, use margin = markup ÷ (1 + markup) and markup = margin ÷ (1 − margin).
Mixing them up is a common pricing mistake. A manager who wants a 40% margin and adds a 40% markup to the $60 cost sets a price of $84, which yields a margin of only 28.6%. To hit a target margin, divide cost by (1 − target margin): $60 ÷ 0.6 = $100.
Contribution margin
Contribution margin is revenue minus variable costs, the amount each sale contributes toward fixed costs and profit. Per unit it is price minus variable cost per unit; as a ratio it is contribution margin ÷ revenue. Unlike gross margin, it leaves fixed production overhead out of the cost.
Assume $45 of the manufacturer's $60 unit cost is variable (materials, direct labor and variable overhead) and the rest is fixed factory overhead. Contribution margin is $55 a unit, or 55% of revenue, well above the 40% gross margin. On 100,000 units that is $5,500,000 of contribution. Fixed costs are $4,300,000: $1,500,000 of factory overhead plus $2,800,000 of operating expenses, treated as fixed. Subtracting them produces the same $1,200,000 of operating income. Break-even is $4,300,000 ÷ $55, or about 78,200 units, the core calculation of break-even analysis. The margin of safety, the share of sales above break-even, is about 22%.
Margin in trading and investing
In securities, futures and FX trading, margin is the collateral required to open and keep a leveraged position. Initial margin is the amount needed to open the position, and maintenance margin is the minimum that must remain in the account as prices move. If losses push the account below the maintenance level, the broker issues a margin call, and the investor must add funds or have positions closed.
Buying stock on margin means borrowing part of the purchase price from a broker, which amplifies both gains and losses; see leverage. In futures, margin is a good-faith deposit that guarantees performance rather than a loan.
Frequently asked questions
What is a good profit margin?
It depends on the industry and on which margin you mean. High-volume resellers such as grocers run thin margins, while software and branded goods can maintain much higher ones, so compare a company with its direct competitors and its own history.
Is margin the same as profit?
Not quite. Profit is a dollar amount, and margin is that profit as a percentage of revenue. A company can increase profit while its margin falls if revenue grows faster than profit.
What is the difference between gross margin and net margin?
Gross margin deducts only the cost of goods sold from revenue. Net margin deducts every cost, including operating expenses, interest and taxes, so it is lower and shows what the business ultimately keeps.
Is a 50% markup the same as a 50% margin?
No. A 50% markup on cost gives a 33.3% margin. A 50% margin requires a 100% markup, meaning the price is double the cost.