How do you calculate the rotational latency of a hard drive?

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


Solution 1:

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

Or, in other words:

30000 / RPM

Result in ms.