How to calculate gross profit
Learn how to calculate gross profit using the simple revenue minus COGS formula, with clear worked examples.
Published Monday 17 August 2026
Table of contents

How to calculate gross profit
Key takeaways

- Gross profit is your revenue minus cost of goods sold (COGS), and it shows how much money you keep after covering the direct costs of delivering your product or service.
- The gross profit formula is: Revenue – COGS = Gross profit. You can calculate it for any time period using figures from your profit and loss report.
- Gross profit is different from net profit. Gross profit covers only direct costs, while net profit accounts for all your business expenses including rent, salaries and taxes.
- Tracking gross profit regularly helps you spot pricing problems, rising costs and margin trends before they become serious issues for your business.
What is gross profit?
Gross profit is the money your business earns after subtracting the direct costs of producing or delivering your goods and services. It's one of the most important numbers on your profit and loss (P&L) report because it tells you whether you're making enough on each sale to cover your other expenses and still turn a profit.
Think of it this way: if you sell handmade candles for €25 each and the wax, wicks, jars and labour cost you €10 per candle, your gross profit is €15 per candle. That €15 is what you have left to pay for things like rent, marketing, insurance and your own salary.
For small business owners, gross profit is a useful health check. A healthy gross profit means your pricing and production costs are in good shape. A shrinking gross profit is an early warning sign that something needs attention, whether that's rising supplier costs, underpricing or inefficiencies in how you deliver your service.
Gross profit formula
The gross profit formula is straightforward. Once you know your total revenue and your cost of goods sold, you can calculate gross profit in seconds.
Gross profit = Revenue – Cost of goods sold (COGS)
Here's what each part means:
- Revenue is the total income your business earns from selling goods or services during a specific period, before any deductions. You might also see this called "sales" or "turnover" on financial reports.
- Cost of goods sold (COGS) includes all the direct costs tied to producing or delivering what you sell. For a product business, COGS typically covers raw materials, manufacturing labour and shipping. For a service business, it includes the direct labour and materials needed to deliver the service.
COGS does not include indirect expenses like office rent, marketing, utilities or administrative salaries. Those get subtracted later when calculating net profit.
How to calculate gross profit step by step
Calculating gross profit takes just a few steps. Here's how to do it, whether you're pulling numbers from your accounting software or working from a simple spreadsheet.
1. Determine your revenue
Start by adding up all the income your business earned from sales during the period you're measuring. This could be a month, a quarter or a full year. Include all sales of products or services, but don't include non-operating income like interest earned or one-off asset sales. You'll find revenue at the top of your profit and loss report.
2. Calculate your cost of goods sold (COGS)
Next, add up all the direct costs involved in producing or delivering your products and services during the same period. Common COGS items include:
- Raw materials and supplies
- Direct labour (wages for employees who make or deliver the product)
- Manufacturing or production costs
- Freight and shipping for inventory
- Packaging materials
If you run a service business, your COGS might include the wages of staff who deliver services, software licences used in delivery or subcontractor fees. The key question is: would this cost disappear if you stopped selling? If yes, it's likely part of COGS.
3. Subtract COGS from revenue
Now apply the gross profit formula. Take your total revenue and subtract your total COGS. The result is your gross profit for that period.
For example, if your business earned €120,000 in revenue last quarter and your COGS was €45,000:
€120,000 – €45,000 = €75,000 gross profit
4. Interpret the result
A positive gross profit means you're earning more from sales than it costs to produce what you sell. That's a good sign, but it doesn't mean you're profitable overall. You still need to cover your operating expenses, taxes and other costs.
If your gross profit is negative or very low, it usually means your pricing is too low, your production costs are too high, or both. This is a signal to review your pricing strategy and look for ways to reduce direct costs.
Tracking gross profit over time is more valuable than looking at a single number. Compare it month over month or quarter over quarter to spot trends early.
Gross profit calculation examples
Seeing the formula in action makes it easier to apply to your own business. Here are two examples covering different business types.
Product business example
Sarah runs a small online store selling custom phone cases. In March, she sold 500 cases at €30 each, bringing in €15,000 in revenue. Her COGS for the month included €4,000 in materials, €2,500 in direct labour and €500 in shipping supplies.
Revenue: €15,000
COGS: €4,000 + €2,500 + €500 = €7,000
Gross profit: €15,000 – €7,000 = €8,000
Sarah's gross profit of €8,000 means she kept 53% of her revenue after covering direct costs. That €8,000 needs to cover her website hosting, marketing, insurance and other overhead.
Service business example
Tom runs a small landscaping company. In April, he earned €22,000 from client jobs. His COGS included €6,000 in crew wages (for time spent on jobs), €2,000 in fuel and equipment maintenance, and €1,000 in supplies like mulch and fertiliser.
Revenue: €22,000
COGS: €6,000 + €2,000 + €1,000 = €9,000
Gross profit: €22,000 – €9,000 = €13,000
Tom's gross profit of €13,000 gives him a strong foundation to cover his vehicle payments, office expenses, insurance and his own salary.
What is a good gross profit margin?
A "good" gross profit margin varies by industry and business model. Service businesses often achieve higher margins (50–70% or more) because they have lower direct material costs. Retail and product-based businesses typically see margins between 25% and 50%, depending on their supply chain and pricing strategy.
Many small businesses aim for a gross profit margin of at least 50%, but the right target depends on your sector and operating costs. A lower margin can still be healthy if your overhead is lean. The most important thing is to track your margin over time and compare it to similar businesses in your industry.
Gross profit vs. gross profit margin
Gross profit and gross profit margin are related but measure different things. Gross profit is a euro amount. Gross profit margin is a percentage that shows what proportion of your revenue you keep after covering direct costs.
The gross profit margin formula is:
Gross profit margin = (Gross profit / Revenue) × 100
Using Sarah's phone case business from the earlier example:
Gross profit margin = (€8,000 / €15,000) × 100 = 53.3%
This means Sarah keeps about 53 cents of every euro in revenue after paying for materials, labour and shipping. The remaining 47 cents goes toward direct production costs.
Gross profit margin is especially useful for comparing performance across different time periods or against industry benchmarks. A business earning €1 million with a 20% margin is keeping less per euro of revenue than a business earning €200,000 with a 50% margin. The euro amount of gross profit matters, but the margin tells you how efficiently you're turning revenue into profit.
Gross profit vs. net profit
Gross profit and net profit both appear on your P&L report, but they answer different questions about your business. Understanding both helps you analyse your profitability ratios more effectively.
Here's the difference:
- Gross profit = Revenue – COGS
- Net profit = Revenue – COGS – Operating expenses – Interest – Taxes
Gross profit shows how much you earn after covering the direct costs of your products or services. It tells you whether your core business activities are profitable. Net profit shows what's left after you subtract all your expenses, including operating costs (rent, utilities, marketing, salaries), interest and taxes. It tells you how much your business actually earned at the end of the day.
For example, if your business has €75,000 in gross profit but €60,000 in operating expenses, interest and taxes, your net profit would be €15,000. A business can have a strong gross profit but a low or negative net profit if its overhead costs are too high. If that's the case, the issue isn't your pricing or production costs; it's your operating expenses. Knowing where the gap is helps you fix the right problem.
What affects your gross profit?
Several factors can push your gross profit up or down. Understanding them helps you make better decisions about pricing, sourcing and operations.
- Changes in COGS: If your suppliers raise prices or you switch to higher-quality materials, your COGS goes up and your gross profit goes down, even if your sales stay the same.
- Pricing adjustments: Raising your prices increases revenue without changing COGS, which directly boosts gross profit. But pricing too high can reduce sales volume, so it's a balancing act.
- Sales volume: Selling more units can improve gross profit, especially if you benefit from bulk discounts on materials or more efficient production at higher volumes.
- Production efficiency: Streamlining how you make or deliver your product reduces waste and direct labour costs, improving gross profit without changing your prices.
- Supply chain disruptions: Shipping delays, tariffs or shortages can increase your COGS unexpectedly. Having backup suppliers or negotiating fixed-price contracts can help protect your margins.
How to improve your gross profit
If your gross profit isn't where you'd like it to be, there are practical steps you can take. Learning how to measure profitability starts with moving this number in the right direction.
- Review your pricing: Check whether your prices reflect the true cost of delivering your product or service. If your costs have gone up but your prices haven't, it's time for an adjustment.
- Negotiate with suppliers: Ask for volume discounts, longer payment terms or explore alternative suppliers. Even small reductions in material costs add up over a year.
- Reduce waste: Look at your production process for inefficiencies. Are you overordering materials? Is there a way to reduce scrap or rework?
- Focus on higher-margin products or services: If some of your offerings have better margins than others, consider putting more sales and marketing effort behind them.
- Track your numbers regularly: Review your gross profit monthly, not just at tax time. Catching a downward trend early gives you more time to respond. Run a profit and loss report regularly to see exactly where you stand.
Track your gross profit with Xero
Knowing how to calculate gross profit is the first step. Keeping track of it consistently is what helps you make smarter business decisions over time.
Xero's cloud accounting software pulls your revenue and cost of goods sold into a clear profit and loss report automatically, so you always know your gross profit without crunching the numbers yourself. You can run reports anytime, compare periods side by side and spot trends before they become problems. Get one month free.
FAQs on gross profit
Here are answers to common questions about gross profit.
Does gross profit include employee salaries?
Only if those employees are directly involved in producing or delivering your product or service. A factory worker's wages are part of COGS, but your office manager's salary is an operating expense that gets subtracted when calculating net profit.
Can gross profit be negative?
Yes. A negative gross profit means your cost of goods sold is higher than your revenue. This usually signals a serious pricing or cost problem that needs immediate attention.
What is a good gross profit margin for a small business?
It depends on your industry. Retail businesses often see margins between 25% and 50%, while service businesses can range from 50% to 70% or higher. Track your margin over time and compare it to similar businesses in your sector.
How often should I calculate gross profit?
Monthly is ideal for most small businesses. This gives you enough data to spot trends without being overwhelmed by daily fluctuations. If your business has seasonal patterns, comparing the same month year over year can be especially helpful.
What's the difference between gross profit and gross income?
In most small business contexts, gross profit and gross income mean the same thing: revenue minus cost of goods sold. Some tax forms and accounting standards use the terms slightly differently, so check with your accountant if you need to report one specifically.
Related terms
Learn more about gross profit
Handy resources
Advisor directory
You can search for experts in our advisor directory
Profit & Loss template
Download Xero’s profit and loss statement template to show how much money you business is making
Financial reporting
Keep track of your performance with accounting reports
Disclaimer
This glossary is for small business owners. The definitions are written with their requirements in mind. More detailed definitions can be found in accounting textbooks or from an accounting professional. Xero does not provide accounting, tax, business or legal advice.