Bytes to Bits Converter

Convert bytes to bits instantly with our free data storage conversion calculator. Enter any value for accurate results using the binary (1024) convention.

B
=
b
8
Bits (b)
1 B = 8 b
🔄 Swap Units (Bits → Bytes)
1 B
=
8 b
1 Byte = 8 Bits

How to Convert Bytes to Bits

To convert a data storage measurement from bytes to bits, multiply the value by the conversion factor. Since one byte is equal to 8 bits, you can use this formula:

bits = bytes × 8

The data storage in bits is equal to the bytes multiplied by 8.

Example: Convert 5 bytes to bits.

Using the formula: bits = bytes × 8

bits = 5 B × 8 = 40 b

Therefore, 5 bytes equals 40 bits.

How Many Bits Are in a Byte?

There are 8 bits in one byte.

1 B = 8 b

What Is a Byte?

The byte (symbol: B) is a unit of digital information consisting of 8 bits. It is the fundamental unit of data storage and memory addressing in virtually all modern computer architectures. Most computers use one byte as the smallest individually addressable unit of memory. A single byte can represent 28 = 256 different values, from 0 to 255. This is enough to encode one character in the ASCII character set (which uses 7 bits, with the 8th bit historically used for error checking), or one pixel component in a 24-bit color image (8 bits each for red, green, and blue). The term "byte" was coined by Werner Buchholz in 1956 during the design of the IBM 7030 Stretch computer. The spelling "byte" was chosen specifically to avoid confusion with "bit." While bytes of different sizes (6-bit, 7-bit) existed in early computing, the 8-bit byte became universal by the 1970s. File sizes and storage capacities are almost always expressed in bytes and their multiples (kilobytes, megabytes, gigabytes, terabytes). A plain text email might be a few kilobytes, a high-resolution photo several megabytes, an HD movie a few gigabytes, and a large hard drive several terabytes.

One byte is equal to:

  • 8 bits (b)
  • 2 nibbles
  • 1/1,024 kilobytes (kB)
  • 1/1,048,576 megabytes (MB)

What Is a Bit?

The bit (symbol: b), short for binary digit, is the most fundamental unit of information in computing and digital communications. A single bit can hold one of two possible values: 0 or 1, representing the two states of a binary system (off/on, false/true, low/high). The concept of the bit was formalized by Claude Shannon in his 1948 paper "A Mathematical Theory of Communication," which laid the foundation for information theory. Shannon showed that any information can be encoded as a sequence of binary digits. In modern computers, bits are physically represented by electrical voltages, magnetic orientations, optical states, or quantum states depending on the technology. A transistor in a CPU stores one bit by being in either a conducting or non-conducting state. Bits are commonly used to express data transfer rates. Internet speeds, for example, are measured in megabits per second (Mbps) or gigabits per second (Gbps). Note that data transfer rates use bits, while storage capacity typically uses bytes (1 byte = 8 bits).

One bit is equal to:

  • 0.125 bytes (B)
  • 0.25 nibbles
  • 1/1,024 kilobits (kb)
  • 1/8,192 kilobytes (kB)

Understanding Data Storage Units

Data storage units measure the amount of digital information that can be stored, transmitted, or processed. The fundamental unit is the bit (binary digit), which can hold a value of 0 or 1. All digital information, from text documents to 4K videos, is ultimately represented as sequences of bits.

Data storage units are organized in two main hierarchies: bits (b, kb, Mb, Gb, Tb, Pb, Eb) and bytes (B, kB, MB, GB, TB, PB, EB). The relationship between them is that 1 byte = 8 bits. Bits are typically used for data transfer rates (internet speed), while bytes are used for storage capacity (file sizes, drive capacity).

Binary vs. Decimal Prefixes

There are two conventions for data storage prefixes, which can cause confusion:

  • Binary (base-2): Each prefix step is a factor of 1,024 (210). So 1 kB = 1,024 B, 1 MB = 1,024 kB, etc. This is used by operating systems and in most computing contexts. This converter uses the binary convention.
  • Decimal (base-10): Each prefix step is a factor of 1,000. So 1 kB = 1,000 B, 1 MB = 1,000 kB, etc. This is used by storage device manufacturers and in telecommunications.

To avoid confusion, the IEC introduced binary prefixes: kibibyte (KiB = 1,024 B), mebibyte (MiB = 1,024 KiB), gibibyte (GiB = 1,024 MiB), etc. However, these names are not widely used in everyday language.

Common Data Sizes in Perspective

  • 1 Bit: A single binary digit (0 or 1)
  • 1 Byte (8 bits): One text character (ASCII)
  • 1 Kilobyte (1,024 bytes): A short paragraph of text
  • 1 Megabyte (1,024 kB): A compressed photo or one minute of MP3 audio
  • 1 Gigabyte (1,024 MB): About 250 MP3 songs or a short HD video
  • 1 Terabyte (1,024 GB): About 250,000 photos or 500 hours of HD video
  • 1 Petabyte (1,024 TB): About 1,000 consumer hard drives
  • 1 Exabyte (1,024 PB): Roughly 11 million hours of 4K video

Data Transfer Rates vs. Storage

An important distinction exists between data transfer rates and storage capacity:

  • Transfer rates use bits per second: kbps, Mbps, Gbps (note lowercase 'b')
  • Storage capacity uses bytes: kB, MB, GB, TB (note uppercase 'B')

To convert between them, divide the bit rate by 8 to get the byte rate. For example, a 100 Mbps internet connection can transfer at most 12.5 MB per second (100 / 8 = 12.5).

Tips for Data Storage Conversions

  • To convert between adjacent byte units (kB → MB → GB → TB → PB → EB), divide by 1,024 to go up or multiply by 1,024 to go down. The same applies to bit units (kb → Mb → Gb → Tb → Pb → Eb).
  • To convert between bits and bytes at the same prefix level, divide bits by 8 to get bytes, or multiply bytes by 8 to get bits. For example: 100 Mb = 12.5 MB.
  • When comparing internet speed (in Mbps) with file size (in MB), divide the speed by 8 to estimate download time. A 100 Mbps connection downloads at about 12.5 MB/s, so a 1 GB file takes about 80 seconds.
  • Storage manufacturers use decimal (1 GB = 1,000,000,000 bytes) while operating systems use binary (1 GB = 1,073,741,824 bytes). This is why a "500 GB" drive shows as about 465 GB in your OS.
  • A nibble is exactly 4 bits (half a byte) and represents one hexadecimal digit. Two nibbles make one byte.
  • Memory (RAM) sizes always use binary: 4 GB, 8 GB, 16 GB, 32 GB. These are exact powers of 2 in bytes.
  • When estimating storage needs: text files are measured in kB, photos and songs in MB, movies and games in GB, hard drives in TB, and data centers in PB or EB.

Bytes to Bits Conversion Table

The following table shows conversions from bytes to bits, using the binary convention (1 kB = 1,024 B).

BytesBits (b)
1 B8
2 B16
3 B24
4 B32
5 B40
6 B48
7 B56
8 B64
9 B72
10 B80
11 B88
12 B96
13 B104
14 B112
15 B120
16 B128
17 B136
18 B144
19 B152
20 B160
21 B168
22 B176
23 B184
24 B192
25 B200
26 B208
27 B216
28 B224
29 B232
30 B240
31 B248
32 B256
33 B264
34 B272
35 B280
36 B288
37 B296
38 B304
39 B312
40 B320

Related Data Storage Converters

Convert from Bytes

Convert to Bits