i have used Duncan Munro’s gear calculator for a number of years:
https://metal.duncanamps.com/software.php
It knows the standard set of gears and allows you to add any extras you may have.
It knows what combinations will mesh without interference.
It knows what gear trains will fit on the banjo
It allows you to set an acceptable pitch error.