Jump to content

Average Cost not matching

Go to solution Solved by Yamil,

Recommended Posts

I calculated the average cost as written in Loyverse with one of my items and it is not giving the same number?


Lizano Sauce = 10 stocks and 2.5 dollars cost
Adding new stocks and price = 20 stocks and cost 1.3 dollars

Newcost = (10 * 2.5 + 20 * 1.3) / (10+20)
Newcost = (25 + 26) / 30
Newcost = 51 / 30
Newcost = 1.7

But in the system it shows that the average cost for the Lizano Sauce is 1.81 dollars. What am I doing wrong?

Edited by TNK
Link to comment
Share on other sites

  • Solution

Could you verify if you took into account all stocks of that item?
The value of the StockBefore should be the number of all stocks including the other stores too.

Link to comment
Share on other sites


I have 2 stores and the stocks were 15 and not 10, now it gives me the correct average cost.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

Loyverse Point of Sale





  • Create New...