Digital Storage Converter
Convert bytes, kilobytes, megabytes, gigabytes, terabytes and binary units.
About digital storage units
Digital storage has two parallel systems. Decimal units follow SI: a kilobyte is 1,000 bytes. Binary units follow IEC 80000-13: a kibibyte is 1,024 bytes. Drive manufacturers use decimal units and most operating systems display binary ones, which is why a 1 TB drive shows as roughly 931 GiB.
Lowercase b means bit; uppercase B means byte (8 bits). Decimal kB, MB and GB use powers of 1000; binary KiB, MiB and GiB use powers of 1024. Choose the label that matches the source measurement.
Popular conversions
The conversions people look up most in this category.
All units
Compare unit values in the base unit. Numbers are rounded to 8 significant digits; conventions and assumptions appear beside the units.
| Unit | Symbol | 1 unit in b |
|---|---|---|
| bit | b | 1 |
| nibble | nibble | 4 |
| byte | B | 8 |
| kilobit | kb | 1,000 |
| kilobyte | kB | 8,000 |
| megabit | Mb | 1,000,000 |
| megabyte | MB | 8,000,000 |
| gigabit | Gb | 1,000,000,000 |
| gigabyte | GB | 8,000,000,000 |
| terabit | Tb | 1,000,000,000,000 |
| terabyte | TB | 8,000,000,000,000 |
| petabit | Pb | 1e+15 |
| petabyte | PB | 8e+15 |
| kibibit | Kib | 1,024 |
| kibibyte | KiB | 8,192 |
| mebibit | Mib | 1,048,576 |
| mebibyte | MiB | 8,388,608 |
| gibibit | Gib | 1,073,741,800 |
| gibibyte | GiB | 8,589,934,600 |
| tebibit | Tib | 1,099,511,600,000 |
| tebibyte | TiB | 8,796,093,000,000 |
| pebibit | Pib | 1.1258999e+15 |
| pebibyte | PiB | 9.0071993e+15 |
All conversion pages
Each page has the formula, worked examples and a reference table.