Gear Ratio

What is proper way to determine EXACT ratio. Thanks for any help.

Count the teeth on the ring gear, count the teeth on the pinion then divide the smaller into the larger number.