Learn what bytes, KB, MB, GB, and TB mean, and the key difference between decimal and binary storage units.
Digital storage is measured in bytes, and the further units built from them (kilobytes, megabytes, gigabytes, and terabytes) are everywhere, from phone storage to broadband speeds. They’re also a common source of confusion, partly because “kilo,” “mega,” and “giga” are defined two different ways depending on the context.
The smallest unit of digital data is a bit, which holds a single 0 or 1. Bytes are the next step up:
A byte is the common baseline unit for measuring data. For example, one character of plain text typically takes up one byte.
This is the part that trips people up: “kilo,” “mega,” and “giga” are defined two different ways.
Decimal prefixes (the formal SI definition, and the one storage manufacturers use):
Binary prefixes (used because computers naturally work in powers of two, and formally named KiB/MiB/GiB/TiB to distinguish them):
Software and operating systems don’t all follow the same convention: some correctly use KiB/MiB/GiB, while others display binary-calculated values but label them “KB/MB/GB” anyway, which is exactly where the confusion comes from.
This explains a common source of confusion: a drive sold as “1 TB” uses the decimal definition, meaning exactly 1,000,000,000,000 bytes. Many operating systems, however, calculate displayed storage using binary math while still labeling it “GB.” That same drive, measured that way, works out to about 931 “GB” (more precisely, GiB) on screen.
No storage has actually gone missing; it’s the same physical bytes, just measured against two different conventions for what “giga” means. (A small amount of a drive’s capacity is also used by the filesystem itself for bookkeeping, but the decimal-versus-binary mismatch is the main reason the numbers don’t match.)
| File Type | Typical Size (approximate) |
|---|---|
| Plain text document | A few KB |
| Smartphone photo (JPEG) | 2-5 MB |
| Song (MP3, standard quality) | 3-5 MB |
| HD video (per hour) | Roughly 1-4 GB |
| 4K video (per hour) | Roughly 4-8+ GB |
These are rough, illustrative figures only. Actual file sizes vary significantly depending on format, compression, resolution, and quality settings: a heavily compressed photo and an uncompressed one of the same subject can differ by several times in size. If you’re comparing video files specifically, resolution plays a large role in file size, and the Digital Resolution Converter can help make sense of common resolution names like 1080p and 4K.
Converting between storage units means multiplying or dividing by 1,000 (decimal) or 1,024 (binary) per step, depending on which convention applies.
Example (decimal): Convert 2,500 MB to GB: 2,500 ÷ 1,000 = 2.5 GB.
The Data Storage Converter converts between bits, bytes, KB, MB, GB, TB, and their binary KiB/MiB/GiB/TiB equivalents, so you don’t need to track which convention applies by hand.
Data Storage Converter
Under the decimal definition used by storage manufacturers, 1 KB = 1,000 bytes. Under the binary definition, 1 KiB = 1,024 bytes.
Under the decimal definition, 1 GB = 1,000 MB. Under the binary definition, 1 GiB = 1,024 MiB.
KB (kilobyte) formally means 1,000 bytes, the decimal definition. KiB (kibibyte) means 1,024 bytes, the binary definition used internally by computers. Many systems label binary values as “KB” anyway, which is the main source of confusion between the two.
Under the decimal definition, 1 TB = 1,000 GB. Under the binary definition, 1 TiB = 1,024 GiB.
Manufacturers advertise capacity using the decimal definition of a gigabyte or terabyte, while your operating system often displays capacity calculated with binary math but still labeled “GB” or “TB.” The bytes themselves aren’t missing; they’re just being measured against two different conventions, plus a small amount used by the filesystem itself.
A gigabyte (GB) is bigger. There are 1,000 megabytes in a gigabyte under the decimal definition (1,024 under the binary one).
Find the right tool, or keep reading Brekzy's other guides.