Converters
Convert data size between bytes, kilobytes, megabytes, gigabytes, and terabytes — pick base 1024 or 1000 and see all five units at once.
Results update as you type. No calculate button. All calculations run locally in your browser.
—
—
| Unit | Value |
|---|
All five units describe the same amount of data under the base you selected; switching the base changes every row.
Bytes = value × basesource level; target value = bytes ÷ basetarget level, where levels are B=0, KB=1, MB=2, GB=3, TB=4.
| Unit | Level | Bytes at base 1024 | Bytes at base 1000 |
|---|---|---|---|
| B | 0 | 1 | 1 |
| KB | 1 | 1,024 | 1,000 |
| MB | 2 | 1,048,576 | 1,000,000 |
| GB | 3 | 1,073,741,824 | 1,000,000,000 |
| TB | 4 | 1,099,511,627,776 | 1,000,000,000,000 |
Strictly, KiB/MiB/GiB are the base-1024 units and KB/MB/GB are base-1000 SI units. In practice many operating systems label base-1024 sizes as KB/MB/GB; this page follows that common labelling and lets you switch base explicitly instead of hiding the difference.
1 GB at base 1024 = 1 × 1024 = 1,024 MB, = 1,024 × 1,024 = 1,048,576 KB, = 1,073,741,824 bytes. The same 1 GB at base 1000 = 1,000 MB exactly. A 2.5 TB drive at base 1024 is 2.5 × 1,024 = 2,560 GB.
Negative sizes are rejected as invalid. Display values are rounded to 6 decimal places; the underlying calculation is not rounded. Formatted drive capacity, filesystem overhead, and the KiB-vs-KB naming dispute are not modelled — this page converts the number you enter, nothing more.
Use 1000 for SI/manufacturer specifications (a drive sold as 1 TB usually means 10^12 bytes) and 1024 for the sizes most operating systems report. When in doubt, check which one your source used — the gap reaches about 10% at TB scale.
GiB is unambiguously base 1024 (1 GiB = 1,073,741,824 bytes); GB is the SI base-1000 unit. Many tools write GB when they mean GiB, which is why this page makes the base an explicit choice.
Partly this base difference: 10^12 bytes = 931.32 GiB at base 1024. Filesystem overhead accounts for the rest.
1,024 MB at base 1024, or 1,000 MB at base 1000 — the answer depends on the base, so always state it.
No — bytes only. 1 byte = 8 bits; convert bits to bytes first (divide by 8) and enter that value.
Results are estimates only and do not constitute professional advice.