Sunday , June 4 2023

How to Convert MB to GB and Other Units of Computer Memory

We often need to convert MB to GB while searching for available memory space in our mobile or PC.  Sometime we need to calculate the usage of internet data in our mobile. Service provider calculate data charges in ‘per KB’ rate whereas due to higher usage data is recorded in MB or GB so we need to convert from GB to KB or MB to KB to find the exact bill. What factor they use to convert MB to GB or convert MB to KB ?? Data storage devices such as pen drives & memory cards are sold in 8GB, 16GB, 32GB etc denominations but the actual storage space found in those devices are less, what is the reason?? Also, Microsoft operating system shows different free space available than what leveled in the hard drives.

There are some ambiguity due to which we want to understand what is the exact formula to convert MB to GB or how many MB are in GB. If you also have these confusions then you are at right placeHere I will not only describe about the computer memory unit conversion but also clarify doubts about storage memory of various devices from case to case. After your reading you can use our online MB to GB converter to do direct calculation and use the unit conversion table given at the end to convert various units of computer memory.

 

Let us understand units of computer memory

Smallest unit of computer memory is a Bit. Bit is either ‘1’ or ‘0’, also called as ON or OFF.

Next comes Byte, one Byte equals to 8 Bit. It is a combination of Eight ‘0’ or ‘1’. A Byte represent a character such as ‘a’. A group of words or paragraphs increases size in Byte.

Other higher units is described by adding decimal prefix to Byte i.e ‘Kilo’ which means 1000, ‘Mega’ which means 10^6, ‘Giga’ which means 10^9.

KiloBytes = 1000 Bytes
MegaBytes = 1000 KiloBytes = 10^6 Bytes
GigaBytes = 1000 MegaBytes = 10^6 KiloBytes = 10^9 Bytes

Now the answer to our title question ‘How to convert mb to gb’ is – We need to  divided Megabytes by 1000 to get Gigabyte.

These above mentioned storage units of computer are used to describe the memory sizes but do not actually represent the available memory space. This is because computer memory are based on binary system. In binary system Binary Prefix are used for higher units of computer memory i.e ‘Kilo’ refer to 2^10 or 1024.  ‘Mega’ refer to 2^{20} or 1024 x 1024 and ‘Giga’ refer to 2^{30} or 1024^3. Therefore IEC has given different names  for units of computer memory in binary system, these are as follows.

KiB or KibiBytes  = 1024 Bytes
MiB or MebiBytes = 1024 KibiBytes = 1024^2 Bytes
GiB or GibiBytes = 1024 MebiBytes = 1024^2 KiloBytes = 1024^3 Bytes 

Now why there is a difference in units names and available memory space?? This is because the ‘Kilo’, ‘Mega’, ‘Giga’ are everywhere used as decimal prefix in SI units. The US National Institute of Standards and Technology (NIST) also recommended to use these prefixes in decimal sense only. Whereas the International Electrotechnical Commission (IEC) in 1998 clearly stated to use storage memory in power of 1024 and also given binary prefix like ‘Kibi’, ‘Mebi’ and ‘Gibi’ for units of storage memory.

 

KiloBytes Vs KibiBytes and MegaBytes Vs MebiBytes

One KiloBytes has 1000 Bytes therefore it has \frac{1000}{1024} = 0.97656.. KibiBytes.
One KiloBytes contains only 0.97656.. KibiBytes available memory space. And in general speaking we say 1 KB memory device has 0.9765.. KB memory space.

One MegaBytes has 10^6 Bytes therefore it has \frac{10^6}{1024^2} = 0.95367.. MebiBytes
One MegaBytes contains only 0.95367.. MebiBytes available memory space. And in general speaking we say 1 MB memory device has 0.95367.. MB memory space.

Similarly one GB memory device has 0.9313…GB memory space.

How many MB in a GB?

Simple answer to this question is 1000 MB, as I described above about conversion of units of computer storage. But this may not be a question of simple unit conversion. If it is asking about the available memory space in one GB device then it will have different answer. From Megabyte to Mebibyte conversion factor, 1000 MB is equals to 953.6 MiB. Therefore one GB has 953.6 MB of memory space.

memory-cards

Microsoft Windows calculates the available memory in MebiByte or Gibi Bytes i.e 1 MB =1024^2 Bytes and not 10^6 Bytes. Therefore a hard drive mentioning 500 GB when put into computer reads 465.66 GB memory space. Similarly a 16GB Pendrives have only 14.9 GB available memory space.

There is a difference of 5% in available memory for each MB device, and around 7 % for each GB device.

It is interesting to know that a 3.5″ floppy disk contain 1.44 MB memory space. Whereas the MB to KB conversion in a floppy disk is slightly different. It is 1000 x 1024 for one MB, therefore 1.44 MB contains 1.44 x 1000 x 1024=1474560 Bytes. This is mixed definition of unit conversion.

Convert MB to GB and GiB

 

You can use this online converter of computer memory for any purpose, either to simple convert one unit to other i.e convert MB to GB and vice versa or  calculate the available memory space for each MB and GB. Memory space are denoted by ‘Mebi’ and ‘Gibi’.

 

Internet Data conversion

Internet data usage is based on binary system i.e powers of 1024. The service provider calculate data usage in KB, because their cost are based in per KB usage. If you have used suppose 10 MB data then they convert MB to KB to calculate the cost of data usage. Here ‘Mega’ and ‘Kilo’ represent the binary prefix. As described earlier 1MB equals to 1024 KB therefore total cost is calculated as 1024 multiplied by rate of data charges.

internet-data-conversion rate

                 

Bytes vs other units of computer memory

Decimal prefix
value
Binary Prefix
value
Kilo
10^3
Kibi
1024
Mega
10^6
Mebi
1024^2
Giga
10^9
Gibi
1024^3
Tera
1000^4
Tebi
1024^4
Peta
1000^5
Pebi
1024^5
Exa
1000^6
Exbi
1024^6
Zeta
1000^7
Zebi
1024^7
Yotta
1000^8
Yobi
1024^8

 

Authored by howtocalculate

Check Also

How to calculate area of Quadrilaterals

Quadrilaterals are polygon of four sides and vertices. These can be of different shapes. How ...

How to calculate area of a Triangle

Area of  a Triangle can be calculated by various methods depending upon the available data ...

Leave a Reply

%d bloggers like this: