Convert bytes to bits
1 byte is 8 bits, so you only need to multiply the number of bytes by 8. Type a size in bytes and the converter shows the result in bits straight away.
How many bits are in a byte?
A byte has 8 bits. Each of those bits is either 0 or 1, so a byte can take 256 different values: from 00000000 to 11111111 in binary, which is 0 to 255 in everyday numbers[1].
A byte can also be split into two halves of 4 bits each. Such a half is called a nibble, sometimes spelled nybble, and it matches exactly one hexadecimal digit[1].
How do you convert bytes to bits?
Multiply the number of bytes by 8: bits = bytes × 8. A size of 4 B is 4 × 8 = 32 bits, and 1,024 B is 8,192 bits. Going the other way means dividing by 8, which the bits to bytes converter does for you.
A larger unit has to become bytes first. A kilobyte is 1,000 or 1,024 bytes depending on the standard, so it gives 8,000 or 8,192 bits. The data unit converter handles both. A megabyte works the same way and gives 8,000,000 or 8,388,608 bits, both of which the data unit converter shows when you pick MB or MiB.
How many bits is a given number of bytes?
Choose the value the table starts at, the step between rows and the number of decimal places. The Smaller values and Larger values buttons move the table.
| 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 |
| 11 B | 88 bits |
| 12 B | 96 bits |
| 13 B | 104 bits |
| 14 B | 112 bits |
| 15 B | 120 bits |
| 16 B | 128 bits |
| 17 B | 136 bits |
| 18 B | 144 bits |
| 19 B | 152 bits |
| 20 B | 160 bits |
| 21 B | 168 bits |
| 22 B | 176 bits |
| 23 B | 184 bits |
| 24 B | 192 bits |
| 25 B | 200 bits |
| 26 B | 208 bits |
| 27 B | 216 bits |
| 28 B | 224 bits |
| 29 B | 232 bits |
| 30 B | 240 bits |
| 31 B | 248 bits |
| 32 B | 256 bits |
| 33 B | 264 bits |
| 34 B | 272 bits |
| 35 B | 280 bits |
| 36 B | 288 bits |
| 37 B | 296 bits |
| 38 B | 304 bits |
| 39 B | 312 bits |
| 40 B | 320 bits |
| 41 B | 328 bits |
| 42 B | 336 bits |
| 43 B | 344 bits |
| 44 B | 352 bits |
| 45 B | 360 bits |
| 46 B | 368 bits |
| 47 B | 376 bits |
| 48 B | 384 bits |
| 49 B | 392 bits |
| 50 B | 400 bits |
| 51 B | 408 bits |
| 52 B | 416 bits |
| 53 B | 424 bits |
| 54 B | 432 bits |
| 55 B | 440 bits |
| 56 B | 448 bits |
| 57 B | 456 bits |
| 58 B | 464 bits |
| 59 B | 472 bits |
| 60 B | 480 bits |
| 61 B | 488 bits |
| 62 B | 496 bits |
| 63 B | 504 bits |
| 64 B | 512 bits |
| 65 B | 520 bits |
| 66 B | 528 bits |
| 67 B | 536 bits |
| 68 B | 544 bits |
| 69 B | 552 bits |
| 70 B | 560 bits |
| 71 B | 568 bits |
| 72 B | 576 bits |
| 73 B | 584 bits |
| 74 B | 592 bits |
| 75 B | 600 bits |
| 76 B | 608 bits |
| 77 B | 616 bits |
| 78 B | 624 bits |
| 79 B | 632 bits |
| 80 B | 640 bits |
| 81 B | 648 bits |
| 82 B | 656 bits |
| 83 B | 664 bits |
| 84 B | 672 bits |
| 85 B | 680 bits |
| 86 B | 688 bits |
| 87 B | 696 bits |
| 88 B | 704 bits |
| 89 B | 712 bits |
| 90 B | 720 bits |
| 91 B | 728 bits |
| 92 B | 736 bits |
| 93 B | 744 bits |
| 94 B | 752 bits |
| 95 B | 760 bits |
| 96 B | 768 bits |
| 97 B | 776 bits |
| 98 B | 784 bits |
| 99 B | 792 bits |
| 100 B | 800 bits |
| 101 B | 808 bits |
| 102 B | 816 bits |
| 103 B | 824 bits |
| 104 B | 832 bits |
| 105 B | 840 bits |
| 106 B | 848 bits |
| 107 B | 856 bits |
| 108 B | 864 bits |
| 109 B | 872 bits |
| 110 B | 880 bits |
| 111 B | 888 bits |
| 112 B | 896 bits |
| 113 B | 904 bits |
| 114 B | 912 bits |
| 115 B | 920 bits |
| 116 B | 928 bits |
| 117 B | 936 bits |
| 118 B | 944 bits |
| 119 B | 952 bits |
| 120 B | 960 bits |
| 121 B | 968 bits |
| 122 B | 976 bits |
| 123 B | 984 bits |
| 124 B | 992 bits |
| 125 B | 1,000 bits |
| 126 B | 1,008 bits |
| 127 B | 1,016 bits |
| 128 B | 1,024 bits |
| 129 B | 1,032 bits |
| 130 B | 1,040 bits |
| 131 B | 1,048 bits |
| 132 B | 1,056 bits |
| 133 B | 1,064 bits |
| 134 B | 1,072 bits |
| 135 B | 1,080 bits |
| 136 B | 1,088 bits |
| 137 B | 1,096 bits |
| 138 B | 1,104 bits |
| 139 B | 1,112 bits |
| 140 B | 1,120 bits |
| 141 B | 1,128 bits |
| 142 B | 1,136 bits |
| 143 B | 1,144 bits |
| 144 B | 1,152 bits |
| 145 B | 1,160 bits |
| 146 B | 1,168 bits |
| 147 B | 1,176 bits |
| 148 B | 1,184 bits |
| 149 B | 1,192 bits |
| 150 B | 1,200 bits |
| 151 B | 1,208 bits |
| 152 B | 1,216 bits |
| 153 B | 1,224 bits |
| 154 B | 1,232 bits |
| 155 B | 1,240 bits |
| 156 B | 1,248 bits |
| 157 B | 1,256 bits |
| 158 B | 1,264 bits |
| 159 B | 1,272 bits |
| 160 B | 1,280 bits |
| 161 B | 1,288 bits |
| 162 B | 1,296 bits |
| 163 B | 1,304 bits |
| 164 B | 1,312 bits |
| 165 B | 1,320 bits |
| 166 B | 1,328 bits |
| 167 B | 1,336 bits |
| 168 B | 1,344 bits |
| 169 B | 1,352 bits |
| 170 B | 1,360 bits |
| 171 B | 1,368 bits |
| 172 B | 1,376 bits |
| 173 B | 1,384 bits |
| 174 B | 1,392 bits |
| 175 B | 1,400 bits |
| 176 B | 1,408 bits |
| 177 B | 1,416 bits |
| 178 B | 1,424 bits |
| 179 B | 1,432 bits |
| 180 B | 1,440 bits |
| 181 B | 1,448 bits |
| 182 B | 1,456 bits |
| 183 B | 1,464 bits |
| 184 B | 1,472 bits |
| 185 B | 1,480 bits |
| 186 B | 1,488 bits |
| 187 B | 1,496 bits |
| 188 B | 1,504 bits |
| 189 B | 1,512 bits |
| 190 B | 1,520 bits |
| 191 B | 1,528 bits |
| 192 B | 1,536 bits |
| 193 B | 1,544 bits |
| 194 B | 1,552 bits |
| 195 B | 1,560 bits |
| 196 B | 1,568 bits |
| 197 B | 1,576 bits |
| 198 B | 1,584 bits |
| 199 B | 1,592 bits |
| 200 B | 1,600 bits |
| 201 B | 1,608 bits |
| 202 B | 1,616 bits |
| 203 B | 1,624 bits |
| 204 B | 1,632 bits |
| 205 B | 1,640 bits |
| 206 B | 1,648 bits |
| 207 B | 1,656 bits |
| 208 B | 1,664 bits |
| 209 B | 1,672 bits |
| 210 B | 1,680 bits |
| 211 B | 1,688 bits |
| 212 B | 1,696 bits |
| 213 B | 1,704 bits |
| 214 B | 1,712 bits |
| 215 B | 1,720 bits |
| 216 B | 1,728 bits |
| 217 B | 1,736 bits |
| 218 B | 1,744 bits |
| 219 B | 1,752 bits |
| 220 B | 1,760 bits |
| 221 B | 1,768 bits |
| 222 B | 1,776 bits |
| 223 B | 1,784 bits |
| 224 B | 1,792 bits |
| 225 B | 1,800 bits |
| 226 B | 1,808 bits |
| 227 B | 1,816 bits |
| 228 B | 1,824 bits |
| 229 B | 1,832 bits |
| 230 B | 1,840 bits |
| 231 B | 1,848 bits |
| 232 B | 1,856 bits |
| 233 B | 1,864 bits |
| 234 B | 1,872 bits |
| 235 B | 1,880 bits |
| 236 B | 1,888 bits |
| 237 B | 1,896 bits |
| 238 B | 1,904 bits |
| 239 B | 1,912 bits |
| 240 B | 1,920 bits |
| 241 B | 1,928 bits |
| 242 B | 1,936 bits |
| 243 B | 1,944 bits |
| 244 B | 1,952 bits |
| 245 B | 1,960 bits |
| 246 B | 1,968 bits |
| 247 B | 1,976 bits |
| 248 B | 1,984 bits |
| 249 B | 1,992 bits |
| 250 B | 2,000 bits |
| 251 B | 2,008 bits |
| 252 B | 2,016 bits |
| 253 B | 2,024 bits |
| 254 B | 2,032 bits |
| 255 B | 2,040 bits |
| 256 B | 2,048 bits |
| 257 B | 2,056 bits |
| 258 B | 2,064 bits |
| 259 B | 2,072 bits |
| 260 B | 2,080 bits |
| 261 B | 2,088 bits |
| 262 B | 2,096 bits |
| 263 B | 2,104 bits |
| 264 B | 2,112 bits |
| 265 B | 2,120 bits |
| 266 B | 2,128 bits |
| 267 B | 2,136 bits |
| 268 B | 2,144 bits |
| 269 B | 2,152 bits |
| 270 B | 2,160 bits |
| 271 B | 2,168 bits |
| 272 B | 2,176 bits |
| 273 B | 2,184 bits |
| 274 B | 2,192 bits |
| 275 B | 2,200 bits |
| 276 B | 2,208 bits |
| 277 B | 2,216 bits |
| 278 B | 2,224 bits |
| 279 B | 2,232 bits |
| 280 B | 2,240 bits |
| 281 B | 2,248 bits |
| 282 B | 2,256 bits |
| 283 B | 2,264 bits |
| 284 B | 2,272 bits |
| 285 B | 2,280 bits |
| 286 B | 2,288 bits |
| 287 B | 2,296 bits |
| 288 B | 2,304 bits |
| 289 B | 2,312 bits |
| 290 B | 2,320 bits |
| 291 B | 2,328 bits |
| 292 B | 2,336 bits |
| 293 B | 2,344 bits |
| 294 B | 2,352 bits |
| 295 B | 2,360 bits |
| 296 B | 2,368 bits |
| 297 B | 2,376 bits |
| 298 B | 2,384 bits |
| 299 B | 2,392 bits |
| 300 B | 2,400 bits |
How many bits does one character take?
Text saved in UTF-8 takes between 1 and 4 bytes per character[2]. Plain English letters, digits and spaces fit in 1 byte, or 8 bits. Letters with accents and the pound sign need 2 bytes, or 16 bits.
So the word résumé has 6 letters but takes 8 bytes in UTF-8, which is 64 bits: each é uses 2 bytes and the other four letters 1 byte each.

