Skip to main content

What is average cost (MAC) and how is it calculated?

Average cost (MAC) is what one unit of the stock you hold cost you. Here's how it's worked out, with a verified example.

Your average cost is what one unit of the stock you're holding cost you. You'll see it as MAC, short for moving average cost, at the top of every item's page and in the MAC column of the Inventory list. Brahmin Solutions works it out for you each time stock comes in.

​

How it's worked out

Each time stock arrives, Brahmin Solutions adds what the new units cost to what the units you already hold cost, and divides by how many you now have.

​

You have 100 spoon rests that cost $5.00 each, worth $500.00. One more arrives that cost $30.00.

​

It's tempting to think the answer sits halfway between $5.00 and $30.00, at $17.50. It doesn't. The $30.00 unit is one out of 101:

​

(100 × $5.00 + 1 × $30.00) ÷ 101 = $530.00 ÷ 101 = $5.25

​

Your cost barely moves, because almost everything you hold is still the $5.00 stock. A big delivery moves the average a lot; a small one moves it a little, however expensive it was.

​

You may see more decimal places, for example 5.7024793388 for the $5.70 below. That's the same number before rounding.

​

What a delivery's cost includes

The cost that goes into the average is what each unit really cost you to get here:

  • The unit cost on the purchase order line.

  • Freight, duty and other costs added to the order, spread across its items. 10 units at $5.00 with $10.00 of freight come in at $6.00 each.

  • The exchange rate, for an order in another currency. 10 units at €9.20 on an order with a rate of 0.92 come in at $10.00 each. Your average cost is always in your own currency.

​

Here are those four deliveries on one item. After the last one, its average cost is $5.70: $690.00 for 121 units.

​

Delivery

Cost per unit

On hand after

Average cost after

100 at $5.00

$5.00

100

$5.00

1 at $30.00

$30.00

101

$5.25

10 at $5.00, plus $10.00 freight

$6.00

111

$5.32

10 at €9.20, rate 0.92

$10.00

121

$5.70

​

To see each delivery's cost, in the top menu click Inventory, then Inventory, and open the item. Click the Inventory tab, then Expand All. It shows each delivery you still hold stock from, with its cost per unit, freight and exchange rate included.

​

Each delivery with its cost: 10.00, 6.00, 30.00 and 5.00

​

What doesn't change it

Selling and shipping an item doesn't change its average cost: the units leave at the average, so the ones left are worth the same each. Removing stock with an adjustment and moving it between bins don't change it either. Adding stock with an adjustment does, at the cost typed on the adjustment. Why did my item cost change? lists everything that moves it, and what happens when you delete a receipt.

​

One average per warehouse

Each warehouse keeps its own average cost, so check with the right warehouse selected at the top right of the screen.

​

When the number is wrong

If an item was set up with the wrong starting cost or stock came in at zero, you can set the right number yourself. See Correct an item's average cost (MAC).

​

Related articles

Did this answer your question?