Convert bits to bytes

8 bits make 1 byte, because every byte is made of 8 bits. Type the number of bits and the converter divides it by 8 and shows the result in bytes (B).

Content last reviewed:
bit
B
Examples

What is a bit, and what is a byte?

A bit is a binary digit, a single 0 or 1, and the most basic unit of information in computing[1]. One bit settles one two-way question, such as whether a pixel in a black-and-white image is black or white.

A byte is a group of 8 bits[2], so a byte is eight times bigger than a bit. Eight bits give 256 different patterns of zeros and ones, which lets one byte store a whole number from 0 to 255[2].

The symbol for the bit is “bit” under the IEC 80000-13 standard, while IEEE 1541 allows a lowercase “b” that is easy to mix up with “B” for byte[1]. That is why 500 Kb sometimes means kilobits and sometimes kilobytes.

How do you convert bits to bytes?

Divide the number of bits by 8, because that is how many bits each byte holds. The formula is bytes = bits ÷ 8. For example, 64 bits are 64 ÷ 8 = 8 bytes, and 100 bits are 12.5 bytes.

The converter shows the exact result, fractions included. In a computer’s memory, though, data takes up whole bytes, because in many computers the byte is the smallest piece of memory with its own address[2]. A single 12-bit value stored on its own therefore uses 2 bytes, even though the arithmetic gives 1.5.

Laptop RAM module with eight black memory chips labelled ELPIDA and a row of gold contacts along the edge
This laptop RAM module carries eight memory chips labelled ELPIDA. The capacity of a single chip is given in gigabits, and the DDR3 standard allows chips of up to 8 gigabits, which is 1 GB each[3]. Photo: Franck V., Unsplash.

How many bytes is a given number of bits?

Rows start at 10 bit and go up in steps of 10 bit to 3,000 bit. The results are exact, because dividing by 8 never needs more than three decimal places.
Step
Decimal places

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.

