Question: If you know the RPM, then how do you calculate the rotational latency?

Answer: (1 / (RPM / 60)) * 0.5 * 1000

Or, in other words:

30000 / RPM

Result in ms.