Why a ton, and not a megagram?

JackGreenEarth@lemm.ee to No Stupid Questions@lemmy.world – 151 points –
101

You are viewing a single comment

Also, same issue as with MB and mb, you might confuse megagram with milligram

Although that's not really the reason, more like an argument to keep it this way

And you might confuse MB, megabytes, with MiB, mebibytes. MB is typically used to measure storage, and MiB typically used to measure data. There's 1000 bytes in a kilobyte, and 1024 bytes in a kibibyte.

I still use mb and kb as 1024 instead of 1000, because I prefer to not have units switched around from under me. 2^16 will always address 64kb, not 65.

KB is measured in powers of 10, where KiB is measured in powers of 2:

However, this error is so common that most folks will know what you mean. It'll only really get you in trouble when you're accurately comparing sizes of storage and data. There's a good chance it won't really matter unless you're working with code or archiving disks.

This is also why a "2 TB" hard drive is "smaller than 2 TB." 2 terabytes is 1.819 tebibytes. Even Windows will incorrectly call TiB units TB and terabyte, so people have often carried a conspiracy theory that drive manufacturers "short you," or that the missing data somehow has to do with enormous file system metadata.

There are actually two standards here. Kibibytes was introduced later as a way to reduce confusion cause by the uninitiated thinking the JEDEC standard refered to powers of ten instead of two. That's why I'm saying that 64 kilobytes is equal to 2^16 bytes, because that's what the original standard was.

Mega mean 1024 of something right?

Mega is a million. Kilo is a thousand. 1024 in kilobytes comes from powers of 2 which are more natural in addressing computer memory