There are numbers stamped on the pinion shaft where the input yoke is. Sometimes you can clean the end of the shaft if the u-jount is still in, but that should have u-bolts holding the u-joint so just drop it out and get the numbers.
Divide the 2 numbers and you get the ratio.
Divide the 2 numbers and you get the ratio.
