How to figure gear ratios in three speed tranny?

How can I figure what the gear ratio in each gear of a three speed so I can calcute what gears to run? Because I have a few gears that may work by running in second.