Data Storage Converter

Convert between bits, bytes, KB, MB, GB, TB, and PB — decimal or binary.

How to use this tool

Choose decimal (SI, base 1000) or binary (IEC, base 1024) mode, enter a value, then pick the "from" and "to" units. The result updates instantly.

About these conversions

Decimal units (KB=1000 bytes, MB=1000² bytes, GB=1000³ bytes, etc.) follow the SI standard and are what storage manufacturers use on packaging. Binary units (KiB=1024 bytes, MiB=1024² bytes, GiB=1024³ bytes, etc.) follow the IEC standard and are what most operating systems historically show (often mislabeled as KB/MB/GB).

Frequently asked questions

What's the difference between decimal and binary mode?

Decimal (SI) units like KB, MB, GB use powers of 1000 and are what storage manufacturers (hard drives, SSDs) typically use. Binary (IEC) units like KiB, MiB, GiB use powers of 1024 and are what operating systems traditionally display as "KB", "MB", "GB" — which is why a drive labeled 1TB often shows as roughly 931GB in your OS.

Why does my hard drive show less space than advertised?

Manufacturers use decimal units (1TB = 1,000,000,000,000 bytes) while most operating systems display binary units (1TiB = 1,099,511,627,776 bytes) but often label them "TB". The same byte count shows a smaller number under binary counting, so a 1TB drive appears as about 931GB in Windows/macOS.

How many MB is a 100 GB partition?

In disk partitioning tools (Windows Disk Management, diskpart, GParted), 100 GB = 102,400 MB, because these tools compute using 1024 per step while still labeling the units "GB"/"MB" rather than the technically correct "GiB"/"MiB". Use this tool's "Partition/OS sizing" mode to match that exact convention.