Megabyte

From Wikipedia, the free encyclopedia

Jump to: navigation, search

The megabyte is a multiple of the unit byte for digital information storage or transmission with two different values depending on context: 1048576 bytes (10242) generally for computer memory;[1][2][3] and one million bytes (106, see prefix mega-) generally for computer storage.[1][3] The IEEE Standards Board has decided that "Mega will mean 1 000 000", with exceptions allowed for the base-two meaning.[3] In rare cases, it is used to mean 1000×1024 (1024000) bytes.[3] It is commonly abbreviated as Mbyte or MB (compare Mb, for the megabit).

Prefixes for bit and byte multiples
Decimal
Value SI
1000 k kilo
10002 M mega
10003 G giga
10004 T tera
10005 P peta
10006 E exa
10007 Z zetta
10008 Y yotta
Binary
Value IEC JEDEC
1024 Ki kibi K kilo
10242 Mi mebi M mega
10243 Gi gibi G giga
10244 Ti tebi
10245 Pi pebi
10246 Ei exbi
10247 Zi zebi
10248 Yi yobi

Contents

[edit] 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:

  1. 1000000 bytes (10002, 106): This is the definition recommended by the International System of Units (SI) and the International Electrotechnical Commission IEC.[3] This definition is used in networking contexts and most storage media, particularly hard drives, Flash-based storage[4], 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.[5]
  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.
  3. 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.

[edit] Examples of use

1.44 MB floppy disks can store 1,474,560 bytes of data. MB in this context means 1,000×1,024 bytes.

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).

[edit] See also

[edit] References

  1. ^ a b The American Heritage® Science Dictionary. Houghton Mifflin Company. 2005. http://www.thefreedictionary.com/megabyte. Retrieved 2009-12-22. "1. A unit of computer memory or data storage capacity equal to 1,048,576 bytes (1,024 kilobytes or 220) bytes. 2. One million bytes. ... prefix mega- often does not have its standard scientific meaning of 1,000,000 ... rate of one megabit per second is equal to one million bits per second ..." 
  2. ^ "What are bits, bytes, and other units of measure for digital information? - Knowledge Base". Indiana University. "1MB is 1,024 kilobytes, or 1,048,576 (1024x1024) bytes, not one million bytes. ... Many hard drive manufacturers use a decimal number system to define amounts of storage space. As a result, 1MB is defined as one million bytes, 1GB is defined as one billion bytes, and so on." 
  3. ^ a b c d e "Definitions of the SI units: The binary prefixes". National Institute of Standards and Technology. http://physics.nist.gov/cuu/Units/binary.html. Retrieved 2009-12-22. "third megabyte of 1 024 000 bytes is the megabyte used to format the familiar 90 mm (3 1/2 inch), "1.44 MB" diskette" 
  4. ^ SanDisk USB Flash Drive "Note: 1 megabyte (MB) = 1 million bytes; 1 gigabyte (GB) = 1 billion bytes."
  5. ^ "How Mac OS X reports drive capacity". Apple Inc. 2009-08-27. http://support.apple.com/kb/TS2419. Retrieved 2009-10-16. 

[edit] External links