real easy way to get in the ballpark... assumes typical 26-27" tires:

Take axle ratio. Drop last digit. That's # of teeth needed on speedo pinion!

Rick