I think this is what you are looking for. Randy's Ring & Pinion. Differential / Gear Ratio Calculator.