Accounts
What Does Average Costing Mean?
A price set below average cost loses money on every unit sold, even when it is above the latest purchase price. That is why the average cost of each item has to be known before the price list is set.
Average cost, also called weighted average cost or unit cost, is the total cost of the units available divided by the number of units. It applies to purchased inventory and to units manufactured: a retailer calculates it for the stock it buys, a manufacturer for the units it produces, and the average cost formula, worked through below, is the same for both.
At the end of an accounting period to determine the cost of goods in an inventory, the average cost stock valuation method is used. The weighted average cost of all units available for sale is taken to determine the value of cost of goods sold and ending inventory in a company.
Accounting techniques like FIFO, LIFO and AVCO are used in stock valuation to manage stock and inventory finances of a company. They help companies manage cost flow assumptions related to stock and repurchases along with determining the value of available stock. Under IAS 2, the inventory standard applied in Saudi Arabia, only FIFO and weighted average cost are permitted for interchangeable items; LIFO is not allowed (paragraph 25).
When new product is purchased the average cost is recomputed, but the average cost does not change when a product is sold. When buying products average cost price is used when same product is purchased multiple times over a period of time. This is necessary if purchase were of different numbers, as the larger purchases with varying price contribute more to the average.
For example, the mathematical average of SAR 70 and SAR 80 is SAR 75, but if you buy 10 units at SAR 70 and only 1 at SAR 80, the lower priced but larger purchase carries more weight when calculating the average price. The weighted average is (10 × 70 + 1 × 80) ÷ 11 = SAR 70.91, not SAR 75.
How to Calculate Average Cost?
To calculate average cost, the following formula can be used:
Average cost = ((First price × First quantity) + (Second price × Second quantity)) ÷ Total quantity
In order to calculate average cost you multiply each price you paid by the number of products you bought at that price. Then add up all of these results and divide by the total number of products you purchased. Knowing the average price you paid for each product will help you in determining the overall costing of your inventory.
The price used is the full cost of purchase, not only the supplier’s price. IAS 2 includes import duties, transport, handling and other directly attributable costs, deducts trade discounts and rebates, and leaves out taxes the business can recover, such as input VAT (paragraph 11). An item bought at SAR 70 with SAR 4 of freight per unit has a cost of SAR 74.
The average cost formula with a worked example
There are two ways to apply the average cost formula. A periodic average is calculated once, at the end of the month or year, over the opening stock and all purchases of the period. A moving average is recalculated after each purchase, so every sale is costed at the average on the day it happens. IAS 2 allows either, depending on the entity’s circumstances (paragraph 27). Most ERP systems use the moving average, because they post the cost of each sale when it is delivered.
The figures below are hypothetical. An item starts the month with 100 units at SAR 20.00.
| Date | Movement | Quantity | Unit cost (SAR) | Stock quantity | Stock value (SAR) | Average cost (SAR) |
|---|---|---|---|---|---|---|
| 1 March | Opening stock | 100 | 20.00 | 100 | 2,000.00 | 20.00 |
| 5 March | Purchase | 200 | 23.00 | 300 | 6,600.00 | 22.00 |
| 12 March | Sale | 150 | 22.00 | 150 | 3,300.00 | 22.00 |
| 20 March | Purchase | 150 | 24.00 | 300 | 6,900.00 | 23.00 |
| 28 March | Sale | 100 | 23.00 | 200 | 4,600.00 | 23.00 |
After the first purchase, the average is 6,600.00 ÷ 300 = SAR 22.00, and the sale on 12 March is costed at that figure: 150 × 22.00 = SAR 3,300.00. The sale does not change the average. The second purchase adds 3,600.00 to the remaining 3,300.00, giving 6,900.00 ÷ 300 = SAR 23.00. The month’s cost of goods sold is 3,300.00 + 2,300.00 = SAR 5,600.00, and closing stock is SAR 4,600.00.
A periodic average over the same month gives a different split. Total cost available is 2,000.00 + 4,600.00 + 3,600.00 = SAR 10,200.00 for 450 units, an average of SAR 22.67. Cost of goods sold would be 250 × 22.67 = SAR 5,667.50, and closing stock about SAR 4,532.50 after rounding. The total is the same SAR 10,200.00; only the split between sales and stock moves.
The error we see most often is a purchase invoice posted at a price different from the goods receipt, weeks after the goods were sold. If the system does not carry the difference back through the average, the cost of the sales in between stays wrong. Supplier invoices should be matched to receipts promptly, and price differences reviewed before the month is closed.
Using average cost in product pricing
Average cost is the floor for pricing decisions, not the price. A selling price below the current average cost loses money on every unit, before any selling or overhead costs. Many trading companies set a minimum or limit price per item at the average cost plus a margin, so sales staff can discount within a range but not below it.
Two points make the average more useful for pricing.
When purchase prices are rising, the moving average lags behind the latest purchase price, so a margin calculated on the average looks better than the margin on the next replacement. For fast-moving items with rising prices, check the price against the last purchase cost as well.
For a manufacturer, the average unit cost of a production run includes materials, labor and overhead, so the overhead absorbed per unit must be based on normal capacity, as the cost of production guide explains.
The inventory stock valuation guide compares average cost with FIFO and the other methods in more detail.
Average costing in Tranquil
In Tranquil, each item has its own costing method in the item master: Average, FIFO or LIFO. Because IAS 2 does not permit LIFO, companies reporting under IFRS should choose Average or FIFO. Landed cost charges such as freight, duty and insurance can be spread into item cost by price, quantity or equally, so the average includes them. Each unit of measure on an item can carry a limit price, the minimum price sales users may sell at unless they have the right to override it.
The goods receipt posts inventory at cost without VAT against an unbilled purchases account, and the purchase invoice clears it and adds input VAT. The Tranquil inventory page has the details.
Frequently asked questions
What is the average cost formula?
Average cost equals the total cost of the units available divided by the number of units. For several purchases, multiply each price by its quantity, add the results, and divide by the total quantity. Include freight and duty in the cost, and leave out recoverable VAT.
Does a sale change the weighted average cost?
No. Under a moving average, the average is recalculated only when new stock is received at a different cost. A sale removes units at the current average, so the average of the remaining stock stays the same.
Is weighted average cost allowed under IFRS?
Yes. IAS 2 permits FIFO and weighted average cost for items that are interchangeable, and requires the same formula for inventories of a similar nature and use. LIFO is not permitted.
What is the difference between moving average and periodic average?
A moving average is recalculated after every purchase, so each sale is costed on the day it happens. A periodic average is calculated once at the end of the period over all units available. Both are allowed, and they give different splits between cost of sales and closing stock.
