1 KB = 1 KiloByte = 1000 bytes (1 kilo = 10^3) calculated in terms of powers of 10 in decimal number system.
1 KiB = 1 KibiByte = 1024 bytes (1 kibi = 2^10) calculated in terms of powers of 2 in binary number system.
Similarly,
1 MB = 1 Megabyte = 1000 x 1000 bytes or 1000 KiloBytes or 10^6 bytes.
1 MiB = 1 MibiByte = 1024 x 1024 bytes or 1024 KibiBytes or 2^20 bytes.
and
1 GB = 1 GigaByte = 10^9 bytes
1 GiB = 1 GibiByte = 2^30 bytes
Significance of this:
Have you ever wondered that when you bought your new laptop or desktop and it had, say, 500 GB of hard disk space but the actual usable space was nearly 465 GB of space (in case of Windows), then where is the remaining 35 GB utilized.
Well, actually you had 500 x 1000 x 1000 x 1000 bytes. Now, if you convert these number of bytes into GiB (i.e. divide this number by 1024 x 1024 x 1024), you will come to know the difference. The result will be 465 GiB.
That means you have full 500 GB or 465 GiB space available to you. It is just the difference in notation. In windows GiB is represented as GB. In certain Linux flavors such as OpenSuse etc. you'll notice it is mentioned as GiB.
Earlier it was understood that in terms of binary I K = 1024, 1 M = 1024 x 1024 and so on and otherwise in decimal 1 K = 1000, 1 M = 1000 x 1000 and so on. But, later in order to avoid confusion among the two the terms KiB, MiB, GiB etc. were coined.
I believe this post clears most of the confusions.
1 KiB = 1 KibiByte = 1024 bytes (1 kibi = 2^10) calculated in terms of powers of 2 in binary number system.
Similarly,
1 MB = 1 Megabyte = 1000 x 1000 bytes or 1000 KiloBytes or 10^6 bytes.
1 MiB = 1 MibiByte = 1024 x 1024 bytes or 1024 KibiBytes or 2^20 bytes.
and
1 GB = 1 GigaByte = 10^9 bytes
1 GiB = 1 GibiByte = 2^30 bytes
Significance of this:
Have you ever wondered that when you bought your new laptop or desktop and it had, say, 500 GB of hard disk space but the actual usable space was nearly 465 GB of space (in case of Windows), then where is the remaining 35 GB utilized.
Well, actually you had 500 x 1000 x 1000 x 1000 bytes. Now, if you convert these number of bytes into GiB (i.e. divide this number by 1024 x 1024 x 1024), you will come to know the difference. The result will be 465 GiB.
That means you have full 500 GB or 465 GiB space available to you. It is just the difference in notation. In windows GiB is represented as GB. In certain Linux flavors such as OpenSuse etc. you'll notice it is mentioned as GiB.
Earlier it was understood that in terms of binary I K = 1024, 1 M = 1024 x 1024 and so on and otherwise in decimal 1 K = 1000, 1 M = 1000 x 1000 and so on. But, later in order to avoid confusion among the two the terms KiB, MiB, GiB etc. were coined.
I believe this post clears most of the confusions.
exactly , this post is really very clear on MiB and MB fundamentals.
ReplyDeletePerfecto!
ReplyDeleteThanks for sharing .
ReplyDelete