We're going to format a drive, but what is exactly a GB in MB?

we put in the values for the partitions and it comes out to like 99.9GB instead of 100GB

Recommended Answers

All 8 Replies

1024 megabytes = 1 gigabyte

It has to be a power of 2, but most people tend to round off 1024 to just 1000, which causes some confusion when entering numbers...

I tried 100x1024 and then I added 2MB because I figured this would happen, as it has happened before. Is there a more accurate number of MB in a GB (i.e. 1024.859)?

No, it's exactly 1024. There is technically a difference between a megabyte (1000 MB = 1 GB) and a mebibyte (1024 MiB = 1 GiB), but that would make a much larger difference. I've had the same thing happen when I create partitions too, though, so it's probably something in the partitioning software. Is the 0.1GB that important?

it's just annoying to have 99.9 show up instead of 100.0 :sad:

Couldn't you just add 10.24Mb or so to even it out?

No, it's exactly 1024. There is technically a difference between a megabyte (1000 MB = 1 GB) and a mebibyte (1024 MiB = 1 GiB), but that would make a much larger difference. I've had the same thing happen when I create partitions too, though, so it's probably something in the partitioning software. Is the 0.1GB that important?

You got your history wrong here...
A Megabyte is 1024 bytes. It wasn't until marketing departments started corrupting the term to mean 1000 bytes that some people came up with the silly idea of inventing the term "mebibyte" for 1024 bytes.

You got your history wrong here...
A Megabyte is 1024 bytes. It wasn't until marketing departments started corrupting the term to mean 1000 bytes that some people came up with the silly idea of inventing the term "mebibyte" for 1024 bytes.

Liar!

A megabyte is 1048576 bytes. A gigabyte is 1024 megabytes.

Have-a-nice-day ;-)

1 kb = 1024 bytes
1 Mb = 1024 kb = 1024 * 1024 bytes = 1048576 bytes
1 Gb = 1024 Mb = 1024 * 1024 kb = 1024 * 1024 * 1024 bytes = 1048576 kb= 1073741824 bytes

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.