Sketchup has an addon for gears. Makes life much easier if you're trying to design your own gearbox.