Data Unit Converter

Convert between units of digital data.

About Data Unit Converter

Convert between units of digital data.

Supported Units

  • Terabyte (TB): The terabyte is a unit of digital data equal to 1,000 gigabytes (one trillion bytes). Modern laptops typically come with 256 GB to 1 TB of storage, while external hard drives commonly offer 1 to 8 TB. Terabytes are used when discussing large-scale data storage such as video libraries, enterprise databases, and cloud storage plans. This tool uses SI prefixes where 1 TB equals 1,000 GB.
  • Gigabyte (GB): The gigabyte is a unit of digital data equal to 1,000 megabytes (one billion bytes). It is the most familiar data unit in daily life, used for smartphone storage (64 GB, 128 GB, 256 GB), mobile data plans (3 GB, 20 GB per month), and app sizes. A high-definition movie is roughly 4 to 5 GB, and a smartphone photo is about 3 to 5 MB, so one GB can hold roughly 200 to 300 photos.
  • Megabyte (MB): The megabyte is a unit of digital data equal to 1,000 kilobytes (one million bytes). A typical MP3 music file is 3 to 5 MB, and a high-resolution photo is about 3 to 10 MB. Email services commonly set attachment limits around 25 MB. In the early days of computing, the standard floppy disk held 1.44 MB, and megabytes were the primary measure of hard drive capacity.
  • Kilobyte (KB): The kilobyte is a unit of digital data equal to 1,000 bytes (one thousand bytes). Short text files, simple HTML pages, and plain-text emails typically measure just a few kilobytes. In the early history of computing, programs and games ran in kilobytes of memory, and the unit remains a symbol of efficient programming. Today, kilobytes are used for small configuration files, icons, and plain-text documents. This tool uses SI prefixes where 1 KB equals 1,000 bytes.
  • Byte (B): The byte is the fundamental unit of digital data, consisting of 8 bits. One byte is enough to represent a single ASCII character such as a letter or digit. In UTF-8 encoding, a Japanese character typically requires 3 bytes. All larger data units (KB, MB, GB, TB) are built upon the byte. It serves as the basic addressable unit in computer memory and storage systems.
  • Bit (bit): The bit is the smallest unit of information, representing a binary value of either 0 or 1. The word is short for "binary digit." Eight bits make up one byte. Internet connection speeds are measured in bits per second (bps), so a 1 Gbps fiber connection transfers one billion bits per second. Encryption strength (128-bit, 256-bit) and CPU architecture (32-bit, 64-bit) are also expressed in bits, making it a foundational unit in computing.
  • Tebibyte (TiB): The tebibyte is a binary prefix unit defined by the IEC, equal to exactly 2 to the 40th power bytes (1,099,511,627,776 bytes). It was introduced to distinguish binary measurements from the SI prefix tera (10 to the 12th power). Since computer memory operates in powers of two, the tebibyte represents actual capacity more accurately. Operating systems often report disk sizes in tebibytes, which is why a drive marketed as 1 TB (SI) may appear as roughly 0.909 TiB.
  • Gibibyte (GiB): The gibibyte is an IEC binary prefix unit equal to exactly 2 to the 30th power bytes (1,073,741,824 bytes). Linux and many other operating systems display memory and disk capacity in gibibytes for precision. There is approximately a 7.4 percent difference between a gibibyte and the SI-based gigabyte (one billion bytes), which explains why a new hard drive appears to have less capacity than advertised.
  • Mebibyte (MiB): The mebibyte is an IEC binary prefix unit equal to exactly 2 to the 20th power bytes (1,048,576 bytes). It differs from the SI-based megabyte (one million bytes) by about 4.9 percent. Software developers and system administrators use mebibytes for precise memory allocation and file size reporting. The classic 1.44 MB floppy disk actually held 1.40625 MiB, illustrating the discrepancy between SI and binary prefixes.
  • Kibibyte (KiB): The kibibyte is an IEC binary prefix unit equal to exactly 1,024 bytes (2 to the 10th power). It was introduced in 1998 to resolve the ambiguity of "kilobyte," which historically referred to both 1,000 and 1,024 bytes depending on context. In systems programming, memory page sizes (commonly 4 KiB) and buffer sizes are specified in kibibytes. The distinction matters most in large-scale computing where the cumulative difference between powers of ten and powers of two becomes significant.

How to Use

1. Select the unit you want to convert from in the "From" dropdown.

2. Select the unit you want to convert to in the "To" dropdown.

3. Enter a value and the result will be displayed in real time.

4. Use the swap button to reverse the conversion direction.