# Megabit?

**URL:** https://boards.straightdope.com/t/megabit/36517
**Category:** Factual Questions
**Created:** [October 11, 2000, 6:40am UTC](https://boards.straightdope.com/t/megabit/36517 "2000-10-11T06:40:00Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![neutron\_star](https://avatars.discourse-cdn.com/v4/letter/n/51bf81/32.png) [@neutron\_star](https://boards.straightdope.com/u/neutron_star)
#### Post date: [October 11, 2000, 6:40am UTC](https://boards.straightdope.com/t/megabit/36517/1 "2000-10-11T06:40:00Z")

</div>

I see this term tossed around a lot, often seemingly interchangably with megabyte. What’s the deal? Shouldn’t a megabit be 1,000,000 bits or 122 kilobytes? (8 bits in a byte, 1,024 bytes in a kb. 1,000,000 divided by 8, divided by 1,024.)

---

<div class="post-metadata">

### Author: ![sailor](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@sailor](https://boards.straightdope.com/u/sailor)
#### Post date: [October 11, 2000, 7:31am UTC](https://boards.straightdope.com/t/megabit/36517/2 "2000-10-11T07:31:23Z")

</div>

Nope, a megabit and a megabyte are _never_ interchangeable. Two different things. When talking about RAM, etc you are almost always talking megabytes whereas when talking communication speeds it would more likely be megabits (per second).

A _true_ megabyte is 2^20 = 1048576 but hard disk manufacturers, in their quest to confuse the voters, normally use 1 MB = 10^6 = 1000000

---

<div class="post-metadata">

### Author: ![UncleBeer](https://avatars.discourse-cdn.com/v4/letter/u/977dab/32.png) [@UncleBeer](https://boards.straightdope.com/u/UncleBeer)
#### Post date: [October 11, 2000, 10:15am UTC](https://boards.straightdope.com/t/megabit/36517/3 "2000-10-11T10:15:33Z")

</div>

I believe there are 8 bits per byte.

---

<div class="post-metadata">

### Author: ![MattTheCroc](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@MattTheCroc](https://boards.straightdope.com/u/MattTheCroc)
#### Post date: [October 11, 2000, 10:29am UTC](https://boards.straightdope.com/t/megabit/36517/4 "2000-10-11T10:29:29Z")

</div>

[slight hijack]  
And while on the subject, why is it that 1024 bytes=1 kilobyte, 1024 kilobytes = 1 megabyte, but 1000 megabytes = 1 gigabyte?  
[/slight hijack]

---

<div class="post-metadata">

### Author: ![Bobort](https://avatars.discourse-cdn.com/v4/letter/b/ac8455/32.png) [@Bobort](https://boards.straightdope.com/u/Bobort)
#### Post date: [October 11, 2000, 12:24pm UTC](https://boards.straightdope.com/t/megabit/36517/5 "2000-10-11T12:24:24Z")

</div>

> [@](#):
>
> \*Originally posted by MattTheCroc \*  
> \*\*[slight hijack]  
> And while on the subject, why is it that 1024 bytes=1 kilobyte, 1024 kilobytes = 1 megabyte, but 1000 megabytes = 1 gigabyte?  
> [/slight hijack] \*\*

As **sailor** alluded to above, it’s basically the computer storage industry trying to confuse people. Take the lowly 3.5" floppy disk, for example: it’s 1.44 megabytes, right? It says so right on the package! But what does that “megabyte” mean? You’d think it would be either 2[sup]20[/sup] bytes or 10[sup]6[/sup] bytes, but in fact it’s neither. Their “mega” consists of two "kilo"s, one of which is 2[sup]10[/sup], and the other 10[sup]3[/sup]. So a floppy disk contains 1474560 bytes, which is actually 1.40 mega-(2[sup]20[/sup])-bytes, or 1.47 mega-(10[sup]6[/sup])-bytes. There is no standard definition of kilobyte, megabyte, gigabyte, etc. Well, there is but nobody uses it–kilo, mega, etc. are supposed to be powers of 10, and their power-of-two equivalents are supposed to be kibi-, mebi-, gibi- etc. But “mebibyte” sounds too stupid for anyone to use it, so we’re stuck with confusion for now.

---

<div class="post-metadata">

### Author: ![Bobort](https://avatars.discourse-cdn.com/v4/letter/b/ac8455/32.png) [@Bobort](https://boards.straightdope.com/u/Bobort)
#### Post date: [October 11, 2000, 12:50pm UTC](https://boards.straightdope.com/t/megabit/36517/6 "2000-10-11T12:50:49Z")

</div>

As for the OP, when something is measured in megabits or kilobits it’s usually becase it can’t be measured in bytes. For instance, a modem might be 56 kilobits per second, but the number of bits in a byte varies depending on modem settings, so you can’t say it’s equivalent to X number of kilobytes per second.

Strictly speaking, there aren’t usually 8 bits in a byte on a hard disk or CD-ROM either, but the number of bits per byte can’t be changed so they report size in bytes. For example, a CD-ROM can hold 650MB of data but if you examined it with a microscope you’d find something like 16 billion bits.

---

<div class="post-metadata">

### Author: ![CurtC](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@CurtC](https://boards.straightdope.com/u/CurtC)
#### Post date: [October 11, 2000, 2:05pm UTC](https://boards.straightdope.com/t/megabit/36517/7 "2000-10-11T14:05:00Z")

</div>

Bobort, I was confused by your post. AFAIK, a byte _always_ has eight bits. I think you’re confusing the raw number of bits on a CD with the number of bits it presents to the computer after all the error-checking and correcting has been done.

With older modems that were measured in baud (I thought I was hot stuff when I got my 2400 baud modem), the baud rate was different from the rate that you could get data bits through it because of the overhead. I think that modems nowadays (since 28.8 kbps anyway) specify rates in bits per second, and there are eight bits per byte, so a 56 kbps modem can deliver 7 kBytes/sec. However, there’s also a layer of data compression that is usually used, so you could get more data through it that this number if the data is compressible.

---

<div class="post-metadata">

### Author: ![Running\_with\_Scissors](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@Running\_with\_Scissors](https://boards.straightdope.com/u/Running_with_Scissors)
#### Post date: [October 11, 2000, 2:30pm UTC](https://boards.straightdope.com/t/megabit/36517/8 "2000-10-11T14:30:45Z")

</div>

When stored uncompressed in memory, on a hard disk or floppy, yes, a byte has 8 bits. However, bytes are manipulated in different ways when moved around.

For example, as CurtC alluded to regarding his 2400 baud modem, the actual number of bytes per second would have been 240, because there is a start and stop bit for each byte. As modem speeds increased and modem manufacturers started to use different tricks to cram more bytes into the same noisy phone line (such as compression, removing start and stop bits, etc) it’s not as easy to determine.

Another example is network speed. Standard 10BT ethernet is rated at 10 Mbit per second. That does not mean that you can send actual data at 1.25 MBytes per second, because that depends on the network protocol you use. Each protocol has a bit of overhead. A decent rule of thumb for network speeds is Max theoretical Bytes/sec = 1/10 \* Max theoretical bits/sec.

BTW, if you’re confused by abbreviations:

k=1,000, or 10^3  
K=1,024, or 2^10  
m=1,000,000, or 10^6, or 1000k  
M=1,048,576, or 2^20, or 1024K  
b=bit  
B=byte

---

<div class="post-metadata">

### Author: ![WiredGuy](https://avatars.discourse-cdn.com/v4/letter/w/91b2a8/32.png) [@WiredGuy](https://boards.straightdope.com/u/WiredGuy)
#### Post date: [October 11, 2000, 2:45pm UTC](https://boards.straightdope.com/t/megabit/36517/9 "2000-10-11T14:45:18Z")

</div>

A byte is always 8 bits. When a modem gives a speed rating this is how many bits per second that can be transmitted. A byte is still 8 bits but there is other communication overhead involved in the transmition. Stop bits, start bits, parity bits, error checking, ect. Therefore at 56kps you do not transmit 7 kilo bytes per second, more like 80% of that depending on the communication protocol used.

---

<div class="post-metadata">

### Author: ![neutron\_star](https://avatars.discourse-cdn.com/v4/letter/n/51bf81/32.png) [@neutron\_star](https://boards.straightdope.com/u/neutron_star)
#### Post date: [October 11, 2000, 4:12pm UTC](https://boards.straightdope.com/t/megabit/36517/10 "2000-10-11T16:12:58Z")

</div>

Thanks for the answers, y’all. Now I’m slightly less confused than I was when I posted. 🙂

---

<div class="post-metadata">

### Author: ![friedo](https://avatars.discourse-cdn.com/v4/letter/f/8edcca/32.png) [@friedo](https://boards.straightdope.com/u/friedo)
#### Post date: [October 11, 2000, 4:50pm UTC](https://boards.straightdope.com/t/megabit/36517/11 "2000-10-11T16:50:09Z")

</div>

> [@](#):
>
> \*Originally posted by Bobort \*
> 
> As **sailor** alluded to above, it’s basically the computer storage industry trying to confuse people.

They’re not trying to confuse anybody. Memory space is addressed in binary, and as such, sizes are in base 2. 2[sup]10[/sup] = 1024. That’s close to 1000, so the word they use is “kilo.” It’s not an exact match, but they didn’t feel like inventing new words. 1024 “kilo” bytes is one megabyte, or 1,048,576 bytes. See? Close to a million.

> [@](#):
>
> So a floppy disk contains 1474560 bytes, which is actually 1.40 mega-(2[sup]20[/sup])-bytes, or 1.47 mega-(10[sup]6[/sup])-bytes. There is no standard definition of kilobyte, megabyte, gigabyte, etc. Well, there is but nobody uses it–kilo, mega, etc. are supposed to be powers of 10, and their power-of-two equivalents are supposed to be kibi-, mebi-, gibi- etc. But “mebibyte” sounds too stupid for anyone to use it, so we’re stuck with confusion for now.

First of all, I don’t know how you get your numbers. 1,048,576 x 1.44 = 1,509,949 bytes and change. Secondly, it’s accepted in computer science the “kilo,” “mega,” “giga,” and “terra” are powers of **2** , not powers of 10. I agree that it would have been less confusing to invent new words, but that’s the way it is.

As such, the powers of two that are used (kilo = 2[sup]10[/sup], mega = 2[sup]20[/sup] giga = 2[sup]30[/sup] etc) are close enough to the base ten equivelents that it’s hardly confusing. If someone says “gigabyte” you know the person means “about a billion bytes.”

---

<div class="post-metadata">

### Author: ![Bobort](https://avatars.discourse-cdn.com/v4/letter/b/ac8455/32.png) [@Bobort](https://boards.straightdope.com/u/Bobort)
#### Post date: [October 11, 2000, 5:29pm UTC](https://boards.straightdope.com/t/megabit/36517/12 "2000-10-11T17:29:08Z")

</div>

> [@](#):
>
> First of all, I don’t know how you get your numbers. 1,048,576 x 1.44 = 1,509,949 bytes and change. Secondly, it’s accepted in computer science the “kilo,” “mega,” “giga,” and “terra” are powers of 2, not powers of 10. I agree that it would have been less confusing to invent new words, but that’s the way it is.

If you don’t believe me, check your floppy drive. A “1.44MB” floppy contains 1440_1024=1474560 bytes, which is neither 1.44_2[sup]10[/sup] nor 1.44\*10[sup]6[/sup]. On a Unix system, I can put a floppy in the drive and count the number of characters on the raw device:

```auto

638 [bobort@abacus ~]$ wc -c /dev/fd0
1474560 /dev/fd0

```

Like I said, 1474560 bytes.  
Similarly, if you check on the actual capacity of hard disks you’ll find that the numbers used on the box are also a weird mixup of power-of-two and power-of-ten. It might be somewhat of a stretch to say they’re deliberately trying to confuse people, but I can’t think of any good reason to use such bogus nomenclature.

---

<div class="post-metadata">

### Author: ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)
#### Post date: [October 11, 2000, 6:51pm UTC](https://boards.straightdope.com/t/megabit/36517/13 "2000-10-11T18:51:13Z")

</div>

Yes, the real sizes of hard disks are in binary, and binary is the standard in the computer world. The problem is that manufacturers will call a 1000 megabyte disk a 1 gigabyte disk, when it’s actually smaller than one (computer) gigabyte.  
I think that rather than saying that they’re trying to confuse us, a simpler explanation is that they’re confused, too. Of course, the technical people know better, but the marketing folks probably don’t.

---

<div class="post-metadata">

### Author: ![neutron\_star](https://avatars.discourse-cdn.com/v4/letter/n/51bf81/32.png) [@neutron\_star](https://boards.straightdope.com/u/neutron_star)
#### Post date: [October 11, 2000, 7:00pm UTC](https://boards.straightdope.com/t/megabit/36517/14 "2000-10-11T19:00:53Z")

</div>

A couple months ago, I bought a Toshiba laptop that was advertised as having a “6 billon byte hard drive.” And that was the number they kept quoting on the box and all through the owners manual. Not once did they say what it really was - a 5.7 gb drive.

---

<div class="post-metadata">

### Author: ![RESOL](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@RESOL](https://boards.straightdope.com/u/RESOL)
#### Post date: [October 11, 2000, 7:09pm UTC](https://boards.straightdope.com/t/megabit/36517/15 "2000-10-11T19:09:46Z")

</div>

Wasn’t MegaByte the bad guy on ReBoot. I don’t want to mess with him he was one bad dude.

---

<div class="post-metadata">

### Author: ![CurtC](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@CurtC](https://boards.straightdope.com/u/CurtC)
#### Post date: [October 11, 2000, 8:18pm UTC](https://boards.straightdope.com/t/megabit/36517/16 "2000-10-11T20:18:54Z")

</div>

friedo wrote:

> [@](#):
>
> a=(Lbzjoftt,Inqbujfodf,Hvcsjt);  
> $b=“Lbssz Wbmm”; $b =~ y/b-z/a-z/ ;  
> $c = " Tif “. @a .” hsfbu wj".“suvft pg b qsphsbnnfs”. ":  
> “;$c =~y/b-y/a-z/;  
> print”
> 
> $c “;for($i=0; $i\<@a; $i++) {  
> $a[$i] =~ y/b-y/a-z/;  
> if($a[$i]eq$a[-1]){print"and $a[$i].”;}else{ print"$a[$i],";  
> }}print"  
> –$b
> 
> ";  
> – Larry Wall

Now _that’s_ obfuscated. And who’s he calling lazy?

---

<div class="post-metadata">

### Author: ![friedo](https://avatars.discourse-cdn.com/v4/letter/f/8edcca/32.png) [@friedo](https://boards.straightdope.com/u/friedo)
#### Post date: [October 12, 2000, 2:12am UTC](https://boards.straightdope.com/t/megabit/36517/17 "2000-10-12T02:12:04Z")

</div>

**Bobort** and **Chronos** , you are correct; I sit corrected.

> [@](#):
>
> Now _that’s_ obfuscated. And who’s he calling lazy?

I think that one falls under the “hubris” category. 🙂

---

<div class="post-metadata">

### Author: ![aramis](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@aramis](https://boards.straightdope.com/u/aramis)
#### Post date: [October 12, 2000, 2:48am UTC](https://boards.straightdope.com/t/megabit/36517/18 "2000-10-12T02:48:14Z")

</div>

A byte does not always have 8 bits. The number of bits in a byte is an arbitrary choice made by computer and operating system designers. Eight is widely used because it is convenient.

In the early days of computers, there were many models that used 6 bit bytes. They did it by not allowing certain special characters to be printable and no doubt some obscure methods. One of the big savers was simply not using lowercase letters, only uppercase like old teletypes.

There are still vestiges of this in modern systems. Sometimes when files are transferred over the internet, say as email attachments, they are converted before sending using a program called UUEncode and then UUDecoded at the receiving end. The purpose is to convert the 8-bit bytes of the sending operating system into a form that can be handled by any 6-bit byte machines that the file might pass through on its way to the destination. I doubt whether there are actually any such machines still in operation, but the practice continues because the old programs still work.

---

<div class="post-metadata">

### Author: ![sailor](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@sailor](https://boards.straightdope.com/u/sailor)
#### Post date: [October 12, 2000, 2:49am UTC](https://boards.straightdope.com/t/megabit/36517/19 "2000-10-12T02:49:32Z")

</div>

Well, I do not think their ultimate aim is to confuse anybody. Their ultimate aim is to sell you stuff and larger numbers look more impressive. There is really no excuse for this because disk sector clusters are addressed in binary just like RAM. They should stick with binary Megabytes but they didn’t.  
I am talking from memory since I have not messed with disks at the byte level for some time now but let me see if I remember correctly:

A floppy has two sides, 80 tracks, 18 sectors (of 512 bytes): 2880 sectors. 33 sectors are used by the FATs, root directory etc and this leaves 2847 sectors free = 1457664 bytes = 1.39 MB

MS came out with disks that had more sectors and could fit up to 1.6 MB but they never caught on.

To find out the capacity of a disk just multiply the number of heads by number of tracks per head by number of clusters per track by number of sectors per cluster by number of bytes per sector. (2 x 80 x 18 x 1 x 512)

Of course the new hard drives, to get more space, do not give the same number of sectors to the tracks but they have an internal conversion that simulates for the outside the same parameters.

---

<div class="post-metadata">

### Author: ![sailor](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@sailor](https://boards.straightdope.com/u/sailor)
#### Post date: [October 12, 2000, 2:56am UTC](https://boards.straightdope.com/t/megabit/36517/20 "2000-10-12T02:56:14Z")

</div>

Aramis, I think you are mistaken. While there may be many cases where registers, codes etc use something other than 8 bits, the _definition_ of byte is “eight bits”.

What you are saying is equivalent to saying kilometers in America are longer (1608 m) than in Europe. I disagree. Kilometers in America are the same as in Europe, it is that they use another unit of measurement (the mile).

I have never seen anything called a byte but 8 bits.

[Next page](https://boards.straightdope.com/t/megabit/36517.md?page=2)
