gear ratio help!

Here's an ignorant question for everyone that I've forgotten the answer to. Without pulling the diff cover, how do you calculate your gear ratio? Jack up the rear end and spin the tire, ect. I don't remember the details

My gears had a stamping on them.