On this page
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
Selling price (excluding tax) − purchase cost (excluding tax), by product or in total.
Pricing, management accounting, category managers, executive management.
For every pricing decision and in all profitability reports.
By reference, category, channel, and brand.
This is the primary indicator of the ability to cover expenses.
Excluding tax, including supplier discounts and markdowns.
Because it calculates how much is left to cover all expenses and generate a 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.
Textile Retailer · 1,000 pairs of jeans sold per month at €50 (excluding tax) (purchased for €20, excluding tax)
gross profit per pair of jeans sold (€50 − €20), for a gross profit margin of 60%.
Total gross profit on 1,000 pairs of jeans sold during the month
Net profit remaining after €25,000 in operating expenses (salaries, rent, logistics)
The gross margin is 60% (30 ÷ 50). If operating expenses total €25,000 for the month, the net margin is only €5,000.
Three plans, all tax-free.
| Indicator | Formula |
|---|---|
| Gross Margin Per Unit | Selling price (excluding tax) − purchase cost (excluding tax) |
| Gross margin | Gross margin ÷ selling price (excluding tax) × 100 |
| Total Gross Margin | Gross 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.
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.
Mixing up concepts, forgetting about supplier discounts, or ignoring markdowns.
Short answers to the most frequently asked questions about 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.
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.
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 .
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.
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).
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
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
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.

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.

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.