Stock average calculation wrong any one help me

Hello sir
I have brought 10 shares of HUL 1587, next 2 days back HUL price brop again I have buy at 1569 of 10 share. Again I have buy 2share at the price of 1563, again I have buy 2 share at the price of 1560. Totally I have brought 24 share avg price have to show 1575 but it showing 1583 what’s the reason.

Shares I have brought
1587x10
1569x10
1563x2
1560x2


See this, plz advise

Sir
Yesterday average showing wrong. Today quantity showing wrong. What’s going on here.

See below


Supporting team any one reply for this

Dont waste time asking such question. Many people have asked before.