It is easy to calculate exactly the speedometer gear you need but you need to know the axle ratio and the tire size. The previous replies are correct about the importance of using the loaded tire size - also called the rolling diameter. The rolling tire diameter is about 3% smaller than the static (unloaded) diameter.

Tire Dimensions
Tire Upgrades