Wholesale Pricing Formula: Calculate Retail Margin and Your Price Floor

WHOLESALE PRICING & RETAIL MATH8 min read

Calculate the brand's wholesale floor and the retailer's maximum buying price, then check whether both sides' margin targets can work.

Table of Contents
  1. Wholesale pricing formula versus retail margin formula
  2. Calculate a retailer's maximum wholesale price
  3. Calculate your brand's minimum wholesale price
  4. When keystone pricing works—and when it fails
  5. Include MOQ and payment terms in the quote
  6. Review pricing when costs or terms change
  7. Common wholesale pricing mistakes
  8. FAQs

To use a wholesale pricing formula, calculate two prices: the minimum price your brand can accept after unit costs and the maximum price a retailer can pay while keeping its target retail margin. A wholesale deal is financially feasible only when the brand's floor is no higher than the retailer's ceiling.

Brand wholesale floor = (landed unit cost + wholesale fulfillment per unit + fixed order fee ÷ MOQ) ÷ (1 − variable fee rate − target brand contribution margin)
Retailer ceiling = MSRP × (1 − target retailer gross margin)

The Shopify Wholesale Pricing & Margin Calculator compares these limits using the costs, price, fee assumptions, target margins, and minimum order quantity you enter. It models price feasibility; it does not predict demand or set a market-standard margin.

Wholesale pricing formula versus retail margin formula

The word “margin” is often used loosely. For a brand selling to a retailer, calculate its contribution margin on wholesale revenue:

Brand wholesale contribution margin = (wholesale revenue − landed product cost − wholesale fulfillment − applicable variable fees − allocated order costs) ÷ wholesale revenue.

For the retailer reselling at a suggested retail price, calculate retail gross margin using the retailer's selling price as the denominator:

Retail gross margin = (retail selling price − wholesale purchase price) ÷ retail selling price.

Markup uses a different denominator:

Retail markup = (retail selling price − wholesale purchase price) ÷ wholesale purchase price.

If a retailer buys an item for $20 and sells it for $40, its gross profit is $20. Its gross margin is $20 ÷ $40 = 50%; its markup is $20 ÷ $20 = 100%. The dollar profit is the same, but the percentages answer different questions. Do not label a 100% markup as a 100% margin.

Shopify's guide to wholesale and retail product pricing discusses cost, target margins, and retail price relationships. Its retail math guide also separates gross margin, markup, and other store calculations. Treat any margin range published as context, not a requirement: category, channel, returns, discounts, shipping, overhead, and competitive positioning vary.

Calculate a retailer's maximum wholesale price

If the retailer expects a specific gross margin at MSRP, solve the retail-margin equation for the wholesale cost:

Maximum wholesale price = MSRP × (1 − target retailer gross margin).

For a $40 MSRP and a retailer target of 50%, the ceiling is $40 × (1 − 0.50) = $20. A $20 wholesale purchase price leaves the retailer $20 in gross profit if the product sells at $40 before its own payment, fulfillment, discount, return, and overhead costs.

If the retailer target rises to 55%, the ceiling falls to $40 × (1 − 0.55) = $18. The retailer is asking to buy at a lower price to preserve more gross profit at the same MSRP. If your costs require more than $18, the two targets do not currently overlap. Possible responses include reducing landed cost, changing the MSRP with market validation, reducing fulfillment or order costs, negotiating a different target, or declining the terms. Do not hide the gap by switching from margin to markup terminology.

MSRP is a suggested consumer price, not proof that customers will pay it. The actual retail price may be discounted, and any resale pricing policy needs appropriate legal review in the relevant market. Model a realistic selling price when promotions are common rather than assuming every unit sells at MSRP.

Calculate your brand's minimum wholesale price

First build a complete cost per wholesale unit. Depending on your operation, this can include factory cost, inbound freight, duty, insurance, packaging, inspection, and any other cost assigned to the unit. Add wholesale pick-and-pack or other per-unit fulfillment costs separately if they are not already in the landed cost. A fixed order fee can be allocated across the minimum order quantity, but the result changes if actual orders are smaller or larger.

For a target contribution margin, the price floor is:

Minimum wholesale price = (unit cost + per-unit fulfillment + fixed order fee ÷ MOQ) ÷ (1 − variable fee rate − target brand margin).

