What is gross profit margin?
Learn how to calculate gross profit margin, see worked examples for different businesses and find ways to improve it.
Written by Lena Hanna—Trusted CPA Guidance on Accounting and Tax. Read Lena's full bio
Published Tuesday 6 October 2026
Table of contents
Key takeaways
- Calculate your gross profit margin using the formula (gross profit ÷ revenue) × 100, ensuring you only include direct costs like materials, labour, and production expenses in your cost of goods sold calculation
- Benchmark your margin against industry standards to assess performance, aiming for 50% or higher for most small businesses, with service businesses typically achieving higher margins than retail operations
- Monitor your gross profit margin monthly to spot trends and identify when rising costs, pricing changes, or market conditions affect your profitability
- Improve your margins by regularly reviewing and adjusting prices, negotiating better supplier terms, reducing waste, and focusing on higher-margin products or services in your business mix
What is gross profit margin?
Gross profit margin is the percentage of sales revenue remaining after you subtract the direct costs of products sold or services provided. This metric reveals how efficiently your business turns sales into profit before accounting for overhead.

Here’s what your gross profit margin tells you:
- Pricing effectiveness: shows whether your prices cover direct costs and leave room for profit
- Operational efficiency: reveals how well you manage production or service delivery costs
- Financial health: indicates your ability to cover operating expenses like rent and utilities
A low gross profit margin makes it harder to pay essential expenses and reduces your chances of earning a net profit.
Gross profit margin vs gross profit
Gross profit is a currency amount. Gross profit margin is a percentage.
- Gross profit: the actual euro amount left after subtracting direct costs from revenue
- Gross profit margin: gross profit expressed as a percentage of total revenue
The term gross margin means the same thing as gross profit margin. You’ll often see these terms used interchangeably.
How to calculate gross profit margin
Use this formula to work out your gross profit margin percentage and understand your business’s pricing effectiveness.

Gross profit margin formula
The gross profit margin formula:
Gross profit margin = (gross profit ÷ revenue) × 100
Or expressed another way:
Gross profit margin = ((revenue − cost of goods sold) ÷ revenue) × 100
Gross profit margin formula explained
Follow these steps to calculate your gross profit margin:
- Find your total revenue: add up all sales income for the period
- Calculate your direct costs: work out your cost of goods sold (COGS), including materials, labour, and production expenses
- Subtract COGS from revenue: this gives you your gross profit in euro
- Divide gross profit by revenue: then multiply by 100 to get your percentage
It’s easier to see how the formula works when you put real figures through each step.
Gross profit margin example calculation
Here’s a worked example for a cleaning business. It applies the same four steps to one period of trading.
- Start by adding up the revenue for the period. The cleaning business earned €20,000 from its services.
- Next, add up the direct costs that make up COGS. Cleaners’ wages, supplies and equipment hire come to €8,000.
- Then subtract COGS from revenue to find gross profit. €20,000 − €8,000 leaves €12,000 in gross profit.
- Finally, divide gross profit by revenue and multiply by 100. (€12,000 ÷ €20,000) × 100 gives a gross profit margin of 60%.
This means 60c of every euro earned stays in the business after covering direct costs.
Getting your COGS calculation right is essential for accurate results.


