How to Calculate Profit Margin: Complete Guide for Small Businesses

Updated March 2026 — formulas, real examples and strategies to maximize your profits

Free calculator: Want to calculate your margin right now? Use our Free Profit Margin Calculator — instant results, no sign-up required.

1. What is profit margin

Profit margin is the percentage of revenue that remains as profit after subtracting costs. It’s the single most important metric to understand whether your business is actually generating value or just “moving money around.”

If you sell a product for $100 and it costs you $60, your margin is 40%. Simple in theory, but in practice many small business owners confuse margin with markup, forget hidden costs, or don’t distinguish between gross and net margin.

Knowing your margin lets you: set correct prices, decide which products to focus on, evaluate your business health, and benchmark against competitors in your industry.

2. Gross, operating and net margin

There are three levels of margin, each useful for different analysis:

Type Formula What it measures
Gross Margin(Revenue − COGS) ÷ Revenue × 100Production efficiency: profit before overhead
Operating Margin(Revenue − Total operating costs) ÷ Revenue × 100Management efficiency: includes rent, salaries, marketing
Net Margin(Net income after taxes) ÷ Revenue × 100Real profit: what’s left after everything, including taxes

For small businesses, gross margin is the most useful day-to-day: it tells you immediately whether you’re selling at a sustainable price. Net margin is what matters at year-end to understand if the business is truly profitable.

3. Formulas and practical examples

The basic profit margin formula is:

Margin % = (Selling Price − Cost) ÷ Selling Price × 100

Example 1 — Physical product: You buy an item for $35 and sell it for $60.

Example 2 — Service: A consultant invoices $1,000 for a project. Direct costs (software, time, travel) are $300.

Example 3 — E-commerce: You sell 500 units at $25 each. Unit cost $12, shipping $3.

4. Margin vs Markup: the crucial difference

This is the most common confusion among business owners. Margin and markup are two different things, even though they start from the same numbers:

Concept Formula Example (Cost $60, Sale $100)
Margin(Sale − Cost) ÷ Sale × 10040 ÷ 100 = 40%
Markup(Sale − Cost) ÷ Cost × 10040 ÷ 60 = 66.7%

The difference is in the denominator: margin is calculated on the selling price, markup on the cost. A 100% markup (doubling the price) equals a 50% margin, not 100%.

Confusing them means setting wrong prices. If you think you have a 50% margin but you’re actually calculating markup, your real margin is only 33.3%.

5. Average margins by industry

How much should you be making? It depends on your industry. Here are typical gross margin benchmarks:

Industry Typical gross margin Typical net margin
Software/SaaS70–85%15–25%
Consulting50–70%10–20%
E-commerce40–60%5–15%
Restaurants60–70%3–9%
Retail25–50%2–5%
Manufacturing25–40%5–10%
Construction15–25%2–7%

These are indicative values. Your ideal margin depends on: sales volume, fixed costs, market positioning, and business growth stage.

6. How to improve your profit margin

There are only two levers: increase revenue or reduce costs. Here are the most effective strategies:

On the revenue side:

On the cost side:

7. Common mistakes to avoid

8. Free Profit Margin Calculator

Calculate your margin in seconds with our free tool:

Calculate Your Margin →

Enter cost and selling price: get margin percentage, markup, profit per unit, and recommended selling price. Free, no sign-up, no limits.

Also check out: the Break-Even Calculator to know how many units you need to sell, and the ROI Calculator to evaluate your investments. Explore all free ANIMA tools.

✎ Suggest a change

Frequently Asked Questions