Information / Data Converter
Convert between bits, bytes, kilobytes, megabytes, gigabytes, terabytes and their binary counterparts (KiB, MiB, GiB, TiB), plus information-theory units and real-world media sizes.
1 byte = 0.000001 megabytes
Most used data units
- Gigabyte GB 1 GB = 1,000,000,000 B
- Megabyte MB 1 MB = 1,000,000 B
- Byte B Base unit
- Terabyte TB 1 TB = 1,000,000,000,000 B
- Bit bit 1 bit = 0.125 B
- Kilobyte kB 1 kB = 1,000 B
- Gigabit Gbit 1 Gbit = 125,000,000 B
- Megabit Mbit 1 Mbit = 125,000 B
- Terabit Tbit 1 Tbit = 125,000,000,000 B
- Kilobit kbit 1 kbit = 125 B
- Gibibyte GiB 1 GiB = 1,073,741,800 B
- Petabyte PB 1 PB = 1 × 1015 B
Popular data conversions
- Megabytes to gigabytes 1 MB = 0.001 GB
- Gigabytes to megabytes 1 GB = 1,000 MB
- Kilobytes to megabytes 1 kB = 0.001 MB
- Megabytes to kilobytes 1 MB = 1,000 kB
- Gigabytes to terabytes 1 GB = 0.001 TB
- Terabytes to gigabytes 1 TB = 1,000 GB
- Bytes to bits 1 B = 8 bit
- Bits to bytes 1 bit = 0.125 B
- Gibibytes to gigabytes 1 GiB = 1.073742 GB
- Gigabytes to gibibytes 1 GB = 0.9313226 GiB
- Megabits to megabytes 1 Mbit = 0.125 MB
- Megabytes to megabits 1 MB = 8 Mbit
- Kibibytes to kilobytes 1 KiB = 1.024 kB
- Mebibytes to megabytes 1 MiB = 1.048576 MB
- Terabytes to tebibytes 1 TB = 0.9094947 TiB
- Bytes to kilobytes 1 B = 0.001 kB
What is data?
Digital information is measured in bits and bytes. A bit is a single binary digit, 0 or 1; a byte is 8 bits, enough to store one character of English text. File sizes and storage capacities are given in bytes (B), while network speeds are usually given in bits per second (b/s). Note the capital B for bytes and lowercase b for bits.
Larger quantities use prefixes, and here is the classic confusion: under the SI (decimal) system a kilobyte is 1,000 bytes and a gigabyte 1,000,000,000 bytes, which is how drive makers label their products. Computers, however, work in powers of two, and many programs count a "kilobyte" as 1,024 bytes. To remove the ambiguity the IEC introduced binary units in 1998: the kibibyte (KiB, 1,024 bytes), mebibyte (MiB), gibibyte (GiB) and so on.
The difference grows with size: a gibibyte is 7.4% larger than a gigabyte, and a tebibyte is 10% larger than a terabyte. That is why a "1 TB" drive appears as about 931 GB in Windows, which actually counts in GiB.
Decimal versus binary units
- 1 kilobyte (kB) = 1,000 bytes; 1 kibibyte (KiB) = 1,024 bytes
- 1 megabyte (MB) = 1,000,000 bytes; 1 mebibyte (MiB) = 1,048,576 bytes
- 1 gigabyte (GB) = 10⁹ bytes; 1 gibibyte (GiB) = 1,073,741,824 bytes
- 1 terabyte (TB) = 10¹² bytes; 1 tebibyte (TiB) = 1,099,511,627,776 bytes
- 1 byte = 8 bits; 1 megabit (Mb) = 125 kilobytes
Data units from smallest to largest
Every proportional data unit on the site, ordered by size and expressed in bytes.
- Bit 0.125 B
- Nat 0.180337 B
- Trit 0.19812 B
- Crumb 0.25 B
- Hartley 0.415241 B
- Nibble 0.5 B
- Byte 1 B
- Octet 1 B
- Word (16-bit) 2 B
- Double word 4 B
- Quad word 8 B
- Octaword 16 B
- Punch card 80 B
- Kilobit 125 B
- Kibibit 128 B
- Block 512 B
- Kilobyte 1,000 B
- Kibibyte 1,024 B
- Kilobyte (1024 bytes) 1,024 B
- Page of text 2,000 B
- Memory page 4,096 B
- Megabit 125,000 B
- Mebibit 131,072 B
- Megabyte 1,000,000 B
- Mebibyte 1,048,580 B
- Megabyte (1024² bytes) 1,048,580 B
- Floppy disk 1,474,560 B
- MP3 song 4,000,000 B
- Gigabit 125,000,000 B
- Gibibit 134,218,000 B
- CD 734,003,000 B
- Human genome 775,000,000 B
- Gigabyte 1,000,000,000 B
- Gibibyte 1,073,740,000 B
- Gigabyte (1024³ bytes) 1,073,740,000 B
- DVD 4,700,000,000 B
- HD movie 5,000,000,000 B
- Dual-layer DVD 8,500,000,000 B
- Blu-ray disc 25,000,000,000 B
- Terabit 125,000,000,000 B
- Tebibit 137,439,000,000 B
- Terabyte 1,000,000,000,000 B
- Tebibyte 1,099,510,000,000 B
- Library of Congress 10,000,000,000,000 B
- Petabit 125,000,000,000,000 B
- Pebibit 140,737,000,000,000 B
- Petabyte 1 × 1015 B
- Pebibyte 1.1259 × 1015 B
- Exabit 1.25 × 1017 B
- Exbibit 1.441152 × 1017 B
- Exabyte 1 × 1018 B
- Exbibyte 1.152922 × 1018 B
- Zettabit 1.25 × 1020 B
- Zebibit 1.47574 × 1020 B
- Zettabyte 1 × 1021 B
- Zebibyte 1.180592 × 1021 B
- Yottabit 1.25 × 1023 B
- Yobibit 1.511157 × 1023 B
- Yottabyte 1 × 1024 B
- Yobibyte 1.208926 × 1024 B
- Ronnabit 1.25 × 1026 B
- Ronnabyte 1 × 1027 B
- Quettabit 1.25 × 1029 B
- Quettabyte 1 × 1030 B
All 64 data units
Bits & bytes
Decimal (SI)
- Exabits
- Exabytes
- Gigabits
- Gigabytes
- Kilobits
- Kilobytes
- Megabits
- Megabytes
- Petabits
- Petabytes
- Quettabits
- Quettabytes
- Ronnabits
- Ronnabytes
- Terabits
- Terabytes
- Yottabits
- Yottabytes
- Zettabits
- Zettabytes
Binary (IEC)
- Exbibits
- Exbibytes
- Gibibits
- Gibibytes
- Kibibits
- Kibibytes
- Mebibits
- Mebibytes
- Pebibits
- Pebibytes
- Tebibits
- Tebibytes
- Yobibits
- Yobibytes
- Zebibits
- Zebibytes
Legacy binary (JEDEC)
Information theory
Media & everyday comparisons
Frequently asked questions
How many bytes are in a kilobyte?
Under the SI definition, 1,000 bytes. Many programs use the older binary meaning of 1,024 bytes, which is properly called a kibibyte (KiB).
How many megabytes are in a gigabyte?
1,000 MB (decimal). In binary units, 1 GiB = 1,024 MiB.
Why does my 1 TB drive show 931 GB?
The drive holds 10¹² bytes. Windows divides by 1,024³ and labels the result "GB", giving 931 (it is really 931 GiB).
What is the difference between Mb and MB?
Mb is megabits and MB is megabytes. One megabyte is 8 megabits, so a 100 Mb/s connection downloads at most 12.5 MB per second.