Ursprungligen inskrivet av gagg
saxat från speedguide.net
When used to describe Memory Size, or Data Storage bits/bytes are generally calculated as some exponent of 2
In Data storage, and when describing Memory size, a Kilobyte is 2^10, or 1024 bytes. Because of binary computer architecture and memory address boundaries, bytes are always some multiple or exponent of two.
* 1 byte (B) = 8 bits (b)
* 1 Kilobyte (K / KB) = 2^10 bytes = 1,024 bytes
* 1 Megabyte (M / MB) = 2^20 bytes = 1,048,576 bytes
* 1 Gigabyte (G / GB) = 2^30 bytes = 1,073,741,824 bytes
* 1 Terabyte (T / TB) = 2^40 bytes = 1,099,511,627,776 bytes
Although data storage capacity, such as on hard drives is generally expressed in binary Megabytes (2^20), most Hard disk manufacturers, and some newer BIOSes use decimal megabytes (10^6), which is slightly different and it gets confusing...
* 1 byte (B) = 8 bits (b)
* 1 Kilobyte (K / KB) = 10^3 bytes = 1,000 bytes
* 1 Megabyte (M / MB) = 10^6 bytes = 1,000,000 bytes
* 1 Gigabyte (G / GB) = 10^9 bytes = 1,000,000,000 bytes
* 1 Terabyte (T / TB) = 10^12 bytes = 1,000,000,000,000 bytes