Good god! You would think with all the knowledge of using the equation to figure speed that there would be someone out there that would be more entertained on how to fix the speedometer...like me......
What is the year make and model. If its a GM and around 1998 or newer then theres a 90% chance that the Stepper motor that drives the needle is bad because the originals have been superceded by a more dependable version.
Here's a question for you! DOES THE ODOMETER STILL ADVANCE WHILE DRIVING? If so then your speed sensor is working and your problem is in your instrument cluster. If not then most likely your speed sensor (VSS) is bad.(most bolt onto tailshaft of tranny, some fords put them on the rear axle).
If your vehicle is so old that its speedo is cable driven then thats a totally different game.
Well, nobody asked that question!
I learned how to fix the older stuff by building street rods with the old man back in the day, and then for the later model cars in the Guarantee Auto/Nationwise Auto days. I didn't become a total dork until much later in life... and we haven't touched on the tire size equations yet!