Quantum Fountains

Home › Free tools › Average cost stock valuation calculator

Free tool · Business

Average cost stock valuation calculator

List receipts and issues in order: in, quantity, unit cost; out, quantity.

Try it

in, quantity, unit cost or out, quantity

Result

What this tool works out

With the moving average method, every receipt recalculates the average cost: old stock value plus new value, divided by the new quantity. Issues leave at the current average. The cost of goods issued is the quantities times those averages.

Formula: New average = (old value + received value) / (old quantity + received quantity)

It runs on your device. Nothing you type is sent to us. It is a guide: check figures that matter with KRA, SHA, NSSF or your adviser.

A worked example

Start with these figures:

  • Opening quantity: 100
  • Opening unit cost (KES): 50
  • Movements, one per line: in, 50, 60; out, 40; in, 100, 55; out, 120

Result: Closing stock value is KES 4,871.43.

Closing quantity
90.00
Average cost
KES 54.13
Closing stock value
KES 4,871.43
Cost of goods issued
KES 8,628.57

How it is worked out:

  1. After each receipt: new average = (old value + new value) / new quantity.
  2. Issues leave at the current average and do not change it.
  3. Closing = 90.00 x KES 54.13 = KES 4,871.43

Rates and rules used

ItemRate or ruleSource

Rates as at 3 November 2026. They are kept in one table in the QF ERP payroll and reference data, and a rate we cannot confirm from there is marked for you to check with KRA, SHA or NSSF.

Common questions

What is moving average cost?

An average that updates after each purchase.

Which method does QF ERP use?

Average stock cost, updated with each receipt.

How about FIFO?

FIFO uses the cost of the oldest stock first. Average cost is simpler.

Can I value returns?

Treat a return to stock as a receipt at its original cost.

Run this on your own books with QF ERP

The same rules run inside QF ERP, with approvals, an audit trail and your own records. See it on a call.