BitsBytes
10 bit1.3 B
20 bit2.5 B
30 bit3.8 B
40 bit5 B
50 bit6.3 B
60 bit7.5 B
70 bit8.8 B
80 bit10 B
90 bit11.3 B
100 bit12.5 B
110 bit13.8 B
120 bit15 B
130 bit16.3 B
140 bit17.5 B
150 bit18.8 B
160 bit20 B
170 bit21.3 B
180 bit22.5 B
190 bit23.8 B
200 bit25 B
210 bit26.3 B
220 bit27.5 B
230 bit28.8 B
240 bit30 B
250 bit31.3 B
260 bit32.5 B
270 bit33.8 B
280 bit35 B
290 bit36.3 B
300 bit37.5 B
310 bit38.8 B
320 bit40 B
330 bit41.3 B
340 bit42.5 B
350 bit43.8 B
360 bit45 B
370 bit46.3 B
380 bit47.5 B
390 bit48.8 B
400 bit50 B
410 bit51.3 B
420 bit52.5 B
430 bit53.8 B
440 bit55 B
450 bit56.3 B
460 bit57.5 B
470 bit58.8 B
480 bit60 B
490 bit61.3 B
500 bit62.5 B
510 bit63.8 B
520 bit65 B
530 bit66.3 B
540 bit67.5 B
550 bit68.8 B
560 bit70 B
570 bit71.3 B
580 bit72.5 B
590 bit73.8 B
600 bit75 B
610 bit76.3 B
620 bit77.5 B
630 bit78.8 B
640 bit80 B
650 bit81.3 B
660 bit82.5 B
670 bit83.8 B
680 bit85 B
690 bit86.3 B
700 bit87.5 B
710 bit88.8 B
720 bit90 B
730 bit91.3 B
740 bit92.5 B
750 bit93.8 B
760 bit95 B
770 bit96.3 B
780 bit97.5 B
790 bit98.8 B
800 bit100 B
810 bit101.3 B
820 bit102.5 B
830 bit103.8 B
840 bit105 B
850 bit106.3 B
860 bit107.5 B
870 bit108.8 B
880 bit110 B
890 bit111.3 B
900 bit112.5 B
910 bit113.8 B
920 bit115 B
930 bit116.3 B
940 bit117.5 B
950 bit118.8 B
960 bit120 B
970 bit121.3 B
980 bit122.5 B
990 bit123.8 B
1,000 bit125 B
1,010 bit126.3 B
1,020 bit127.5 B
1,030 bit128.8 B
1,040 bit130 B
1,050 bit131.3 B
1,060 bit132.5 B
1,070 bit133.8 B
1,080 bit135 B
1,090 bit136.3 B
1,100 bit137.5 B
1,110 bit138.8 B
1,120 bit140 B
1,130 bit141.3 B
1,140 bit142.5 B
1,150 bit143.8 B
1,160 bit145 B
1,170 bit146.3 B
1,180 bit147.5 B
1,190 bit148.8 B
1,200 bit150 B
1,210 bit151.3 B
1,220 bit152.5 B
1,230 bit153.8 B
1,240 bit155 B
1,250 bit156.3 B
1,260 bit157.5 B
1,270 bit158.8 B
1,280 bit160 B
1,290 bit161.3 B
1,300 bit162.5 B
1,310 bit163.8 B
1,320 bit165 B
1,330 bit166.3 B
1,340 bit167.5 B
1,350 bit168.8 B
1,360 bit170 B
1,370 bit171.3 B
1,380 bit172.5 B
1,390 bit173.8 B
1,400 bit175 B
1,410 bit176.3 B
1,420 bit177.5 B
1,430 bit178.8 B
1,440 bit180 B
1,450 bit181.3 B
1,460 bit182.5 B
1,470 bit183.8 B
1,480 bit185 B
1,490 bit186.3 B
1,500 bit187.5 B
1,510 bit188.8 B
1,520 bit190 B
1,530 bit191.3 B
1,540 bit192.5 B
1,550 bit193.8 B
1,560 bit195 B
1,570 bit196.3 B
1,580 bit197.5 B
1,590 bit198.8 B
1,600 bit200 B
1,610 bit201.3 B
1,620 bit202.5 B
1,630 bit203.8 B
1,640 bit205 B
1,650 bit206.3 B
1,660 bit207.5 B
1,670 bit208.8 B
1,680 bit210 B
1,690 bit211.3 B
1,700 bit212.5 B
1,710 bit213.8 B
1,720 bit215 B
1,730 bit216.3 B
1,740 bit217.5 B
1,750 bit218.8 B
1,760 bit220 B
1,770 bit221.3 B
1,780 bit222.5 B
1,790 bit223.8 B
1,800 bit225 B
1,810 bit226.3 B
1,820 bit227.5 B
1,830 bit228.8 B
1,840 bit230 B
1,850 bit231.3 B
1,860 bit232.5 B
1,870 bit233.8 B
1,880 bit235 B
1,890 bit236.3 B
1,900 bit237.5 B
1,910 bit238.8 B
1,920 bit240 B
1,930 bit241.3 B
1,940 bit242.5 B
1,950 bit243.8 B
1,960 bit245 B
1,970 bit246.3 B
1,980 bit247.5 B
1,990 bit248.8 B
2,000 bit250 B
2,010 bit251.3 B
2,020 bit252.5 B
2,030 bit253.8 B
2,040 bit255 B
2,050 bit256.3 B
2,060 bit257.5 B
2,070 bit258.8 B
2,080 bit260 B
2,090 bit261.3 B
2,100 bit262.5 B
2,110 bit263.8 B
2,120 bit265 B
2,130 bit266.3 B
2,140 bit267.5 B
2,150 bit268.8 B
2,160 bit270 B
2,170 bit271.3 B
2,180 bit272.5 B
2,190 bit273.8 B
2,200 bit275 B
2,210 bit276.3 B
2,220 bit277.5 B
2,230 bit278.8 B
2,240 bit280 B
2,250 bit281.3 B
2,260 bit282.5 B
2,270 bit283.8 B
2,280 bit285 B
2,290 bit286.3 B
2,300 bit287.5 B
2,310 bit288.8 B
2,320 bit290 B
2,330 bit291.3 B
2,340 bit292.5 B
2,350 bit293.8 B
2,360 bit295 B
2,370 bit296.3 B
2,380 bit297.5 B
2,390 bit298.8 B
2,400 bit300 B
2,410 bit301.3 B
2,420 bit302.5 B
2,430 bit303.8 B
2,440 bit305 B
2,450 bit306.3 B
2,460 bit307.5 B
2,470 bit308.8 B
2,480 bit310 B
2,490 bit311.3 B
2,500 bit312.5 B
2,510 bit313.8 B
2,520 bit315 B
2,530 bit316.3 B
2,540 bit317.5 B
2,550 bit318.8 B
2,560 bit320 B
2,570 bit321.3 B
2,580 bit322.5 B
2,590 bit323.8 B
2,600 bit325 B
2,610 bit326.3 B
2,620 bit327.5 B
2,630 bit328.8 B
2,640 bit330 B
2,650 bit331.3 B
2,660 bit332.5 B
2,670 bit333.8 B
2,680 bit335 B
2,690 bit336.3 B
2,700 bit337.5 B
2,710 bit338.8 B
2,720 bit340 B
2,730 bit341.3 B
2,740 bit342.5 B
2,750 bit343.8 B
2,760 bit345 B
2,770 bit346.3 B
2,780 bit347.5 B
2,790 bit348.8 B
2,800 bit350 B
2,810 bit351.3 B
2,820 bit352.5 B
2,830 bit353.8 B
2,840 bit355 B
2,850 bit356.3 B
2,860 bit357.5 B
2,870 bit358.8 B
2,880 bit360 B
2,890 bit361.3 B
2,900 bit362.5 B
2,910 bit363.8 B
2,920 bit365 B
2,930 bit366.3 B
2,940 bit367.5 B
2,950 bit368.8 B
2,960 bit370 B
2,970 bit371.3 B
2,980 bit372.5 B
2,990 bit373.8 B
3,000 bit375 B

