Back icon

Back to all posts

Blogs

How to Price Wholesale Products: The Margin Math, Worked

A worked example of the margin math behind pricing wholesale products correctly.

5 minutes, 32 seconds

How to Price Wholesale Products: The Margin Math, Worked image
Maja Šenk

By Maja Šenk

Marketing Associate

Published

Quick Answer

Yes, wholesale pricing math starts with your cost of goods, adds your desired margin to reach a wholesale price, then confirms that price leaves the reseller enough room to reach a competitive retail price with their own margin intact. For a product costing $10 to produce, a wholesale price of $20 gives you a 50 percent margin, and if the reseller then prices it at $40 retail, they also retain a 50 percent margin themselves. Wholesale Pricing Discount B2B lets you apply this calculated wholesale price consistently across customer tiers once the math is confirmed.

How to Price a Wholesale Product?

Pricing a wholesale product correctly means working backward from your cost and desired margin to a wholesale rate, then confirming that rate still leaves the reseller enough room to mark up and sell at their own retail price profitably.

Walking through the actual math with real numbers makes this calculation much easier to apply to your own catalog than a general description of the concept alone.

This guide works through the margin math behind wholesale pricing step by step, using concrete numbers you can adapt to your own products.

What Does the Wholesale Margin Calculation Actually Involve?

The calculation starts with your cost of goods sold per unit, then applies your desired margin percentage to reach a wholesale price. From there, you confirm that the resulting wholesale price still allows a reasonable retail markup for the reseller, since a wholesale price set too high leaves the reseller with too little room to price competitively at retail.

Who Needs to Work Through This Margin Math?

  • Merchants setting wholesale pricing for the first time
  • Businesses unsure whether their current wholesale price actually reflects a healthy margin
  • Sellers wanting to confirm resellers have adequate room to mark up to a competitive retail price
  • Distributors wanting a repeatable calculation method for pricing new products
  • Companies wanting to check existing pricing against this math for a sanity check
  • Anyone new to wholesale wanting a concrete, worked example rather than an abstract description

Why Working Through This Math Carefully Matters for Your Business

  • A wholesale price set without this calculation risks too thin a margin for your own business
  • A wholesale price set too high can leave resellers unable to price competitively at retail
  • This math directly connects your margin, the reseller's margin, and the final retail price
  • Getting this right protects profitability at every stage of the supply chain
  • A repeatable calculation method scales to pricing new products consistently
  • This concrete approach avoids pricing decisions based on guesswork or competitor mimicry alone

For a full breakdown of what Shopify includes natively and where it stops, see our comparison of native B2B versus third-party apps.

How to Apply This Margin Math on Shopify

Step 1: Prepare Your Store and Customer Tags

Gather your actual cost of goods sold per unit before running any calculation, since this figure is the foundation the whole worked example depends on.

  • Calculate your true cost of goods sold per unit, including all input costs
  • Decide your desired margin percentage at the wholesale level
  • Confirm customer tags are in place for the tier this pricing will apply to

Step 2: Install and Configure Wholesale Pricing Discount B2B

Install Wholesale Pricing Discount B2B and enter the calculated wholesale price once your margin math confirms it leaves adequate room for both your business and the reseller.

  • Connect the app and set the calculated wholesale price per customer tag
  • Confirm the price reflects your desired margin accurately
  • Set any volume discounts only after confirming the base wholesale price protects margin

Step 3: Create the Pricing or Discount Rules

Build out the specific pricing rule, checking the resulting reseller margin at a typical retail markup to confirm the whole chain remains healthy.

  • Set the calculated wholesale price per customer group
  • Estimate the reseller's likely retail price and resulting margin at a typical markup
  • Adjust the wholesale price if the reseller's estimated margin looks too thin

Step 4: Test With a Tagged Test Customer

Test the calculated pricing with a tagged test account, confirming the wholesale rate displays correctly and matches your worked calculation exactly.

  • Log in as a tagged test account and confirm the calculated wholesale price displays correctly
  • Recheck the math against the live displayed price to confirm no discrepancy
  • Ask Sidekick which customers are in a specific tier group to confirm the calculated pricing applies to the intended accounts

Step 5: Go Live

Once the calculated pricing tests correctly, publish it live and revisit the math periodically as your costs change.

  • Publish the calculated wholesale pricing to your live storefront
  • Revisit the underlying cost and margin calculation periodically
  • Adjust pricing if cost changes shift the math meaningfully

Wholesale Margin Math Examples

Candle Manufacturer (Home goods)
Problem: Set wholesale pricing based on what competitors seemed to charge, without calculating whether that price actually reflected a healthy margin against their own cost of goods.
Setup: Worked through the margin math from actual cost of goods, discovering their existing price left a thinner margin than assumed, then adjusted through Wholesale Pricing Discount B2B.
Result: The corrected wholesale price protected a healthier, calculated margin rather than one based on assumption.

Specialty Ingredient Supplier (Food and beverage)
Problem: Set a wholesale price that left resellers too little room to reach a competitive retail price, resulting in resellers requesting a lower rate.
Setup: Recalculated the wholesale price to leave adequate reseller margin at a typical retail markup, balancing both sides of the calculation.
Result: Resellers accepted the adjusted pricing without further negotiation, since it left them room to price competitively at retail.

Read more case studies for our apps.

Best Practices

  • Calculate true cost of goods sold per unit before setting any wholesale price
  • Apply your desired margin percentage explicitly, not by guessing at a round number
  • Estimate the reseller's likely retail markup and resulting margin
  • Adjust the wholesale price if the reseller's estimated margin looks too thin
  • Recheck the math against the live displayed price after configuration
  • Revisit the calculation periodically as your costs change

Summary

Pricing wholesale products correctly means working through the actual margin math, cost of goods, your desired margin, and the reseller's resulting room to mark up to a competitive retail price, rather than guessing at a number that feels reasonable. Confirming this calculation for a specific product, with real figures, protects margin at every stage of the supply chain from your business through to the reseller's own customer. For more on applying this calculated pricing consistently, see our comparison of native B2B versus third-party apps.

To apply your calculated wholesale price consistently across tiers, try Wholesale Pricing Discount B2B.

Frequently asked questions (FAQs)

How is a wholesale price calculated from cost of goods?

Start with your true cost of goods sold per unit, then apply your desired margin percentage to reach the wholesale price.

Why does the reseller's retail margin matter to a wholesale pricing decision?

If the wholesale price leaves too little room for the reseller to mark up to a competitive retail price, they may struggle to sell the product profitably or request a lower rate.

What is a reasonable wholesale margin to target?

This varies by industry, but a fifty percent margin at wholesale, allowing the reseller a similar margin at retail, is a common reference point worth adjusting for your specific market.

Do I need Shopify Plus to apply calculated wholesale pricing?

No. Native B2B and wholesale apps both work on any paid Shopify plan, so applying a calculated price does not require Plus.

How often should this margin calculation be revisited?

Periodically, especially whenever your cost of goods changes meaningfully enough to affect whether the current wholesale price still reflects your intended margin.

Recommended for you