Multiple-byte units | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Orders of magnitude of data |
The kilobyte is a multiple of the unit byte for digital information. A kilobyte may refer to either 1000 or 1024 bytes.
The term kibibyte always refers to 1024 bytes, avoiding the ambiguity issues of the kilobyte. [1]
In the International System of Units (SI) the metric prefix kilo means 1,000 (103); therefore, one kilobyte is 1000 bytes. The unit symbol is kB.
This is the definition standardised by the International Electrotechnical Commission (IEC). [2] This definition, and the related definitions of the prefixes mega (1,000,000), giga (1,000,000,000), 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.
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]
"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."
{{cite web}}
: CS1 maint: archived copy as title (link){{cite web}}
: CS1 maint: archived copy as title (link)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