How to Calculate Profit Margin

    Business FinanceMay 10, 2026 · 9 min read

    Profit margin is the single most important number for understanding whether a business is truly making money — or just generating revenue. Whether you run a small business, sell products online, or work in finance, knowing how to calculate and interpret profit margins is essential.

    The Three Types of Profit Margin

    There are three profit margin metrics, each measuring profitability at a different level of the income statement:

    Gross Profit Margin

    (Revenue − Cost of Goods Sold) ÷ Revenue × 100

    Measures how efficiently you produce or source your product, before operating expenses.

    Operating Profit Margin

    (Revenue − COGS − Operating Expenses) ÷ Revenue × 100

    Measures true business profitability after all operating costs (COGS + salaries, rent, marketing).

    Net Profit Margin

    Net Income ÷ Revenue × 100

    The bottom-line margin after everything: COGS, operating expenses, interest, and taxes.

    Worked Example: A Coffee Shop

    Let's say your coffee shop has these annual numbers:

    Revenue$500,000
    Cost of Goods Sold (beans, cups, milk)$150,000
    Gross Profit$350,000
    Operating Expenses (rent, staff, utilities, marketing)$250,000
    Operating Profit (EBIT)$100,000
    Interest & Taxes$30,000
    Net Profit$70,000

    Gross Margin

    70%

    350K ÷ 500K

    Operating Margin

    20%

    100K ÷ 500K

    Net Margin

    14%

    70K ÷ 500K

    What Is a Good Profit Margin by Industry?

    Profit margins vary dramatically by industry. Comparing your margin to the wrong benchmark is misleading.

    Software / SaaS15–25% netHigh gross margins (70–80%), lower due to R&D and sales spend
    Grocery / Retail1–3% netLow margins, extremely high volume
    Restaurants3–9% netLabor and food cost intensive
    Healthcare / Pharma10–20% netHigh regulatory costs but strong pricing power
    Consulting / Services15–30% netLow COGS, margin limited by labor
    E-commerce2–5% netHigh ad spend and fulfillment costs compress margins
    Real Estate10–15% netCyclical, dependent on market conditions

    Gross Margin vs Net Margin: Which Matters More?

    Both matter, but for different reasons:

    Focus on Gross Margin when…

    • Evaluating pricing strategy
    • Comparing product lines
    • Assessing supplier negotiations
    • You're pre-revenue or early stage

    Focus on Net Margin when…

    • Evaluating overall business health
    • Comparing against public companies
    • Making investment decisions
    • Seeking a loan or investor

    5 Ways to Improve Your Profit Margin

    1. Raise prices. Even a 5% price increase on existing products with no volume loss goes straight to margin. Many businesses undercharge — test small increases before assuming demand is fully elastic.
    2. Reduce COGS. Negotiate better supplier contracts, buy in bulk, or find alternative suppliers. On a 40% gross margin business, reducing COGS by 10% improves gross margin to ~46%.
    3. Cut low-margin products or services. An 80/20 analysis often reveals that 20% of products drive 80% of profit. Dropping the rest frees up resources for high-margin work.
    4. Reduce fixed overhead. Rent, unnecessary subscriptions, redundant software, and overstaffing for current revenue levels all drain net margin. Review fixed costs quarterly.
    5. Increase volume (carefully). More sales spread fixed costs over a larger base, improving operating leverage. But don't sacrifice margin by discounting to drive volume — this often destroys more margin than it creates.

    Common Profit Margin Mistakes

    ❌ Confusing markup with margin

    ✅ Markup is cost-based: (Price − Cost) ÷ Cost. Margin is revenue-based: (Price − Cost) ÷ Price. A 50% markup = 33% margin — very different numbers.

    ❌ Ignoring owner compensation in small business

    ✅ If you pay yourself below market rate, your net margin looks artificially high. Always include fair owner wages in COGS or operating expenses.

    ❌ Comparing margin across different revenue scales

    ✅ A 5% margin on $10M revenue ($500K profit) is far better than a 20% margin on $1M revenue ($200K profit). Always look at absolute dollars alongside percentages.

    About the Author

    H

    Henry

    Founder & Developer, Online Calculator Suite

    Henry is the independent creator of Online Calculator Suite, based in Utah. He builds and maintains every calculator on this site and writes the guides, checking formulas against published sources such as the IRS, CDC and NIH. He is not a licensed financial advisor or medical professional, so results are for information only.

    Published: May 10, 2026·9 min read

    © 2026 OnlineCalculatorSuite.com – Simplify Your Calculations.