Gross margin: definition, formula and rate calculation

On this page

Which items are eroding your gross margin?

Schedule a meetingLearn about our pricing analysis
Definition

Gross margin is the difference between a product’s selling price (excluding tax ) and its purchase cost (excluding tax). It represents the profit generated on each sale before overhead costs (logistics, personnel, rent, marketing). It is expressed in euros or as a percentage of the selling price (gross margin rate).

The Essentials in 6 Questions

What?

Selling price (excluding tax) − purchase cost (excluding tax), by product or in total.

Who is it for?

Pricing, management accounting, category managers, executive management.

When?

For every pricing decision and in all profitability reports.

Where?

By reference, category, channel, and brand.

Why?

This is the primary indicator of the ability to cover expenses.

How?

Excluding tax, including supplier discounts and markdowns.

Why Gross Margin Is the Primary Indicator of Profitability

Because it calculates how much is left to cover all expenses and generate a profit.

  • Managing profitability: This is a retailer’s primary ability to cover its costs.
  • Comparing categories : textiles and cosmetics generate much higher gross margins than fresh food or high-tech.
  • Optimize the product mix: Focus sales on the most profitable SKUs as part of an overall pricing strategy.

Real-world example: €30,000 in gross profit, €5,000 in net profit

A pair of jeans purchased for €20 (excluding tax) and sold for €50 (excluding tax) yields a gross margin of €30; for 1,000 pairs of jeans, €30,000 must cover all expenses.

EXAMPLE CASE · PRICING GLOSSARY

€30,000 in gross profit, only €5,000 in net profit

Textile Retailer · 1,000 pairs of jeans sold per month at €50 (excluding tax) (purchased for €20, excluding tax)

30 €

gross profit per pair of jeans sold (€50 − €20), for a gross profit margin of 60%.

▲ 30 000 €

Total gross profit on 1,000 pairs of jeans sold during the month

▼ 5 000 €

Net profit remaining after €25,000 in operating expenses (salaries, rent, logistics)

Source: Case Study · Booper Pricing GlossaryBOOPER

The gross margin is 60% (30 ÷ 50). If operating expenses total €25,000 for the month, the net margin is only €5,000.

How do you calculate gross profit?

Three plans, all tax-free.

IndicatorFormula
Gross Margin Per UnitSelling price (excluding tax) − purchase cost (excluding tax)
Gross marginGross margin ÷ selling price (excluding tax) × 100
Total Gross MarginGross profit per unit × quantity sold

Relative to the selling price, this rate is also known as the mark-up rate. Our pricing analysis measures the gross margin by category and identifies the SKUs that are eroding it; our pricing optimization software simulates the effect of each pricing decision on that margin.

Gross margin rate: formula and example

The gross margin rate relates the gross margin to the selling price excluding tax; it is the indicator that allows us to compare products with very different prices.

Formula : Gross margin rate = (selling price excluding tax − purchase cost excluding tax) ÷ selling price excluding tax × 100.

Example : jeans bought for €20 excluding VAT and sold for €50 excluding VAT generate a gross margin of €30, representing a rate of 30 ÷ 50 × 100 = 60%. Calculated on the purchase cost, the same difference would give a margin rate of 150% (30 ÷ 20): this is why it is always necessary to specify the basis of calculation.

To find the selling price based on a target margin: selling price excluding VAT = purchase cost excluding VAT ÷ (1 − gross margin rate). With a cost of €20 and a target margin of 60%, we get 20 ÷ 0.4 = €50 excluding VAT.

The 3 Common Mistakes Regarding Gross Margin

Mixing up concepts, forgetting about supplier discounts, or ignoring markdowns.

  • Confusing gross margin, markup, and multiplier: the gross marginis the ratio of gross profit to cost of goods sold; the markup is the ratio of the selling price to the cost of goods sold; and the multiplier is the ratio of the selling price to the cost of goods sold (a multiplier of 2.5 means that the item is sold for 2.5 times the cost of goods sold).
  • Ignore supplier discounts: discounts, rebates, and commercial partnerships reduce the actual purchase cost.
  • Ignoring shrinkage—theft, breakage, and errors—reduces the actual gross margin.

Frequently Asked Questions

Short answers to the most frequently asked questions about gross margin.

What is gross margin?

Gross margin is the difference between a product's selling price (excluding tax) and its purchase cost (excluding tax). It represents the revenue generated by each sale before overhead costs (staff, rent, logistics, marketing) are deducted, and is expressed in euros or as a percentage of the selling price. For example, a pair of jeans purchased for €20 (excluding tax) and sold for €50 (excluding tax) generates a gross margin of €30. This is the primary profitability indicator for a product category; net margin , on the other hand, measures what remains after all expenses have been paid.

What is the formula for gross margin?

