Well the speed that the speedometer is read is measured by revolutions the speed sensor in the transmission picks up coming from the output shaft... That is all i know haha but you can use this chart to measure overall diameter between tire sizes!
http://www.miata.net/garage/tirecalc.html