Shop Operations

Weighted Average Purchase Cost: A Shop Example

Calculate weighted average purchase cost when batches arrive at different prices. Keep quantities, costs, tax basis and pricing decisions separate.

By Yojika Updated 9 November 2026
Weighted Average Purchase Cost: A Shop Example

Weighted average purchase cost divides the total cost of the units included in the calculation by their total quantity. A larger delivery contributes more weight than a smaller one, so simply averaging the two quoted unit prices can give the wrong answer.

For example, ten units at ₹80 and thirty at ₹100 cost ₹3,800 altogether. Dividing by forty units gives ₹95 per unit, rather than the simple price average of ₹90.

Build the calculation from quantities and costs

Use comparable units and a consistent cost basis. The example below excludes GST and additional charges for clarity. Confirm with your accountant which costs belong in your actual stock valuation and which taxes are recoverable.

ReceiptQuantityUnit costTotal cost
First delivery10 pieces₹80₹800
Second delivery30 pieces₹100₹3,000
Combined40 pieces—₹3,800

Weighted average = (10 × ₹80 + 30 × ₹100) ÷ (10 + 30) = ₹3,800 ÷ 40 = ₹95.

The simple average, (₹80 + ₹100) ÷ 2 = ₹90, treats each quoted price as equally important. That ignores the fact that three times as many units arrived at ₹100.

Include only the stock the method calls for

Be clear whether you are calculating a periodic average or a moving average after each receipt. Under a moving-average approach, stock already sold before the next receipt is not still part of the on-hand quantity to combine.

Suppose twenty pieces remain at a recorded average cost of ₹50, a stock cost of ₹1,000. A new delivery adds ten pieces costing ₹70 each, or ₹700. The combined thirty pieces cost ₹1,700, giving an average of ₹56.666… per piece.

Keep enough precision in the valuation method so rounding unit cost does not lose part of the total stock cost. A displayed ₹56.67 is not permission to replace the original ₹1,700 with thirty times a separately rounded value without considering the accounting method.

Convert boxes to pieces first

If a supplier quotes one carton at ₹1,200 and that carton contains twenty-four sellable pieces, the comparable unit cost is ₹50 per piece before any other included costs. Do that conversion before combining it with a delivery already priced per piece.

A pack-size change deserves particular care. Two products with similar names may contain different quantities and should not be blended as though they were identical units. Preserve item identity and the documented conversion.

The stock register format helps keep quantities and movement references clear. For choosing between current offers, use the separate supplier price comparison guide.

Keep historical cost and replacement price distinct

A weighted average is a cost calculation for the units included. It is not automatically the price of replacing the next unit, nor a recommendation for what a customer should pay.

If your next supplier quote rises, you may review selling prices even while old stock has a lower recorded cost. Conversely, a temporary discount on one delivery does not necessarily justify a permanent shelf-price reduction. Record the pricing decision separately from your valuation records.

For a chosen cost of ₹95 and a 20% target gross margin, the profit margin calculator gives ₹118.75 excluding GST: ₹95 ÷ 0.80. This is a pricing illustration, not a required retail price.

Investigate adjustments before trusting the average

Returns, damaged goods, shortages and inward charges can change the quantities or costs that belong in an actual valuation. Check their supporting documents and treatment rather than adding an arbitrary adjustment to force an expected average.

Negative stock can make a moving-average interpretation especially misleading. Resolve missing receipts, date order and unit errors before drawing a conclusion from the calculation. An arithmetically correct division can still be based on the wrong stock records.

See inventory turnover for another measure that relies on a consistent cost basis. Do not mix a sales-value figure with a cost-valued stock denominator.

Use the example alongside your records

This guide explains the manual formula. It does not claim that every Yojika report uses this exact valuation method or that entering a new price rewrites old purchase documents. Check the report’s definition before treating its output as a weighted-average valuation.

Yojika keeps purchase, sale and item records together for review. Explore features, compare pricing, or try Yojika with sample items before relying on a new workflow.

Frequently asked questions

Why not average the two unit prices? That only works when the quantities are equal. Weight each cost by the quantity it applies to.

Should I use the latest purchase price instead? That answers a different question. Choose the method appropriate to the record or pricing decision.

What if total quantity is zero? There is no meaningful per-unit average. Investigate the stock and movement data instead of dividing by zero.

Try Yojika at your counter

Offline-first GST billing for Indian small shops — automatic CGST/SGST/IGST, invoices in 22 languages, A4 / A5 / thermal printing, and your data on your own PC.

Keep reading

Newsletter

Practical GST & shop-keeping tips, now and then

Occasional, plain-English guides for Indian small shops. No spam, unsubscribe anytime.