T
ToolCraftKit.com
← Back to Blog

How to Calculate Profit Margin (With Formula and Examples)

September 3, 2026 · 5 min read

Profit margin tells you how much money your business actually keeps from every dollar of revenue. It is one of the most important metrics for any business — whether you are running a freelance operation, an e-commerce store, or a large company. A healthy margin means your pricing and costs are in balance. A shrinking margin is an early warning sign.

Three Types of Profit Margin

Gross profit margin measures revenue minus the direct cost of goods sold (COGS). Formula: (Revenue - COGS) / Revenue × 100. This tells you how efficiently you produce or source your products.

Operating profit margin subtracts operating expenses (rent, salaries, marketing) from gross profit. Formula: (Revenue - COGS - Operating Expenses) / Revenue × 100. This shows how well you run the business day to day.

Net profit margin is the bottom line — revenue minus all costs including taxes and interest. Formula: Net Income / Revenue × 100. This is what actually stays in your pocket.

Profit Margin Benchmarks by Industry

IndustryAverage Net Margin
Software / SaaS20–30%
Consulting / Services15–25%
E-commerce5–15%
Restaurants3–9%
Retail2–5%
Manufacturing5–10%
Construction3–7%
Healthcare5–15%

These are general ranges. Your specific margin depends on your niche, pricing strategy, cost structure, and scale. The key is to track your margin over time and understand what drives it.

Example: Calculating Margin for an Online Store

You sell handmade candles. Revenue last month: $8,000. Cost of materials: $2,400. Shipping costs: $800. Marketing: $600. Platform fees: $400. Other expenses: $300.

Gross margin: ($8,000 - $3,200) / $8,000 = 60%. Net margin: ($8,000 - $4,500) / $8,000 = 43.75%. That is a healthy margin — you keep $3,500 from $8,000 in sales.

Margin vs. Markup: The Critical Difference

Margin and markup are not the same thing, and confusing them can cost you money. If a product costs $60 and you sell it for $100, your markup is 66.7% (you added $40 on top of $60). But your margin is 40% ($40 profit out of $100 revenue). Always price using margin, not markup, to ensure profitability.

How to Improve Your Profit Margin

Raise prices strategically — even a 5% price increase can dramatically improve margins if volume stays stable. Reduce cost of goods — negotiate with suppliers, buy in bulk, or find alternative materials. Cut overhead — audit subscriptions, renegotiate rent, automate repetitive tasks. Focus on high-margin products — identify which products or services deliver the best margin and prioritize them.

Calculate Your Margin Now

Use our free Profit Margin Calculator to instantly compute your gross margin, markup percentage, and revenue breakdown. Enter your cost and selling price to see the numbers.

Open Profit Margin Calculator →

Want to understand your return on investment? Try our ROI Calculator for a complete performance breakdown.