Data Storage Converter

Enter a data size and its unit to see the equivalent in bytes, KB, MB, GB, and TB.

Bytes (B)
1048576
Kilobytes (KB)
1024
Megabytes (MB)
1
Gigabytes (GB)
0.000977
Terabytes (TB)
0

How data storage conversion works

This calculator uses the binary convention common in computing, where each unit is 1,024 times the previous one (1 KB = 1,024 bytes, 1 MB = 1,024 KB, and so on) — this matches how operating systems like Windows typically report file and drive sizes.

Storage device manufacturers often use the decimal convention instead (1 KB = 1,000 bytes), which is why a drive labeled "1 TB" shows up as roughly 931 GB in an operating system using the binary convention — both are correct, just using different definitions of the unit.

Frequently asked questions

Why does my 1TB drive show less than 1TB of space?

Drive manufacturers typically use decimal units (1 TB = 1,000,000,000,000 bytes), while your operating system typically displays binary units (1 TB = 1,099,511,627,776 bytes) — the drive has the full decimal terabyte, it's just reported in binary units, which makes the same amount of storage look smaller.

How many MB are in a GB?

Using the binary convention this calculator follows, 1 GB = 1,024 MB.

What's the difference between KB and kB?

This is the same decimal-vs-binary ambiguity: technically, a lowercase "kB" (or the official "KiB") denotes 1,000 bytes, while an uppercase "KB" is often used loosely for either definition — in casual computing contexts they're frequently used interchangeably for the binary 1,024-byte unit, which is the convention this calculator uses.

Also try:

Back to category →