Avoid common calculation mistakes
Accurate COGS calculation is essential for a meaningful gross profit margin. Here are common mistakes to avoid:
- Including operating expenses: rent, utilities, and office supplies are not part of COGS
- Forgetting direct labour: wages for staff who produce goods or deliver services should be included
- Missing materials costs: raw materials, packaging, and shipping to customers count as COGS
- Excluding subcontractor fees: if you outsource production or service delivery, include those costs
Your COGS should only include costs directly tied to producing what you sell.
Gross profit margin examples for different businesses
What goes into COGS changes with your business model, so margins vary too. These three scenarios use illustrative round numbers to show how the same formula plays out.
A café selling food and drink
This illustrative café has a month of steady trade. Its direct costs are food, drink, packaging and kitchen staff wages.
- Revenue: €15,000
- Cost of goods sold: €5,250
- Gross profit: €15,000 − €5,250 = €9,750
- Gross profit margin: (€9,750 ÷ €15,000) × 100 = 65%
The café keeps 65c of every euro to cover rent, utilities and its other overheads.
An online retailer selling physical products
This illustrative online retailer buys in stock and ships it to customers. Its direct costs are stock, packaging, delivery to customers and payment processing fees.
- Revenue: €40,000
- Cost of goods sold: €24,000
- Gross profit: €40,000 − €24,000 = €16,000
- Gross profit margin: (€16,000 ÷ €40,000) × 100 = 40%
The retailer keeps 40c of every euro, so stock and delivery costs have the biggest effect on its profit.
A bookkeeping practice offering services
This illustrative bookkeeping practice sells time and expertise. Its direct costs are subcontracted bookkeeper hours and the practice-software seats used for client work.
- Revenue: €10,000
- Cost of goods sold: €2,500
- Gross profit: €10,000 − €2,500 = €7,500
- Gross profit margin: (€7,500 ÷ €10,000) × 100 = 75%
The practice keeps 75c of every euro, which leaves plenty of room for overheads and net profit.
Service businesses like the bookkeeping practice usually keep more of each sale. Product businesses like the café and the online retailer carry stock costs, which lowers their margin.
Download the gross profit margin worksheet
Work out your own margin month by month with the gross profit margin worksheet. It opens in Excel or Google Sheets and calculates the totals for you.
The worksheet includes:
- a row for revenue
- separate rows for each COGS line item
- a gross profit calculation
- a gross profit margin percentage
- a column for each month
Once you’ve worked out your margin, the next step is judging whether it’s healthy for your type of business.
What is a good gross profit margin?
A good gross profit margin varies by industry, but most profitable small businesses aim for 50% or higher. Your target margin must be high enough to cover operating expenses, taxes, and leave room for net profit.
What counts as “good” depends on:
- Your industry: consider that service businesses often have higher margins than retail
- Business size: note that larger operations may accept lower margins due to volume
- Market conditions: recognise that competitive markets may compress margins across the board
Understanding the factors that determine what qualifies as a good margin helps you set realistic targets for your business.
Factors affecting your margins
Several factors determine what qualifies as a good margin for your business:
- Industry: consider that hospitality businesses often operate on thin margins due to high food and labour costs, while professional services typically achieve higher margins. Gross margins range from around 99% for US regional banks to about 10% for auto and truck makers, according to NYU Stern's January 2026 data.
- Region: note that local costs, tax rates, and customer spending power vary significantly between locations
- Business model: recognise that ecommerce businesses often have lower overhead than bricks-and-mortar shops, enabling higher margins
- Competition: understand that highly competitive markets like electronics retail tend to compress margins across all players
Comparing your margin to similar businesses helps you understand whether you’re performing well or need to make adjustments.
Benchmarking your gross profit margin
Benchmark your margin against similar businesses to understand your competitive position. For the most accurate comparison, look at businesses that match your:
- Industry and sector: compare like with like
- Size and revenue: note that margins often differ between small and large operations
- Region or market: recognise that local cost structures affect what’s achievable
Your accountant or bookkeeper can help you find relevant industry benchmarks for small businesses in your sector.
Industry benchmarks for gross profit margin
Here are typical gross profit margin ranges by industry:
- High margins (55%+): include jewellery, cosmetics, software, and professional services. For instance, the US system and application software sector averaged a 71.72% gross margin in January 2026, according to NYU Stern data.
- Medium margins (45–55%): include food service, retail clothing, manufacturing
- Lower margins (below 45%): include electronics retail, grocery, alcoholic beverages
These ranges reflect typical industry cost structures. Your specific margin will depend on your business model, pricing strategy, and operational efficiency.
Check your margin regularly to spot when changes in costs, prices or market conditions affect your profitability.
When to reassess your gross profit margin
Some changes in your business are a signal to take a fresh look at your margin. Reassess your gross profit margin when:
- Costs change: supplier price increases or rising labour costs affect your margins
- Sales decline: falling revenue may indicate pricing or demand issues
- Growth targets are missed: margin analysis can reveal why profits aren’t meeting expectations
- Market conditions shift: economic changes, new competitors, or industry disruption warrant review. In a 2025 PwC survey, 65% of CFOs said they were adjusting financial forecasts and budgets in response to economic volatility, which makes regular margin reviews worthwhile.
Use accounting software with financial reports to monitor your margins and spot trends early.
Analysing gross profit margin for business insights
Gross profit margin analysis helps you identify which products, services, or business areas generate the most profit. Use this insight to make informed decisions about pricing, costs, and resource allocation.
Two main levers affect your margin:
- Pricing: competitive prices can increase sales volume, but prices that are too low squeeze margins
- Cost management: reducing direct costs improves your margin without changing prices
Tracking your margins over time reveals patterns that help you understand business performance.
Interpreting gross profit margin trends
Track your gross profit margin over time to spot patterns in business performance. Regular monitoring reveals:
- Seasonal variations: identify which months or quarters show stronger or weaker margins
- Product performance: discover which items or services generate the highest margins
- Cost changes: spot when supplier prices or labour costs are rising
- Pricing effectiveness: assess whether recent price changes improved or hurt profitability
External factors can also impact your margins, even when your operations remain consistent.
Factors affecting gross profit margin
External factors can affect your gross profit margin, even when your operations stay the same:
- Demand shifts: recognise that falling demand may force price reductions to attract customers
- Rising supplier costs: note that increases in materials or labour costs narrow your margins
- Economic conditions: understand that when customers have less disposable income, sales volume and pricing power may decline
- Competition: watch for new competitors or aggressive pricing from rivals that can pressure your prices downward
Your gross margin makes more sense when you read it next to the other margins you’ll track.
Gross profit margin compared with other metrics
Gross profit margin is just one of several profitability metrics. Understanding how it differs from operating and net profit margins helps you get a complete picture of your business’s financial health.
Gross profit margin vs operating profit margin
Operating profit margin measures profitability after both direct costs and operating expenses.
- What it includes: covers COGS plus operating expenses like rent, utilities, salaries, and marketing
- What it shows: reveals how efficiently you run day-to-day operations
- Formula: (operating profit ÷ revenue) × 100
Operating margin gives a fuller picture of operational efficiency than gross margin alone.
Net profit margin takes the analysis further by including all business expenses.
Gross profit margin vs net profit margin
Net profit margin shows your true bottom-line profitability after all expenses.
- What it includes: covers COGS, operating expenses, interest, and taxes
- What it shows: reveals overall financial health and true profitability
- Formula: (net profit ÷ revenue) × 100
This is your “bottom line”: what’s left after every expense is paid.
Each metric serves a different purpose in understanding your business’s financial performance.
How to use each metric
Each margin answers a different question about your business. Use each metric for different decisions:
- Gross profit margin: evaluate pricing strategy and direct cost management
- Operating profit margin: assess operational efficiency and overhead control
- Net profit margin: guide long-term financial planning and measure overall business health
When you know what each margin tells you, it’s easier to spot where you can lift your gross profit.
How to improve gross profit margin
Improving your gross profit margin directly increases the money available for growth, debt repayment, and owner compensation. Here are practical strategies to boost your margins.
Adjust your prices
Review your pricing regularly to protect and improve margins:
- Monitor competitor pricing: adjust when market conditions change to stay competitive
- Add value to justify higher prices: improve quality, service, or features
- Test price increases: small increases on high-demand items often go unnoticed
- Segment your pricing: charge premium prices where customers value convenience or speed
Cost reduction is another effective way to improve your margins without changing prices.
Reduce your cost of goods sold
Reducing direct costs improves your margin without changing prices. Try these approaches:
- Negotiate with suppliers: request bulk discounts, longer payment terms, or price matching
- Compare suppliers regularly: don’t assume your current supplier offers the best rates
- Reduce waste: track materials usage and minimise spoilage or excess
- Optimise labour: schedule staff efficiently and reduce overtime where possible
- Review product mix: focus on higher-margin items and consider discontinuing low-margin products
Improving operational efficiency also helps protect your margins.
Streamline your operations
Operational efficiency directly impacts your margins. Consider these improvements:
- Automate repetitive tasks: use accounting software to reduce admin time and errors
- Improve inventory management: minimise excess stock and storage costs
- Streamline production: identify bottlenecks that slow output or increase costs
- Track time accurately: understand where labour hours go and eliminate inefficiencies
- Review processes regularly: small improvements compound over time
Keeping these improvements on track is easier when you can see your margin as it changes.
Track your gross profit margin with Xero
Track your gross profit margin simply with real-time financial reports and dashboards. You can monitor margins, spot trends, and make informed pricing decisions, all in one place.
Get one month free and see how Xero helps you stay on top of your business finances.
FAQs on gross profit margin
Still have questions about calculating and using gross profit margin? Here are answers to common questions.
What does 30% gross margin mean?
A 30% gross margin means you keep 30c of every euro earned after paying direct costs. The remaining 70c covers your cost of goods sold.
Are gross profit and gross margin the same?
No. Gross profit is a euro amount (revenue minus COGS). Gross margin is that same figure expressed as a percentage of revenue.
What’s the difference between gross margin and markup?
Gross margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost. A 50% markup results in a 33% gross margin.
Can I calculate gross margin in Excel or accounting software?
Yes. In Excel, use the formula: =(Revenue-COGS)/Revenue*100. Accounting software like Xero calculates this automatically from your financial data.
How often should I calculate my gross margin?
Review your gross profit margin monthly at minimum. Check it more frequently during periods of price changes, cost fluctuations, or rapid growth.
Disclaimer
Xero does not provide accounting, tax, business or legal advice. This guide has been provided for information purposes only. You should consult your own professional advisors for advice directly relating to your business or before taking action in relation to any of the content provided.