Everything You Need to Know About the Gross Profit Formula & Its Calculation

(
April 8, 2026
)

Most business owners celebrate when sales go up. And sure, revenue growth feels great. But here's the uncomfortable truth: you can sell more than ever and still be losing money.

How? Because if your direct costs are eating up most of what you earn, high revenue just means bigger losses at a faster pace.

That's exactly why gross profit and gross profit margin are two of the most critical numbers in your business. They tell you whether your core operations are actually healthy before rent, salaries, software, marketing, and taxes even enter the picture.

In this guide, you'll learn everything you need to know about gross profit: what it means, how to calculate it, real-world examples, common mistakes, and practical ways to improve your numbers starting today.

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 producing or delivering your product or service from your total revenue.

Think of it this way: every time you make a sale, some of that money immediately goes toward the cost of making that sale happen materials, direct labor, packaging, shipping. What's left after those costs is your gross profit.

If your gross profit is strong, your business has a solid foundation to build on. If it's weak, you're bleeding money right at the source, and no amount of marketing or cost-cutting elsewhere will save you long-term.

The Gross Profit Formula

The formula itself is simple:

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

Revenue is the total money coming in from your sales. For accuracy, always use net revenue that means total sales minus any returns, refunds, and discounts.

COGS refers only to the direct costs tied to producing or delivering what you sold. This includes things like raw materials, direct labor, packaging, freight-in, and subcontractor fees tied directly to specific jobs.

Here's a quick example. Say your business brings in $100,000 in sales and your direct costs are $60,000. Your gross profit is $40,000. That's what you have left to cover everything else and hopefully still come out ahead.

What Is Gross Profit Margin?

While gross profit gives you a dollar amount, gross profit margin gives you a percentage. It tells you how efficiently you're converting sales into profit before overhead expenses kick in.

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

Using the same numbers from before: ($40,000 ÷ $100,000) × 100 = 40%

This means for every dollar you bring in, you keep 40 cents after covering direct costs. The other 60 cents went toward producing or delivering what you sold.

The margin percentage is often more useful than the raw dollar figure because it allows you to compare performance across different time periods, products, or business segments even when the revenue numbers are different.

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

These two terms are often used interchangeably, but they're not exactly the same thing.

Gross profit is a dollar amount. It tells you how much money you have left after direct costs. Gross margin is that same result expressed as a percentage of revenue. It tells you how efficient your business is at the core level.

Use gross profit when you want to understand how much actual cash is available to cover overhead and generate net income. Use gross margin when you want to track performance over time or compare different parts of your business side by side.

How to Calculate Gross Profit Step by Step

Step 1: Get your revenue right. Always start with net revenue, not gross sales. That means subtracting returns, refunds, and discounts from your total sales figure. Pick a specific period monthly, quarterly, or annually and stay consistent.

Step 2: Identify your COGS accurately. Only include costs that are directly tied to producing or delivering what you sold. Common examples include raw materials, direct manufacturing or service labor, packaging, inbound shipping costs, and any subcontractor fees tied to specific jobs or projects.

What does not belong in COGS: office rent, administrative salaries, marketing spend, software subscriptions, or any other general overhead. Mixing these in will distort your gross profit and give you a false picture of your business.

Step 3: Run the numbers. Subtract COGS from revenue to get gross profit. Then divide gross profit by revenue and multiply by 100 to get your gross profit margin.

Real-Life Examples

Manufacturing or Retail Business

A business brings in $80,000 in revenue. Their direct costs include $25,000 in raw materials, $10,000 in direct labor, $3,000 in packaging, and $2,000 in freight totaling $40,000 in COGS. Gross profit comes out to $40,000, which is a 50% gross margin.

Service Business Marketing Agency

An agency earns $50,000 in revenue. Their direct costs include $12,000 paid to freelancers and $8,000 in direct labor for client work totaling $20,000 in COGS. Gross profit is $30,000, which gives them a 60% gross margin.

Retail Store

A retail store does $120,000 in sales. Their inventory cost is $65,000 and inbound freight is $5,000 totaling $70,000 in COGS. Gross profit is $50,000, for a margin of about 41.67%.

Gross Profit vs. Net Profit Don't Confuse the Two

Gross profit and net profit measure very different things, and confusing them leads to bad decisions.

Gross profit only subtracts direct costs COGS from revenue. Net profit subtracts everything: COGS, rent, salaries, marketing, software, interest payments, taxes, and every other expense your business has.

