How to calculate average while selling

I am having 110 airtel share of average price 497.52 and now I am selling 10 share @422.2.

Now average is displaying as 495.98. How this is calculated?

1 Like

Any updates on this

https://support.zerodha.com/category/q-backoffice/portfolio/articles/why-is-the-buy-average-for-some-shares-i-ve-purchased-incorrect