Data Storage Units
Much like length can be measured in metres and kilometres or weight in grams and kilograms.
For example, you’d have 1000 meters in a kilometre, or 1000 grams in a kilogram.
Computer storage is measured in the same fashion using bytes and kilobytes.
Technically 1 kilobyte is exactly 1024 bytes because computers operate in binary (2, 4, 8, 16, 32, 64, 128, 256, 512, 1024), but in order to simply things, 1024 is rounded off to 1000. So 1 kilobyte = 1000 bytes. These are called decimal units according to the International System of Units (SI) definition.
Decimal units such as kilobyte (KB), megabyte (MB), and gigabyte (GB) are commonly used to express the size of data. Disk drive manufacturers use the decimal system when labelling ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access