The speedo is driven by a gear in the Transfer Case. When you increase your tyre size, the speedo reading for a given real speed will be affected, because the speedo reading is proportional to the prop shaft revs, not the wheel revs.
The change in percentage terms is: (1 - New diameter/Old diameter) x 100.
So moving from 31" to 32" will give an extra error of 3.2%
You will also get a 3.2% apparent power reduction (the torque from the engine will not alter, but the lower wheel rpm reduces the power achieved from that torque)
You can also use the above formula to calculate the changes when fitting different final drives in the differentials - just substitute ratio for diameter.
So, to restore your speedo to factory value, you want (remember the speedo error is negative, i.e. -13.2%):
4.88 x (1 + 13.2/100) = 5.52