Gross Margin: Definition, Formula, and Calculation of the Rate

On this page

Which items are eroding your gross margin?

Let's plan an exchangeDiscover our price diagnostic
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 (Markup ).

The Essentials

  • Gross profit excludes operating expenses, whereas net profit includes all expenses.
  • Calculating it based on the list price ignores supplier discounts and markdowns, which significantly affect the final price.
  • She says whether a price covers the purchase cost with enough of a margin to absorb the store's expenses.

La marge brute expliquée en 1 minute

Expliqué par Edouard Calliati, CMO-CRO de Booper · vidéo publiée le 10 novembre 2026

Lire la transcription de la vidéo

Un jean acheté vingt euros, revendu cinquante euros hors taxes. Trente euros dans la poche à chaque vente ?

Pas si vite ! Ces trente euros ont encore beaucoup de travail.

Ces trente euros, c'est la marge brute : le prix de vente hors taxes, moins le coût d'achat. Ce que rapporte une vente, avant de payer les frais.

Brute, parce qu'on n'a encore rien retiré d'autre : ni les salaires, ni le loyer, ni la logistique, ni le marketing.

Et ça se multiplie ! Mille jeans vendus dans le mois : trente mille euros de marge brute.

Une belle enveloppe... qui doit payer tous les frais.

Rapportée au prix de vente, elle donne le taux de marge brute : trente sur cinquante, soixante pour cent. Pratique pour comparer des produits de prix très différents.

Le piège ? Se fier à la marge sur le papier.

Entre les promos, la casse et les vols, la marge réellement encaissée est souvent plus basse. L'écart se compte vite en points !

Avec Booper, la marge brute de chaque produit se suit en temps réel, et l'IA simule l'impact de chaque décision de prix avant qu'elle n'arrive en rayon.

La marge brute : le premier étage de la rentabilité, pas la dernière ligne. À retenir !

Gross margin explained in 1 minute

Explained by Edouard Calliati, CMO-CRO at Booper · video published on 12 November 2026

Read the video transcript

Jeans bought for twenty euros, sold for fifty before VAT. Thirty euros in your pocket?

Not so fast! That money still has work to do.

That's your gross margin: selling price minus purchase cost, before VAT. What a sale earns before the bills.

Gross, because nothing else has been taken off yet: not wages, not rent, not logistics, not marketing.

And it adds up! A thousand pairs sold in a month: thirty thousand euros of gross margin.

A nice pot... that has to pay every bill.

Divide it by the selling price and you get the gross margin percentage: thirty over fifty, sixty percent. Handy for comparing products at very different prices.

Watch out for the margin on paper! Between promotions, breakage and theft, the margin you actually bank is often lower.

The gap quickly runs to several points.

With Booper, every product's gross margin is tracked in real time, and AI simulates the impact of each pricing decision before it reaches the shelf.

Gross margin: the ground floor of profitability, not the bottom line. Key takeaway!

In 6 Questions

What?

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

Who is it for?

Pricing, management control, 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.

Calculate Your Gross Margin Online

Enter your purchase cost and your selling price, either excluding or including tax: the calculator will show the gross margin per unit and the total gross margin, as well as the two resulting tax rates.

Free Calculator · Gross Margin

€
units
Unit Gross Margin–
Total Gross Margin–
Markup raw–
Markup on cost–

To set a price using a multiplier rather than a rate, see the margin coefficient.

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: the textile and cosmetics industries generate much higher gross margins than the fresh food or high-tech sectors.
  • Optimize the product mix: Focus sales on the most profitable items 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 Markup 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 Markup 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)
Markup rawGross margin ÷ selling price (excluding tax) × 100
Total Gross MarginGross profit per unit × quantity sold

When expressed as a percentage of the selling price, this rate is also known as the Gross margin. Our price diagnostic measures the gross margin by category and identifies the SKUs that are dragging it down; our price optimization software simulates the effect of each pricing decision on it.

Markup Raw: Formula and Example

The gross Markup e represents the gross margin as a percentage of the selling price excluding tax; it is the metric used to compare products with very different prices.

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

Example: A pair of jeans purchased for €20 (excluding tax) and sold for €50 (excluding tax) yields a gross margin of €30, or a margin rate of 30 ÷ 50 × 100 = 60%. Calculated based on the purchase cost, the same margin would result in a Markup 150% (30 ÷ 20): this is why it is always necessary to specify the basis for the calculation.

To calculate the selling price based on a target margin: selling price (excluding tax) = purchase cost (excluding tax) ÷ (1 − gross Markup ). With a purchase cost of €20 and a target margin of 60%, the result is 20 ÷ 0.4 = €50 (excluding tax).

The 3 Common Mistakes Regarding Gross Margin

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

  • Confusing “ Markup,” “ Gross margin ,” and “coefficient”: the “ Markup ” is the ratio of the margin to the purchase cost; the “ Gross margin ” is the ratio of the margin to the selling price; and the “coefficient multiplicateur” is the ratio of the selling price to the purchase cost (a coefficient of 2.5 means that the item is sold for 2.5 times the purchase price).
  • 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 pre-tax selling price and its pre-tax cost of goods sold. It represents the profit generated by each sale before paying overhead costs (personnel, rent, logistics, marketing), and is expressed in euros or as a percentage of the selling price. 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 indicator of profitability for a product category; the net margin, on the other hand, measures what remains after all expenses have been paid.

