bytes to bits

Type any number of bytes and see it in bits straight away; the converter below starts with 5 B.

What you type stays in your browser

5 B = 40 bits

1 B = 8 bit

5 B in other units

Results show up to six significant figures; the calculation uses exact unit definitions.

In short

1 byte equals 8 bits. To convert bytes to bits, multiply by 8: 5 B × 8 = 40 bits.

bytes to bits formula

The formula is bits = bytes × 8, so every byte adds 8 bits to the result.

Written as a single factor, 1 B = 8 bit; the converter keeps the full precision of that factor and rounds only the final result.

Going back, 1 bit = 0.125 bytes, so divide by 8 to turn bits into bytes.

As a reference point, 100 bytes make 800 bits, while 100 bits make 12.5 B.

Example: 5 B to bits

This is the conversion of 5 B to bits, worked through step by step.

  • Multiply by 8: 5 × 8 = 40.
  • Rounded for everyday use, 5 B = 40 bits.

bytes to bits conversion chart

bytes bits
1 B 8 bits
2 B 16 bits
3 B 24 bits
4 B 32 bits
5 B 40 bits
6 B 48 bits
7 B 56 bits
8 B 64 bits
9 B 72 bits
10 B 80 bits
12 B 96 bits
15 B 120 bits
20 B 160 bits
25 B 200 bits
30 B 240 bits
40 B 320 bits
50 B 400 bits
60 B 480 bits
75 B 600 bits
100 B 800 bits

Frequently asked questions

How many bits are in a byte?

One byte is 8 bits. Turned around, one bit is 0.125 B; the two factors multiply to exactly 1.

How many bytes are in a bit?

One bit contains 0.125 B. To turn a number of bits into bytes, divide by 8; the calculation on this page simply runs it the other way.

How do I convert bits to bytes?

Reverse the rule: divide by 8. For example, 5 bits is 0.625 B.

What is 10 bytes in bits?

10 B is exactly 80 bits.

Is the bytes to bits conversion exact?

Yes. Both units have exact definitions, so the factor is exactly 8 and any difference you see comes only from rounding the result.

What are bytes and bits?

A byte is 8 bits, enough to store one character of plain text. File sizes and memory are counted in bytes and their multiples.

A bit is the smallest unit of digital information, a single 0 or 1. Network speeds are counted in bits per second.

How your files stay private

This tool runs with JavaScript inside your browser tab. What you type, the settings you choose and the results stay in the page's memory and disappear when you close it. Nothing is sent to a server; a few display settings may be remembered in your own browser.

All data size conversions

Unit converter All unit converters

Last updated Nov 20, 2026