The smallest unit of data, representing a single binary value of 0 or 1.
Byte (B)
A group of 8 bits; enough to store a single ASCII character.
Kilobyte (KB)
1,000 bytes (SI) or 1,024 bytes (binary/KiB), roughly the size of a short text file.
Gigabyte (GB)
Approximately one billion bytes; a typical HD movie is 4–5 GB.
Petabyte (PB)
One quadrillion bytes; large cloud providers store data at the petabyte scale.
Real-World Examples
Example 1
Photo Library
256 GB
274,877,906,944 bytes (binary) — enough for roughly 64,000 high-resolution photos
Example 2
Internet Speed
100 Mbps
12.5 MB/s — megabits per second divided by 8 gives megabytes per second
Data Storage Unit Scale
Unit
Bytes (Decimal)
Bytes (Binary)
Example
1 KB
1,000
1,024
Short email
1 MB
1,000,000
1,048,576
A high-res photo
1 GB
10&sup9
1,073,741,824
HD movie episode
1 TB
10¹²
1,099,511,627,776
Large external drive
1 PB
10¹&sup5
1,125,899,906,842,624
Enterprise data warehouse
Binary vs. Decimal: Why Your Drive Seems Smaller
The Two Counting Systems
Storage manufacturers label drives using SI (decimal) prefixes where 1 GB = 1,000,000,000 bytes. Operating systems, however, count in binary where 1 GiB = 1,073,741,824 bytes. This discrepancy means a drive advertised as 1 TB shows roughly 931 GiB in your file manager. Neither side is wrong; they simply use different base systems.
Practical Implications
The gap widens with larger drives. A 4 TB drive appears as about 3.63 TiB. When planning storage for backups or media servers, always budget using the binary figure your OS reports. For network speeds, remember that ISPs quote megabits (Mb) while downloads display megabytes (MB)—divide by eight to reconcile the two.