replaced speedometer driven gear with recommended 40 tooth and still not accurate...

Did that last night. Spped is spot on until 25 mph then slowly reads faster than actual speed up from there. Example: 30 mph on gps reads 35mph on speedometer. 70 mph on speedometer reads 57 on gps. The odometer however is SPOT ON. Our highways are one mile apart and the odometer was dead nuts on. I don't know what's going on..
The speedometer itself is not operating correctly. It's not the gear in the transmission.