Business finance

How to Calculate Your Business Profit Margin

Learn how to calculate gross and net profit margin for your business, with clear formulas and a step-by-step example using round numbers you can check.

Profit margin shows how much of every dollar you earn you keep as profit. A business with $100,000 in sales and $5,000 in profit has a margin of 5%. A business with the same sales and $15,000 in profit has a margin of 15%. The second business keeps three times as much from each sale, which matters when you decide on prices, costs and growth.

Many owners look only at total profit. Margin is often more useful, because it works at any size. It lets you compare this year with last year, even when revenue is different, and it helps you see whether a change in the business is making it healthier or weaker.

This article explains the two main margins, gives the formulas, and works through a full example step by step.

Two margins you should know

There are two margins that matter most for a small business.

Gross profit margin shows how much you keep after paying the direct costs of making or buying what you sell. Net profit margin shows how much you keep after paying all your costs, including rent, wages, insurance, marketing and other overheads.

Gross margin tells you about your pricing and buying. Net margin tells you about the whole business. Both are useful, so calculate both.

The formulas

Use these formulas. Revenue means total sales. Profit and costs must cover the same period, such as one month.

  • Gross profit = Revenue - Cost of goods sold
  • Gross profit margin (%) = Gross profit / Revenue x 100
  • Net profit = Revenue - All expenses
  • Net profit margin (%) = Net profit / Revenue x 100

Cost of goods sold (COGS) means the direct costs of producing or buying what you sold. For a shop, this is what you paid for the stock that was sold. For a service business, it may be the wages of staff who deliver the service, or the materials you used. Overheads such as rent and office software are not part of COGS. They belong in the all-expenses total.

Work through an example

Imagine a small business that sells handmade candles. For one month, the figures are:

  • Revenue (total sales): $50,000
  • Cost of goods sold (wax, wicks, jars and packaging): $30,000
  • Rent: $4,000
  • Wages: $6,000
  • Marketing: $2,000
  • Other overheads (insurance, software and utilities): $2,000

Step 1: Calculate gross profit. $50,000 - $30,000 = $20,000

Step 2: Calculate gross profit margin. $20,000 / $50,000 = 0.40, and 0.40 x 100 = 40%

Step 3: Add up all expenses. $30,000 + $4,000 + $6,000 + $2,000 + $2,000 = $44,000

Step 4: Calculate net profit. $50,000 - $44,000 = $6,000

Step 5: Calculate net profit margin. $6,000 / $50,000 = 0.12, and 0.12 x 100 = 12%

Check the expense total in a different order. The overheads are $4,000 + $6,000 + $2,000 + $2,000 = $14,000. Add the $30,000 of COGS and you get $44,000, the same figure as in Step 3. Net profit is then $50,000 - $44,000 = $6,000, which matches Step 4.

So for every $1 of candles sold, the business keeps 40 cents after making the product, and 12 cents as profit after all costs.

Why the two margins tell different stories

The gross margin of 40% looks healthy. The net margin of 12% is lower because overheads take a large share. If overheads rose by $4,000 a month with no extra sales, net profit would fall to $2,000. The net margin would then be $2,000 / $50,000 = 4%.

This is why an owner who looks only at gross margin can miss problems. A strong gross margin can hide a business that is spending too much on running costs. Watch both figures.

Calculate margin for a single product

The same method works for one product. Suppose a product sells for $40 and the direct cost of materials and packaging is $24.

Step 1: Gross profit per unit = $40 - $24 = $16. Step 2: Gross margin = $16 / $40 = 0.40, or 40%.

This gives you a quick way to compare products. A product with a 40% margin may be more valuable to the business than one with a 15% margin, even if the second sells in larger numbers. Look at margin and volume together when you decide which products to promote.

Compare margins over time

A single margin figure is hard to judge on its own. Compare the same month across different years, or track the margin each month for a year. Look for changes of more than a few percentage points and ask why. Common causes include price changes, rising material costs, discounts, wage increases and a shift in what you sell.

Be consistent in how you calculate. If you move a cost from overheads into COGS one month, your margins will change even if the business has not.

Common mistakes to avoid

  • Leaving out costs such as delivery, packaging, payment processing fees and returns.
  • Mixing time periods, such as comparing one month of revenue with three months of costs.
  • Including personal spending in business expenses, or leaving business costs out of the calculation.
  • Forgetting discounts and refunds, which reduce the revenue you actually keep.

Margin is not markup

Owners often mix up margin and markup. Markup is the amount added to cost to set a price. Margin is the share of the selling price that is profit. A product that costs $50 and sells for $100 has a 100% markup and a 50% gross margin. Margin will always be lower than markup for the same product. The pricing side is covered in How to Price Your Products for Profit.

Check: markup = ($100 - $50) / $50 = 100%. Margin = ($100 - $50) / $100 = 50%.

Use the figures to test decisions

Once you know your margins, you can test choices before you make them. Take a product that sells for $100 and costs $60, so its gross margin is 40%. If you offer a 10% discount, the price falls to $90. Profit on that sale drops to $90 - $60 = $30, and the margin falls to $30 / $90 = 33.3%.

The discount cut the profit on each sale from $40 to $30, which is a 25% fall in profit, even though the price only dropped 10%. Working out this effect in advance helps you decide whether a promotion is worth running.

You can run your own figures through the profit margin calculator.

Checklist for calculating your margin

  1. Choose a period, such as one month or one quarter.
  2. Add up total revenue for that period.
  3. Add up the direct costs of the goods or services sold.
  4. Calculate gross profit and gross margin.
  5. Add up all other expenses for the same period.
  6. Calculate net profit and net margin.
  7. Compare with the previous period and note any large changes.

Frequently asked questions

What is a good profit margin?

It depends on the industry. Some businesses run on thin margins with high volume, while others keep higher margins on fewer sales. Compare your margin with your own past results first, and then with businesses in your field.

Which costs should I include in the calculation?

Gross margin uses only the direct costs of what you sell. Net margin uses all costs for the period. Ask a qualified accountant which figures to include, because the right answer depends on how your business is set up and reported.

Does a higher margin always mean a better business?

Not always. A higher margin can come with lower sales volume, and total profit may be smaller as a result. Look at margin and total profit together.

How often should I calculate my margin?

Monthly is a practical rhythm for most small businesses. It is frequent enough to spot problems, and it gives you enough sales and costs to make each figure meaningful.

Finished reading?

Plant this guide in your forest. It keeps track of what you have learned and where you left off.

Part of a learning path

Wealth Forest Academy Editorial Team

We write practical, source-checked guides for small-business owners and everyday earners. This guide is general education, not personal advice. How we research and update our guides.