The gross margin formula is simple: gross margin = selling price (excluding VAT) − purchase cost (excluding VAT). Multiplied by the quantities sold, this gives the total gross margin for a product or category. Divided by the selling price (excluding VAT), it gives the gross margin rate. The tricky part is the purchase cost: you must use the actual purchase price, after deducting discounts and supplier benefits; otherwise, the margin will be underestimated. All calculations are done excluding VAT, to avoid mixing products subject to different VAT rates.

How do you calculate the gross margin rate?

To calculate the gross margin rate, divide the gross margin by the selling price excluding VAT: gross margin rate = (selling price excluding VAT − purchase cost excluding VAT) ÷ selling price excluding VAT × 100. A product purchased for €20 excluding VAT and sold for €50 excluding VAT has a gross margin rate of 60%. Calculated on the purchase cost, the same difference would give 150%: therefore, the basis must always be specified. To set a price based on a target rate, the formula is reversed: selling price excluding VAT = purchase cost excluding VAT ÷ (1 − rate), detailed in the section on calculating the selling price .

What is a good gross margin in retail?

A healthy gross margin in retail depends primarily on the sector and the business model. High-turnover formats, such as general food stores, operate with significantly lower gross margins than textiles, beauty products, or luxury goods, where volumes are lower and collection costs are higher. Therefore, meaningful comparisons should be made with competitors of the same format and with one's own historical data, category by category. The goal is not the highest possible gross margin, but one that covers costs while maintaining a competitive price image.

Does the gross margin include VAT?

No, gross margin does not include VAT: all calculations are done excluding tax. VAT is collected on behalf of the government and does not compensate the distributor; including it would artificially inflate the margin. Working with prices excluding VAT also avoids distortions between products subject to different rates, for example, 5.5% on food and 20% on most other products. VAT is only added at the end, to convert the pre-tax selling price to the final price including VAT displayed on the shelf, by multiplying the pre-tax price by (1 + VAT rate).

Is it possible to have a negative gross margin?

Yes, the gross margin can be negative: this happens when a product is sold below its purchase cost. This occurs with certain aggressively priced loss leaders, within the legal resale-below-cost threshold, or with end-of-life products sold during a clearance sale , where recovering part of the cost is better than unsold inventory. What matters is the overall gross margin of the category: a few items with a negative margin can be offset by the rest of the product range, provided this trade-off is deliberate and carefully considered.

Key Takeaways

  • Gross margin = selling price (excluding tax) − purchase cost (excluding tax).
  • It must cover all expenses before becoming net profit.
  • Include supplier discounts and markdowns to accurately measure it.

Would you like to track your gross margin by product?

Booper calculates your gross margin in real time and simulates the impact of each pricing decision.

Let's talk about your gross margin →Learn about our pricing analysis

You might also
be interested in these articles

This is some text inside of a div block.
Illustration: Developing an Effective Pricing Strategy: The 5-Step Method
Building an Effective Pricing Strategy: The 5-Step Method

An effective pricing strategy relies on a rigorous segmentation between image products (KVI) and margin drivers to maximize profitability. By balancing perceived value and competitive data, this approach can increase EBITDA by up to 15%. This strategy is then translated into a concrete pricing policy applied on a daily basis. Clear governance and automated rules ensure consistent execution despite market fluctuations. Building and equipping this strategy from start to finish is the purpose of BOOPER’s Pricing Strategy Development module.

May 21, 2026
Read article →
This is some text inside of a div block.
Illustration: B2C Pricing: Maximize Your Margins with Data, Not Gut Feelings
B2C Pricing: Maximize Your Margins with Data, Not Gut Feelings

Faced with current market volatility, B2C pricing can no longer rely on intuition and instead requires a data-driven strategy. This analytical rigor makes it possible to adjust prices in real time to maximize profitability without sacrificing volume. A successful transition to this model offers profit growth potential of up to 9%.

Among the strategies tested, the psychological price point (€9.99) remains one of the easiest to implement.

April 13, 2026
Read article →
This is some text inside of a div block.
Illustration: Margin vs. Turnover Rate: How to Strike a Balance Without Sacrificing Your Margin
Margin vs. Turnover Rate: How to Strike a Balance Without Sacrificing Your Margin

Maintaining a high price protects the unit margin but slows sales; slashing prices quickly speeds up sales but erodes the margin. The right balance is a matter of calculation, not guesswork.

The total annual cost of holding inventory (capital, storage, obsolescence) averages 20 to 30 percent of its value. The purpose of BOOPER’s Markdown & Clearance module is to quantify this trade-off between margin and sales on a per-SKU basis.

August 17, 2026
Read article →
Want to discuss your pricing strategy?
30 minutes with our teams, no commitment required.
Request a consultation