Kilobyte Explained

The kilobyte is a multiple of the unit byte for digital information.

The International System of Units (SI) defines the prefix kilo as a multiplication factor of 1000 (103); therefore, one kilobyte is 1000 bytes.[1] The internationally recommended unit symbol for the kilobyte is kB.

In some areas of information technology, particularly in reference to random-access memory capacity, kilobyte instead typically refers to 1024 (210) bytes. This arises from the prevalence of sizes that are powers of two in modern digital memory architectures, coupled with the coincidence that 210 differs from 103 by less than 2.5%. A kibibyte is 1024 bytes.

Definitions and usage

Decimal (1000 bytes)

In the International System of Units (SI) the metric prefix kilo means 1000 (103); therefore, one kilobyte is 1000 bytes. The unit symbol is kB.

This is the definition recommended by the International Electrotechnical Commission (IEC).[2] This definition, and the related definitions of the prefixes mega, giga, etc., are most commonly used for data transfer rates in computer networks, internal bus, hard drive and flash media transfer speeds, and for the capacities of most storage media, particularly hard disk drives,[3] flash-based storage,[4] and DVDs. It is also consistent with the other uses of the metric prefixes in computing, such as CPU clock speeds or measures of performance.

The international standard IEC 80000-13 uses the term "byte" to mean eight bits (1 B = 8 bit). Therefore, 1 kB = 8000 bit. One thousand kilobytes (1000 kB) is equal to one megabyte (1 MB), where 1 MB is one million bytes.

Binary (1024 bytes)

The term 'kilobyte' has traditionally been used to refer to 1024 bytes (210 B).[5] [6] [7] The usage of the metric prefix kilo for binary multiples arose as a convenience, because 1024 is approximately 1000.[8]

The binary interpretation of metric prefixes is still prominently used by the Microsoft Windows operating system.[9] Binary interpretation is also used for random-access memory capacity, such as main memory and CPU cache size, due to the prevalent binary addressing of memory.

The binary meaning of the kilobyte for 1024 bytes typically uses the symbol KB, with an uppercase letter K. The B is sometimes omitted in informal use. For example, a processor with 65,536 bytes of cache memory might be said to have "64 K" of cache. In this convention, one thousand and twenty-four kilobytes (1024 KB) is equal to one megabyte (1 MB), where 1 MB is 10242 bytes.

In December 1998, the IEC addressed such multiple usages and definitions by creating prefixes such as kibi, mebi, gibi, etc., to unambiguously denote powers of 1024.[10] Thus the kibibyte, symbol KiB, represents 210 bytes = 1024 bytes. These prefixes are now part of IEC 80000-13. The IEC further specified that the kilobyte should only be used to refer to 1000 bytes. The International System of Units restricts the use of the SI prefixes strictly to powers of 10.[11]

Use of term

Data examples

"This is an example of a text which is exactly a kilobyte (kB) large. In this case, this text is 10^3 bytes long, but if you were to add 24 extra characters to this string, it would be 2^10 bytes long, which is used in some fields such as information technology. Each character in this string (which includes the quotation marks at the end, by the way) is exactly one byte long, which is 8 bits. The bit is the fundamental unit of information, which represents a single yes or no. So, one could measure the amount of information in a single letter with 5 bits (because 2^5 is 32, there are 26 letters in the English language), but because we also use other characters, like numbers, capital/lowercase letters, symbols (like $#*&%!`~), spaces, and more. In a computer's memory, these may be represented with some binary string, such as 01010100 (which represents the letter T), usually this is distinguished from one million ten thousand one hundred by appending '0b' to the front, like 0b01010100."

See also

References

