Data Storage Converter
Convert digital file and memory sizes between bits, Bytes (B), Kilobytes (KB), Megabytes (MB), Gigabytes (GB), Terabytes (TB), and Petabytes (PB) with both SI decimal (1,000) and IEC binary (1,024 KiB/MiB/GiB) equivalents.
Data Storage Converter
Enter values Calculate|
Bits vs. Bytes & SI Decimal ($1,000$) vs. IEC Binary ($1,024$) Storage Standards
Digital information is built on two foundational units and two distinct scaling conventions:
- Bits ($\text{bit}$) vs. Bytes ($\text{B}$): A bit (binary digit) is a single $0$ or $1$. In modern computer architecture, $1\text{ Byte (B)} = 8\text{ bits}$. Network speeds are typically rated in bits per second ($\text{Mbps}$, $\text{Gbps}$), whereas file sizes and memory are rated in Bytes ($\text{MB}$, $\text{GB}$, $\text{TB}$).
- SI Decimal ($10^3 = 1,000$) vs. IEC Binary ($2^{10} = 1,024$) Prefixes:
- SI Decimal Standard ($1,000$-base): SSD/hard-drive manufacturers, macOS, and telecommunications step by powers of $10^3 = 1,000$ ($1\text{ KB} = 1,000\text{ B}$, $1\text{ MB} = 10^6\text{ B}$, $1\text{ GB} = 10^9\text{ B}$).
- IEC 80000-13 / JEDEC Binary Standard ($1,024$-base): RAM modules, Windows File Explorer, and operating-system memory allocators step by powers of $2^{10} = 1,024$ ($1\text{ KiB} = 1,024\text{ B}$, $1\text{ MiB} = 1,048,576\text{ B}$, $1\text{ GiB} = 1,073,741,824\text{ B}$).
This converter computes the primary SI decimal ($1,000$-base) conversion and simultaneously displays the exact Total Bytes & Bits and the IEC Binary ($1,024$-base $\text{KiB / MiB / GiB / TiB}$) equivalent in the results panel.
Complete Binary ($1,024$) vs. SI Decimal ($1,000$) Reference Table
| Unit Symbol | SI Decimal ($1,000$-base) Value in Bytes | IEC Binary ($1,024$-base) Value in Bytes | Capacity Difference |
|---|---|---|---|
| $1\text{ bit}$ | $0.125\text{ B}$ ($\frac{1}{8}\text{ Byte}$) | $0.125\text{ B}$ ($\frac{1}{8}\text{ Byte}$) | $0\%$ |
| $1\text{ Byte (B)}$ | $1\text{ B}$ ($8\text{ bits}$) | $1\text{ B}$ ($8\text{ bits}$) | $0\%$ |
| $1\text{ KB / KiB}$ | $10^3 = 1,000\text{ B}$ | $2^{10} = 1,024\text{ B}$ | $+2.40\%$ |
| $1\text{ MB / MiB}$ | $10^6 = 1,000,000\text{ B}$ | $2^{20} = 1,048,576\text{ B}$ | $+4.86\%$ |
| $1\text{ GB / GiB}$ | $10^9 = 1,000,000,000\text{ B}$ | $2^{30} = 1,073,741,824\text{ B}$ | $+7.37\%$ |
| $1\text{ TB / TiB}$ | $10^{12} = 1,000,000,000,000\text{ B}$ | $2^{40} = 1,099,511,627,776\text{ B}$ | $+9.95\%$ |
| $1\text{ PB / PiB}$ | $10^{15}\text{ B}$ | $2^{50} = 1,125,899,906,842,624\text{ B}$ | $+12.59\%$ |
Worked Examples
Example 1: Why a "1 TB" SSD Shows 931 GB in Windows
A storage manufacturer labels a drive as $1\text{ TB (decimal)} = 1,000,000,000,000\text{ Bytes}$. When Windows divides that byte count by $1,024^3 = 1,073,741,824\text{ Bytes per GiB}$:
$$\text{Reported Size} = \frac{10^{12}\text{ B}}{1,073,741,824\text{ B/GiB}} = 931.32\text{ GiB} \quad (\text{or } 0.9095\text{ TiB})$$Example 2: Network Download Speed vs. File Size ($100\text{ Mbps} \rightarrow \text{MB/s}$)
Because $1\text{ Byte} = 8\text{ bits}$, a $100\text{ megabit per second (Mbps)}$ internet connection has a theoretical maximum payload rate of:
$$\text{Download Speed} = \frac{100\text{ Megabits/s}}{8\text{ bits/Byte}} = 12.5\text{ MB/s (decimal)} \approx 11.92\text{ MiB/s (binary)}$$Related Tools
- Need to evaluate powers of $2$ ($2^{10}, 2^{20}, 2^{30}$) or logarithmic bit depth? Use the Scientific Calculator.
- Converting time durations (milliseconds, seconds, minutes, hours) for transfer-time estimates? Open the Time Converter.
- Converting percentages for storage utilization and compression ratios? Try the Percentage Calculator.