Skip to content
Home

Kilobyte: definition, history, and usage in computing

Kilobyte (kB) is a unit for digital information roughly equal to one thousand bytes; historically used for 1024 bytes as well. This article explains definitions, causes of ambiguity, examples, and notation.

The kilobyte is a unit of digital information commonly used to express the size of computer files and memory. In everyday contexts it denotes a quantity of bytes, and it sits between the smaller byte and larger units such as the megabyte. Because computing mixes decimal and binary groupings, the exact numeric value attached to the name "kilobyte" depends on convention.

Image gallery

1 Image

Definitions and common values

Two conventions are in widespread use:

  • Decimal (SI) definition: one kilobyte = 1,000 bytes. This follows the International System of Units where the prefix kilo- means one thousand. Storage device manufacturers usually use this definition to advertise capacity. See decimal kilobyte.
  • Binary (historical computing) definition: one kilobyte often meant 1,024 bytes because 1,024 is 210, a convenient power of two in binary addressing. When the distinction matters, the binary quantity is now properly called a kibibyte (abbreviated KiB). The IEC recommends using kibibyte for 1,024 bytes.

Origins of the ambiguity

Early computer memory and file-size displays frequently used powers of two, so 1,024 bytes became a practical block size and was labeled "kilobyte" by many engineers and software systems. As the storage industry and international standards adopted SI prefixes for marketing and interoperability, manufacturers reported capacities in decimal units (thousands), which produces apparent discrepancies between advertised drive sizes and the values a computer operating system reports. Technical bodies later introduced distinct binary prefixes to reduce confusion.

Notation, examples and practical impact

Notation varies: kB, KB, and kbyte have been used informally for kilobyte, while KiB denotes kibibyte (1,024 bytes). Because of the two systems, a file listed as 1,000 kB in one place may be shown as about 976 KiB in another. Small text files, simple configuration files, or short emails are often on the order of a few kilobytes; larger documents, images, or MP3 clips are measured in kilobytes to several megabytes depending on content and compression.

Relation to larger units and distinctions

  • In decimal terms, 1,000 kilobytes = 1 megabyte (MB). See megabyte for the next unit.
  • In binary terms, 1,024 kibibytes = 1 mebibyte (MiB), the binary equivalent of a megabyte.
  • For accurate technical communication, use KiB, MiB, GiB for binary-based quantities and kB, MB, GB for decimal-based quantities as recommended by standards bodies; the practical usage in software and marketing still varies.

For general users, the practical advice is to be aware that storage vendors typically quote decimal sizes while many operating systems and some applications historically reported binary-based sizes. If precise capacity or conversion is important, state whether you are using decimal (powers of 10) or binary (powers of 2) units to avoid confusion. For more background on storage sizing and units, consult sources on storage units and standards at the IEC and related organizations.

Related articles

Author

AlegsaOnline.com Kilobyte: definition, history, and usage in computing

URL: https://en.alegsaonline.com/art/53426

Share

Sources