Notes and References

  1. International Standard IEC 80000-13 Quantities and Units – Part 13: Information science and technology, International Electrotechnical Commission (2008).
  2. http://physics.nist.gov/cuu/Units/binary.html Prefixes for Binary Multiples
  3. 1977 Disk/Trend Report Rigid Disk Drives, published June 1977
  4. http://apac.sandisk.com/Products/Catalog(1349)-SanDisk_Extreme_Ducati_Edition_USB_Flash_Drive.aspx SanDisk USB Flash Drive
  5. http://www.merriam-webster.com/dictionary/kilobyte Kilobyte – Definition and More from the Free Merriam-Webster Dictionary
  6. http://dictionary.reference.com/browse/kilobyte Kilobyte | Define Kilobyte at Dictionary.com
  7. http://www.askoxford.com/concise_oed/kilobyte?view=uk Definition of kilobyte from Oxford Dictionaries Online
  8. Web site: Prefixes for binary multiples. iec.ch. International Electrotechnical Commission. 1 October 2016. live. https://web.archive.org/web/20160925125914/http://www.iec.ch/si/binary.htm. 25 September 2016.
  9. Web site: Determining Actual Disk Size: Why 1.44 MB Should Be 1.40 MB . Support.microsoft.com . 2003-05-06 . 2014-03-25 . live . https://web.archive.org/web/20140209012305/http://support.microsoft.com/kb/121839 . 2014-02-09 .
  10. Web site: Prefixes for binary multiples. National Institute of Standards and Technology. National Institute of Standards and Technology. live. https://web.archive.org/web/20070808000831/http://physics.nist.gov/cuu/Units/binary.html. 2007-08-08. "In December 1998 the International Electrotechnical Commission (IEC) [...] approved as an IEC International Standard names and symbols for prefixes for binary multiples for use in the fields of data processing and data transmission."
  11. . "The SI prefixes refer strictly to powers of 10. They should not be used to indicate powers of 2 (for example, one kilobit represents 1000 bits and not 1024 bits). The names and symbols for prefixes to be used with powers of 2 are recommended as follows: kibi Ki 210 [...]"
  12. Web site: SA400 minifloppy . Swtpc.com . 2013-08-14 . 2014-03-25 . dead . https://web.archive.org/web/20140527094602/http://www.swtpc.com/mholley/SA400/SA400_Index.htm . 2014-05-27 .
  13. Web site: Archived copy . 2011-06-24 . dead . https://web.archive.org/web/20110608195322/http://www.swtpc.com/mholley/SA400/SA400_Datasheet.pdf . 2011-06-08 .
  14. Web site: Archived copy . 2011-06-24 . dead . https://web.archive.org/web/20110423194129/http://www.bitsavers.org/pdf/dec/disc/rx01/EK-RX01-MM-002_maint_Dec76.pdf . 2011-04-23 .
  15. Web site: How OS X and iOS report storage capacity . Support.apple.com . 2013-07-01 . 2014-03-25 . live . https://web.archive.org/web/20140304015219/http://support.apple.com/kb/TS2419 . 2014-03-04 .
  16. Web site: How Mac OS X reports drive capacity . Apple Inc . 2009-08-27 . 2009-10-16 . live . https://web.archive.org/web/20091222235620/http://support.apple.com/kb/TS2419 . 2009-12-22 .
  17. Web site: Vodafone Ireland. 3G/GPRS data rates. 26 October 2016. live. https://web.archive.org/web/20161026232743/https://www.vodafone.ie/planscosts_bus/data/. 26 October 2016.
  18. Web site: AT&T . Data Measurement Scale . 26 October 2016 .
  19. Web site: Orange Romania. Internet Mobile Access. 26 October 2016. dead. https://web.archive.org/web/20161026234911/https://www.orange.ro/recharge/internet.html. 26 October 2016.
  20. Web site: Telstra. Our Customer Terms. 7. 26 October 2016. live. https://web.archive.org/web/20170410020355/https://www.telstra.com.au/content/dam/tcom/personal/consumer-advice/pdf/intl-roaming.pdf. 10 April 2017.
  21. Web site: Vulgata Clementina. pater noster qui es in cælis sanctificetur nomen tuum adveniat regnum tuum fiat voluntas tua sicut in cælo et in terra panem nostrum supersubstantialem da nobis hodie et dimitte nobis debita nostra sicut et nos dimittimus debitoribus nostris et ne nos inducas in tentationem sed libera nos a malo. 2024-02-29. 2022-12-05. https://web.archive.org/web/20221205102852/https://sacredbible.org/articles/Matthew-Latin3.htm. live.
  22. Web site: The Cask of Amontillado. Edgar Allan. Poe. Project Gutenberg. 2024-02-29. 2024-05-08. https://web.archive.org/web/20240508202014/https://www.gutenberg.org/files/25525/25525-h/25525-h.htm. live.
  23. Web site: Great Expectations. Charles. Dickens. July 1, 1998. Project Gutenberg. February 29, 2024. February 29, 2024. https://web.archive.org/web/20240229212608/https://www.gutenberg.org/ebooks/1400. live.
  24. Web site: Moby Dick; Or, The Whale. Herman. Melville. July 1, 2001. Project Gutenberg. February 29, 2024. February 29, 2024. https://web.archive.org/web/20240229214357/https://www.gutenberg.org/ebooks/2701. live.