Business Tool

Gross Profit Margin Calculator: Formula, Examples, and What’s a Good Number

You run the numbers through a gross profit margin calculator. You get a number, say 35%. Now what? Most calculators stop right there, leaving you with a percentage but no idea whether it’s actually good for your business. This guide covers the formula, a worked example, and real industry benchmarks so you know what your number actually means.

What Is Gross Profit Margin?

It’s the percentage of revenue left over after subtracting the direct cost of making or delivering what you sell. It only accounts for production costs, not rent, marketing, salaries, or other overhead.

It’s a measure of how efficiently you’re producing and pricing, before the rest of your business expenses come into play.

Gross Profit Margin Formula

Gross Profit = Revenue - Cost of Goods Sold (COGS)
Gross Profit Margin (%) = (Gross Profit / Revenue) x 100

COGS includes materials, direct labor, and manufacturing costs tied directly to the product. It does not include marketing, rent, or administrative salaries.

How to Calculate It, Step by Step

Say your business brought in $200,000 in revenue last quarter. Your COGS, including materials and direct labor, came to $85,000.

  1. Subtract COGS from revenue. $200,000 – $85,000 = $115,000 gross profit.
  2. Divide gross profit by revenue. $115,000 / $200,000 = 0.575.
  3. Multiply by 100. 0.575 x 100 = 57.5%.

Your margin is 57.5%. For every dollar in sales, you keep 57.5 cents before other expenses are factored in.

You can also use our free Profit Margin Calculator to get this number instantly without doing the math by hand.

What’s a Good Number?

This is the part most calculators skip, and it’s the part that actually matters. A 35% margin might be excellent in one industry and alarming in another.

IndustryTypical Gross Margin
Software / SaaS70% to 90%
Retail25% to 50%
Restaurants20% to 40%
Manufacturing20% to 35%
Food wholesaleAround 15%

Software companies post high margins because producing one more copy of a product costs almost nothing. A restaurant or manufacturer carries heavy material and labor costs, so their margins run much lower by comparison, and that’s normal for those industries, not a warning sign.

The real value of your gross margin number comes from comparing it against your own industry’s benchmark, and against your own past performance, not against a generic “good number” that applies to every business equally.

How to Improve a Low Result

If your calculation comes back lower than your industry benchmark, a few levers actually move the number.

Renegotiate supplier costs

Even a small reduction in materials cost flows directly into a higher margin, since COGS sits right in the formula.

Reduce waste and spoilage

For businesses selling physical goods, especially food, unsold or wasted inventory quietly inflates your effective COGS without showing up as a separate line item.

Raise prices selectively

A small price increase on your best-selling items often improves margin more than an across-the-board increase, since customers are less price-sensitive on products they already want.

Bundle or upsell

Adding a high-margin add-on to a lower-margin core product raises your blended average margin without changing your base pricing.

None of these fixes work instantly. Track your margin over a few billing cycles after making a change, rather than judging results from a single month.

Gross Margin vs. Net Margin

Gross margin only accounts for the direct cost of your product. Net margin goes further, subtracting every other expense too: rent, salaries, marketing, interest, and taxes.

A business can have a strong gross margin and still barely turn a profit once all other costs are subtracted. That’s why both numbers matter, and why a high gross margin alone doesn’t guarantee a profitable business. If you’re looking to calculate the fully loaded number instead, see our guide on net profit margin.

Gross Margin vs. Markup

These two get confused constantly, and they’re not the same calculation.

Margin is profit as a percentage of your selling price. Markup is profit as a percentage of your cost. The same dollar amount of profit produces two different percentages depending on which one you calculate.

For example, a product that costs $60 and sells for $100 has a $40 profit. As a margin, that’s 40% ($40 / $100). As a markup, that’s 66.7% ($40 / $60). Same numbers, different answer, depending on which base you’re measuring against.

Common Mistakes When Calculating Gross Margin

Including expenses that don’t belong in COGS

Marketing spend, office rent, and administrative salaries don’t count toward cost of goods sold. Including them inflates your cost figure and understates your true gross margin.

Comparing your margin to the wrong industry benchmark

A 25% margin might be strong for a grocery retailer and weak for a software company. Compare against businesses similar to yours.

Confusing margin with markup

As covered above, these produce different percentages from the same numbers. Know which one you’re actually calculating.

Treating gross margin as the full profitability picture

A healthy gross margin doesn’t guarantee overall profitability once operating expenses are factored in. Net margin gives the fuller picture.

Conclusion

Calculating your gross profit margin only takes one formula, but understanding what the number actually means takes a bit more context. A 30% margin isn’t automatically good or bad. It depends entirely on your industry, and comparing it against the right benchmark is what turns a percentage into something you can actually act on.

If the number comes back lower than you’d like, small changes like renegotiating supplier costs or adjusting prices on your best sellers usually move it more than a single across-the-board price hike. Track it over a few months rather than judging from one calculation, and revisit it whenever your costs or pricing change.

FAQs

What is the formula?

Gross Profit Margin = ((Revenue – Cost of Goods Sold) / Revenue) x 100. This gives you the percentage of revenue remaining after direct production costs.

What’s a good margin?

It depends heavily on industry. Software companies often see 70% to 90%, while restaurants and manufacturers typically run 20% to 40%. Compare your number against your specific industry rather than a general target.

Is this the same as net profit margin?

No. Gross margin only subtracts the direct cost of goods sold. Net margin subtracts every business expense, including rent, salaries, and taxes, giving a more complete profitability picture.

What’s the difference between margin and markup?

Margin is profit as a percentage of the selling price. Markup is profit as a percentage of cost. The same profit amount produces different percentages depending on which one you calculate.

Can I calculate this for free?

Yes. Our free Profit Margin Calculator handles the calculation instantly, no manual formula required.

Why is my gross margin lower than my industry’s average?

Common causes include rising supplier costs, inventory waste, underpricing relative to competitors, or a product mix weighted toward lower-margin items. Comparing your margin over several months can help identify whether it’s a trend or a one-time dip.

Does it include tax?

No. It only accounts for revenue and cost of goods sold. Taxes, along with all other operating expenses, are factored into net profit margin instead.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button