What is the formula for gross margin?

The formula for gross margin is simple: gross margin = selling price (excluding tax) − purchase cost (excluding tax). Multiplied by the quantity sold, it yields the total gross margin for a product or category. Divided by the selling price (excluding tax), it yields the gross Markup . The tricky part is the purchase cost: you must use the actual purchase price, net of discounts and supplier incentives; otherwise, the margin will be underestimated. All calculations are made excluding tax, to avoid mixing products subject to different VAT rates.

How do you calculate gross Markup ?

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

What is a good gross margin in retail?

A good gross margin in retail depends first and foremost on the sector and the business model. High-turnover formats, such as general grocery stores, operate with significantly lower gross margins than the apparel, beauty, or luxury sectors, where volumes are lower and collection costs are higher. It is therefore most useful to compare with competitors of the same format and with the company’s own historical data, category by category. The goal is not the highest possible gross margin, but one that covers costs while maintaining the price image.

Does the gross margin include VAT?

No, the gross margin does not include VAT: all calculations are made excluding tax. VAT is collected on behalf of the government and does not constitute compensation for the retailer; including it would artificially inflate the margin. Working with pre-tax prices also avoids distortions between products subject to different rates, such as 5.5% on food and 20% on most other products. VAT is only applied at the end, to convert the pre-tax selling price to the tax-inclusive price 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 highly aggressive loss leaders—within the limits of the “no-loss resale” threshold—or with end-of-life products sold off during a markdown, where recouping part of the cost is better than having unsold inventory. What matters is the overall gross margin for the category: a few items with negative margins can be offset by the rest of the department, provided that this trade-off is deliberately decided upon and carefully measured.

Why does the actual gross margin differ from the theoretical gross margin?

This is because there are various factors in between: applied promotions, known and unknown markdowns, price discrepancies at the register, and the actual purchase terms obtained. The discrepancy often amounts to several percentage points. Tracking it over time, item by item, often reveals leaks that no one was monitoring.

Do you have any examples of use cases where companies have successfully improved their margins through price management?

Yes. The Barbotteau Group, which operates several retail chains in the French Caribbean, used to set its prices in Excel using a single “ Markup .” By testing AI-optimized prices on a selection of products in one of its supermarkets, the group gained one percentage point in the “ Markup ” rating for those products in a single quarter, while also improving its price image, and then expanded the approach to all four of its retail chains. In another example, a national food retailer with over 1,700 stores transitioned from reactive pricing to predictive pricing by simulating the impact of each price change on revenue, margin, and price image before implementing it. Across its client base, Booper generally observes a margin increase of +0.5 to +3 points within a few months, and a 70 to 90 percent reduction in the time spent on price preparation.

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 product 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 →Discover our price diagnostic

These articles can
interest you

This is some text inside a div block.
Strategic Retail Pricing: Product Line Architecture and Price Positioning
Strategic Pricing: Definition, Method, and Trade-offs

Strategic pricing defines, for a period of six to twelve months, the role of each category, the target price level, and the parameters within which daily prices may fluctuate. It does not set prices; rather, it defines the range within which each price is allowed to fluctuate.

A pricing strategy rarely falls apart all at once; rather, it erodes under the weight of accumulated tactical decisions and an ever-growing list of image products. Drawing the line between strategic, tactical, and operational considerations is more important than the sophistication of the calculations.

May 19, 2026
Read the article →
This is some text inside a div block.
Diagram of a Retail Price Optimization Engine: Data, Constraints, and AI Recommendations
Retail Price Optimization: The Complete Guide (Methods, AI, ROI)

Price optimization seeks, for each product, the price that maximizes a defined objective within certain constraints: minimum margin, product line consistency, competitive positioning, and advertised prices. It adjusts prices in both directions—upward where customers do not compare prices, and downward where they do.

The engine combines demand modeling, constraint-based optimization, and human validation. In properly implemented deployments, Booper observes a margin increase of +0.5 to +3 points within a few months, measured against a control group rather than by comparing pre- and post-implementation results.

September 22, 2026
Read the article →
This is some text inside a div block.
A staircase of decreasing markdown percentages symbolizing the gradual markdown of inventory
Selling off inventory without discounting it too early: the markdown method

A markdown is a permanent price reduction and should not be treated as a promotion. It is triggered based on projected remaining inventory—which can be determined as early as the first few weeks of sales—rather than on the start date of the sales event.

The appropriate markdown strikes a balance between profit margin and turnover rate by factoring in the cost of carrying inventory and the residual value of remaining stock. It is determined on a per-item and per-store basis, based on an acceptable residual amount set in advance.

August 17, 2026
Read the article →
Want to discuss your pricing strategy?
30 minutes with our teams, with no obligation.
Request an exchange