A byte (pronounced "bite", IPAEng|baɪt) is the basic unit of measurement of information storage in
computer science. In many computer architectures it is a unit of memory addressing, most often consisting of eight bits. A byte is one of the basic integral data types in some programming languages, especially system programming languages.
A byte is an ordered collection of bits, with each bit denoting a single
binaryvalue of 1 or 0. The size of a byte can vary and is generally determined by the underlying computer operating systemor hardware, although the 8-bit byte is the standard in modern systems. Historically, byte size was determined by the number of bits required to represent a single character from a Western character set. Its size was generally determined by the number of possible characters in the supported character set and was chosen to be a divisor of the computer's word size. Historically bytes have ranged from five to twelve bits.
The popularity of IBM's
System/360architecture starting in the 1960s and the explosion of microcomputers based on 8-bit microprocessors in the 1980s has made eight bits by far the most common size for a byte. The term octet is widely used as a more precise synonym where ambiguity is undesirable (for example, in protocol definitions).
There has been considerable confusion about the meanings of metric -- or
SI prefixes-- used with the word "byte", especially concerning prefixes such as kilo- (k or K) and mega- (M) as shown in the chart "Prefixes for bit and byte". Since computer memory comes in a Power of tworather than 10, a large portion of the software and computer industry use binary estimates of the SI-prefixed quantities, while producers of computer storage devices prefer the SI values. This is why a computer hard drive advertised with a "100 GB" decimal storage capacity actually contains no more than 93 GB of 8-bit (power of 2) addressable storage. Because of the confusion, a contract specifying a quantity of bytes must define what the prefixes mean in terms of the contract (i.e., the alternative binary equivalents or the actual decimal values, or a binary estimate based on the actual values).
To make the meaning of the table absolutely clear: A
kibibyte(KiB) is made up of 1,024 bytes. A mebibyte(MiB) is made up of 1,024 × 1,024 i.e. 1,048,576 bytes. The figures in the column using 1,024 raised to powers of 1, 2, 3, 4 and so on are in units of bytes.
The word "byte" has two closely related meanings:
# A contiguous sequence of a "fixed" number of
bits (binary digits). The use of a byte to mean 8 bits has become nearly ubiquitous.
# A contiguous sequence of bits within a binary computer that comprises the "smallest addressable sub-field" of the computer's natural word-size. That is, the smallest unit of binary data on which meaningful computation, or natural data boundaries, could be applied. For example, the
CDC 6000 seriesscientific mainframes divided their 60-bit floating-point words into 10 six-bit bytes. These bytes conveniently held Hollerithdata from punched cards, typically the upper-case alphabet and decimal digits. CDC also often referred to 12-bit quantities as bytes, each holding two 6-bit display codecharacters, due to the 12-bit I/O architecture of the machine. The PDP-10used assembly instructions LDB and DPB to extract bytes — these operations survive today in Common Lisp. Bytes of six, seven, or nine bits were used on some computers, for example within the 36-bit word of the PDP-10. The UNIVAC 1100/2200 seriescomputers (now Unisys) addressed in both 6-bit ( Fieldata) and 9-bit ( ASCII) modes within its 36-bit word.
The term byte was coined by Dr. Werner Buchholz in July 1956, during the early design phase for the IBM Stretch computer. [ [http://www.trailing-edge.com/~bobbemer/BYTE.HTM Origins of the Term "BYTE"] Bob Bemer, accessed 2007-08-12] [ [http://archive.computerhistory.org/resources/text/IBM/Stretch/102636400.txt TIMELINE OF THE IBM STRETCH/HARVEST ERA (1956-1961)] computerhistory.org, '1956 July ... Werner Buchholz ... Werner's term "Byte" first popularized'] [ [http://catb.org/~esr/jargon/html/B/byte.html byte] catb.org, 'coined by Werner Buchholz in 1956'] Originally it was defined in instructions by a 4-bit byte-size field, allowing from one to sixteen bits (the production design reduced this to a 3-bit byte-size field, allowing from one to eight bits to be represented by a byte); typical I/O equipment of the period used six-bit bytes. A fixed eight-bit byte size was later adopted and promulgated as a standard by the
System/360. The term "byte" comes from "bite," as in the smallest amount of data a computer could "bite" at once. The spelling change not only reduced the chance of a "bite" being mistaken for a "bit," but also was consistent with the penchant of early computer scientists to make up words and change spellings. A byte was also often referred to as "an 8-bit byte", reinforcing the notion that it was a tuple of "n" bits, and that other sizes were possible.
# A contiguous sequence of binary bits in a serial data stream, such as in modem or satellite communications, or from a disk-drive head, which is the smallest meaningful unit of data. These bytes might include start bits, stop bits, or parity bits, and thus could vary from 7 to 12 bits to contain a single 7-bit ASCII code.
# A "
datatype" or synonym for a datatype in certain programming languages. C and C++, for example, defines "byte" as "addressable unit of data storage large enough to hold any member of the basic character set of the execution environment" (clause 3.6 of the C standard). Since the C
charintegral data type must contain at least 8 bits (clause 184.108.40.206.1), a byte in C is at least capable of holding 256 different values (signed or unsigned
chardoes not matter). Various implementations of C and C++ define a "byte" as 8, 9, 16, 32, or 36 bits [ [http://www.parashift.com/c++-faq-lite/intrinsic-types.html#faq-26.4 [26 Built-in / intrinsic / primitive data types, C++ FAQ Lite ] ] [ [http://home.att.net/~jackklein/c/inttypes.html#char Integer Types In C and C ] ] . The actual number of bits in a particular implementation is documented as
CHAR_BITas implemented in the
file. Java's primitive
bytedata type is always defined as consisting of 8 bits and being a signed data type, holding values from −128 to 127.
Early microprocessors, such as
Intel 8008(the direct predecessor of the 8080, and then 8086) could perform a small number of operations on four bits, such as the DAA (decimal adjust) instruction, and the "half carry" flag, that were used to implement decimal arithmetic routines. These four-bit quantities were called " nybbles," in homage to the then-common 8-bit "bytes."
Following "bit," "byte," and "nybble," there have been some analogical attempts to construct unambiguous terms for bit blocks of other sizes. [ [http://dictionary.reference.com/browse/nybble nybble] reference.com sourced from Jargon File 4.2.0, accessed 2007-08-12] All of these are strictly
jargon, and not very common.
* 2 bits: crumb, quad, quarter,
* 4 bits:
* 5 bits: nickel, nyckle
* 10 bits:
* 16 bits: plate, playte, chomp,
chawmp(on a 32-bit machine)
* 18 bits: chomp, chawmp (on a 36-bit machine)
* 32 bits: dinner,
dynner, gawble(on a 32-bit machine)
* 48 bits:
gobble, gawble (under circumstances that remain obscure)
IEEE 1541and [http://swiss.csail.mit.edu/~jaffer/MIXF Metric-Interchange-Format] specify "B" as the symbol for byte (e.g. MB means megabyte), while IEC 60027seems silent on the subject.Furthermore, B means bel (see decibel), another (logarithmic) unit used in the same field.The use of B to stand for bel is consistent with the metric system convention that capitalized symbols are for units named after a person (in this case Alexander Graham Bell); usage of a capital B to stand for byte is not consistent with this convention. There is little danger of confusing a byte with a bel because the bel's sub-multiple the decibel(dB) is usually preferred, while use of the decibyte (dB) is extremely rare.
The unit symbol "kb" with a lowercase "b" is a commonly used abbreviation for "kilobyte". Use of this abbreviation leads to confusion with the alternative use of "kb" to mean "
kilobit". IEEE 1541 specifies "b" as the symbol for bit; however the IEC 60027 and Metric-Interchange-Format specify "bit" (e.g. Mbit for megabit) for the symbol, achieving maximum disambiguation from byte.
French-speaking countries sometimes use an uppercaseFact|date=June 2008 "o" for "octet". This is not consistent with
SIbecause of the risk of confusion with the zero, and the convention that capitals are reserved for unit names derived from proper names, such as the ampere(whose symbol is A) and joule(symbol J), versus the second(symbol s) and metre(symbol m).
Lowercase "o" for "octet" is a commonly used symbol in several non-English-speaking countries, and is also used with metric prefixes (for example, "ko" and "Mo").
Today the harmonized
ISO/ IECstandard cancels and replaces subclauses 3.8 and 3.9 of IEC 60027-2:2005 (those related to Information theory and Prefixes for binary multiples).See Units of information#Bytefor detailed discussion on names for derived units.
Wikimedia Foundation. 2010.
Look at other dictionaries:
byte — byte … Dictionnaire des rimes
BYTE — Ne doit pas être confondu avec octet ou bit. Le byte (prononcé /bait/), de symbole B, est la plus petite unité adressable d’un ordinateur. Aujourd’hui, les bytes de 8 bits se sont généralisés en informatique, alors qu’en… … Wikipédia en Français
Byte — [bai̮t], das; [s], [s]: zusammengehörige Folge von acht Bits: ein Megabyte umfasst 1 048 576 Bytes. Zus.: Gigabyte, Megabyte. * * * Byte 〈[baıt] n.; od. s, s od. (bei Zahlenangaben) ; EDV; 〉 kleinste im Speicher einer EDV Anlage adressierbare… … Universal-Lexikon
byte — byte; giga·byte; ki·lo·byte; mega·byte; tera·byte; … English syllables
byte — [ bajt ] n. m. • apr. 1964; mot angl. ♦ Inform. Ensemble de plusieurs bits constituant une unité complète d information. Abusivt Octet (recomm. offic.). ● byte nom masculin (anglais byte) En informatique, ensemble de bits consécutifs transmis ou… … Encyclopédie Universelle
byte — [baɪt] also bite noun [countable] COMPUTING a unit of computer information that can hold one number or letter. A byte is made up of eight bit S (= the smallest units of storage on a computer). The amount of processing space on a computer is… … Financial and business terms
byte — BYTE, byţi, s.m. (inform.) Ansamblu de opt biţi folosit pentru exprimarea capacităţii de memorie; bait. [pr.: bait] (cuv. engl. < prob. alter. din bite = muşcătură, (p. ext.) porţie, parte) [etim. MW] Trimis de tavi, 13.09.2007. Sursa:… … Dicționar Român
Byte — Byte, байт: В Викисловаре есть статья «байт» Byte (журнал) журнал о компьютерных технологиях. Байт … Википедия
Byte — [bait] das; (s), (s); EDV; eine (Informations)Einheit beim elektronischen Rechnen und bei der Datenverarbeitung: ein Byte hat acht Bit || K: Kilobyte, Megabyte, Gigabyte … Langenscheidt Großwörterbuch Deutsch als Fremdsprache
byte — [baıt] n [Date: 1900 2000; Origin: Invented word based on BIT25 and bite] a unit for measuring computer information, equal to eight ↑bits (=the smallest unit on which information is stored on a computer) ▪ Each character requires one byte of… … Dictionary of contemporary English
Byte — [bait] das; [s], [s] <aus gleichbed. engl. byte>: a) Zusammenfassung von 8 Binärstellen als Einheit für die Speicherkapazität; b) Maß für die Speicherkapazität eines Computers; vgl. 1↑Bit (EDV) … Das große Fremdwörterbuch