Bits to Bytes Converter
Convert bits to bytes, kilobytes, megabytes, gigabytes and more. Supports both SI (decimal) and IEC (binary) units with instant precision.
| Unit | Value |
|---|
About
Data storage and transmission rely on precise unit conversions. A single bit (b) represents a binary digit, while a byte (B) equals 8 bits. Confusion arises when mixing SI decimal prefixes (kilo = 103) with IEC binary prefixes (kibi = 210). A file labeled 1 GB by your operating system may actually be 1 GiB (1,073,741,824 bytes), not 1,000,000,000 bytes. This discrepancy causes storage calculations to fail by up to 7.4% at the gigabyte scale.
Network bandwidth compounds the problem: ISPs advertise speeds in bits per second (Mbps), while downloads display in bytes per second (MB/s). A 100 Mbps connection delivers approximately 12.5 MB/s maximum throughput. This converter handles all standard units from bits through exabytes, distinguishing SI and IEC standards per ISO/IEC 80000-13.
Formulas
Conversion between any two data units uses bits as the canonical base. The input value is first converted to bits, then from bits to the target unit.
Where Vinput is the numeric value entered, Finput is the conversion factor of the source unit (bits per unit), and Foutput is the conversion factor of the target unit.
The percentage difference between SI and IEC units grows with scale: 2.4% at kilo, 4.9% at mega, 7.4% at giga, 10.0% at tera.
Reference Data
| Unit | Symbol | Standard | Bits | Bytes |
|---|---|---|---|---|
| Bit | b | Base | 1 | 0.125 |
| Nibble | nibble | Base | 4 | 0.5 |
| Byte | B | Base | 8 | 1 |
| Kilobit | kb | SI (Decimal) | 1,000 | 125 |
| Kibibit | Kib | IEC (Binary) | 1,024 | 128 |
| Kilobyte | kB | SI (Decimal) | 8,000 | 1,000 |
| Kibibyte | KiB | IEC (Binary) | 8,192 | 1,024 |
| Megabit | Mb | SI (Decimal) | 1,000,000 | 125,000 |
| Mebibit | Mib | IEC (Binary) | 1,048,576 | 131,072 |
| Megabyte | MB | SI (Decimal) | 8,000,000 | 1,000,000 |
| Mebibyte | MiB | IEC (Binary) | 8,388,608 | 1,048,576 |
| Gigabit | Gb | SI (Decimal) | 1,000,000,000 | 125,000,000 |
| Gibibit | Gib | IEC (Binary) | 1,073,741,824 | 134,217,728 |
| Gigabyte | GB | SI (Decimal) | 8,000,000,000 | 1,000,000,000 |
| Gibibyte | GiB | IEC (Binary) | 8,589,934,592 | 1,073,741,824 |
| Terabit | Tb | SI (Decimal) | 1012 | 125 × 109 |
| Tebibit | Tib | IEC (Binary) | 240 | 237 |
| Terabyte | TB | SI (Decimal) | 8 × 1012 | 1012 |
| Tebibyte | TiB | IEC (Binary) | 8 × 240 | 240 |
| Petabit | Pb | SI (Decimal) | 1015 | 125 × 1012 |
| Pebibit | Pib | IEC (Binary) | 250 | 247 |
| Petabyte | PB | SI (Decimal) | 8 × 1015 | 1015 |
| Pebibyte | PiB | IEC (Binary) | 8 × 250 | 250 |
| Exabit | Eb | SI (Decimal) | 1018 | 125 × 1015 |
| Exbibit | Eib | IEC (Binary) | 260 | 257 |
| Exabyte | EB | SI (Decimal) | 8 × 1018 | 1018 |
| Exbibyte | EiB | IEC (Binary) | 8 × 260 | 260 |