Short answer: the wholesale price formula from retail is wholesale price = retail price × (1 − discount %). A £40 product at 40% off retail has a wholesale price of £24. To work it out from cost instead, use cost ÷ (1 − target margin %): a £12 cost at a 50% margin gives £24. Wholesale is commonly around 50-60% of retail, and "keystone" pricing means retail is double wholesale. Always check the margin left on your lowest-margin products.
How to calculate wholesale price
Working out wholesale price comes down to two formulas, and which one you use depends on what you know.
From the retail price (most common for suppliers who already sell retail):
Wholesale price = Retail price × (1 − wholesale discount %)
£40.00 × (1 − 0.40) = £24.00
From your cost (best when you are setting prices for the first time):
Wholesale price = Cost ÷ (1 − target margin %)
£12.00 ÷ (1 − 0.50) = £24.00, which leaves you £12.00, or 50% of the selling price.
The calculator above does both: put in the retail price and either a percentage off or the margin you want.
Wholesale percentage of retail price
The gap between wholesale price and retail price is the reseller's room for their own costs and profit. The wholesale percentage is the wholesale price as a share of the retail price. A £24 wholesale price on a £40 retail price is 60% of retail, which is the same as 40% off.
Across many product categories, wholesale is commonly somewhere around 50-60% of retail, because the reseller needs room for their own costs and margin. Trade discounts for people who use the goods themselves (rather than resell them) are often smaller, so the trade price might be 70-90% of retail. Your own numbers depend on your costs, so treat any rule of thumb as a starting point.
What is keystone pricing?
Keystone pricing means the retail price is double the wholesale price, so the retailer makes a 50% margin. If you sell a candle to a shop at £8.00 wholesale, keystone retail is £16.00.
It is a convenient benchmark in gifts, homeware and fashion, but it is not a law. Heavy or fragile goods, fast-moving consumables and premium brands often sit either side of it.
Markup vs margin
These two get mixed up all the time, and the mix-up costs money.
- Markup is profit as a percentage of cost: (price − cost) ÷ cost.
- Margin is profit as a percentage of the selling price: (price − cost) ÷ price.
| Cost | Selling price | Profit | Markup | Margin |
|---|---|---|---|---|
| £10.00 | £15.00 | £5.00 | 50% | 33.3% |
| £10.00 | £20.00 | £10.00 | 100% | 50% |
| £10.00 | £25.00 | £15.00 | 150% | 60% |
Watch out: a 50% markup is only a 33% margin. If you think you have a 50% margin and give a 40% trade discount, you may be selling close to cost.
Worked examples
A paint supplier. A 5-litre tin retails at £60.00 (inc VAT), which is £50.00 ex VAT. It costs £28.00 ex VAT. A 25% trade discount gives a trade price of £37.50 ex VAT. Profit is £9.50, a margin of about 25%.
A gift wholesaler. A mug costs £3.00 to make. Aiming for a 55% margin at wholesale: £3.00 ÷ 0.45 = £6.67, rounded to £6.75. At keystone, the shop would sell it for £13.50.
A salon supplier. A shampoo retails at £18.00 ex VAT and costs £7.20. Gold tier at 30% off gives £12.60, a margin of about 43%. Bronze at 10% off gives £16.20, a margin of about 56%.
A note on VAT: UK retail prices usually include VAT, while trade prices are commonly quoted ex VAT. Do your margin sums on ex-VAT figures so you are comparing like with like.
Shopify cost per item: check your margin before you set trade rates
Shopify has a field for exactly the number this calculator needs. On each product's details page, in the Price section, you can enter a Cost per item: what the product or variant costs you, excluding tax and shipping. Products with variants need a cost on each variant, and you can fill them in bulk with the bulk editor or a CSV import using the Cost per item column.
Once you fill in cost per item Shopify works out the projected profit and margin next to the price, using margin = (price − cost) ÷ price. Two things to know:
- If a product charges tax and your store's prices include tax, which is usual for UK retail, Shopify does not show profit and margin for that product, so do the ex-VAT sums here instead.
- The margin on the product page is the retail margin. Your trade margin is lower by the size of the trade discount, so run each tier's rate through the calculator above.
With your Shopify product cost figures filled in, sales of those products also feed Shopify's profit reports, which you can use to keep an eye on cost of goods sold once trade orders start coming in.
Putting your wholesale prices on Shopify
Once you know your rates, a Shopify wholesale calculator only gets you so far: you still need trade customers to get those prices. With native B2B you set them in catalogs (up to 3 on non-Plus plans). With SmartTrade Pro you set a trade percentage, or on Premium a percentage per tier with per-product overrides for low-margin lines, and tagged trade customers get it automatically at checkout.
To turn single prices into rules for your whole range, read our wholesale pricing structure guide. Or see how to sell wholesale on Shopify, what is a trade discount, or how to exclude products from discounts.