Pharmacy Trade Margin Calculator

Plug in a consumer price and see exactly how it splits across the KSA trade chain — pharmacy margin, distributor margin, VAT, and the ex-factory price that lands in your P&L. Free, no sign-up.

Your inputs

Margins are on each tier's selling price (trade convention), not markup on cost. Defaults are illustrative — set them to your own deal terms.

Ex-factory price

29.35

what distributor pays you

Your gross profit

21.35

per unit, after COGS

Your margin

72.7%

on ex-factory price

Where the consumer's 50.00 SAR goes

Your COGS
8.0016.0%
Your gross profit
21.3542.7%
Distributor margin
3.266.5%
Pharmacy margin
10.8721.7%
VAT
6.5213.0%

The price ladder

Consumer price (incl. VAT)50.00
Consumer price (ex-VAT)43.48
Pharmacy purchase price32.61
Ex-factory price29.35
Your COGS8.00

How trade margins work in the KSA pharmacy chain

Every consumer healthcare product travels the same path to the shelf: from the manufacturer or marketing company, to a distributor, to the pharmacy, to the shopper. Each tier takes a margin, and each margin is calculated on that tier’s selling price — not as a markup on what it paid. This is the single most common source of pricing mistakes: confusing a 25% margin with a 25% markup gives you a different ex-factory price and a different profit.

The only number the shopper sees is the consumer price. Everything else is worked backward from it. Strip VAT first (trade margins are always calculated on the ex-VAT price), then remove the pharmacy’s margin to get the pharmacy purchase price, then the distributor’s margin to get your ex-factory price. Subtract your COGS, and what’s left is the gross profit you actually run your brand on.

Why the ex-factory price is the number that matters

Marketers often anchor on the consumer price because it’s visible and emotional. But your business runs on the ex-factory price. A proud shelf price means nothing if the trade margins hollow it out before it reaches you. This is why pricing and trade terms have to be modeled together — a listing that demands a higher pharmacy margin can quietly turn a healthy price into an unprofitable one. For the wider picture, see our guide to pharmacy channel management in KSA and the OTC launch playbook, which walks through the price corridor in detail.

Frequently asked questions

How is a pharmacy trade margin calculated?

Trade margins are usually expressed on each tier's selling price, not as a markup on cost. If the pharmacy sells at 100 ex-VAT with a 25% margin, it bought at 75. The distributor then takes its margin on the 75 it sells to the pharmacy, and so on back to your ex-factory price. This calculator works backward from the consumer price to show every tier's cut.

What is the ex-factory price?

The ex-factory price (EFP) is what the distributor pays you, the manufacturer or marketing company — the price 'leaving the factory,' before the distributor and pharmacy add their margins. It is the number that, minus your COGS, becomes your gross profit. It is the single most important figure in any trade pricing conversation.

What are typical pharmacy and distributor margins in KSA?

They vary by category, chain, and negotiation, so treat any single number with caution. Pharmacy retail margins on consumer healthcare commonly sit in a wide band, and distributor margins are typically lower. The point of this tool is not to assume a 'correct' margin — it is to let you plug in your actual deal terms and see what they do to your ex-factory price and profit.

Does the calculator include VAT?

Yes. KSA VAT (15% by default, editable) is stripped from the consumer price first, because trade margins are calculated on the ex-VAT retail price. VAT is shown as its own slice so you can see how much of the shelf price is tax rather than trade.

Why does my margin go negative?

If the consumer price is too low, or the pharmacy and distributor margins are too high, the ex-factory price can fall below your COGS — meaning you lose money on every unit sold. That is exactly the scenario this tool is built to expose before you commit to a price and a listing.


Want this level of rigor across your whole P&L? The Claude AI Skills Packincludes a P&L Analyzer and a Trade Marketing Planner that take this far beyond a single-unit calculation — or join the community and tell us which calculator to build next.