5G timming advance to distance conversion

Hello dear human capital, nowadays I’m trying to map the H… timming advance pm counter bins into distance ranges. In LTE this distance calculation was not that complex, in NR looks like there is more than one variable. So does anybody know how to accurately calculate this. In my case the network is TDD 3.5GHz , subspacing = 30khz and no LTE-NR coexistence(I guess this is no DSS, but I may be wrong) . Thanks a lot.