How do you know what speedometer cable transmission gear to use?

You haven't found out it takes a 40 tooth gear until you drive it and it's accurate. Maybe it will be right. Maybe it will be a lot closer; and good enough.