# How to convert 1 megabyte in gigabytes

### Data Units Calculator

Here is the answer to questions like:Data Units Converter. What is 1 megabytes in gigabytes? How many megabytes in 1 gigabytes?

Use the Data Units or Storage Converter above not only to convert from MBs to GBs, but to convert from/to many data units used in computer memory.

## Byte conversion chart for binary and decimal conversion

The chart below tries to explain the 2016 scenario. These definitions are not a consense. The usage of units like Kibibyte, mebibytes, etc. (IEC) is not widely known.

### Binary System (traditional)

In Data storage, traditionally, when describing digital circuitry, a kilobyte is 2^{10} or 1,024 bytes. This arises from binary exponentiation common to that circuits. This is the so called BINARY system where multiple of bytes are always some exponent of two.

The binary prefix kibi (old k) means 2^{10} or 1,024, therefore, a 1 kibibyte is 1,024 bytes. The units (Kib, MiB, etc) were established by the International Electrotechnical Commission (IEC) in 1998. These units are used for random-access memory (RAM) capacities, such as main memory and CPU cache sizes, due to the binary addressing of memory. See some examples:

- 1 byte (B) = 8 bits (b)
- 1 kibibyte - KiB | traditional Kilobyte - KB = 2
^{10}bytes = 1,024 bytes - 1 mebibyte - MiB | traditional Megabyte - MB = 2
^{20}bytes = 1,048,576 bytes - 1 gibibyte - GiB | traditional Gigabyte - GB = 2
^{30}bytes = 1,073,741,824 bytes - 1 tibibyte - TiB | traditional Terabyte - TB = 2^40 bytes = 1,099,511,627,776 bytes and so on ...

### The Decimal System (SI)

Recently, most hard disk manufacturers use decimal megabytes (10^{6}) which is slightly different from the decimal system for small values and considerabily different for values of the order of Terabytes and it gets confusing. This is the so called DECIMAL system where multiple of bytes are always some exponent of ten as shown below:

- 1 byte (B) = 8 bits (b) (one byte is always 8 bits)
- 1 kilobyte (kB) = 10
^{3}bytes = 1,000 bytes - 1 megabyte (MB) = 10
^{6}bytes = 1,000,000 bytes - 1 gigabyte (GB) = 10
^{9}bytes = 1,000,000,000 bytes - 1 terabyte (TB) = 10
^{12}bytes = 1,000,000,000,000 bytes and so on ...

Please, check the tables below for more units.

### Multiples of bit

Unit | Symbol | In bits |
---|---|---|

Bit | bit | 1 |

Kilobit | kbit | 1000^{1} = 1000 |

Kibibit | Kibit | 1024^{1} = 1024 |

Megabit | Mbit | 1000^{2} = 1000000 |

Mebibit | Mibit | 1024^{2} = 1048576 |

Gigabit | Gbit | 1000^{3} = 1000000000 |

Gibibit | Gibit | 1024^{3} = 1073741824 |

Terabit | Tbit | 1000^{4} = 1000000000000 |

Tebibit | Tibit | 1024^{4} = 1099511627776 |

Petabit | Pbit | 1000^{5} = 1000000000000000 |

Pebibit | Pibit | 1024^{5} = 1125899906842620 |

Exabit | Ebit | 1000^{6} = 1000000000000000000 |

Exbibit | Eibit | 1024^{6} = 1152921504606850000 |

Zettabit | Zbit | 1000^{7} = 1000000000000000000000 |

Zebibit | Zibit | 1024^{7} = 1180591620717410000000 |

Yottabit | Ybit | 1000^{8} = 1000000000000000000000000 |

Yobibit | Yibit | 1024^{8} = 1208925819614630000000000 |

### Multiples of byte

Unit | Symbol | In bits |
---|---|---|

Byte | B | 8 |

Kilobyte | kB | 1000^{1} = 8000 |

Kibibyte | KiB | 1024^{1} = 8192 |

Megabyte | MB | 1000^{2} = 8000000 |

Mebibyte | MiB | 1024^{2} = 8388608 |

Gigabyte | GB | 1000^{3} = 8000000000 |

Gibibyte | GiB | 1024^{3} = 8589934592 |

Terabyte | TB | 1000^{4} = 8000000000000 |

Tebibyte | TiB | 1024^{4} = 8796093022208 |

Petabyte | PB | 1000^{5} = 8000000000000000 |

Pebibyte | PiB | 1024^{5} = 9007199254740990 |

Exabyte | EB | 1000^{6} = 8000000000000000000 |

Exbibyte | EiB | 1024^{6} = 9223372036854780000 |

Zettabyte | ZB | 1000^{7} = 8000000000000000000000 |

Zebibyte | ZiB | 1024^{7} = 9444732965739290000000 |

Yottabyte | YB | 1000^{8} = 8000000000000000000000000 |

Yobibyte | YiB | 1024^{8} = 9671406556917030000000000 |

## Sample data units conversions

### Disclaimer

While every effort is made to ensure the accuracy of the information provided on this website, neither this website nor its authors are responsible for any errors or omissions, or for the results obtained from the use of this information. All information in this site is provided “as is”, with no guarantee of completeness, accuracy, timeliness or of the results obtained from the use of this information.