Data Storage / B → bit
Convert Bytes to Bits
Convert bit and byte counts with explicit decimal and binary prefixes. Convert Bytes (B) to Bits (bit). Find the formula, worked examples, unit definitions, and practical guidance below.
How to convert bytes to bits
One byte is 8 bits. Decimal kilo/mega/giga use powers of 1000; binary kibi/mebi/gibi use powers of 1024. Marketing capacity and operating-system displays can therefore differ.
Use x for the value in B, b for the intermediate value in B, and y for the result in bit.
bit = B ÷ 0.125
Worked examples
10 B ≈ 80 bit
Step 1: (10 × 1) ≈ 10 B.
Step 2: 10 ÷ 0.125 ≈ 80 bit.20 B ≈ 160 bit
Step 1: (20 × 1) ≈ 20 B.
Step 2: 20 ÷ 0.125 ≈ 160 bit.
Results are rounded to 12 significant digits. Converting units does not increase the precision of the original measurement. Very large or small values outside JavaScript’s finite numeric range are rejected.
About Bytes
Bytes (B) measures data storage under the conventions above. The base value in B is (x × 1), where x is the numerical value in B. Factors shown here are rounded for display; calculations use the stored factor.
About Bits
Bits (bit) measures data storage under the conventions above. The base value in B is (x × 0.125), where x is the numerical value in bit. Factors shown here are rounded for display; calculations use the stored factor.
Definitions and sources
For a different quantity or formatting task, see the related other conversion tools.
Bytes to bits reference table
| Bytes (B) | Bits (bit) |
|---|---|
| 1 | 8 |
| 5 | 40 |
| 10 | 80 |
| 25 | 200 |
| 50 | 400 |
| 100 | 800 |
| 1000 | 8000 |
Browse every data storage conversion →