How-To

How to Calculate Wholesale Price: Formula, Examples, and Shopify Setup

How to Calculate Wholesale Price: Formula, Examples, and Shopify Setup
Quick answer

To calculate a wholesale price, add up your total cost per unit (materials, labor, packaging, and overhead), then divide that cost by 1 minus your target margin. For example, a $10 unit at a 40 percent margin sells wholesale for $10 / 0.60 = $16.67. Keep the wholesale price low enough that a retailer can still mark it up about 2x to a workable shelf price, but high enough to protect your own profit. Price to a target margin rather than a flat markup, and gate wholesale prices behind an approved login so retail shoppers never see your lowest number.

Key takeaways

  • Wholesale price = cost per unit / (1 minus your target margin); most brands target a 30 to 50 percent margin.
  • Include overhead, packaging, and shipping in cost per unit, not just materials.
  • Price to a margin, not a markup: a 50 percent markup is only a 33 percent margin.
  • Retailers mark up wholesale roughly 2x to 2.5x, so check the resulting shelf price before you commit.
  • Use tiered or volume pricing to reward larger orders, and gate wholesale prices behind login.

In this article

What is a wholesale price?

A wholesale price is the discounted per-unit price you charge business buyers, such as retailers and distributors, who purchase in bulk and resell your product to end customers. It sits below your retail price but comfortably above your cost, so both you and your buyer make a profit on the same item.

The gap matters. Your wholesale price has to cover your total cost and leave you a margin, while still being low enough that a retailer can mark it up to a sensible shelf price and make money too. Get that balance wrong and you either scare off buyers or quietly sell at a loss.

How do you calculate a wholesale price?

The reliable way to calculate a wholesale price is to work up from cost, not down from a competitor's price. There are three steps: total your cost per unit, choose the profit margin you want to keep, then apply the formula.

Layered cost stack showing materials, labor, and overhead building up to a wholesale price
Your wholesale price is built up from every cost per unit, then topped with your target margin.

Step 1: Add up your total cost per unit

Include every cost tied to making one unit, not just materials. A realistic cost per unit covers raw materials, direct labor, packaging, and a share of overhead (rent, utilities, equipment, software). Skipping overhead is the single most common reason a wholesale price looks profitable on paper and loses money in practice.

Step 2: Decide your wholesale margin

Next, decide how much profit you want to keep on each wholesale unit. Most product businesses target a 30 to 50 percent gross margin on wholesale orders. Lower-cost, high-volume goods often run leaner, while premium or handmade products carry more.

Step 3: Apply the wholesale price formula

Once you know your cost and target margin, use this formula:

Wholesale price = Cost per unit ÷ (1 − target margin) Example: a $10 unit at a 40% margin sells wholesale for $10 ÷ 0.60 = $16.67

A quick sanity check used across retail is the keystone method: set the wholesale price at roughly double your cost, then let retailers double it again to reach the shelf price. Keystone is a fast starting point, but the margin formula above is more precise because it locks in the profit you actually want to keep.

Here is how the math looks across a few products at a 40 percent wholesale margin and a 2x retail markup:

ProductCost per unitWholesale price (40% margin)Suggested retail (2x)Your profit per unit
Candle$4.00$6.67$13.34$2.67
T-shirt$8.00$13.33$26.66$5.33
Skincare serum$10.00$16.67$33.34$6.67
Coffee bag$6.00$10.00$20.00$4.00
swipe to see more →

Markup vs margin: the difference that quietly kills profit

Markup and margin are not the same thing, and confusing them is how brands accidentally underprice. Markup is your profit as a percentage of cost. Margin is your profit as a percentage of the selling price. A 50 percent markup on a $10 unit gives a $15 price, but that is only a 33 percent margin, not 50. Always price to a target margin so you know exactly what you keep. For a fuller breakdown, Investopedia has a clear explainer on the difference between margin and markup.

How does wholesale price relate to retail price?

Your wholesale price sets the floor for the retail price. Retailers typically apply a 2x to 2.5x markup on wholesale cost, so if your wholesale price is $16.67, expect a shelf price around $33 to $42. Before you finalize a wholesale price, work the math forward: if the resulting retail price is higher than what shoppers already pay for similar products, your wholesale price is too high and retailers will pass.

