If you have ever bought a 1 TB hard drive only to find your computer shows it as 931 GB, or wondered why your 100 Mbps internet plan does not download files at 100 megabytes per second, you have encountered the confusing world of data storage units. You are not alone โ this is one of the most common sources of misunderstanding in technology.
This guide demystifies data storage units once and for all. We will cover the difference between bits and bytes, explain why there are two measurement systems (binary and decimal), walk through every storage unit from kilobytes to petabytes, and give you practical tools to convert between them instantly.
๐พ Convert data storage units instantly
Try Our Free Data Storage ConverterAll digital data is fundamentally composed of bits โ tiny switches that can be either 0 or 1. Every photo, video, document, and app on your device is ultimately a long sequence of these binary digits.
A bit (short for "binary digit") is the smallest possible unit of digital information. It represents a single binary value: either 0 (off) or 1 (on). Bits are the fundamental building blocks of all computing. A single bit can store only two states, but when you combine many bits together, you can represent any type of data.
A byte consists of exactly 8 bits. With 8 bits, you can represent 256 different values (2โธ = 256), which is enough to encode a single character of text โ a letter, number, or symbol โ in systems like ASCII or UTF-8. Bytes are the basic addressable unit of memory in virtually all modern computers.
Here is the core issue: there are two different systems for defining storage units, and they give slightly different results.
The International System of Units (SI) defines prefixes in powers of 1,000. In this system: 1 kilobyte = 1,000 bytes, 1 megabyte = 1,000,000 bytes, 1 gigabyte = 1,000,000,000 bytes. Storage manufacturers (hard drives, USB drives, SD cards) use this system because it makes their products appear to have slightly more capacity. It is also the standard adopted by the International Electrotechnical Commission (IEC) for marketing purposes.
Computers operate in binary (base-2), so storage is naturally organized in powers of 2. In the binary system: 1 kibibyte (KiB) = 1,024 bytes (2ยนโฐ), 1 mebibyte (MiB) = 1,048,576 bytes (2ยฒโฐ), 1 gibibyte (GiB) = 1,073,741,824 bytes (2ยณโฐ). Operating systems like Windows traditionally display storage using these binary values, but label them with the standard prefixes (KB, MB, GB) instead of the technically correct KiB, MiB, GiB.
The difference between decimal and binary grows with each unit level. A "500 GB" hard drive (decimal) contains 500,000,000,000 bytes. When your computer reads this using binary division, it shows 500,000,000,000 รท 1,073,741,824 = approximately 465.66 GiB. That is about 7% less than the labeled capacity. For a 1 TB drive, the gap grows to nearly 10%. This is not misleading advertising โ it is a genuine difference in measurement standards that has been the subject of class-action lawsuits.
A kilobyte is the smallest storage unit you encounter regularly. A single text-only email might be 5โ10 KB. A small text document is typically 20โ50 KB. A low-resolution thumbnail image might be 50โ100 KB. In binary terms, 1 KiB = 1,024 bytes; in decimal terms, 1 KB = 1,000 bytes.
Megabytes measure medium-sized files. A typical smartphone photo is 3โ8 MB. An MP3 song is about 3โ5 MB. A PDF document might be 1โ10 MB depending on images and formatting. One minute of standard-definition video is roughly 10โ15 MB. In binary: 1 MiB = 1,048,576 bytes. In decimal: 1 MB = 1,000,000 bytes.
Gigabytes are the standard unit for most consumer storage discussions. A smartphone has 128โ256 GB of storage. A standard-definition movie is 1โ2 GB. A high-definition movie is 4โ8 GB. A modern PC game can range from 20 to 150 GB. A 4K movie can consume 40โ100 GB depending on compression.
Terabytes measure large-scale storage. External hard drives and consumer NAS devices typically range from 1โ8 TB. A modern AAA game library might total 2โ5 TB. Enterprise servers handle tens to hundreds of terabytes. A 1 TB drive can hold approximately 500 hours of HD video, 250,000 photos, or 17,000 hours of music.
A petabyte equals 1,000 terabytes (decimal) or 1,024 TiB (binary). Major cloud providers like AWS, Google Cloud, and Azure manage data in the exabyte (EB) range. Facebook stores over 250 petabytes of user data. The global internet traffic exceeds several zettabytes per year. These numbers are almost incomprehensible but illustrate the massive scale of modern data infrastructure.
| From | To | Operation |
|---|---|---|
| Kilobytes | Bytes | ร 1,000 |
| Megabytes | Kilobytes | ร 1,000 |
| Gigabytes | Megabytes | ร 1,000 |
| Terabytes | Gigabytes | ร 1,000 |
| Petabytes | Terabytes | ร 1,000 |
| From | To | Operation |
|---|---|---|
| Kibibytes | Bytes | ร 1,024 |
| Mebibytes | Kibibytes | ร 1,024 |
| Gibibytes | Mebibytes | ร 1,024 |
| Tebibytes | Gibibytes | ร 1,024 |
| Pebibytes | Tebibytes | ร 1,024 |
To convert bits to bytes, divide by 8. To convert bytes to bits, multiply by 8. For data transfer speeds: 100 Mbps = 12.5 MB/s, 1 Gbps = 125 MB/s. This conversion is essential for understanding how long downloads will take and comparing internet plans accurately.
Understanding storage units becomes much easier when you connect them to familiar things:
The distinction between bits and bytes becomes painfully practical when downloading files. Internet service providers advertise speeds in megabits per second (Mbps), but file sizes are measured in megabytes (MB). To estimate download time, you must convert: divide the Mbps speed by 8 to get MB/s, then divide the file size by the MB/s speed.
For example, downloading a 4 GB file on a 100 Mbps connection: 100 Mbps รท 8 = 12.5 MB/s. Then 4,000 MB รท 12.5 MB/s = 320 seconds, or about 5.3 minutes. A data storage converter can handle these calculations instantly, saving you from manual math.
Cloud storage providers sometimes measure usage differently. Some bill in binary GiB, others in decimal GB. Compression and deduplication can further complicate matters โ your "1 GB" of data might consume only 600 MB of cloud storage after compression, or more than 1 GB if metadata and versioning are included. Understanding these nuances helps you choose the right cloud plan and avoid unexpected overage charges.
๐ Convert KB, MB, GB, TB and more
Free Data Storage Converter โ Binary & Decimal