Item Turnover report

Does anyone use Report 10146 Item Turnover Version 3.70 ? I am trying to verify the average inventory formula but am having no luck. The number of turns and estimated annual turns is easy to follow along with in the code but the average turnover isn’t as easy. Does anyone have an answer on how the average inventory is calculated? Thanks