Published by: Elise Caradec — Editor specializing in stock exchange
Calculating a margin answers a simple question: after buying, producing, storing or selling, how much is really left with the company? The difficulty rarely comes from subtraction itself, but the choice of the right basis of calculation, HT or TTC, purchase cost or cost cost, margin rate or brand rate. An error at this level can lower a price, inflate an assumed profitability or compare two indicators that do not say the same thing.
The notions to distinguish before releasing the calculator
The trade margin is the difference between the selling price HT and the purchase cost HT. The basic formula is simple: commercial margin = selling price HT – purchase cost HT. If a product is purchased 20 € HT and resold 50 € HT, the margin is 30 €.
Marge calculator
This margin in euro is not enough to steer a price. To analyze performance, percentages are also used: margin rate, trade mark rate, sometimes multiplier coefficient. These indicators are similar, but they are not based on the same basis.
| Indicator | Formula | What it measures | Frequent error |
|---|---|---|---|
| Commercial margin | Sales price HT – purchase cost HT | Gross gain in euro per sale | Forget the associated costs |
| Margin rate | Margin / purchase cost HT x 100 | Cost-effectiveness versus purchase cost | Confounding it with the brand rate |
| Trade mark rate | Margin / selling price HT x 100 | Margin share of sales price | Think it can exceed 100% |
| Multiplier coefficient | Sales price / purchase price | Shortcut to set a price | Mix HT and TTC |
Margin rate and brand rate: the difference that changes everything
With a purchase of 20 € HT and a sale at 50 € HT, the margin is 30 €. The margin rate is therefore 30 / 20 x 100, or 150 %. The trade mark rate, it is 30 / 50 x 100, or 60 %. The two numbers are right, but they don't tell the same thing.
The margin rate compares the margin to the purchase cost. It is used to measure the cost-effectiveness of a product purchased or manufactured. The brand rate compares the margin to the selling price. It is often more readable to steer a trade policy, as it indicates how much of the price collected remains in gross margin.
The reliable method for calculating a margin
The calculation must be done in HTVAT is not a recipe for the company. It is collected from the customer and returned according to the applicable rules. Working in TTC can give a more comfortable margin impression than it really is.

Simple example with a product purchased and resold
Imagine a bought product 20 € HT and sold 50 € HT. The trade margin is 30 €. The margin rate is 150%, and the brand rate is 60%. If the price displayed to the customer is 60 € VAT with 20% VAT, the sale price HT remains well 50 €. The margin is therefore not calculated on 60 €, but about 50 € HT.
This distinction is essential in trade, e-commerce or catering. A TTC price is used to communicate with the final customer, the HT price is used to drive the activity. To compare two products, two suppliers or two sales channels, one must always return to a homogeneous basis.
When to use cost rather than purchase cost
The cost of purchasing HT is sufficient for a first calculation, but it becomes too limited as soon as additional costs are added: transport, packaging, storage, commission marketplace, Stripe fees, customer acquisition cost, losses, returns or labour. In this case, we must reason in cost.
For example, an item purchased 20 € HT can actually cost 25 € once the 3 € Logistics and 2 € of integrated commissions. If sold 50 € HT, the apparent trade margin is 30 €, but the cost margin falls to 25 €. The price decision then becomes more realistic.
Set a selling price from a desired margin
Calculating a margin is not only used to verify an existing price. It is also a method for building a consistent selling price before launching a product. The formula depends on the objective: to target a margin rate, a mark rate or apply a multiplier coefficient.
From a margin rate
If you buy a product 20 € HT and want a 150% margin rate, the expected margin is 20 x 150%, i.e. 30 €. The sale price HT will therefore be 50 €. The logic is simple: sales price HT = purchase cost HT + desired margin.
This approach is practical when starting from a supplier cost and ensuring a minimum level of profitability. It is suitable for traders who regularly negotiate their purchases: if the purchase cost increases and the selling price remains the same, the margin decreases mechanically.
From a brand rate
The brand rate starts from the sale price. To target 60% brand rate with a purchase cost of 20 € HT, the cost must represent the remaining 40% of the price. The selling price HT is therefore 20 / 0.40, i.e. 50 € HT.
This method is often more readable to drive a range as it indicates the margin share in each sale. It also avoids a classic error: believing that a 60% margin rate is equivalent to a 60% mark rate. With a purchase of 20 € HT and a 60 % margin rate, the HT selling price would be only 32 €not 50 €.
With a multiplier coefficient
The multiplier serves as a shortcut. If a product purchased 20 € HT is sold 50 € HT, the HT coefficient is 2.5. In some commercial uses, the coefficient is calculated with the VAT selling price divided by the VAT buying price: with a VAT price of 60 €, the coefficient becomes 3. Both readings exist, but you must specify which one you use.
In retail, coefficients of 2 to 3, sometimes 2.5 to 4 are often found depending on product families, loads and positioning. In restoration, some products may have higher coefficients, as the price must cover losses, preparation, service, staff and occupancy of the premises. So a coefficient is never a universal rule, it's a benchmark to test with your real costs.
Moving from gross margin to actual profitability
A good margin on a product does not guarantee that the company earns money. The gross margin must still cover fixed expenses: rent, wages, subscriptions, insurance, software, accounting, energy or marketing budget. This is where the profitability threshold, also called dead spot.
The simplified formula is: profitability threshold = fixed expenses / margin rate. If your monthly fixed charges are 10,000 € and that your average margin rate is 50%, you have to generate 20,000 € to cover these expenses. Below, activity consumes cash; above, it begins to produce a result.
To read the real profitability, you must look at each product as a mini profit and loss account. In addition to the sale price are the purchase cost, VAT to be isolated, payment costs, packaging, delivery, time spent, probable returns and a share of fixed charges. As long as only the purchase label and the sale price are compared, costs are often underestimated. By linking these elements, the margin calculation becomes a much more useful decision-making tool to determine whether a reference should be kept, increased or stopped.
Costs to be integrated according to the business model
In e-commerce, the margin can be reduced by logistics fees, marketplace commissions, payment fees, returns and customer acquisition costs. In physical shop, rent, unsold and sales time weigh more. In handicrafts, labour and materials consumed must be accurately integrated. In restoration, losses, preparation and staff costs can turn an apparently comfortable price into an insufficient margin.
Complementary indicators such as the ROI, ROAS orEBIT can then help expand the analysis. ROI measures the return on investment, ROAS measures the performance of an advertising expense, and EBIT gives a reading of the operating result. They do not replace the margin, but allow us to understand whether profitability again takes sales, marketing and expenses into account.
Good reflexes to avoid pricing errors
The first rule is to always note the base used: HT or TTC, purchase cost or cost, selling price HT or TTC. A simple Excel file, a financial dashboard or a commercial margin calculator may be sufficient, provided the columns are clearly separated.
- Calculate in HT to measure the real business margin.
- Distinguish margin rate and brand rate before comparing two products.
- Add associated costs to move from purchase cost to cost.
- Monitor the profit threshold to know from which volume the activity covers its expenses.
- Test multiple scenarios : increase supplier, discount customer, additional commission, VAT change or delivery costs offered.
A simulator can save time to automatically convert an HT purchase price into a HT or TTC sale price, compare margin rate and brand rate, or check the impact of a multiplier factor. The important thing is not only to get a figure, but to understand what it means: a high margin on paper can be insufficient if the loads absorb everything, while a more moderate margin can remain profitable if the volume, costs and positioning are controlled.
The right margin calculation then becomes a decision-making tool: increase a price, renegotiate a supplier, remove a rebate, review an assortment or invest more on the most profitable products. This is less an accounting formula than a steering reflex.