Which data sizes are given in bits?

You will meet these sizes in descriptions of networks, encryption and programming. They are quoted in bits, and the table shows how many bytes that is.
What it isBitsBytes
Nibble, one hexadecimal digit4 bits0.5 B
IPv4 address, such as 192.168.1.132 bits4 B
IPv6 address128 bits16 B
AES-128 encryption key128 bits16 B
AES-256 encryption key256 bits32 B
Block of data encrypted by AES128 bits16 B
Java int integer32 bits4 B
Java long integer64 bits8 B
Java char character16 bits2 B
The nibble is described in the encyclopedia entry on the byte[2], IPv4 and IPv6 address lengths come from RFC 791[4] and RFC 8200[5], AES keys and block size from FIPS 197[6], and Java types from the language specification[7].

Why does a byte have 8 bits?

At first the byte had no fixed length. Werner Buchholz coined the word in 1956 while IBM was designing its Stretch computer[8]. Early computers stored characters in 4-bit and 6-bit codes, and in 1963 the ASCII code extended a character to 7 bits[2].

Stretch itself was the first computer to use 8-bit bytes, and the machine left IBM for the Los Alamos laboratory in April 1961[8]. The size stuck because the IBM System/360 family, which stored characters in the 8-bit EBCDIC code, became so widespread[2]. In the 1970s, 8-bit microprocessors such as the Intel 8080 made it widespread[2]. Donald Knuth noted that since about 1975 the word byte has meant exactly eight binary digits[2].

Eight is also a handy power of two: 28 gives 256 values, and a byte splits into two 4-bit nibbles, each written as one hexadecimal digit[2]. That is why a byte in hexadecimal always has two digits, from 00 to FF.

Which ways of typing bits does this converter accept?

Paste the number of bits the way you have it: with a decimal point, with a thousands separator or together with the unit. The field reads each of these and converts it on its own, and the table shows exactly what it does with each one. The converter calculated the results itself.
What you typeWhat the converter showsHow we read it
1.5 kbit187.5 BThe point marks the decimal part and kbit is a kilobit, 1000 bits, so the field holds 1500 bits.
1,5 kbit187.5 BA comma before a single digit is a decimal comma, as in much of Europe, so the field also holds 1500 bits.
1,500187.5 BA comma before three digits separates the thousands, so the field holds one thousand five hundred bits. A hint below the field confirms how we read it.
1 500187.5 BA space between the thousands is ignored, so the field holds one thousand five hundred bits.
64 bits8 BThe field’s own unit pasted with the number does no harm, because we take the number in front of it.
64-bit8 BThe hyphenated form from a processor or operating system description also reads as 64 bits.
2 kbit250 BKilobits go into the field as 2000 bits, with a note below it.
1 Mbit125000 BA megabit is a million bits, so the field stores 1000000 bits and says so below it.
2 bytes2 BBytes pasted into the bits field become 16 bits, with a note below it, so the result is the same 2 bytes again.
3/40.094 BA fraction with a slash counts as three quarters of a bit, and the result is rounded to three decimal places.
1e6125000 BScientific notation from a spreadsheet is read as it stands: 1e6 is a million bits.

Convert other units to Bytes

Sources

  1. Bit — Wikipedia
  2. Byte — Wikipedia
  3. DDR3 SDRAM — Wikipedia
  4. RFC 791: Internet Protocol — RFC Editor
  5. RFC 8200: Internet Protocol, Version 6 (IPv6) Specification — RFC Editor
  6. FIPS 197: Advanced Encryption Standard (AES) — NIST
  7. The Java Language Specification, section 4.2 — Oracle
  8. Timeline of the IBM Stretch/Harvest Era (1956–1961) — Computer History Museum

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 bits and bytes

Does a byte have more bits on a 64-bit system?

No. A byte has 8 bits on a 64-bit system too. The 64 describes the word size, the chunk of data the processor works on at once, which is 8 bytes. On a 32-bit system the word is 4 bytes[2].

How many megabytes per second is a 100 Mbps connection?

At most 12.5 MB per second, because connection speeds are quoted in megabits and 100 ÷ 8 = 12.5. Any other speed works the same way: divide the number of megabits per second by 8.

Have a question or suggestion?

If you spot a mistake in a table or miss a conversion, write to us.