Jump to content

Megabyte: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
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).

Prefixes for decimal and binary multiples
Decimal
Value SI
1000 103 k kilo
10002 106 M mega
10003 109 G giga
10004 1012 T tera
10005 1015 P peta
10006 1018 E exa
10007 1021 Z zetta
10008 1024 Y yotta
10009 1027 R ronna
100010 1030 Q quetta
Binary
Value IEC JEDEC
1024 210 Ki kibi K kilo
10242 220 Mi mebi M mega
10243 230 Gi gibi G giga
10244 240 Ti tebi T tera
10245 250 Pi pebi
10246 260 Ei exbi
10247 270 Zi zebi
10248 280 Yi yobi

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

Megabyte examples

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

See also

yes

References

  1. ^ SanDisk USB Flash Drive "Note: 1 megabyte (MB) = 1 million bytes; 1 gigabyte (GB) = 1 billion bytes."
  2. ^ "How Mac OS X reports drive capacity". Apple Inc. 2009-08-27. Retrieved 2009-10-16.