Data Storage Converter
Convert bit, byte, KB, MB, GB, TB, PB with 1024 or 1000 base.
Inputs
1 KB = 1,024 bytes. Used in RAM, OS file sizes (Windows) and memory addressing.
bit
B
KB
MB
GB
TB
PB
About Data Storage Units
- A bit (binary digit) is the smallest unit of data — either 0 or 1. A byte = 8 bits and is the fundamental addressable unit in virtually all modern computer architectures.
- The IEC 80000-13 standard introduced binary prefixes (kibi-, mebi-, gibi-) for powers of 1024: 1 KiB = 1,024 B, 1 MiB = 1,048,576 B. Despite this, most OSes and tools still use KB/MB/GB to mean 1024-based units, causing confusion.
- Storage manufacturers (HDD, SSD) use SI decimal prefixes (1 GB = 10⁹ bytes), while operating systems report capacities in binary (1 GB = 2³⁰ bytes ≈ 1.074 × 10⁹ bytes). A ''1 TB'' drive appears as ~931 GB in Windows.
- Network speeds are measured in bits per second (bps) using SI prefixes: 1 Gbps = 10⁹ bps. Downloading a 1 GB file (binary) at 100 Mbps (SI) takes: 1,073,741,824 × 8 bits / 100,000,000 bps ≈ 85.9 seconds.
| 1 单位 | = 字节 (1024进制) | = 字节 (1000进制) |
|---|---|---|
| KB | 1,024 | 1,000 |
| MB | 1,048,576 | 1,000,000 |
| GB | 1,073,741,824 | 1,000,000,000 |
| TB | ≈ 1.099×10¹² | 1,000,000,000,000 |