1 B = 8 bit
Show this value in every data storage unit
- Bits bit
- 8
- Bytes B
- 1
- Kilobytes kB
- 0.001
- Megabytes MB
- 0.000001
- Gigabytes GB
- 1 × 10⁻⁹
- Terabytes TB
- 1 × 10⁻¹²
- Petabytes PB
- 1 × 10⁻¹⁵
- Kibibytes KiB
- 0.000976563
- Mebibytes MiB
- 0.000000953674
- Gibibytes GiB
- 9.31323 × 10⁻¹⁰
- Tebibytes TiB
- 9.09495 × 10⁻¹³
- Pebibytes PiB
- 8.88178 × 10⁻¹⁶
- Exabytes EB
- 1 × 10⁻¹⁸
- Kilobits kbit
- 0.008
- Megabits Mbit
- 0.000008
- Gigabits Gbit
- 8 × 10⁻⁹
- Nibbles nibble
- 2
Quick answer
- 1 B = 8 bit
- 1 bit = 0.125 B
Bytes to Bits formula, and back
bits = bytes × 8
Multiply the number of bytes by 8.
bytes = bits ÷ 8
Divide the number of bits by 8.
Where the factor comes from: one byte is 1 and one bit is 0.125 of the reference unit (bytes). Dividing the first by the second gives 8.
Worked examples
Convert 5 bytes to bits.
5 B × 8 = 40 bit
Convert 12.5 bytes to bits.
12.5 B × 8 = 100 bit
Convert 250 bytes to bits.
250 B × 8 = 2000 bit
Convert 5 bits to bytes.
5 bit ÷ 8 = 0.625 B
Convert 12.5 bits to bytes.
12.5 bit ÷ 8 = 1.5625 B
Convert 250 bits to bytes.
250 bit ÷ 8 = 31.25 B
Conversion tables
Common values in both directions, calculated with the same engine as the converter above.
| Bytes (B) | Bits (bit) |
|---|---|
| 1 B | 8 bit |
| 2 B | 16 bit |
| 3 B | 24 bit |
| 5 B | 40 bit |
| 10 B | 80 bit |
| 15 B | 120 bit |
| 20 B | 160 bit |
| 25 B | 200 bit |
| 50 B | 400 bit |
| 75 B | 600 bit |
| 100 B | 800 bit |
| 250 B | 2000 bit |
| 500 B | 4000 bit |
| 1000 B | 8000 bit |
| Bits (bit) | Bytes (B) |
|---|---|
| 1 bit | 0.125 B |
| 2 bit | 0.25 B |
| 3 bit | 0.375 B |
| 5 bit | 0.625 B |
| 10 bit | 1.25 B |
| 15 bit | 1.875 B |
| 20 bit | 2.5 B |
| 25 bit | 3.125 B |
| 50 bit | 6.25 B |
| 75 bit | 9.375 B |
| 100 bit | 12.5 B |
| 250 bit | 31.25 B |
| 500 bit | 62.5 B |
| 1000 bit | 125 B |
When this conversion is useful
Bytes are used for file sizes, while bits are used for network speeds. Converting between them comes up whenever a value from one of those settings has to be read in the other, so this page works in both directions: press the swap button above to turn bytes to bits into bits to bytes.
The units
What is a byte?
A byte is 8 bits, enough to store one character of basic text. File and memory sizes are counted in bytes and their multiples.
What is a bit?
A bit is the smallest unit of digital information: a single 0 or 1. Network speeds are counted in bits per second, while file sizes are counted in bytes of 8 bits.
Bytes compared with bits
A byte is the larger unit: one byte equals 8 bits.
Accuracy and precision
Results are calculated from the exact definition of each unit and rounded to 6 significant figures for display, or 12 when "More decimal places" is switched on. Round your final answer to match the precision of the measurement you started with.
Kilobytes, megabytes, gigabytes, terabytes and petabytes here are decimal (powers of 1,000). Kibibytes, mebibytes and gibibytes are binary (powers of 1,024).
Frequently asked questions
How many bits are in a byte?
One byte equals 8 bits.
How do I convert bytes to bits?
Multiply the number of bytes by 8. For example, 5 B × 8 = 40 bit.
How do I convert bits to bytes?
Divide the number of bits by 8. For example, 5 bit ÷ 8 = 0.625 B.
Which is larger, a byte or a bit?
A byte is larger. One byte is 8 bits.
Is this converter exact?
Yes, within display rounding. Both units are defined exactly in terms of the same reference unit, and the converter uses those definitions directly.
Related conversions
- Bits and Kilobytes
- Bytes and Kilobytes
- Bytes and Megabytes
- Megabytes and Bits
- Bytes and Gigabytes
- Gigabytes and Bits
- Bytes and Terabytes
Learn more
Think a conversion is incorrect? Email contact@sjwebtechwork.com with the page address, the value you entered, the result you saw and the result you expected.