Programming terminology: Megabyte

Similar to the kilobyte, a megabyte is a data size unit, used with relation to data storage and processing, as well as data transmission.

Structure

A block of 1024 successive kilobytes make up one megabyte, with each kilobyte having 1024 bytes and every byte being made up of eight bits.

Value

Just like with the relation of bytes to kilobytes, the number of 1024 kilobytes for a megabyte is a result of the binary nature of the bits and bytes (2 to the power of 10 equals 1024).

Since one megabyte has 1.024 kilobytes, we get:

1 megabyte = 1.024 x 1.024 bytes = 1.048.576 bytes = 8.388.608 bits

See the page about bytes for more detailed information.

Enjoy this page? Please pay it forward. Here's how...

Would you prefer to share this page with others by linking to it?

  1. Click on the HTML link code below.
  2. Copy and paste it, adding a note of your own, into your blog, a Web page, forums, a blog comment, your Facebook account, or anywhere that someone would find this page valuable.