Mon, Nov 30, 2026 · US edition
BizOwnerEdge
This weekLATEST
Home/Glossary/Article
Glossary

What Is Weighted Average Cost? Value Stock When Prices Change

Share
Weighted average cost: woman in uniform organizing inventory in a warehouse aisle with labeled bins
Data sources: IRS · Researched by Cata · How we research
Quick answer Weighted average cost is an inventory valuation method that gives every unit the same average cost, found by dividing total cost of goods available by total units available. It smooths price swings, so cost of goods sold and ending inventory move less when purchase prices change.
Weighted average cost explained: Inventory cost averaged across every unit you bought

How an average price is built from different purchase prices

You bought the same item three times this year at three different prices, and now a customer buys one. Which price do you record as the cost? Weighted average cost says: use the average of all of them.

The calculation weights each purchase by how many units it covered. Add the total dollars spent and divide by the total units on hand, including any opening stock. A big cheap purchase pulls the average down more than a small one does.

There are two versions. In a periodic system, you calculate one average for the whole period at the end. In a perpetual system, you recalculate the average each time you buy more stock. Software usually handles the second, and the numbers can differ a little.

The method is simple and works well when units are interchangeable, such as fasteners, grain or bulk supplies. It is less natural for one-of-a-kind items, where tracking each unit makes more sense.

Example: two purchases and a sale

This is an illustration. You start by buying 100 units at $10 each, which costs $1,000. Later you buy 300 units at $12 each, which costs $3,600.

Total available: 100 + 300 = 400 units, costing $1,000 + $3,600 = $4,600. Weighted average cost = $4,600 / 400 = $11.50 per unit.

You sell 250 units. Cost of goods sold = 250 x $11.50 = $2,875. Ending inventory = 150 x $11.50 = $1,725. Check: $2,875 + $1,725 = $4,600.

Under FIFO, you would assign the oldest costs first: 100 x $10 plus 150 x $12 = $1,000 + $1,800 = $2,800 of cost of goods sold. The two methods differ by $75 on this sale.

Weighted average cost vs FIFO

QuestionWeighted averageFIFO
How is cost assigned?One average price for all unitsOldest purchases are sold first
When prices riseCost of goods sold lands between FIFO and the newest costLower cost of goods sold and higher profit
Record keepingSimple, one numberTracks each purchase layer

A point many guides skip: the average moves with every purchase in a perpetual system, so a late big buy at a high price changes the cost of the next sale immediately. In a periodic system, the same buy changes the cost of sales made earlier in the period. If your numbers look odd, check which version your software uses before you blame the arithmetic.

Also remember that the method only affects how cost is split between sales and ending stock. Your total spend is the same either way.

Weighted average is also forgiving about record keeping. You do not have to track which purchase each unit came from, which suits bulk goods that get mixed together in bins. If your stock is easy to tell apart by purchase date, such as serial numbered equipment, a specific cost method may fit better, so ask your accountant which fits your products.

Cata’s tip Pick the method with your accountant before the first sale of the year, then stay with it. Changing methods later is not a casual switch and can require IRS approval. If your prices swing a lot and you want steady margins, weighted average is a calm choice, but ask which method fits your books and taxes.

Mistakes that skew weighted average cost

  • Averaging prices instead of weighting. A simple average of $10 and $12 ignores that you bought more at one price.
  • Forgetting opening inventory. Last period stock belongs in the average.
  • Leaving out freight. Shipping to get the goods in is part of the cost of the units.
  • Switching methods without approval. The IRS expects consistency, and a change needs proper handling.
  • Mixing periodic and perpetual. They can produce slightly different numbers, so choose one.

Questions

How do you calculate weighted average cost?

Divide the total cost of all units available by the total number of units available, including opening inventory.

Is weighted average cost allowed for taxes?

It is a generally accepted inventory method, but you must apply it consistently. Check IRS guidance or ask your tax professional.

Is weighted average better than FIFO?

Neither is better in every case. Weighted average smooths prices, while FIFO tracks purchase layers more closely.

Related on BizOwnerEdge

Sources

Found this useful?BizOwnerEdge is free and independent. If this guide helped, you can support our work.
☕ Buy us a coffee
Please note: This article is for general information only and is not legal, tax, accounting or financial advice. See our full disclaimer.

Found this useful? Keep it handy.

Save it to your reading list, bookmark BizOwnerEdge, or send it to someone who could use it.

Cata, author and researcher at BizOwnerEdge
Written and researched by Cata · Finance and Banking graduate (European university)
Cata runs BizOwnerEdge independently, next to a full-time job, to make money topics easier to understand. Every guide is checked against official sources (regulators and government agencies), dated, and reviewed again when the rules change. Cata is not a licensed US financial, legal, tax or insurance advisor, and this is general educational information, not advice, and not paid or sponsored content. For decisions about your own situation, talk to a licensed professional. About Cata · How I research · Report an error

More on this topic

Keep BizOwnerEdge one tap away

Running the books, the payroll or the next promotion? Bookmark BizOwnerEdge, add it to your home screen, or send a guide to a fellow owner.

Independent. We do not sell software, filings or business services, and no vendor pays to be named in our guides.
Sourced. Tax, payroll and licensing figures come from the IRS, the SBA and the Department of Labor, each with the date we checked it. See our editorial policy.
Private tools. Tax, pricing and payroll calculators run in your browser. We never see your revenue, your payroll or your customer list.
Transparent ads. Ads are labeled and kept apart from our recommendations, and no advertiser approves what we write about their market. How we make money.