JOBBER OPSWholesale guides

Inventory · Restocking

How to calculate weighted average inventory cost after restocking

By Jobber Ops · Published October 19, 2026 · 5 minute read

Your supplier raises the price, but you still have older stock on the shelf. Which cost should you use for the next sale?

For a wholesaler using moving weighted average cost, the answer combines the value of the units you still have with the cost of the new shipment. Jobber Ops uses this calculation when you record a restock, so the incoming purchase price does not simply replace the cost of every unit already on hand.

Illustration of two inventory batches combining into one stock balance beside a calculator
Old stock and incoming stock contribute to the new average cost. Illustration, not an app screenshot.

The weighted average inventory cost formula

New average unit cost = (remaining stock × current average cost + incoming units × purchase unit cost) ÷ total units after restocking.

Use the stock remaining immediately before the restock—not every unit you have ever purchased. Units already sold are no longer part of the inventory being averaged. Keep your quantities consistent: if you track individual units, convert a case purchase into units and a per-unit cost before entering it.

A simple wholesale restock example

Suppose you have 10 units left at an average cost of $5 each. You purchase 20 more units at $8 each. These are illustrative numbers, not Jobber Ops pricing or an offer for a particular product.

BatchUnitsUnit costInventory value
Remaining stock10$5$50
New restock20$8$160
Combined30$7 average$210

The calculation is ($50 + $160) ÷ 30 = $7 per unit. Averaging just the two prices would give $6.50, which is incorrect here because you bought twice as many units at the higher price.

Worked example: 10 units at $5 equals $50; 20 units at $8 equals $160; $210 divided by 30 units equals $7 per unit
The quantities matter just as much as the purchase prices.

What this means for gross profit

If you sell a unit for $10 after this restock, the example gross profit is $10 − $7 = $3 per unit, before discounts and other expenses. Using the old $5 cost would show $5, overstating that example by $2 per unit.

Gross profit is not the same as net profit or cash available. Payment fees, delivery costs, operating expenses, and other adjustments can affect the final result. The restock preview is a useful check, not a promise of take-home profit.

How to check a restock in Jobber Ops

  1. Open the product’s stock panel and choose Restock.
  2. For a manual restock, enter the date received, incoming quantity, and Purchase / return unit cost USD.
  3. Review Restock cost preview. It shows current stock, incoming stock, stock after restocking, new average unit cost, current selling price, and estimated gross profit per unit.
  4. Check the quantity and unit cost against the supplier invoice, then save the stock record once.
  5. Open Stock history to review the recorded stock and average cost before and after the movement.

The final calculation uses the stock on hand when the entry is saved. The preview states that past orders stay unchanged; a new purchase cost does not rewrite the saved costs of previous sales.

Three mistakes to avoid

If you recorded a duplicate, Jobber Ops has an Undo restock action in stock history with a confirmation. Exact undo is only allowed when later stock activity and other changes do not prevent restoring the original stock and cost. If it is blocked, review the history and the appropriate stock correction rather than repeatedly submitting the undo.

Common questions

Does the latest purchase price become the cost of all stock?

Not under this moving weighted average calculation. The remaining stock value and incoming stock value are combined, then divided by the total units.

What if no stock remains before I restock?

With zero units on hand, the average for the newly received stock equals its incoming unit cost. For example, 20 units at $8 start with an $8 average cost.

Will backdating a restock recalculate past orders?

No. Jobber Ops states that backdated stock entries do not recalculate past costs. Verify dates and records before relying on a historical report.

Check the cost before your next sale

Restocking is more than adding a quantity. Reviewing the new average cost helps you understand the product cost behind your next order.

Explore Jobber Ops