Determine number of blocks in a cache
The common usage is for KB, MB, GB, TB, and so on to denote powers of 2 rather than powers of 10. There are ways to denote powers of 10, but they are infrequently used. See for example the Wikipedia page on kibibyte.