Mac OS X 10.6 get this right and calculate in true KB, MB and GB that is 10^3, 10^6, and 10^9 bytes. I heard that Linux also get this right and now use the KiB, MiB and GiB prefixes for 2^10, 2^20, 2^30. Both options are good.
My point is it's a mess and it's unreasonable to claim proper rules are followed.
E.g. how do you measure hosting bandwidth? A random calculator (http://www.ibdhost.com/help/bandwidth/) says:
1KB = 1024B; therefore, 500MB = 512000KB = 524288000B .. and .. 1GB = 1048576000B
In "du" and "df", there is "-h" for powers of 2 and "--si" for powers of 10.