Back to Glossary

Entry · Accounting

Weighted Average Cost Method

The weighted average cost method values inventory by blending the cost of everything available for sale into a single average cost per unit. That average is then used for both the goods sold and the goods still on the shelf.

It smooths out price swings instead of tracking which specific batch went out of the door.

What it means

When a business buys the same item several times at different prices, it needs a rule for deciding what a unit sold actually cost. The weighted average method adds up the total cost of all units available for sale and divides by the number of units.

Every unit is then treated as having cost that same blended figure. This matters because the choice of costing method changes reported profit and the inventory figure on the balance sheet without a single physical item moving.

When prices are rising, weighted average produces a cost of sales between what first in first out and last in first out would give, so reported profit lands in the middle too. Accounting rules permit the method, but it must be applied consistently from period to period.

In practice it is the default for businesses selling identical, interchangeable units such as fuel, chemicals, grain, cement or standard fasteners. Almost every inventory module in modern accounting software offers it, and many use a moving average that recalculates the unit cost after each purchase rather than once a period.

The periodic version calculates a single average at the end of the month or year. The main appeal is administrative.

You do not need to track individual batches through the warehouse, which removes an enormous amount of record-keeping and argument, and it makes reported margins less jumpy when supplier prices move around. The trade-off is that the average lags reality.

If input prices are climbing quickly, the average cost of sales understates what it would cost to replace those goods today, which flatters margins and can quietly lead to underpricing. Businesses in volatile input markets usually watch replacement cost alongside the book figure for exactly this reason.

In practice

Real-world examples.

1

Example

A fuel distributor buys diesel at three different prices in a single month as the market moves. Tracking which litre came from which delivery is impossible once the tanks are mixed, so weighted average cost is the only sensible basis for valuing the closing stock.

2

Example

An electronics assembler holds thousands of identical resistors bought across dozens of purchase orders. Its accounting system runs a moving average, recalculating the unit cost with every receipt, so a job card issued today is costed at the blended rate rather than at whichever delivery happens to be nearest the door.

3

Example

A coffee roaster sees green bean prices rise 30% over six months. Weighted average cost of sales rises gradually rather than jumping, which keeps reported margins stable but leads the sales team to quote from stale costs until finance flags the gap against replacement price.

Think of it

Weighted average costing is like calculating your average grade across all tests. Some scores are higher, some lower, but the average represents overall performance.

Formula

Calculation

Weighted average cost per unit = total cost of goods available for sale / total units available for sale Cost of goods sold = units sold x weighted average cost per unit A fastener distributor has the following activity in a month: Opening stock: 200 units at $10 = $2,000 Purchase 1: 300 units at $12 = $3,600 Purchase 2: 500 units at $14 = $7,000 Total available: 1,000 units costing $2,000 + $3,600 + $7,000 = $12,600 Weighted average cost = $12,600 / 1,000 = $12.60 per unit The business sells 700 units, so cost of goods sold = 700 x $12.60 = $8,820. Closing inventory is 300 x $12.60 = $3,780. The two figures add back to $8,820 + $3,780 = $12,600, which is the check that the calculation balances against the cost of goods available for sale.

Case study

Seen in the real world.

Consider Larkfield Plastics, a fictional company used here purely as an illustration. It moulded a single grade of container and bought polymer resin every few weeks at whatever the market offered, which over one year ranged from $1.80 to $2.60 a kilogram. The finance team originally costed each production run at the price of the most recent delivery, so quoted margins swung between 18% and 34% depending on when a customer asked.

Moving to the weighted average cost method produced a blended resin cost of $2.15 per kilogram across the year and a steady quoted margin near 26%. Sales stopped losing work through erratic pricing, and month-to-month profit became readable rather than noisy.

The illustrative catch appeared in the following year. Resin climbed steadily to $2.90 while the weighted average sat at $2.40, so every quote was priced from a cost the company could no longer buy at. Larkfield kept the weighted average for the accounts, as it should, but added a replacement-cost column to the quoting sheet so that pricing decisions used today's number instead of last quarter's.

Watch out

Common mistakes.

  • Averaging the purchase prices rather than weighting them by quantity. Averaging $10, $12 and $14 gives $12.00, but weighting by the 200, 300 and 500 units actually bought gives $12.60, and only the second figure is correct.
  • Using the accounting average as the basis for quoting prices in a rising market. The book average is deliberately backward looking, so pricing from it erodes margin every time costs move up.
  • Switching methods between periods to smooth reported results. Consistency is an accounting requirement, and any genuine change has to be disclosed and applied to the comparative figures.

Questions

People also ask.

Is weighted average allowed under international accounting standards?

Yes, both weighted average and first in first out are permitted, provided the chosen method is applied consistently to inventories of a similar nature.

What is the difference between periodic and perpetual weighted average?

Periodic calculates one average at the end of the reporting period, while perpetual, or moving average, recalculates the unit cost after every purchase.

Which method gives the highest profit when costs are rising?

First in first out generally reports the highest profit, last in first out the lowest, and weighted average sits between the two.

From the founder's library

Accounting Fundamentals: A Non-Finance Manager's Guide to Finance and Accounting, by Shihan Sheriff

Take it further with the book.

Build your financial confidence beyond this definition. Shihan's full-length guide, Accounting Fundamentals, takes the same plain-English approach and turns it into a complete, practical playbook for non-finance managers, business owners and students - with chapter-end quiz answers and presentation slides included.

US$2.24US$2.99

25% off with code MMHQ25, applied at checkout. Priced in USD - checkout may show the equivalent in your local currency.

View the book and save 25%
Last updated · September 8, 2026
Browse all terms →

Disclaimer

The information provided in this finance dictionary is for educational and informational purposes only. It should not be construed as financial, investment, legal, or tax advice. Always consult with a qualified professional before making any financial decisions. Money Master HQ makes no representations or warranties about the accuracy, completeness, or suitability of this information. Use of this content is at your own risk.