Just try and use your ears. I always put a 150/200 hz lowpass on my master while mixing the kick and bass and trying to get the sidechain's release perfect. Also for sidechaining to the kick, I always have an attack time of 0 seconds and the ratio is at the max ratio. (30:1 or something). Then I mess around with the threshold and the release.
So far I've been playing it by ear to hear when exactly my kick gets muffled by the bass being released, anywhere from like 4.11ms to 6ish is the closest I can really come give or take like 1.5ms in either direction.
My ratio is set at 5:1 right now, attack of course at 0, and I've kept the release at 4.85ms.
It definitely sounds decent so I can't complain, just looking for some possible math that may help make it even better