Profit Margin Formula: The Complete Guide
9 min read · Updated 2026-06
Definition
Profit margin formulas tell you what percentage of revenue you keep. This guide covers all four margin types and when to use each.
The Four Margin Formulas
1. Gross Margin = ((Revenue − COGS) ÷ Revenue) × 100
2. Operating Margin = ((Revenue − COGS − OpEx) ÷ Revenue) × 100
3. Net Margin = (Net Profit ÷ Revenue) × 100
4. Contribution Margin = ((Price − Variable Costs) ÷ Price) × 100
When to Use Each
| Decision | Use This Margin |
|---|---|
| Should I raise my product price? | Gross Margin |
| Which product should I promote? | Contribution Margin |
| Is my business healthy? | Net Margin |
| Can I afford more marketing? | Contribution Margin |
| Should I drop a product? | Contribution + Volume |
Common Mistakes
- Wrong margin for the wrong decision. Using net margin for pricing leads to underpricing. Use gross for pricing.
- Mixing margin and markup. 50% markup on $20 cost = $30 price = 33% margin. They are not the same.
- Calculating margin on revenue instead of profit. Margin = profit ÷ revenue, not cost ÷ revenue.
FAQ
Which margin formula should I use?
Gross margin for pricing. Net margin for overall health. Operating margin to compare to public companies. Contribution margin for per-product profitability.
What is the difference between operating and net margin?
Operating margin excludes taxes and interest. Net margin includes everything. For small stores, they are nearly identical.
Can I use these for services too?
Yes. COGS becomes cost of delivering the service — labor, materials, travel.
How do I track margins over time?
Calculate monthly and plot on a chart. If gross is stable but net drops, operating costs are growing faster than revenue.
What margin do investors look for?
Net margin above 15% is healthy. Above 25% is attractive. Below 5% is a red flag.
Recommended Tools
If you sign up through these links, we may earn a commission at no extra cost to you.