Speedo gear chart vs. math...

Think in percentages.
How much percent fast/slow is the gauge compared to real speed?
Add/substract the percentage of teeth on the gear to correct.
Adding teeth slows the speedo down.

Use a gps speedometer to geet the actual speed, and not something from a book, internet site or slideruler.