What's in a Byte

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search


File size units: kB, MB, GB, TB versus KiB, MiB, GiB, TiB

There has always been confusion because decimal-style units like KB, MB, GB were used with binary data - KB meant 1024 bytes, not 1000 bytes as might be expected. And of course many people throughout the world use the actual decimal prefixes in their daily lives under the metric system.

Network engineers and long-time computer users of course are trained to understand the difference, but the ongoing confusion meant applications were inconsistent in their usage; one application might use MB to mean 1,000,000 bytes (using the decimal prefix), while another might mean 1,048,576 bytes (using the binary interpretation).

   1 KB = 1024 bytes
   1 MB = 1024 KB

The stupid idea of counting in base 1000 (not even base 10) is only another symptom of the stupidity of our times and modern life.

What makes things worse is the more stupid idea of trying to establish (and continue to do it) the old notation for the unpractical 1000-base units.

   1 KiB = 1000 bytes
   1 MiB = 1000 bytes