Megabyte: Difference between revisions
m added sentence and fixed source |
|||
Line 21: | Line 21: | ||
* [[Megabit]] |
* [[Megabit]] |
||
* [[Orders of magnitude (data)]] |
* [[Orders of magnitude (data)]] |
||
yes |
|||
==References== |
==References== |
Revision as of 13:23, 22 October 2009
The megabyte is an SI-multiple (see prefix mega-) of the unit byte for digital information storage or transmission and is equal to 106 (1000000) bytes. However, due to historical usage in computer-related fields it is still often used to represent 220 (1024×1024 or 1048576) bytes. In rare cases, it is used to mean 1000×1024 (1024000) bytes. It is commonly abbreviated as Mbyte or MB (compare Mb, for the megabit).
Definition
The term "megabyte" is ambiguous because it is commonly used to mean either 10002 bytes or 10242 bytes. The confusion originated as compromise technical jargon for the byte multiples that needed to be expressed by the powers of 2 but lacked a convenient name. As 1024 (210) approximates 1000 (103), roughly corresponding SI multiples began to be used for binary multiples. By the end of 2007, standards and government authorities including IEC, IEEE, EU, and NIST, had addressed this ambiguity by promulgating standards for binary prefixes and requiring the use of megabyte to strictly denote 10002 bytes and mebibyte to denote 10242 bytes. This is reflected in an increasing number of software projects using the new definitions, but some file managers still show file sizes using the binary interpretation (10242 bytes). The term remains ambiguous and it can follow any one of the following common definitions:
- 1000000 bytes (10002, 106): This is the definition recommended by the International System of Units (SI) and the International Electrotechnical Commission IEC. This definition is used in networking contexts and most storage media, particularly hard drives, Flash-based storage[1], and DVDs, and is also consistent with the other uses of the SI prefix in computing, such as CPU clock speeds or measures of performance. The Mac OS X 10.6 file manager is a notable example of this usage in software. Since Snow Leopard, file sizes are reported in decimal units.[2]
- 1048576 bytes (10242, 220): This definition is most commonly used in reference to computer memory, but most software that display file size or drive capacity, including file managers also use this definition. See Consumer confusion (in the "gigabyte" article). The Microsoft Windows file manager is a notable example of this usage in software.
- 1024000 bytes (1000×1024): This is used to describe the formatted capacity of the "1.44 MB" 3.5 inch HD floppy disk, which actually has a capacity of 1474560 bytes.
Megabyte examples
Depending on compression methods and file format, a megabyte of data can roughly be:
- a 1024×1024 pixel bitmap image with 256 colors (8 bpp color depth).
- 1 minute of 128 kbit/s MP3 compressed music.
- 6 seconds of uncompressed CD audio.
- a typical book volume in text format (500 pages × 2000 characters per page).
See also
yes
References
- ^ SanDisk USB Flash Drive "Note: 1 megabyte (MB) = 1 million bytes; 1 gigabyte (GB) = 1 billion bytes."
- ^ "How Mac OS X reports drive capacity". Apple Inc. 2009-08-27. Retrieved 2009-10-16.
External links
- Historical Notes About The Cost Of Hard Drive Storage Space
- the megabyte (established definition in Networking and Storage industries; from whatis.com)
- International Electrotechnical Commission definitions
- IEC prefixes and symbols for binary multiples