Free tools Windows power users keep installed
One-click scans. No signup required.
For inventory accounting, average cost per unit is usually a quantity-weighted average: divide the cost of the inventory available for sale by the number of units available. This guide covers periodic and perpetual moving-average inventory costing. It is not the same as taking a simple arithmetic average of several prices, and it does not cover other meanings of “average cost,” such as investment cost basis or weighted-average cost of capital.
What is the average-cost formula for inventory?
For a periodic weighted-average calculation:
Weighted-average cost per unit = cost of goods available for sale ÷ units available for sale
For a basic inventory pool, cost of goods available generally includes beginning inventory cost plus the costs of purchases included in that pool. Units available are beginning units plus the purchased units. Use consistent units of measure and include only costs that belong to the accounting entity’s defined pool.
Quantity matters because each unit contributes to the average. The equivalent weighted formula is ([Q1 × P1] + [Q2 × P2] + …) ÷ (Q1 + Q2 + …), where Q represents quantity and P represents price. For example, a purchase of 100 units affects the average more than a purchase of 10 units at a different price. This expression is also documented for a particular software inventory model; system-specific settlement behavior should not be assumed to apply to every accounting setup. Microsoft’s weighted-average method documentation explains the quantity-weighted expression.
#1 Best Overall
- Great Value: pack of 2 office calculators, size 7.28 x 5.7 x1.34 In, sufficient quantity can meet your different demands, suitable for all kinds of study and office scenes
- Large Display: 12 digits desk calculator extra large display and large numbers makes it easy to read from afar, the calculator will turn itself off after about 8 minutes of being idle
- Double Power Supply: desktop calculator is powered by solar energy(works only when it is bright) and batteries(not included). Note: if the calculator is applied under low light, please insert one AA batteries (not included) for continuous and accurate use
- Big Button Design: the calculators adopt scientific big button design in line with the use of human habits and comfortable for touch, sturdy plastic keys for long lasting use, bringing you a pleasant experience
- Function Introduction: contains basic functions of add, subtract, multiply, divide, backspace, grand total, CE, %, M+/M-/MRC, On/AC Button, and Auto Power-Off, covers the needs of daily computing
How do you calculate average inventory cost step by step?
- Define the pool. Identify the comparable inventory items, period, and costs that belong in the calculation.
- Add the units available. Combine beginning inventory units with units purchased into the pool.
- Add the cost available. Combine beginning inventory cost with the included purchase costs.
- Divide cost by units. The result is the weighted-average cost per unit.
- Apply that rate. Multiply units sold by the rate to calculate cost of goods sold; multiply units remaining by the rate to value ending inventory.
Keep full precision in intermediate calculations, then apply a consistent rounding convention to displayed or posted amounts. Rounding the unit rate before multiplying can cause a small difference between the original available cost and the total assigned to sold and remaining units.
Worked periodic example
In an OpenStax worked example, goods available for sale cost $16,155 and totaled 585 units. The calculation is:
Rank #2
- Large Display: Our calculator scientific has 2-line display shows entry and calculated result at same time, 10+2-digit widescreen HD display and large numbers makes it easy to read from afar. The clear screen ensures excellent visibility, reducing errors and improving efficiency
- Advanced Scientific Functions: This scientific calculator offers 240 functions, which can easily handle 1 and 2 variable statistical calculations, including percentages, trigonometry, 24 parentheses levels, summation, regressions, fractions, regressions, permutations and combinatorics, etc, to provide you with comprehensive and diverse calculation functions scientific
- Sliding Cover Designed: The high school calculator features an ergonomically designed sliding cover, which can protect the keys and display from damage and dust, the sliding cover provides a comfortable grip. Our scientific calculator uses lightweight materials and is designed for easy carrying
- Power-Saving Design: The algebra calculator is powered by two AAA batteries (Not Included) and features advanced energy saving technology that automatically shuts off after 8 minutes of inactivity. You can also manually turn off the calculator by pressing [SHIFT] and then [AC] button
- Mathematics Helper: In addition to basic addition, subtraction, multiplication, and division, our scientific calculator also has various functions such as algebra, trigonometry, and calculus. Suitable for both basic arithmetic and complex mathematical tasks. It is widely used in middle and high school,college math, science classes, as well as exams, engineering projects, and financial calculations
$16,155 ÷ 585 = $27.6154 per unit, or $27.62 when rounded to cents.
With 285 units remaining, the example reports ending inventory of $7,872 and cost of goods sold of $8,283. These are example results, not industry statistics; the source notes that final values can vary slightly because of rounding. See OpenStax’s periodic inventory example.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Scan for outdated or missing drivers - takes under a minute3Repair Windows errors before they cause bigger problemsRank #3
- Great Value: pack of 4 office calculators, size 5.82 x 4.72 x1.65 In, sufficient quantity can meet your different demands, suitable for all kinds of study and office scenes
- Large Display: 12 digits desk calculator large display and large numbers makes it easy to read from afar, the calculator will turn itself off after about 8 minutes of being idle
- Double Power Supply: desktop calculator is powered by solar energy(works only when it is bright) and batteries(not included). Note: if the calculator is applied under low light, please insert one AA batteries (not included) for continuous and accurate use
- Big Button Design: the calculators adopt scientific big button design in line with the use of human habits and comfortable for touch, sturdy plastic keys for long lasting use, bringing you a pleasant experience
- Function Introduction: contains basic functions of add, subtract, multiply, divide, backspace, grand total, CE, %, M+/M-/MRC, On/AC Button, and Auto Power-Off, covers the needs of daily computing
Periodic average versus perpetual moving average
| Approach | When the average is recalculated | How sales or issues are costed | Allocation effect |
|---|---|---|---|
| Periodic weighted average | Once for the period, using the period’s available cost and units. | Apply the period’s average to units sold and units remaining. | Produces one average for that period’s pool. |
| Perpetual moving average | As inventory receipts occur, using the inventory balance and receipt at that point. | Use the resulting current average for subsequent issues or sales. | Transaction sequence can change the amounts assigned to cost of goods sold and ending inventory. |
IAS 2 allows the average to be calculated periodically or as each additional shipment is received, depending on the entity’s circumstances. The Australian Accounting Standards Board’s published IAS 2 text states this in paragraph 26.
OpenStax’s examples show the effect of timing. In its perpetual example, the average is $27 per unit after the first replenishment and $31.24 after a later purchase; 285 ending units are valued at $8,902. Those figures come from that worked example, not a general benchmark. The periodic and perpetual examples allocate available cost differently between ending inventory and cost of goods sold. See OpenStax’s comparison of the two systems.
Rank #4
Which inventory can use average cost?
The costing formula is subject to the applicable accounting standard and the nature of the inventory. Under the cited IAS 2 text, items that are not ordinarily interchangeable, and goods or services produced and segregated for specific projects, are assigned using specific identification. Other inventory costs are assigned using FIFO or weighted average.
The same cost formula is used for inventories with a similar nature and use. Different formulas may be justified for inventories with a different nature or use; geographic location alone is not a reason to use different formulas. For a reporting decision, check the current standard and jurisdiction that apply to the entity. The AASB’s IAS 2 text sets out these requirements.
Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →Quick Recap
Best Value
Common calculation mistakes
- Taking an unweighted mean when quantities differ. Adding purchase prices and dividing by the number of prices ignores how many units each price represents.
- Mixing unlike units or inventory pools. Make sure the included units and costs refer to the same defined pool.
- Using the wrong timing method. A periodic calculation and a moving average use transactions at different points, so they may yield different allocations.
- Rounding too early. Retain precision through the calculation and use a consistent rounding convention for the final amounts.
- Assuming every “average cost” question means inventory. Investment cost basis, process costing, and weighted-average cost of capital are separate topics with different calculations.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




