How to Calculate Your Profit Margin (Formula + Examples)

SL
SmoothLedger Editorial TeamVerified financial & SaaS content
Published November 22, 20259 min read
Guide Summary & Key Takeaways

Your revenue means nothing if your costs eat it all. Learn the exact formula for Gross Profit Margin, Net Profit Margin, and how to use them to price your services correctly.

Revenue is vanity. Profit is sanity. Cash is reality. You can generate $1,000,000 in sales and still go bankrupt if your costs are $1,100,000. The profit margin is the single most important number in your business because it tells you how much of every dollar you actually keep.

The Two Margins You Need to Know

Gross Profit Margin

Gross Margin = ((Revenue - Cost of Goods Sold) / Revenue) × 100

This measures the profitability of your product or service itself, before overhead. COGS includes direct costs like materials, direct labor, and manufacturing.

Example: You sell a handmade candle for $30. The wax, wick, and jar cost you $8. Your Gross Margin = ((30 - 8) / 30) × 100 = 73.3%. For every $30 candle, you keep $22 before overhead.

Net Profit Margin

Net Margin = ((Revenue - ALL Expenses) / Revenue) × 100

This is the "real" profit after everything—rent, utilities, software, marketing, taxes, insurance, your salary. This is what actually ends up in your pocket.

Example: Your candle business generates $10,000/month in revenue. Your total expenses (materials + rent + marketing + everything) are $7,500. Net Margin = ((10,000 - 7,500) / 10,000) × 100 = 25%. You keep $2,500.

Industry Benchmarks: Is Your Margin Good?

IndustryAvg Gross MarginAvg Net Margin
Software / SaaS80-90%20-30%
Freelance Services70-90%40-60%
Construction25-40%5-10%
Restaurants30-40%3-9%
Retail40-50%5-10%
E-commerce40-60%10-20%

How to Improve Your Margin

You have two levers:

  1. Increase Revenue (Without Increasing Costs): Raise your prices, upsell existing clients, or add a premium tier. A 10% price increase with the same costs can increase profit by 30-50%.
  2. Decrease Costs (Without Decreasing Quality): Use free tools instead of paid subscriptions, negotiate better rates with suppliers, automate repetitive tasks, and cut underperforming marketing channels.

Use our Profit Margin Calculator to run different pricing scenarios and find the sweet spot for your business.

Free SmoothLedger Tool

Calculate Your Exact Profit Margins

Ensure your pricing covers all direct costs and overhead. Test different markup scenarios with our free interactive calculator.

Launch Margin Calculator

Related Guides & Articles

View all 55+ articles