The gear ratio is equal to the inverse of the speed ratio:
[itex]\frac{Tooth Count 1}{Tooth Count 2} =\frac{Speed 2}{Speed 1}[/itex]
This can be rewritten in any number of fashions. For example:
[itex]ToothCount1*Speed1 = ToothCount2*Speed2[/itex]
Or, rearrange to solve for your unknown. In your case, though, you are given only the two speeds which leaves you with a fraction. You can pick any combination of gears to generate the required fraction.
Let's say you were given an input speed of 500 rpm and an output speed of 250 rpm, then your velocity ratio would be:
[itex]\frac{Speed 2}{Speed 1} = \frac{250 rpm}{500 rpm} = \frac{1}{2}[/itex]
and any combination of gears that resulted in a ratio of 1/2 would give you the required velocity ratio:
[itex]\frac{Tooth Count 1}{Tooth Count 2} =\frac{1}{2} = \frac{20}{40} = \frac{30}{60} = \frac{17}{34} ...[/itex]
For most chain drive systems, there are some general rules that are considered "good practice":
- Use at least a 17-tooth sprocket
- The larger the sprockets, the quieter the drive
- Pair even and odd tooth sprockets to prevent chain-cog matching (which results in excessive wear)