Weighted Average Cost Calculator

Calculate inventory cost using the weighted average method. Divide total cost by total units for a blended cost per unit across all purchases.

units
$
units
$
units
$
units
Weighted Average Cost
$11.20
per unit
COGS (WAC)
$1,344.00
Ending Inventory Value
$1,456.00
Ending Inventory Units
130
Planning notes, formulas, and examples

About the Weighted Average Cost Calculator

The Weighted Average Cost (WAC) method calculates a single blended cost per unit by dividing the total cost of goods available for sale by the total number of units available. This average cost is then applied to both COGS and ending inventory, eliminating the need to track individual cost layers.

WAC is popular because of its simplicity and is accepted under both US GAAP and IFRS. It smooths out price fluctuations, providing a stable cost per unit that avoids the extremes of FIFO (low COGS in inflation) and LIFO (high COGS in inflation).

This calculator lets you enter multiple purchase lots and units sold. It computes the weighted average cost per unit, COGS, and ending inventory value รขโ‚ฌโ€ saving time compared to working by hand.

Use the result to compare operating scenarios, pressure-test assumptions, and rerun the model when volumes, rates, or service targets change.

When This Page Helps

WAC is the simplest costing method to administer. It requires no tracking of individual cost layers and produces results that fall between FIFO and LIFO. This calculator quickly produces the blended cost per unit, COGS, and ending inventory from your purchase data.

How to Use the Inputs

  1. Enter the quantity and unit cost for each purchase lot (up to three lots).
  2. Enter the total number of units sold during the period.
  3. Review the weighted average cost per unit.
  4. Check the COGS based on the average cost.
  5. Check the ending inventory value.
  6. Use the results for journal entries or financial statement preparation.
Formula used
WAC = Total Cost of Goods Available / Total Units Available COGS = Units Sold ร— WAC Ending Inventory = Remaining Units ร— WAC

Example Calculation

Result: WAC = $11.20/unit; COGS = $1,344

Total cost = (100 ร— $10) + (150 ร— $12) = $1,000 + $1,800 = $2,800. Total units = 250. WAC = $2,800 / 250 = $11.20. COGS = 120 ร— $11.20 = $1,344. Ending inventory = 130 ร— $11.20 = $1,456.

Tips & Best Practices

  • Recalculate the weighted average after every new purchase for perpetual systems.
  • WAC produces results between FIFO and LIFO, making it a moderate choice for financial reporting.
  • WAC is easiest to maintain and reduces bookkeeping complexity for high-volume businesses.
  • Be aware that WAC smooths out cost spikes, which may mask price trends you need to track.
  • WAC is accepted under both US GAAP and IFRS, making it suitable for multinational companies.
  • Compare WAC results to FIFO periodically to understand the impact on reported income.

Periodic vs Perpetual WAC

In a periodic system, WAC is calculated once at the end of the period using all purchases. In a perpetual system, the average is recalculated after each purchase, and COGS is recorded at the running average. Perpetual WAC produces slightly different results than periodic WAC due to the timing of recalculations.

WAC for High-Volume Businesses

Businesses with thousands of transactions and similar-cost items (e.g., commodity goods, fasteners, chemicals) find WAC the most practical method. The administrative simplicity of a single average cost per SKU reduces accounting labor and audit risk.

Comparing WAC to Other Methods

In a rising price environment, WAC COGS falls between FIFO (lowest COGS) and LIFO (highest COGS). This makes WAC a balanced choice that avoids the extreme tax effects of LIFO while providing a more realistic COGS than FIFO.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • The WAC method divides the total cost of all inventory available for sale by the total number of units available. This blended cost per unit is used for both COGS and ending inventory valuation.