How many bytes and bits do characters take in UTF-8?
| Character | Bytes in UTF-8 | Bits |
|---|---|---|
| Letter A, a digit or a space | 1 B | 8 bits |
| Letter é or ñ | 2 B | 16 bits |
| Pound sign £ | 2 B | 16 bits |
| Russian letter Ж | 2 B | 16 bits |
| Euro sign € | 3 B | 24 bits |
| Emoji | 4 B | 32 bits |
Where do the words bit and byte come from?
Bit is short for binary digit. John W. Tukey shortened the term this way in a Bell Labs memo dated 9 January 1947, and a year later Claude E. Shannon used the word bit in his paper “A Mathematical Theory of Communication”[3].
The word byte appeared in 1956 in Werner Buchholz’s papers for the IBM Stretch computer[4]. It is a deliberate respelling of bite, chosen so that it could not accidentally turn into bit[1].
Which ways of typing bytes does this converter accept?
| What you type | What the converter shows | How we read it |
|---|---|---|
| 1.5 | 12 bit | The point marks the decimal part, so the field holds one and a half bytes. |
| 1,5 | 12 bit | A comma before a single digit is a decimal comma, as in much of Europe, so the result is the same as for 1.5. |
| 1,500 | 12000 bit | A comma before three digits separates the thousands, so the field holds one thousand five hundred bytes. A hint below the field confirms how we read it. |
| 1 500 | 12000 bit | A space between the thousands is ignored, so the field holds one thousand five hundred bytes. |
| 64 B | 512 bit | The field’s own unit pasted with the number does no harm, because we take the number in front of it. |
| 256 bytes | 2048 bit | A size copied with the word bytes, for example from a file’s Properties window, reads as a number of bytes. |
| 32 bits | 32 bit | Bits pasted into the bytes field become 4 bytes, with a note below it, so the result is the same 32 bits again. |
| 1 KB | 8000 bit | A kilobyte counts as 1000 bytes here, because this pair has no standard switch. For 8192 bits from a 1024-byte kilobyte, convert KiB in the data unit converter. |
| ½ | 4 bit | The ½ character copied from text reads as half a byte. |
| 2e3 | 16000 bit | Scientific notation from a spreadsheet is read as it stands: 2e3 is two thousand bytes. |
Convert Bytes to other units
Sources
- Byte — Wikipedia
- RFC 3629: UTF-8, a transformation format of ISO 10646 — RFC Editor
- Bit — Wikipedia
- Timeline of the IBM Stretch/Harvest Era (1956–1961) — Computer History Museum
- RFC 791: Internet Protocol — RFC Editor
- Built-in Types — Python documentation
Every figure in the tables was computed from the unit definitions and checked arithmetically before publication. Historical values and the names of local units come from the sources listed above.
Content last reviewed: · written and checked by the Arteon team
Frequently asked questions about bytes and bits
What is the difference between an octet and a byte?
How do I convert bytes to bits in Python?
Multiply the length of a bytes object by 8. A bytes object is a sequence of single bytes, so len(data) returns the number of bytes and len(data) * 8 the number of bits. To find how many bits a whole number needs, use int.bit_length(): (255).bit_length() returns 8[6].
Have a question or suggestion?
If you spot a mistake in a table or miss a conversion, write to us.