Data Units Converter
Understanding Data Units
Digital data is measured in bits and bytes. A bit is the smallest unit of data, representing a single binary value (0 or 1). A byte consists of 8 bits and is the fundamental unit used to measure file sizes, memory capacity, and data transfer rates.
1 byte = 8 bitsTwo measurement systems exist for data units: the decimal (SI) system using powers of 1000, and the binary (IEC) system using powers of 1024. This distinction is important when comparing storage capacities reported by manufacturers (decimal) versus operating systems (binary).
Common Data Units
- Bit (bit) — The fundamental unit of digital information. A single binary digit: 0 or 1.
- Byte (B) — 8 bits. The basic addressable unit of computer memory.
- Kilobyte (kB) / Kibibyte (KiB) — 1,000 bytes (decimal) or 1,024 bytes (binary). Used for small files and text documents.
- Megabyte (MB) / Mebibyte (MiB) — 1 million bytes (decimal) or 1,048,576 bytes (binary). Common for photos and music files.
- Gigabyte (GB) / Gibibyte (GiB) — 1 billion bytes (decimal) or 1,073,741,824 bytes (binary). Standard for RAM and storage.
- Terabyte (TB) / Tebibyte (TiB) — 1 trillion bytes (decimal) or 1,099,511,627,776 bytes (binary). Used for hard drives and SSDs.
Frequently Asked Questions About Data Units
How many MiB in 16 GB?
16 GB equals 15,258.79 MiB (using binary calculation: 16 × 1000³ ÷ 1024² = 15,258.79 MiB).
What is the difference between MB and MiB?
MB (Megabyte) uses decimal (base 10): 1 MB = 1,000,000 bytes
MiB (Mebibyte) uses binary (base 2): 1 MiB = 1,048,576 bytes
The difference is about 4.86%. RAM is typically measured in MiB/GiB (binary), while hard drives use MB/GB (decimal).
How do I convert Gbit to GB?
1 Gbit = 0.125 GB (divide by 8, since 1 byte = 8 bits).
Byte conversion chart for binary and decimal conversion
Binary System (traditional)
In data storage, traditionally, a kilobyte is 210 or 1,024 bytes. This is the BINARY system where multiples of bytes are always some exponent of two.
- 1 byte (B) = 8 bits (b)
- 1 kibibyte - KiB | traditional Kilobyte - KB = 210 bytes = 1,024 bytes
- 1 mebibyte - MiB | traditional Megabyte - MB = 220 bytes = 1,048,576 bytes
- 1 gibibyte - GiB | traditional Gigabyte - GB = 230 bytes = 1,073,741,824 bytes
- 1 tibibyte - TiB | traditional Terabyte - TB = 240 bytes = 1,099,511,627,776 bytes
The Decimal System (SI)
Most hard disk manufacturers use decimal megabytes (106). This is the DECIMAL system where multiples of bytes are always some exponent of ten:
- 1 byte (B) = 8 bits (b)
- 1 kilobyte (kB) = 103 bytes = 1,000 bytes
- 1 megabyte (MB) = 106 bytes = 1,000,000 bytes
- 1 gigabyte (GB) = 109 bytes = 1,000,000,000 bytes
- 1 terabyte (TB) = 1012 bytes = 1,000,000,000,000 bytes
Multiples of bit
| Unit | Symbol | In bits |
|---|---|---|
| Bit | bit | 1 |
| Kilobit | kbit | 1,000 |
| Kibibit | Kibit | 1,024 |
| Megabit | Mbit | 1,000,000 |
| Mebibit | Mibit | 1,048,576 |
| Gigabit | Gbit | 1,000,000,000 |
| Gibibit | Gibit | 1,073,741,824 |
| Terabit | Tbit | 1,000,000,000,000 |
| Tebibit | Tibit | 1,099,511,627,776 |
| Petabit | Pbit | 1,000,000,000,000,000 |
| Pebibit | Pibit | 1,125,899,906,842,620 |
Multiples of byte
| Unit | Symbol | In bits |
|---|---|---|
| Byte | B | 8 |
| Kilobyte | kB | 8,000 |
| Kibibyte | KiB | 8,192 |
| Megabyte | MB | 8,000,000 |
| Mebibyte | MiB | 8,388,608 |
| Gigabyte | GB | 8,000,000,000 |
| Gibibyte | GiB | 8,589,934,592 |
| Terabyte | TB | 8,000,000,000,000 |
| Tebibyte | TiB | 8,796,093,022,208 |
| Petabyte | PB | 8,000,000,000,000,000 |
| Pebibyte | PiB | 9,007,199,254,740,990 |