Brahmin Solutions
Inventory Management

Weighted Average Cost Method for Inventory Valuation

Learn the weighted average cost (WAC) method of inventory valuation, including the formula, a worked example, and how WAC compares to FIFO and LIFO.

B
Brahm Meka
Founder & CEO
March 16, 20269 min read
Weighted average cost inventory valuation — balance scale with inventory items and cost calculations

The weighted average cost method (WAC) is an inventory valuation approach that calculates a single average cost per unit by dividing the total cost of goods available for sale by the total number of units in inventory.

To value your inventory using WAC, you combine all unit costs into one blended average and apply it consistently across every item sold or on hand.

Here's the step-by-step process.

What is the weighted average cost method?

When you buy items for inventory, you rarely pay the same price every time. Raw material costs fluctuate, suppliers change their pricing, and you may order in different quantities. The weighted average cost (WAC) method smooths out those price differences by assigning a single blended cost to every unit on hand.

You calculate WAC by dividing the total cost of goods available for sale by the total number of units available. The result is one average cost per unit that you use to value both your ending inventory and your cost of goods sold (COGS).

This method works especially well when your inventory consists of many interchangeable items — think fasteners, chemicals, fabric rolls, or packaging materials — where tracking the cost of each individual unit would be impractical.

Weighted average cost (WAC) formula

The formula is straightforward:

WAC per unit = Cost of goods available for sale ÷ Total units available for sale

Where:

Cost of goods available for sale = Beginning inventory value + Purchases during the period

Total units available for sale = Beginning inventory units + Units purchased during the period

Once you have WAC per unit, you apply it to your ending inventory count and to the number of units sold to get your ending inventory valuation and COGS.

How to calculate the weighted average cost: a worked example

Let's walk through a realistic example. Imagine you manufacture candles, and during January you recorded the following inventory activity:

TransactionUnitsCost per unitTotal cost
Beginning inventory (Jan 1)150$200.00$30,000
Purchase 1 (Jan 10)100$250.00$25,000
Purchase 2 (Jan 18)120$260.00$31,200
Purchase 3 (Jan 25)80$272.50$21,800
Totals450$108,000

During January you sold 275 units, leaving 175 units in ending inventory.

Step 1: Calculate total cost and total units

Total cost of goods available for sale: $30,000 + $25,000 + $31,200 + $21,800 = $108,000

Total units available for sale: 150 + 100 + 120 + 80 = 450 units

Step 2: Calculate WAC per unit

WAC per unit = $108,000 ÷ 450 = $240.00

Step 3: Value ending inventory and COGS

Ending inventory = 175 units × $240.00 = $42,000

COGS = 275 units × $240.00 = $66,000

Notice that $42,000 + $66,000 = $108,000, which matches the total actual cost. That's your sanity check — the numbers should always reconcile.

The weighted average cost method results in inventory representing a value between the oldest and most recent stock units purchased. Similarly, COGS reflects a blended cost rather than the cost of the oldest or newest items specifically.

Want real-time visibility into every SKU? See how Brahmin tracks inventory across all your channels →

Periodic vs. perpetual weighted average: what's the difference?

There are two ways to apply the WAC method, and the one you choose depends on how often you want to recalculate your average cost.

Periodic WACPerpetual WAC
When you recalculateOnce at end of period (month, quarter)After every purchase or sale
ComplexityLower — one calculation per periodHigher — recalculation with each transaction
AccuracyGood for stable pricingBetter for volatile pricing
Best forBusinesses with few transactionsBusinesses with frequent purchases
Software needed?Can be done in a spreadsheetPractically requires inventory management software

Periodic WAC is the method shown in the example above. You gather all purchases for the period, calculate one average, and apply it at period end.

Perpetual WAC recalculates the weighted average cost after every single purchase. If you buy 50 units at $10 on Monday and 30 units at $12 on Wednesday, you'd have a new WAC after each transaction. This is more precise, but it's nearly impossible to do manually if you're processing dozens of transactions per week. Most manufacturing ERP systems handle perpetual WAC automatically.

Comparing WAC with other inventory costing methods

WAC is a solid approach, but it's not the only option. Before you commit, you should understand how it stacks up against FIFO, LIFO, and specific identification.

MethodHow it worksBest forKey limitation
WACAverages all unit costsInterchangeable goods, similar SKUsMasks individual cost fluctuations
FIFOOldest costs assigned to COGS firstPerishable goods, rising pricesCOGS may lag behind current costs
LIFONewest costs assigned to COGS firstInflation hedging, tax deferralNot allowed under IFRS
Specific IDTracks actual cost of each unitUnique, high-value itemsTime-intensive, impractical at scale

FIFO (first-in, first-out)

The FIFO method assumes the first products you bought or produced are the first ones sold. It's a natural fit if you sell perishable goods like food or cosmetics, where older stock should move first.

The downside: when costs are rising, FIFO assigns your older, lower costs to COGS. That means your reported profit looks higher than it might actually be — which can lead to a larger tax bill. For manufacturers tracking raw materials that fluctuate in price, this is worth considering.

