There is a question - How many bits are in megabit? With proposed answer 1048576. It is wrong.

Megabit contains 1000000 bits.

1048576 bits are in mebibit.

3 replies to this topic

Posted 12 November 2017 - 03:44 AM

There is a question - How many bits are in megabit? With proposed answer 1048576. It is wrong.

Megabit contains 1000000 bits.

1048576 bits are in mebibit.

Posted 12 November 2017 - 04:59 PM

You just took a course or a lecture?

1mega is 1 million, so yes, 1Mb = 1,000,000 bits. Officially... And the same applies to MegaBytes of course!

Now, the Kb, Mb, Gb to Tb notations are mostly used in relation to bit rates which, as far as I can recall, were most commonly calculated in powers of 10, i.e. 10^{n}. For instance, when I started working as a network engineer in the '90s, 1Kb/s or 1Kbps = 1000bps, not 1024bps. When we deployed leased lines of say 128k, 256k or 1M, in the Telecom world it always meant 128,000bps, 256,000bps or 1,000,000bps.

It's for volume such as file size that that things (used to?) differ with the use of the byte (8bits or octet) notation. KB/MB/GB/etc. were calculated in powers of 2, i.e. 2^{n}. As such:

- 1KB = 2
^{10}bytes, i.e. 1,024 bytes - 1MB = 2
^{20}bytes, i.e. 1,024 kB or 1,024 x 1,024 = 1,048,576 bytes or 1,048,576 x 8 = 8,388,608 bits - 1GB = 2
^{30}bytes, i.e. 1,024 MB = 1,024 x 1,024 x 1,024 = 1,073,741,824 bytes - 1TB = 2
^{40}bytes, i.e. 1,024 GB = 1,024 x 1,024, x 1,024 x 1,024 = 1,099,511,627,776 - and so on...

I can't recall my entire computing history but this derived from the fact that with *n* bits, you get 2* ^{n}* different values. 2

Since end 1998, the official IEC organisation has based things on the regular metric international standard (SI) of powers of 10, i.e.

- 1kB = 1,000 bytes
- 1MB = 1,000,000 bytes
- 1GB = 1,000,000,000 bytes
- 1TB = 1,000,000,000,000 bytes
- and so on...

Indeed, the "*old*" computing-world notations for powers of 2 now officially uses the following convention:

- kibi = kilo binary
- mebi = mega binary
- gibi = giga binary
- tebi = tera binary
- and so on...

but you'll hardly ever see those mentioned. For a huge number of people, the original notations most probably prevails. Rightly or wrongly, not for me to say...

Question is (and without checking 1st): which convention does macOS use? Which one does Win10 use?

Posted 12 November 2017 - 09:15 PM

You just took a course or a lecture?

I just took a new member test, to be allowed to participate in this forum. This test contained a question about bits in megabit, with 3 invalid answers offered.

Posted 12 November 2017 - 10:06 PM

I guess these were written by old farts (like me) for whom 1KB will always be 1024bytes. In fact, JEDEC still refer to the old computing norm for memory (RAM), i.e. 1KB=1024bytes.

https://en.wikipedia.org/wiki/Kilobyte

https://en.wikipedia.../wiki/File_size

Whether the answers you got are invalid or not will remain an open debate, I guess. And *i ^{2}=-1* afterall...

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac |
News |
Forum |
Downloads |
OSx86 Wiki |
Designed by Ed Gain |
Logo by irfan |
Privacy Policy