Gross Profit Formula: How to Calculate Gross Profit & Gross Margin Correctly

Accounting
(
April 8, 2026
/
Min read
)

Most business owners get excited when they see revenue climbing. But here’s the truth: revenue alone can be misleading. You can be selling more than ever and still barely scrape by or even lose money if your costs are eating up too much of every sale.

That’s why gross profit and gross profit margin are two of the most important numbers you should be watching. They tell you whether your core business is actually healthy, before all the other bills come in.

In this post, I’ll walk you through:

  • What gross profit really means
  • The simple gross profit formula
  • How to calculate gross profit margin
  • The difference between gross profit and gross margin
  • Common mistakes to avoid
  • Real-life examples (including for service businesses and retail)
  • Practical tips to improve your numbers
Gross Profit Formula

This blog explains the gross profit formula and shows businesses how to calculate both gross profit and gross profit margin correctly. It breaks down the difference between gross profit and gross margin, explains what should and should not be included in cost of goods sold (COGS), and provides simple examples for product-based, retail, and service businesses. The article also covers common calculation mistakes, the difference between gross profit and net profit, and practical ways to improve profitability. Overall, it helps readers understand how much money their business keeps after direct costs and why gross margin is an important metric for measuring efficiency.

What Is Gross Profit?

Gross profit is the money you have left after subtracting the direct costs of delivering your product or service from your total revenue.

In plain English: it shows how much cash you actually keep from every sale before paying for rent, salaries, marketing, software, or taxes.

If your gross profit is strong, your business has a solid foundation. If it’s weak, you’re leaking money right at the source.

The Gross Profit Formula

It doesn’t get much simpler than this:

Gross Profit = Revenue − Cost of Goods Sold (COGS)

  • Revenue = Total money coming in from sales (ideally net revenue after returns and discounts)
  • COGS = Direct costs of producing or delivering what you sold

Example: Your business brings in $100,000 in sales, and your direct costs are $60,000. Gross Profit = $100,000 − $60,000 = $40,000

That $40,000 is what you have left to cover everything else and (hopefully) make a profit.

What Is Gross Profit Margin?

While gross profit shows you the dollar amount, gross profit margin shows you the percentage. It tells you how efficiently you’re turning sales into profit before overhead kicks in.

Gross Profit Margin Formula:

Gross Profit Margin = (Gross Profit ÷ Revenue) × 100

Using the same example: Gross Profit Margin = ($40,000 ÷ $100,000) × 100 = 40%

This means you keep 40 cents out of every dollar in sales after covering direct costs.

Gross Profit vs. Gross Margin What's the Difference?

People often mix these two up, but they’re not the same:

  • Gross Profit = The actual dollar amount left after direct costs
  • Gross Margin = That same amount expressed as a percentage of revenue

Use gross profit to see the real money available. Use gross margin to compare performance easily across months, products, or different parts of your business.

How to Calculate Gross Profit (Step-by-Step)

  1. Get your Revenue right Use net revenue (total sales minus returns, discounts, and allowances) for the period you’re measuring monthly, quarterly, or yearly.
  2. Calculate your COGS accurately Only include costs that are directly tied to producing or delivering what you sold. Typical COGS examples:
    • Raw materials
    • Direct labor (people actually making/delivering the product/service)
    • Packaging
    • Freight-in / shipping costs
    • Subcontractor fees tied directly to jobs
    Not included in COGS: rent, marketing, admin salaries, software, taxes, etc.
  3. Run the numbers Gross Profit = Revenue − COGS Gross Profit Margin = (Gross Profit ÷ Revenue) × 100

Real Examples

Manufacturing/Retail Revenue:Revenue: $80,000 COGS: Raw materials $25k + Labor $10k + Packaging $3k + Freight $2k = $40,000→ Gross Profit = $40,000→ Gross Profit Margin = 50%

Service Business Example (Marketing Agency) Revenue: $50,000 COGS: Freelancer fees $12k + Direct client work labor $8k = $20,000→ Gross Profit = $30,000→ Gross Profit Margin = 60%

Retail Store Revenue: $120,000 COGS: Inventory $65k + Freight $70,000 → $70,000 → Gross Profit = $50,000 → Gross Profit Margin = 41.67%

Gross Profit vs Net Profit

Don’t confuse the two:

  • Gross Profit = Revenue − Direct costs only
  • Net Profit = Revenue − All expenses (COGS + rent + salaries + marketing + taxes + everything else)

Gross profit tells you if your products/services are profitable at the core. Net profit tells you if the entire business is actually making money.

Common Mistakes to Avoid

  • Using gross sales instead of net revenue (ignoring returns & discounts)
  • Mixing up overhead costs with COGS
  • Comparing numbers from different time periods
  • Only looking at the dollar amount and ignoring the margin
  • Not tracking margins by product, service, or location

How to Improve Your Gross Profit

Here are practical ways to boost both your gross profit and margin:

  • Raise prices (even small increases can make a big difference if value is clear)
  • Negotiate better supplier or freight rates
  • Improve labor efficiency
  • Push higher-margin products/services more aggressively
  • Reduce waste, defects, and returns
  • Track performance by product, channel, or location to spot leaks quickly

What’s a “Good” Gross Profit Margin?

There’s no universal number. It depends heavily on your industry:

  • Grocery stores: often low margins
  • Software/SaaS: usually very high margins
  • Service businesses: varies a lot depending on how much you outsource vs. use your own team

The most important thing isn’t hitting some magic number; it’s whether your margin is improving over time and how it compares to your own targets and past performance.

Quick Cheat Sheet

  • Gross Profit = Revenue − COGS
  • Gross Profit Margin = (Gross Profit ÷ Revenue) × 100

Final Thoughts

The gross profit formula is straightforward, but the insight it gives you is powerful.

Revenue tells you how much you sold. Gross profit tells you how much you actually kept. Gross margin tells you how efficient you really are.

If you want a stronger, more profitable business, stop obsessing only over sales. Start paying close attention to the profit behind those sales.

FAQs

What is the formula for gross profit?

Gross Profit = Revenue - Cost of Goods Sold (COGS)

What is the formula for gross profit margin?

Gross Profit Margin = (Gross Profit ÷ Revenue) × 100

Is gross profit the same as gross margin?

No. Gross profit is a dollar amount, while gross margin is a percentage.

Why is gross profit important?

It helps you understand whether your products or services are profitable before overhead expenses.

What costs are included in COGS?

COGS usually includes direct costs like materials, direct labor, packaging, inventory, and fulfillment costs directly tied to what you sold.

Can service businesses calculate gross profit?

Yes. Service businesses calculate gross profit by subtracting direct service delivery costs from revenue.

Ready to Find Your
Profit Leaks?

Your franchise reporting tool shows what happened last month. Autymate shows what to do about it — starting today.
Bryan Perdue
Founder & CEO, Autymate
Follow On:
Bryan leads all client engagement, leveraging his business process experience to “autymate” manual workflows by creating low-code/no-code data integrations and custom applications that deliver decision quality data into the hands of business users.