Ecommerce operations glossary

What is weighted average cost?

Also called WAC, Average cost, Moving average cost

Weighted average cost is an inventory costing method that gives every unit the same cost: the total cost of all units available divided by the number of units, so prices paid for larger batches count for more. That one figure costs both the units sold in the period and the units left in stock at its end.

Worked example

You hold 300 units bought at $5.00 and receive 100 more at $7.00:

Weighted average cost = total cost ÷ total units = (300 × $5.00 + 100 × $7.00) ÷ 400 = $2,200 ÷ 400 = $5.50 a unit

Then you sell 250 units.

Weighted averageFIFO
COGS on 250 sold250 × $5.50 = $1,375250 × $5.00 = $1,250
150 left in stock150 × $5.50 = $82550 × $5.00 + 100 × $7.00 = $950
Total$2,200$2,200

The total cost is the same. Weighted average moves $125 more of it into this period’s COGS, because the dearer batch is blended into every sale instead of waiting at the back of the queue.

Periodic and moving

The periodic version works out one average for the whole period, after the last receipt, as above.

The moving version, used with perpetual records, recalculates after every receipt. Had the 250 units sold before the $7.00 batch arrived, each would have cost $5.00. The 50 left would then be blended with the new 100: (50 × $5.00 + 100 × $7.00) ÷ 150 = $950 ÷ 150 = $6.33, and that becomes the cost of the next sale.

Weighted average vs FIFO

  • When prices rise, weighted average gives a higher COGS and a lower stock value than FIFO. When they fall, the reverse.
  • It smooths out single expensive or cheap batches, so margins move less from shipment to shipment.
  • FIFO follows the order stock usually leaves the shelf, and its ending stock value sits closer to recent purchase prices.

Which one your books use is an accounting policy that your accountant decides, and changing it later is a policy change with its own disclosure, not a setting to flip mid-year.

More terms: Accounting

Updated · All terms

Ready to see SKU.io in action?

Bring your real numbers and the messy questions — we'll walk the system against an operation like yours, not a slide deck.

Book a Demo

Founder-led demo · 2-day onboarding · no onboarding fees