Gross profit answers the question: are my products or services profitable at the core level? Net profit answers the question: is my entire business making money after all expenses?

A business can have strong gross profit but still end up with negative net profit if overhead costs are too high. That's why you need to track both but gross profit is where the diagnosis starts.

Common Mistakes to Avoid

Using gross sales instead of net revenue is one of the most frequent errors. Returns and discounts need to come out first, or your gross profit will look better than it actually is.

Including overhead in COGS is another costly mistake. Rent, administrative salaries, and general business expenses are not COGS. Mixing them in gives you a distorted view of your core profitability.

Comparing numbers from different time periods without adjusting for seasonal variation can also mislead you. A 40% margin in December might look the same as a 40% margin in July, but the underlying business dynamics could be completely different.

Tracking only the dollar amount and ignoring the margin is a trap many owners fall into. A business doing $1 million in revenue with $400,000 gross profit has the same 40% margin as one doing $100,000 in revenue with $40,000 gross profit but they look very different in raw numbers.

Finally, not tracking margins by product, service, location, or sales channel means you're flying blind. Some parts of your business might be very profitable while others are quietly destroying value.

How to Improve Your Gross Profit

Raise your prices. Even a small price increase 5% or 10% can have a significant impact on gross profit if your volume holds steady. If the value you deliver is clear, customers will often accept modest increases without pushback.

Negotiate better rates with suppliers and freight partners. Every dollar saved on direct costs goes straight to gross profit. This is one of the highest-leverage moves available to product-based businesses.

Improve labor efficiency. Whether through better processes, training, or tooling, getting more output from the same labor hours directly improves your margins.

Push your highest-margin products and services more aggressively. Not all of your offerings are equally profitable. Identify the ones with the best margins and make sure your sales and marketing focus reflects that.

Reduce waste, defects, and returns. These all hit COGS directly. Even small improvements in quality or process consistency can add meaningful margin points over time.

Track performance by product, channel, and location. You can't fix what you can't see. Detailed tracking helps you spot where margin is being lost and make targeted improvements instead of guessing.

What Is a Good Gross Profit Margin?

There's no single number that works for every business. Margins vary significantly by industry. Grocery retail operates on very thin margins. Software and SaaS businesses often run margins above 70% or even 80%. Service businesses fall somewhere in between depending on how much they rely on their own team versus outsourcing.

The most important benchmark isn't an industry average it's your own trend over time. Is your margin improving? Is it stable? Is it drifting lower without a clear reason? Are you hitting the targets you've set for your business?

If your margin is consistently growing, that's a sign your business is getting more efficient and healthier at the core. If it's shrinking, something in your cost structure or pricing needs attention the sooner you catch it, the easier it is to fix.

Quick Cheat Sheet

Gross Profit = Revenue − COGS

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

Gross profit is a dollar amount. Gross margin is a percentage. Both matter, and you should be tracking both regularly.

Final Thoughts

Revenue tells you how much you sold. Gross profit tells you how much you actually kept. Gross margin tells you how efficiently your business is really running.

If you want to build a business that's not just busy but genuinely profitable, you have to look beyond the top line. The gross profit formula is simple, but the clarity it gives you is powerful. Start tracking it consistently, dig into what's driving it, and use it to make smarter decisions about pricing, costs, and where to focus your energy.

Frequently Asked Questions

What is the gross profit formula? Gross Profit = Revenue − Cost of Goods Sold (COGS)

What is the gross profit margin formula? Gross Profit Margin = (Gross Profit ÷ Revenue) × 100

Is gross profit the same as gross margin? No. Gross profit is a dollar amount showing how much you kept after direct costs. Gross margin is that same result expressed as a percentage of revenue.

Why is gross profit important? It tells you whether your products or services are profitable at the core level, before overhead expenses come into play. If gross profit is weak, no amount of cost-cutting elsewhere will save the business long-term.

What costs are included in COGS? COGS includes direct materials, direct labor, packaging, inventory costs, inbound freight, and any other costs directly tied to producing or delivering what you sold. Overhead expenses like rent, admin salaries, and marketing are not COGS.

Can service businesses calculate gross profit? Yes. Service businesses calculate gross profit by subtracting their direct delivery costs such as freelancer fees and direct labor tied to specific client work from their revenue.

What is a good gross profit margin? It depends on your industry. More important than any benchmark is whether your own margin is improving over time and whether it aligns with your business targets.

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:
LinkedIn
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.