💾 Data Storage converter
Convert between bytes, kilobytes, megabytes, gigabytes and terabytes, in decimal and binary units. Enter a value and pick its unit to see it in every other unit.
Popular data storage conversions
| Conversion | Rate |
|---|---|
| Kilobytes to megabytes | 1 KB = 0.001 MB |
| Megabytes to gigabytes | 1 MB = 0.001 GB |
| Gigabytes to megabytes | 1 GB = 1,000 MB |
| Gigabytes to terabytes | 1 GB = 0.001 TB |
| Terabytes to gigabytes | 1 TB = 1,000 GB |
| Gigabytes to bytes | 1 GB = 1,000,000,000 B |
| Gibibytes to gigabytes | 1 GiB = 1.0737418 GB |
| Megabytes to kilobytes | 1 MB = 1,000 KB |
About data storage units
There are two systems. Storage makers use decimal units, where 1 GB is 1,000,000,000 bytes. Operating systems often count in binary units, where 1 GiB is 1,073,741,824 bytes, but Windows still labels them "GB".
This converter keeps the two apart: KB, MB, GB and TB are decimal (powers of 1,000), and KiB, MiB, GiB and TiB are binary (powers of 1,024).
Data Storage units
| Unit | Symbol | In bytes |
|---|---|---|
| Bit | b | 0.125 B |
| Byte | B | 1 B |
| Kilobyte | KB | 1,000 B |
| Megabyte | MB | 1,000,000 B |
| Gigabyte | GB | 1,000,000,000 B |
| Terabyte | TB | 1,000,000,000,000 B |
| Petabyte | PB | 1 × 10¹⁵ B |
| Kibibyte | KiB | 1,024 B |
| Mebibyte | MiB | 1,048,576 B |
| Gibibyte | GiB | 1,073,741,824 B |
| Tebibyte | TiB | 1,099,511,627,776 B |
| Kilobit | kbit | 125 B |
| Megabit | Mbit | 125,000 B |
| Gigabit | Gbit | 125,000,000 B |
All data storage conversions
From bits
From bytes
From kilobytes
From megabytes
From gigabytes
From terabytes
From petabytes
From kibibytes
From mebibytes
From gibibytes
From tebibytes
From kilobits
From megabits
From gigabits
Data Storage unit definitions
- Bit (b)
- A bit is the smallest unit of digital information, a single 0 or 1. Eight bits make a byte.
- Byte (B)
- A byte is 8 bits, enough to store one character of plain text.
- Kilobyte (KB)
- A kilobyte (KB) is 1,000 bytes in the SI system that storage makers use. Older software often meant 1,024 bytes, which is now called a kibibyte (KiB).
- Megabyte (MB)
- A megabyte (MB) is 1,000,000 bytes. Windows shows sizes in binary units but labels them MB, so it reports 1,048,576 bytes as 1 MB.
- Gigabyte (GB)
- A gigabyte (GB) is 1,000,000,000 bytes. That is why a 1 TB drive shows up as about 931 GB in Windows, which counts in gibibytes.
- Terabyte (TB)
- A terabyte (TB) is 1,000,000,000,000 bytes, or 1,000 gigabytes. Hard drives are sold by the terabyte.
- Petabyte (PB)
- A petabyte (PB) is 1,000 terabytes. Data centers and research archives measure storage in petabytes.
- Kibibyte (KiB)
- A kibibyte (KiB) is 1,024 bytes, the binary counterpart of the kilobyte.
- Mebibyte (MiB)
- A mebibyte (MiB) is 1,024 kibibytes, or 1,048,576 bytes. RAM and many Linux tools report sizes in MiB.
- Gibibyte (GiB)
- A gibibyte (GiB) is 1,024 mebibytes, or 1,073,741,824 bytes, about 7.4% more than a gigabyte.
- Tebibyte (TiB)
- A tebibyte (TiB) is 1,024 gibibytes, about 1.1 terabytes.
- Kilobit (kbit)
- A kilobit is 1,000 bits, or 125 bytes.
- Megabit (Mbit)
- A megabit is 1,000,000 bits, or 125,000 bytes. Internet speeds are quoted in megabits per second.
- Gigabit (Gbit)
- A gigabit is 1,000,000,000 bits, or 125 megabytes.