SKULabs can average an item's cost automatically when you receive purchase orders. When you receive an item on a PO, its cost becomes a weighted average of:
The item's current on-hand quantity and current cost.
The quantity received and the item's rate on the PO.
Turn it on
Go to Settings > Inventory > Settings and check Average stock cost when purchase orders lines are received.
The cost averaging setting
The Exclude FBA stock for cost averaging option next to it leaves FBA stock out of the on-hand quantity used in the average. FBA stock is left out unless you uncheck it.
Requirements
Make sure every item starts with the correct cost.
Make sure the PO has the correct rate when you receive it.
Formula
average cost = ((current cost × on-hand quantity) + (PO rate × received quantity)) ÷ (on-hand quantity + received quantity)