LIFO (last-in, first-out)

LIFO records the most recently purchased items as sold first. The older, lower-cost inventory stays on your balance sheet. During inflationary periods, LIFO increases COGS and lowers taxable income — which can be a real advantage.

However, LIFO is only permitted under U.S. GAAP. If you report under IFRS or sell internationally, LIFO isn't an option. The physical flow of your goods also won't match the cost flow, which can be confusing for reporting.

Specific identification method

The specific identification method tracks the actual cost of every individual item. It's highly accurate and works well for businesses selling unique or high-value products — think custom machinery or one-of-a-kind furniture.

For growing manufacturers dealing with hundreds or thousands of interchangeable units, specific identification is usually too time-consuming and resource-intensive to be practical.

What are the advantages of the weighted average method?

The WAC method is popular among manufacturers for several practical reasons.

1. Consistency and simplicity

WAC is the simplest inventory costing method to apply. You don't need to track which batch an item belongs to or what the original purchase price was. Every unit in stock carries the same average cost, which makes valuations straightforward.

Unlike LIFO and FIFO — which require you to maintain layered cost records — WAC uses a single blended figure. That consistency makes it easier to compare financial results period over period.

2. Less record-keeping

Because every unit shares the same cost, you don't need detailed records of each individual purchase batch. This reduces paperwork and simplifies your accounting, especially if you manage inventory across multiple locations.

3. Lower administrative cost

Less record-keeping means less time spent on calculations — whether you're doing them manually or with software. That translates to lower labor costs and fewer opportunities for human error.

Other ways to reduce the cost of managing inventory include automating reorder points, tracking inventory turnover, and using inventory management software that provides real-time stock visibility.

4. Smooths out price volatility

If your raw material prices swing from month to month, WAC prevents any single price spike (or dip) from dramatically affecting your COGS or inventory valuation. The averaging effect creates more stable financial reporting.

Ready to get your inventory under control?

Real-time stock levels, automatic reorder points, and multi-warehouse tracking — all in one place.

Join 300+ manufacturers already using Brahmin

Book a demo

What are the disadvantages of the weighted average method?

WAC isn't ideal for every situation. Here are the main drawbacks to be aware of.

Masks true cost fluctuations

If your inventory prices vary significantly, WAC blends those differences into one number. You might sell a product at a price based on the average cost, not realizing that some of those units actually cost much more. Over time, this can erode margins without the problem being obvious in your reports.

Assumes all units are identical

The method treats every unit as interchangeable. If a supplier releases an upgraded version of a component at a higher price but keeps the same SKU, WAC averages the cost of old and new versions together. That can misrepresent the true value of your newer, more capable inventory.

Not ideal for perishable or date-sensitive goods

If your products have expiration dates or shelf lives, FIFO is usually a better match because it naturally prioritizes moving older stock first. WAC doesn't account for the age of inventory at all.

When should you use the weighted average cost method?

WAC makes the most sense when:

You sell large volumes of similar or identical items

Your purchase prices don't fluctuate dramatically from order to order

You want a simple, consistent valuation method that's easy to maintain

You need a method accepted under both GAAP and IFRS

For example, a manufacturer producing candles, supplements, or packaged snacks — where raw materials are bought in bulk at slightly varying prices — would benefit from WAC's simplicity.

If you sell perishable goods, consider FIFO. If you sell unique, high-value items, consider specific identification. And whichever method you choose, stick with it. Switching inventory valuation methods mid-year creates accounting headaches and can raise red flags during an audit.

Frequently asked questions

What are the benefits of WAC?

The main benefits are simplicity, consistency, and reduced record-keeping. WAC assigns a single average cost to every unit, so you don't need to track individual purchase prices. It also smooths out price fluctuations, which makes your financial reporting more stable from period to period.

What is the difference between periodic and perpetual weighted average?

Periodic WAC calculates the average cost once at the end of a reporting period. Perpetual WAC recalculates after every purchase or sale transaction. Perpetual is more accurate but requires inventory software to manage efficiently.

Can you use the weighted average cost method with IFRS?

Yes. WAC is accepted under both GAAP and IFRS, which makes it a practical choice for manufacturers that operate internationally or may need to comply with either standard.

How is WAC different from FIFO?

FIFO assigns the oldest purchase costs to COGS first, while WAC blends all purchase costs into a single average. During periods of rising prices, FIFO results in lower COGS and higher reported profit, while WAC produces a middle-ground figure.

How Brahmin Solutions can help

Tracking inventory costs manually — especially across multiple raw materials and finished goods — gets complicated fast. Brahmin Solutions is a cloud-based manufacturing platform built for growing manufacturers doing $500K–$50M in revenue. It handles inventory management, MRP, production planning, and lot tracking in one system, so your inventory valuations stay accurate without the spreadsheet headaches.

If you're ready to see how it works for your operation, book a demo.

About the author

Brahm Meka is Founder & CEO at Brahmin Solutions.