Team 1640 uses
this calculator by our head mentor, which automatically finds the actual correct wrap around each sprocket (or pulley), and finds the closest correct (integer link) distance for any given input. Just put in your 2 tooth counts and a ballpark of what you
want the C-C distance to be, and it'll spit back the true answer.
It's been great for us, though being swerve drive we don't use long chain runs very often. We've never had a C-C chain issue on our swerve modules in 4 years, and we've just shy of 90 matches this year to date. It also works perfectly for timing belts, which we have used over long distances.