Margin: Types, Formulas & How to Calculate

Margin

In business, margin measures how much profit a company keeps as a percentage of its revenue. The four main types, gross, operating, net, and contribution margin, each subtract a different set of costs, giving you a layered view of profitability from the top line down to the bottom line.

What Is Margin?

Margin expresses profit as a percentage of sales, making profitability comparable across companies of any size. A "10% margin" means the business keeps 10 cents of every revenue dollar at that level. Which costs you subtract determines which margin you're measuring.

The 4 Types of Margin

MarginFormulaExample ($1,000 revenue)
Gross(Gross Profit ÷ Revenue) × 100$400 → 40%
Operating(Operating Income ÷ Revenue) × 100$200 → 20%
Net(Net Income ÷ Revenue) × 100$100 → 10%
Contribution((Revenue − Variable Costs) ÷ Revenue) × 100$400 → 40%

How to Calculate Each Margin

Gross margin strips out only COGS, efficiency of production:

Gross Margin = (Gross Profit ÷ Revenue) × 100 = ($400 ÷ $1,000) × 100 = 40%

Operating margin also subtracts operating expenses, efficiency of running the business:

Operating Margin = (Operating Income ÷ Revenue) × 100 = ($200 ÷ $1,000) × 100 = 20%

Net margin subtracts everything, including tax and interest, overall profitability:

Net Margin = (Net Income ÷ Revenue) × 100 = ($100 ÷ $1,000) × 100 = 10%

Contribution margin subtracts only variable costs, how much each sale contributes to fixed costs:

Contribution Margin = ((Revenue − Variable Costs) ÷ Revenue) × 100 = (($1,000 − $600) ÷ $1,000) × 100 = 40%

Why Margins Matter

  • Comparable: as percentages, margins compare profitability across companies and periods.
  • Diagnostic: a healthy gross margin but thin net margin points to high operating or financing costs.
  • Decision-guiding: contribution margin drives pricing and break-even analysis.

Margin FAQ

What is margin in business?

It's profit expressed as a percentage of revenue. Depending on which costs you subtract, you get gross, operating, net, or contribution margin, each a different lens on profitability.

How do you calculate margin?

Divide the relevant profit figure by revenue and multiply by 100. For net margin: (Net Income ÷ Revenue) × 100. $100 net income on $1,000 revenue = a 10% net margin.

What's the difference between gross and net margin?

Gross margin subtracts only COGS, measuring production efficiency. Net margin subtracts all costs, operating expenses, interest, and taxes, measuring overall profitability. Net margin is always lower.

What is a good profit margin?

It varies widely by industry. A net margin around 10% is often considered healthy, 20%+ strong, and under 5% thin, but software businesses run far higher gross margins than, say, retail or manufacturing.

Adlega - Know your runway. SaaS financial modeling.