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

Popular data conversions

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.

  1. Bit 0.125 B
  2. Nat 0.180337 B
  3. Trit 0.19812 B
  4. Crumb 0.25 B
  5. Hartley 0.415241 B
  6. Nibble 0.5 B
  7. Byte 1 B
  8. Octet 1 B
  9. Word (16-bit) 2 B
  10. Double word 4 B
  11. Quad word 8 B
  12. Octaword 16 B
  13. Punch card 80 B
  14. Kilobit 125 B
  15. Kibibit 128 B
  16. Block 512 B
  17. Kilobyte 1,000 B
  18. Kibibyte 1,024 B
  19. Kilobyte (1024 bytes) 1,024 B
  20. Page of text 2,000 B
  21. Memory page 4,096 B
  22. Megabit 125,000 B
  23. Mebibit 131,072 B
  24. Megabyte 1,000,000 B
  25. Mebibyte 1,048,580 B
  26. Megabyte (1024² bytes) 1,048,580 B
  27. Floppy disk 1,474,560 B
  28. MP3 song 4,000,000 B
  29. Gigabit 125,000,000 B
  30. Gibibit 134,218,000 B
  31. CD 734,003,000 B
  32. Human genome 775,000,000 B
  33. Gigabyte 1,000,000,000 B
  34. Gibibyte 1,073,740,000 B
  35. Gigabyte (1024³ bytes) 1,073,740,000 B
  36. DVD 4,700,000,000 B
  37. HD movie 5,000,000,000 B
  38. Dual-layer DVD 8,500,000,000 B
  39. Blu-ray disc 25,000,000,000 B
  40. Terabit 125,000,000,000 B
  41. Tebibit 137,439,000,000 B
  42. Terabyte 1,000,000,000,000 B
  43. Tebibyte 1,099,510,000,000 B
  44. Library of Congress 10,000,000,000,000 B
  45. Petabit 125,000,000,000,000 B
  46. Pebibit 140,737,000,000,000 B
  47. Petabyte 1 × 1015 B
  48. Pebibyte 1.1259 × 1015 B
  49. Exabit 1.25 × 1017 B
  50. Exbibit 1.441152 × 1017 B
  51. Exabyte 1 × 1018 B
  52. Exbibyte 1.152922 × 1018 B
  53. Zettabit 1.25 × 1020 B
  54. Zebibit 1.47574 × 1020 B
  55. Zettabyte 1 × 1021 B
  56. Zebibyte 1.180592 × 1021 B
  57. Yottabit 1.25 × 1023 B
  58. Yobibit 1.511157 × 1023 B
  59. Yottabyte 1 × 1024 B
  60. Yobibyte 1.208926 × 1024 B
  61. Ronnabit 1.25 × 1026 B
  62. Ronnabyte 1 × 1027 B
  63. Quettabit 1.25 × 1029 B
  64. Quettabyte 1 × 1030 B

All 64 data units

Bits & bytes

Decimal (SI)

Binary (IEC)

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.

Related categories