This form assumes that the variable fee is a percentage of wholesale revenue and that the listed non-percentage costs stay fixed per unit or are allocated across MOQ as shown. The denominator must be greater than zero. It excludes costs not entered, such as sales commissions, financing, taxes, chargebacks, unplanned discounts, overhead, and demand effects. The result is an order-economics floor, not company net profit.

Worked example: check both sides of the deal

Suppose landed unit cost is $12, wholesale fulfillment is $1 per unit, fixed order fees are $0 for this simplified example, target brand contribution margin is 30%, MSRP is $40, and the retailer target margin is 50%. No variable wholesale fee is entered.

The brand floor is ($12 + $1) ÷ (1 − 0.30) = $13 ÷ 0.70 = $18.57. The retailer ceiling is $40 × (1 − 0.50) = $20.00. The feasible interval is therefore approximately $18.57 to $20.00, before costs or terms omitted from the model.

At a proposed wholesale price of $19.50, brand contribution is $19.50 − $12 − $1 = $6.50 per unit, or $6.50 ÷ $19.50 = 33.3%. Retailer gross profit at a $40 sale is $40 − $19.50 = $20.50, and retailer gross margin is $20.50 ÷ $40 = 51.25%. An MOQ of 12 gives $19.50 × 12 = $234 in wholesale order value, before taxes and payment terms not entered.

If the retailer instead requires a 55% margin, its $18 ceiling is below the brand's $18.57 floor. That is a clear feasibility conflict. A larger MOQ only helps if fixed order costs are material; it will not fix a unit-cost gap by itself.

When keystone pricing works—and when it fails

Keystone pricing doubles wholesale cost to suggest a retail price. A $20 cost doubled to $40 gives the retailer a 50% gross margin and 100% markup. The arithmetic does not account for category, demand, promotions, shipping, payment costs, returns, or the brand's target margin.

Doubling product cost does not guarantee a 50% brand contribution margin; fulfillment, variable fees, and order costs reduce the remainder. Treat keystone as a reference and compare it with both price limits.

Include MOQ and payment terms in the quote

MOQ affects the order's total value and how fixed costs are spread across units. It does not automatically make each unit more profitable: the proposed price and variable costs still determine unit contribution. A retailer may also accept an MOQ but ask for free freight, a launch discount, samples, or longer payment terms. Model those concessions explicitly or record them as costs outside the calculator.

Write down whether prices are per unit, case, or order; which party pays freight; whether taxes are excluded; when payment is due; and how returns, samples, and promotional allowances are handled. A “50% retailer margin” based on MSRP can overstate realized margin if the retailer regularly sells below MSRP. Compare against the expected promotional price.

Review pricing when costs or terms change

Recalculate when unit cost, freight, duty, retailer margin targets, or fulfillment terms change. Keep the cost date and currency with the quote. For cross-border goods, use one landed-cost basis and do not add freight twice.

Recheck the brand floor and retailer ceiling in the wholesale price feasibility model when costs or terms change. It cannot estimate sell-through, retailer operating expenses, price elasticity, or future FX rates. Validate MSRP and order assumptions with market evidence and actual terms.

Common wholesale pricing mistakes

  • Confusing markup with margin or using MSRP when expected retail price is lower.
  • Excluding inbound freight, duty, packaging, fulfillment, or other costs.
  • Calling a partial-cost contribution figure “net profit.”
  • Allocating fixed fees across an MOQ the buyer may not order, or forgetting concessions and payment terms.
  • Assuming keystone pricing works in every category or market.

FAQs

What is the wholesale pricing formula?

There is no single formula for every deal. A cost-and-target-margin floor can be calculated as (unit cost plus per-unit fulfillment and allocated fixed fees) divided by (1 minus variable fee rate and target brand contribution margin). Also check that this floor is no higher than the retailer's maximum price for its margin target.

What is the margin formula in retail?

Retail gross margin is (retail selling price minus wholesale purchase cost) divided by retail selling price. The denominator is the selling price, not the purchase cost; using cost in the denominator calculates markup.

Is a 50% retail margin the same as a 50% markup?

No. If a retailer buys for $20 and sells for $40, its gross margin is 50%, while its markup is 100%. The percentage changes because each formula uses a different denominator.

What if my wholesale floor is higher than the retailer's ceiling?

The current cost and margin targets do not overlap. Recheck costs and terms, test a market-supported MSRP, discuss a different margin target, or do not accept the deal as proposed. A higher MOQ only resolves the gap when fixed order costs are a meaningful cause.