This is why a recommended retail price (RRP) helps. Publishing an RRP alongside your wholesale price shows buyers the margin they can expect and keeps pricing consistent across every store that carries you.

Should you offer tiered or volume wholesale pricing?

Most growing brands should. Tiered pricing rewards larger orders with a lower per-unit price, which nudges buyers to order more and improves your cash flow and production planning. The trade-off is a slimmer margin per unit at the top tiers, so set your discounts against real cost savings, not guesswork.

A simple three-tier structure works for most catalogs:

Tiered volume pricing shown as three ascending tiers with larger order quantities earning bigger discounts
Higher order volumes unlock a lower price per unit across each tier.
TierOrder quantityDiscount off base wholesalePrice per unit (from $16.67 base)
Tier 112 to 47 units0%$16.67
Tier 248 to 143 units8%$15.34
Tier 3144+ units15%$14.17
swipe to see more →

Pair tiered pricing with a minimum order quantity so small orders stay worth fulfilling. Our guide on setting minimum order quantities on Shopify walks through sensible MOQs by product type.

Stop pricing wholesale in spreadsheets

PortalSphere sets custom tiered pricing and volume discounts natively in your Shopify store.

Start your free trial

How to set up wholesale pricing on Shopify

Shopify's standard pricing shows one price to everyone, which is a problem the moment you add a wholesale channel. You need business buyers to see their negotiated prices while retail shoppers see the regular price, ideally in the same store. There are three common ways to do it:

  • Discount codes: quick to start, but they expose your wholesale prices to everyone and break down once you have tiers or many accounts.
  • A separate wholesale store: full control, but double the theme, inventory, and admin work.
  • A wholesale app: layers customer-specific pricing, tiers, and gated access onto your existing store without a second storefront.

PortalSphere takes the third route. You assign customers to pricing groups, set tiered and volume pricing per group, and gate wholesale prices behind login so only approved buyers see them. Retail and wholesale run in one store, so you keep one catalog and one inventory count. For the full walkthrough, see our guide on setting up tiered wholesale pricing on Shopify, or explore how PortalSphere handles wholesale selling and management.

Common wholesale pricing mistakes to avoid

Three mistakes come up again and again. First, forgetting overhead and shipping, which turns a healthy-looking margin into a loss. Second, pricing wholesale by simply halving retail without checking the real cost underneath. Third, publishing wholesale prices publicly, which trains retail shoppers to wait for the lower number and undercuts the retailers you are trying to win. Gate wholesale pricing behind an approved login to avoid the last one entirely.

Frequently asked questions

What is a good wholesale margin?

Most product brands aim for a 30 to 50 percent gross margin on wholesale orders. High-volume, low-cost goods often run below that, while premium or handmade products can go higher. The key is pricing to a target margin rather than a flat markup.

How do you calculate wholesale price from retail price?

Retailers usually mark up wholesale cost by 2x to 2.5x, so divide the retail price by 2 to 2.5 for a rough wholesale figure. Then check it against your actual cost per unit to confirm it still leaves you a profit before you commit.

What is the difference between markup and margin?

Markup is profit as a percentage of your cost. Margin is profit as a percentage of the selling price. A 50 percent markup equals only about a 33 percent margin, so always confirm which one you are using before setting prices.

Should wholesale prices be visible on my website?

No. Public wholesale prices let retail shoppers see your lowest number and undercut the retailers who stock you. Gate wholesale pricing behind an approved customer login so only verified business buyers can see it.

Can I offer different wholesale prices to different customers on Shopify?

Yes. With a wholesale app like PortalSphere you can create customer-specific pricing groups, each with its own tiered and volume pricing, all inside your existing Shopify store rather than a separate wholesale site.

Run wholesale pricing without the spreadsheets

PortalSphere adds custom tiered pricing, volume discounts, and gated wholesale access right inside your Shopify store, with free onboarding to set it all up.

Colby Schlechter

COO

Colby Schlechter is the COO of PortalSphere, overseeing operations and working across product, support, and partnerships to help B2B brands scale.