The Building Block: The Bit
All digital data starts with the bit โ the smallest unit of information in computing. A bit is either a 0 or a 1 (binary). Eight bits make one byte, which can represent 256 different values and is enough to store a single character of text.
The Storage Unit Hierarchy
- 1 Bit (b) = a single 0 or 1
- 1 Byte (B) = 8 bits
- 1 Kilobyte (KB) = 1,024 bytes
- 1 Megabyte (MB) = 1,024 KB = 1,048,576 bytes
- 1 Gigabyte (GB) = 1,024 MB
- 1 Terabyte (TB) = 1,024 GB
- 1 Petabyte (PB) = 1,024 TB
Why 1,024 and Not 1,000?
Computers work in binary (base 2), so storage is measured in powers of 2. 2^10 = 1,024, which is close to 1,000 but not exactly. This is why 1 kilobyte = 1,024 bytes, not 1,000. Hard drive manufacturers often use 1,000 (decimal) to report capacity, which is why your new 500 GB drive might show as ~465 GB in your operating system.
Real-World Size Examples
- A text message โ 1โ2 KB
- A high-quality photo โ 3โ5 MB
- A 2-hour HD movie โ 4โ8 GB
- A typical laptop hard drive = 500 GB to 2 TB
- All data on the internet โ several zettabytes (1 ZB = 1 billion TB)
Binary Prefixes (IEC Standard)
To eliminate confusion, the IEC introduced binary prefixes: kibibyte (KiB = 1,024 B), mebibyte (MiB = 1,024 KiB), gibibyte (GiB = 1,024 MiB). These are more precise but less commonly used in everyday language.
Convert any storage value instantly with our free digital storage converter.
Frequently Asked Questions
How many bytes are in a kilobyte?
In decimal (SI) terms, 1 kilobyte (KB) = 1,000 bytes. In binary (IEC) terms, 1 kibibyte (KiB) = 1,024 bytes. The decimal KB is used by storage manufacturers and file transfer speeds; the binary KiB is used by operating systems when displaying file sizes. SwiftConvertHub lets you choose which standard to apply.
Why does my hard drive show less space than advertised?
Drive manufacturers measure capacity in decimal gigabytes (1 GB = 1,000,000,000 bytes). Your operating system reports in binary gibibytes (1 GiB = 1,073,741,824 bytes). A 1 TB drive (decimal) therefore shows as approximately 931 GiB in Windows or macOS. This is not a defect โ it's a measurement difference.
What is bigger โ a terabyte or a tebibyte?
A tebibyte (TiB) is larger than a terabyte (TB). 1 TiB = 1,099,511,627,776 bytes, while 1 TB = 1,000,000,000,000 bytes. The difference is about 9.95%. At the petabyte/pebibyte scale, the gap grows to nearly 12.6%.
Convert between bits, bytes, KB, MB, GB, TB, PB and binary prefixes instantly.
โก Digital Storage Converter โ FreeAccuracy note: Conversion factors on SwiftConvertHub are sourced from NIST and IEC standards. Results are accurate for general use. For safety-critical or professional applications, verify results independently. Full disclaimer โ
Victor A. Calvo S. is a software engineer and digital entrepreneur who builds practical, free tools for developers, students, and professionals worldwide. He is the creator of SwiftConvertHub, InstantLinkHub, and Feexio. All conversion factors are cross-referenced against NIST and IEC standards. Learn more โ
Need to share a file or folder? Generate a QR code or WhatsApp link in seconds.
Try InstantLinkHub โ free link & QR generators โ