Speedo gear?!

So how do you figure out what speedo gear would be accurate in your car?