The kilobyte is a multiple of the unit
byte
The byte is a unit of digital information that most commonly consists of eight bits. Historically, the byte was the number of bits used to encode a single character of text in a computer and for this reason it is the smallest addressable un ...
for
digital information.
The
International System of Units
The International System of Units, internationally known by the abbreviation SI (from French ), is the modern form of the metric system and the world's most widely used system of measurement. It is the only system of measurement with official s ...
(SI) defines the prefix ''
kilo'' as a multiplication factor of 1000 (10
3); therefore, one kilobyte is 1000 bytes.
[International Standard ]IEC 80000-13
ISO/IEC 80000, ''Quantities and units'', is an international standard describing the International System of Quantities (ISQ). It was developed and promulgated jointly by the International Organization for Standardization (ISO) and the Intern ...
Quantities and Units – Part 13: Information science and technology, International Electrotechnical Commission (2008). The internationally recommended unit symbol for the kilobyte is kB.
In some areas of
information technology
Information technology (IT) is a set of related fields within information and communications technology (ICT), that encompass computer systems, software, programming languages, data processing, data and information processing, and storage. Inf ...
, particularly in reference to
random-access memory
Random-access memory (RAM; ) is a form of Computer memory, electronic computer memory that can be read and changed in any order, typically used to store working Data (computing), data and machine code. A random-access memory device allows ...
capacity, ''kilobyte'' instead often refers to 1024 (2
10) bytes. This arises from the prevalence of sizes that are
powers of two
A power of two is a number of the form where is an integer, that is, the result of exponentiation with number two as the base and integer as the exponent. In the fast-growing hierarchy, is exactly equal to f_1^n(1). In the Hardy hi ...
in modern digital memory architectures, coupled with the coincidence that 2
10 differs from 10
3 by less than 2.5%.
The
kibibyte
The byte is a unit of digital information that most commonly consists of eight bits. Historically, the byte was the number of bits used to encode a single character of text in a computer and for this reason it is the smallest addressable un ...
is defined as 1024 bytes, avoiding the ambiguity issues of the ''kilobyte''.
[International Standard ]IEC 80000-13
ISO/IEC 80000, ''Quantities and units'', is an international standard describing the International System of Quantities (ISQ). It was developed and promulgated jointly by the International Organization for Standardization (ISO) and the Intern ...
Quantities and Units – Part 13: Information science and technology, International Electrotechnical Commission (2008).
Definitions and usage
Decimal (1000 bytes)
In the
International System of Units
The International System of Units, internationally known by the abbreviation SI (from French ), is the modern form of the metric system and the world's most widely used system of measurement. It is the only system of measurement with official s ...
(SI) the
metric prefix
A metric prefix is a unit prefix that precedes a basic unit of measure to indicate a multiple or submultiple of the unit. All metric prefixes used today are decadic. Each prefix has a unique symbol that is prepended to any unit symbol. The pr ...
''
kilo'' means 1,000 (10
3); therefore, one kilobyte is 1000 bytes. The unit symbol is kB.
This is the definition standardised by the
International Electrotechnical Commission
The International Electrotechnical Commission (IEC; ) is an international standards organization that prepares and publishes international standards for all electrical, electronics, electronic and related technologies. IEC standards cover a va ...
(IEC).
[Prefixes for Binary Multiples](_blank)
— The NIST Reference on Constants, Units, and Uncertainty This definition, and the related definitions of the prefixes
mega (),
giga
Giga- ( or ) is a metric prefix, unit prefix in the metric system denoting a factor of a Long and short scales, short-scale billion or long-scale milliard (109 or 1,000,000,000). It has the symbol G.
''Giga-'' is derived from the Ancient Greek, ...
(), etc., are most commonly used for
data transfer rates in
computer network
A computer network is a collection of communicating computers and other devices, such as printers and smart phones. In order to communicate, the computers and devices must be connected by wired media like copper cables, optical fibers, or b ...
s, internal bus, hard drive and flash media transfer speeds, and for the capacities of most
storage media, particularly
hard disk drive
A hard disk drive (HDD), hard disk, hard drive, or fixed disk is an electro-mechanical data storage device that stores and retrieves digital data using magnetic storage with one or more rigid rapidly rotating hard disk drive platter, pla ...
s,
flash-based storage, 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
ISO/IEC 80000, ''Quantities and units'', is an international standard describing the International System of Quantities (ISQ). It was developed and promulgated jointly by the International Organization for Standardization (ISO) and the Intern ...
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
The megabyte is a multiple of the unit byte for digital information. Its recommended unit symbol is MB. The unit prefix ''mega'' is a multiplier of (106) in the International System of Units (SI). Therefore, one megabyte is one million bytes ...
(1 MB), where 1 MB is one million bytes.
Binary (1024 bytes)
The term 'kilobyte' has traditionally been used to refer to 1024 bytes (2
10 B). The usage of the metric prefix ''kilo'' for binary multiples arose as a convenience, because 1024 is approximately 1000.
The binary interpretation of metric prefixes is still prominently used by the
Microsoft Windows
Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
operating system.
Binary interpretation is also used for
random-access memory
Random-access memory (RAM; ) is a form of Computer memory, electronic computer memory that can be read and changed in any order, typically used to store working Data (computing), data and machine code. A random-access memory device allows ...
capacity, such as main memory and
CPU cache
A CPU cache is a hardware cache used by the central processing unit (CPU) of a computer to reduce the average cost (time or energy) to access data from the main memory. A cache is a smaller, faster memory, located closer to a processor core, whi ...
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 1024
2 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. Thus the kibibyte, symbol KiB, represents 2
10 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
The International System of Units, internationally known by the abbreviation SI (from French ), is the modern form of the metric system and the world's most widely used system of measurement. It is the only system of measurement with official s ...
restricts the use of the SI prefixes strictly to powers of 10.
Use of term
* The
Shugart SA-400 5-inch
floppy disk
A floppy disk or floppy diskette (casually referred to as a floppy, a diskette, or a disk) is a type of disk storage composed of a thin and flexible disk of a magnetic storage medium in a square or nearly square plastic enclosure lined with a ...
(1976) held 109,375 bytes unformatted, and was advertised as "110 Kbyte", using the 1000 convention. Likewise, the 8-inch
DEC RX01 floppy (1975) held 256,256 bytes formatted, and was advertised as "256k". On the other hand, the
Tandon 5-inch
DD floppy format (1978) held 368,640 (which is 360×1024) bytes, but was advertised as "360 KB", following the 1024 convention.
* Early home computer systems would often advertise using the 1024 convention, hence the naming of the
Commodore 64
The Commodore 64, also known as the C64, is an 8-bit computing, 8-bit home computer introduced in January 1982 by Commodore International (first shown at the Consumer Electronics Show, January 7–10, 1982, in Las Vegas). It has been listed in ...
,
Commodore 128, and the
Amstrad CPC 464.
* On modern systems, all versions of
Microsoft Windows
Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
divide by 1024 and represent a 65,536-byte file as "64 KB".
Conversely,
Mac OS X Snow Leopard
Mac OS X Snow Leopard (version 10.6) (also referred to as OS X Snow Leopard) is the seventh major release of macOS, Apple's desktop and server operating system for Macintosh computers.
Snow Leopard was publicly unveiled on June 8, 2009, at A ...
and newer represent this as 66 kB, rounding to the nearest 1000 bytes; file sizes are reported with decimal prefixes.
* the binary interpretation was still used in marketing and billing by some telecommunication companies, such as
Vodafone
Vodafone Group Public Limited Company () is a British Multinational company, multinational telecommunications company. Its registered office and global headquarters are in Newbury, Berkshire, England. It predominantly operates Service (economic ...
,
AT&T
AT&T Inc., an abbreviation for its predecessor's former name, the American Telephone and Telegraph Company, is an American multinational telecommunications holding company headquartered at Whitacre Tower in Downtown Dallas, Texas. It is the w ...
,
Orange and
Telstra
Telstra Group Limited is an Australian telecommunications company that builds and operates telecommunications networks and markets related products and services. It is a member of the S&P/ASX 20 stock index, and is Australia's largest telecomm ...
.
Data examples
* The
Lord's Prayer
The Lord's Prayer, also known by its incipit Our Father (, ), is a central Christian prayer attributed to Jesus. It contains petitions to God focused on God’s holiness, will, and kingdom, as well as human needs, with variations across manusc ...
, in Latin, is 296 bytes (about 0.3 kilobytes).
* The short story ''
The Cask of Amontillado
"The Cask of Amontillado" is a short story by the American writer Edgar Allan Poe, first published in the November 1846 issue of ''Godey's Lady's Book''. The story, set in an unnamed Italy, Italian city at carnival time, is about a man taking fa ...
'' by
Edgar Allan Poe
Edgar Allan Poe (; January 19, 1809 – October 7, 1849) was an American writer, poet, editor, and literary critic who is best known for his poetry and short stories, particularly his tales involving mystery and the macabre. He is widely re ...
, hosted on
Project Gutenberg
Project Gutenberg (PG) is a volunteer effort to digitize and archive cultural works, as well as to "encourage the creation and distribution of eBooks."
It was founded in 1971 by American writer Michael S. Hart and is the oldest digital li ...
as an uncompressed plain text file, is 12,843 bytes: this is 12.8 kilobytes (12,843 divided by 1,000) or 12.5 kibibytes (divided by 1,024).
* The size of this article, as of April 2025, is about 14 kilobytes.
See also
*
Binary prefix
A binary prefix is a unit prefix that indicates a multiple of a unit of measurement by an integer power of two. The most commonly used binary prefixes are kibi (symbol Ki, meaning ), mebi (), and gibi (). They are most often used in inform ...
*
*
History of the floppy disk
*
*
Timeline of binary prefixes
This timeline of binary prefixes lists events in the history of the evolution, development, and use of unit of measurement, units of measure that are germane to the definition of the binary prefixes by the International Electrotechnical Commissio ...
*
References
*
{{Computer Storage Volumes
Units of information