Jump to content

Megabyte: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Reverted edits by 122.162.146.95 (talk) (HG) (3.4.10)
more appropriate location for table
Tag: Reverted
Line 2: Line 2:
{{About|the decimal unit of data|binary unit of 1048576 bytes|mebibyte|other uses}}
{{About|the decimal unit of data|binary unit of 1048576 bytes|mebibyte|other uses}}
{{Redirect-multi|2|megabite|MByte|other uses|megabite (disambiguation)|the battery electric car from ''Byton''|Byton M-Byte}}
{{Redirect-multi|2|megabite|MByte|other uses|megabite (disambiguation)|the battery electric car from ''Byton''|Byton M-Byte}}
{{Quantities of bytes}}
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 {{gaps|1|000|000}} (10<sup>6</sup>) in the [[International System of Units]] (SI).<ref name=bipm>{{cite web|url=http://www.bipm.org/en/si/si_brochure/chapter3/prefixes.html |title=SI Prefixes | website = Bureau international des poids et mesures |access-date=June 1, 2007 |url-status=dead |archive-url=https://web.archive.org/web/20070607000414/http://www.bipm.org/en/si/si_brochure/chapter3/prefixes.html |archive-date=June 7, 2007 }}</ref> Therefore, one megabyte is one million bytes of information. This definition has been incorporated into the [[International System of Quantities]].
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 {{gaps|1|000|000}} (10<sup>6</sup>) in the [[International System of Units]] (SI).<ref name=bipm>{{cite web|url=http://www.bipm.org/en/si/si_brochure/chapter3/prefixes.html |title=SI Prefixes | website = Bureau international des poids et mesures |access-date=June 1, 2007 |url-status=dead |archive-url=https://web.archive.org/web/20070607000414/http://www.bipm.org/en/si/si_brochure/chapter3/prefixes.html |archive-date=June 7, 2007 }}</ref> Therefore, one megabyte is one million bytes of information. This definition has been incorporated into the [[International System of Quantities]].


Line 8: Line 7:


==Definitions==
==Definitions==
{{Quantities of bytes}}
The megabyte is commonly used to measure either 1000<sup>2</sup> bytes or 1024<sup>2</sup> bytes. The interpretation of using base 1024 originated as technical jargon for the byte [[SI prefix|multiples]] that needed to be expressed by the powers of 2 but lacked a convenient name. As 1024 (2<sup>10</sup>) approximates 1000 (10<sup>3</sup>), roughly corresponding to the SI prefix [[kilo-]], it was a convenient term to denote the binary multiple. In 1998 the [[International Electrotechnical Commission]] (IEC) proposed standards for [[binary prefix]]es requiring the use of megabyte to strictly denote 1000<sup>2</sup> bytes and [[mebibyte]] to denote 1024<sup>2</sup> bytes. By the end of 2009, the IEC Standard had been adopted by the [[IEEE]], [[European Union|EU]], [[ISO]] and [[NIST]]. Nevertheless, the term megabyte continues to be widely used with different meanings:
The megabyte is commonly used to measure either 1000<sup>2</sup> bytes or 1024<sup>2</sup> bytes. The interpretation of using base 1024 originated as technical jargon for the byte [[SI prefix|multiples]] that needed to be expressed by the powers of 2 but lacked a convenient name. As 1024 (2<sup>10</sup>) approximates 1000 (10<sup>3</sup>), roughly corresponding to the SI prefix [[kilo-]], it was a convenient term to denote the binary multiple. In 1998 the [[International Electrotechnical Commission]] (IEC) proposed standards for [[binary prefix]]es requiring the use of megabyte to strictly denote 1000<sup>2</sup> bytes and [[mebibyte]] to denote 1024<sup>2</sup> bytes. By the end of 2009, the IEC Standard had been adopted by the [[IEEE]], [[European Union|EU]], [[ISO]] and [[NIST]]. Nevertheless, the term megabyte continues to be widely used with different meanings:



Revision as of 18:19, 1 October 2022

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 1000000 (106) in the International System of Units (SI).[1] Therefore, one megabyte is one million bytes of information. This definition has been incorporated into the International System of Quantities.

However, in the computer and information technology fields, two other definitions are used that arose for historical reasons of convenience. A common usage has been to designate one megabyte as 1048576bytes (220 B), a quantity that conveniently expresses the binary multiples inherent in digital computer memory architectures. However, most standards bodies have deprecated this usage in favor of a set of binary prefixes,[2] in which this quantity is designated by the unit mebibyte (MiB). In one context, the megabyte has been used to mean 1000×1024 (1024000) bytes.[2]

Definitions

Multiple-byte units
Decimal
Value Metric
1000 kB kilobyte
10002 MB megabyte
10003 GB gigabyte
10004 TB terabyte
10005 PB petabyte
10006 EB exabyte
10007 ZB zettabyte
10008 YB yottabyte
10009 RB ronnabyte
100010 QB quettabyte
Binary
Value IEC Memory
1024 KiB kibibyte KB kilobyte
10242 MiB mebibyte MB megabyte
10243 GiB gibibyte GB gigabyte
10244 TiB tebibyte TB terabyte
10245 PiB pebibyte
10246 EiB exbibyte
10247 ZiB zebibyte
10248 YiB yobibyte
10249
102410
Orders of magnitude of data

The megabyte is commonly used to measure either 10002 bytes or 10242 bytes. The interpretation of using base 1024 originated as 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 to the SI prefix kilo-, it was a convenient term to denote the binary multiple. In 1998 the International Electrotechnical Commission (IEC) proposed standards for binary prefixes requiring the use of megabyte to strictly denote 10002 bytes and mebibyte to denote 10242 bytes. By the end of 2009, the IEC Standard had been adopted by the IEEE, EU, ISO and NIST. Nevertheless, the term megabyte continues to be widely used with different meanings:

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

In this convention, one thousand megabytes (1000 MB) is equal to one gigabyte (1 GB), where 1 GB is one billion bytes.

Base 2
1 MB = 1048576 bytes (= 10242 B = 220 B) is the definition used by Microsoft Windows in reference to computer memory, such as RAM. This definition is synonymous with the unambiguous binary prefix mebibyte.

In this convention, one thousand and twenty-four megabytes (1024 MB) is equal to one gigabyte (1 GB), where 1 GB is 10243 bytes (i.e., 1 GiB).

Mixed
1 MB = 1024000 bytes (= 1000×1024 B) is the definition used to describe the formatted capacity of the 1.44 MB 3.5-inch HD floppy disk, which actually has a capacity of 1474560bytes.[5]

Randomly addressable semiconductor memory doubles in size for each address lane added to an integrated circuit package, which favors counts that are powers of two. The capacity of a disk drive is the product of the sector size, number of sectors per track, number of tracks per side, and the number of disk platters in the drive. Changes in any of these factors would not usually double the size.

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:

The human genome consists of DNA representing 800 MB of data. The parts that differentiate one person from another can be compressed to 4 MB.[6]

See also

References

  1. ^ "SI Prefixes". Bureau international des poids et mesures. Archived from the original on June 7, 2007. Retrieved June 1, 2007.
  2. ^ a b c "Definitions of the SI units: The binary prefixes". National Institute of Standards and Technology.
  3. ^ SanDisk USB Flash Drive "Note: 1 megabyte (MB) = 1 million bytes; 1 gigabyte (GB) = 1 billion bytes."
  4. ^ "How Mac OS X reports drive capacity". Apple Inc. 2009-08-27. Retrieved 2009-10-16.
  5. ^ Tracing the History of the Computer - History of the Floppy Disk
  6. ^ Christley, S.; Lu, Y.; Li, C.; Xie, X. (2008). "Human genomes as email attachments". Bioinformatics. 25 (2): 274–275. doi:10.1093/bioinformatics/btn582. PMID 18996942.