Data Storage Converter

Convert between binary (KiB, MiB) and decimal (KB, MB) storage units.

All math runs in your browser — nothing is uploadedReviewed & updated: Methodology
Common conversions
bit1
byte0.125
KB0.00012207031
MB1.1920929e-7
GB1.1641532e-1
TB1.1368684e-13
PB1.1102230e-16

How it works

1 KB = 1000 B (decimal). 1 KiB = 1024 B (binary).

Example

1 GB = 1,000,000,000 B. 1 GiB = 1,073,741,824 B.

Frequently asked questions

Why do disks show less?
Manufacturers use decimal; operating systems often display binary.
Bits vs bytes?
1 byte = 8 bits. Network speeds use bits (Mbps), storage uses bytes (MB).
Petabyte?
1 PB = 1000 TB = 1e15 B.
Is 4 KB a common block?
Yes — many filesystems use 4 KiB blocks.

More in Unit Conversion