Converting Binary to Denary

Type ones and zeros and copy the denary number, or type a denary number and copy its binary.

Sample: 101101 Denary

45

Good to know

Only ones and zeros are read as binary, so for denary 10 or 101 press Swap. A space starts a new number: type all the bits of one number together.

All numbers

0 to 15: four bits or fewer

  • 0 No place has a 1. In eight bits, 00000000.
  • 1 The 1 place alone. In eight bits, 00000001.
  • 10 The 2 place alone. In eight bits, 00000010.
  • 11 2 + 1. In eight bits, 00000011.
  • 100 The 4 place alone. In eight bits, 00000100.
  • 101 4 + 1. In eight bits, 00000101.

Sources: ocr.org.uk, Wikipedia. Read November 30, 2026.

Show all 278

0 to 15: four bits or fewer, continued

  • 110 4 + 2. In eight bits, 00000110.
  • 111 4 + 2 + 1. In eight bits, 00000111.
  • 1000 The 8 place alone. In eight bits, 00001000.
  • 1001 8 + 1. In eight bits, 00001001.
  • 1010 8 + 2. In eight bits, 00001010.
  • 1011 8 + 2 + 1. In eight bits, 00001011.
  • 1100 8 + 4. In eight bits, 00001100.
  • 1101 8 + 4 + 1. In eight bits, 00001101.
  • 1110 8 + 4 + 2. In eight bits, 00001110.
  • 1111 8 + 4 + 2 + 1. In eight bits, 00001111.

16 to 31: five bits

  • 10000 The 16 place alone. In eight bits, 00010000.
  • 10001 16 + 1. In eight bits, 00010001.
  • 10010 16 + 2. In eight bits, 00010010.
  • 10011 16 + 2 + 1. In eight bits, 00010011.
  • 10100 16 + 4. In eight bits, 00010100.
  • 10101 16 + 4 + 1. In eight bits, 00010101.
  • 10110 16 + 4 + 2. In eight bits, 00010110.
  • 10111 16 + 4 + 2 + 1. In eight bits, 00010111.
  • 11000 16 + 8. In eight bits, 00011000.
  • 11001 16 + 8 + 1. In eight bits, 00011001.
  • 11010 16 + 8 + 2. In eight bits, 00011010.
  • 11011 16 + 8 + 2 + 1. In eight bits, 00011011.
  • 11100 16 + 8 + 4. In eight bits, 00011100.
  • 11101 16 + 8 + 4 + 1. In eight bits, 00011101.
  • 11110 16 + 8 + 4 + 2. In eight bits, 00011110.
  • 11111 16 + 8 + 4 + 2 + 1. In eight bits, 00011111.

32 to 63: six bits

  • 100000 The 32 place alone. In eight bits, 00100000.
  • 100001 32 + 1. In eight bits, 00100001.
  • 100010 32 + 2. In eight bits, 00100010.
  • 100011 32 + 2 + 1. In eight bits, 00100011.
  • 100100 32 + 4. In eight bits, 00100100.
  • 100101 32 + 4 + 1. In eight bits, 00100101.
  • 100110 32 + 4 + 2. In eight bits, 00100110.
  • 100111 32 + 4 + 2 + 1. In eight bits, 00100111.
  • 101000 32 + 8. In eight bits, 00101000.
  • 101001 32 + 8 + 1. In eight bits, 00101001.
  • 101010 32 + 8 + 2. In eight bits, 00101010.
  • 101011 32 + 8 + 2 + 1. In eight bits, 00101011.
  • 101100 32 + 8 + 4. In eight bits, 00101100.
  • 101101 32 + 8 + 4 + 1. In eight bits, 00101101.
  • 101110 32 + 8 + 4 + 2. In eight bits, 00101110.
  • 101111 32 + 8 + 4 + 2 + 1. In eight bits, 00101111.
  • 110000 32 + 16. In eight bits, 00110000.
  • 110001 32 + 16 + 1. In eight bits, 00110001.
  • 110010 32 + 16 + 2. In eight bits, 00110010.
  • 110011 32 + 16 + 2 + 1. In eight bits, 00110011.
  • 110100 32 + 16 + 4. In eight bits, 00110100.
  • 110101 32 + 16 + 4 + 1. In eight bits, 00110101.
  • 110110 32 + 16 + 4 + 2. In eight bits, 00110110.
  • 110111 32 + 16 + 4 + 2 + 1. In eight bits, 00110111.
  • 111000 32 + 16 + 8. In eight bits, 00111000.
  • 111001 32 + 16 + 8 + 1. In eight bits, 00111001.
  • 111010 32 + 16 + 8 + 2. In eight bits, 00111010.
  • 111011 32 + 16 + 8 + 2 + 1. In eight bits, 00111011.
  • 111100 32 + 16 + 8 + 4. In eight bits, 00111100.
  • 111101 32 + 16 + 8 + 4 + 1. In eight bits, 00111101.
  • 111110 32 + 16 + 8 + 4 + 2. In eight bits, 00111110.
  • 111111 32 + 16 + 8 + 4 + 2 + 1. In eight bits, 00111111.

64 to 127: seven bits

  • 1000000 The 64 place alone. In eight bits, 01000000.
  • 1000001 64 + 1. In eight bits, 01000001.
  • 1000010 64 + 2. In eight bits, 01000010.
  • 1000011 64 + 2 + 1. In eight bits, 01000011.
  • 1000100 64 + 4. In eight bits, 01000100.
  • 1000101 64 + 4 + 1. In eight bits, 01000101.
  • 1000110 64 + 4 + 2. In eight bits, 01000110.
  • 1000111 64 + 4 + 2 + 1. In eight bits, 01000111.
  • 1001000 64 + 8. In eight bits, 01001000.
  • 1001001 64 + 8 + 1. In eight bits, 01001001.
  • 1001010 64 + 8 + 2. In eight bits, 01001010.
  • 1001011 64 + 8 + 2 + 1. In eight bits, 01001011.
  • 1001100 64 + 8 + 4. In eight bits, 01001100.
  • 1001101 64 + 8 + 4 + 1. In eight bits, 01001101.
  • 1001110 64 + 8 + 4 + 2. In eight bits, 01001110.
  • 1001111 64 + 8 + 4 + 2 + 1. In eight bits, 01001111.
  • 1010000 64 + 16. In eight bits, 01010000.
  • 1010001 64 + 16 + 1. In eight bits, 01010001.
  • 1010010 64 + 16 + 2. In eight bits, 01010010.
  • 1010011 64 + 16 + 2 + 1. In eight bits, 01010011.
  • 1010100 64 + 16 + 4. In eight bits, 01010100.
  • 1010101 64 + 16 + 4 + 1. In eight bits, 01010101.
  • 1010110 64 + 16 + 4 + 2. In eight bits, 01010110.
  • 1010111 64 + 16 + 4 + 2 + 1. In eight bits, 01010111.
  • 1011000 64 + 16 + 8. In eight bits, 01011000.
  • 1011001 64 + 16 + 8 + 1. In eight bits, 01011001.
  • 1011010 64 + 16 + 8 + 2. In eight bits, 01011010.
  • 1011011 64 + 16 + 8 + 2 + 1. In eight bits, 01011011.
  • 1011100 64 + 16 + 8 + 4. In eight bits, 01011100.
  • 1011101 64 + 16 + 8 + 4 + 1. In eight bits, 01011101.
  • 1011110 64 + 16 + 8 + 4 + 2. In eight bits, 01011110.
  • 1011111 64 + 16 + 8 + 4 + 2 + 1. In eight bits, 01011111.
  • 1100000 64 + 32. In eight bits, 01100000.
  • 1100001 64 + 32 + 1. In eight bits, 01100001.
  • 1100010 64 + 32 + 2. In eight bits, 01100010.
  • 1100011 64 + 32 + 2 + 1. In eight bits, 01100011.
  • 1100100 64 + 32 + 4. In eight bits, 01100100.
  • 1100101 64 + 32 + 4 + 1. In eight bits, 01100101.
  • 1100110 64 + 32 + 4 + 2. In eight bits, 01100110.
  • 1100111 64 + 32 + 4 + 2 + 1. In eight bits, 01100111.
  • 1101000 64 + 32 + 8. In eight bits, 01101000.
  • 1101001 64 + 32 + 8 + 1. In eight bits, 01101001.
  • 1101010 64 + 32 + 8 + 2. In eight bits, 01101010.
  • 1101011 64 + 32 + 8 + 2 + 1. In eight bits, 01101011.
  • 1101100 64 + 32 + 8 + 4. In eight bits, 01101100.
  • 1101101 64 + 32 + 8 + 4 + 1. In eight bits, 01101101.
  • 1101110 64 + 32 + 8 + 4 + 2. In eight bits, 01101110.
  • 1101111 64 + 32 + 8 + 4 + 2 + 1. In eight bits, 01101111.
  • 1110000 64 + 32 + 16. In eight bits, 01110000.
  • 1110001 64 + 32 + 16 + 1. In eight bits, 01110001.
  • 1110010 64 + 32 + 16 + 2. In eight bits, 01110010.
  • 1110011 64 + 32 + 16 + 2 + 1. In eight bits, 01110011.
  • 1110100 64 + 32 + 16 + 4. In eight bits, 01110100.
  • 1110101 64 + 32 + 16 + 4 + 1. In eight bits, 01110101.
  • 1110110 64 + 32 + 16 + 4 + 2. In eight bits, 01110110.
  • 1110111 64 + 32 + 16 + 4 + 2 + 1. In eight bits, 01110111.
  • 1111000 64 + 32 + 16 + 8. In eight bits, 01111000.
  • 1111001 64 + 32 + 16 + 8 + 1. In eight bits, 01111001.
  • 1111010 64 + 32 + 16 + 8 + 2. In eight bits, 01111010.
  • 1111011 64 + 32 + 16 + 8 + 2 + 1. In eight bits, 01111011.
  • 1111100 64 + 32 + 16 + 8 + 4. In eight bits, 01111100.
  • 1111101 64 + 32 + 16 + 8 + 4 + 1. In eight bits, 01111101.
  • 1111110 64 + 32 + 16 + 8 + 4 + 2. In eight bits, 01111110.
  • 1111111 64 + 32 + 16 + 8 + 4 + 2 + 1. In eight bits, 01111111.

128 to 255: eight bits

  • 10000000 The 128 place alone.
  • 10000001 128 + 1.
  • 10000010 128 + 2.
  • 10000011 128 + 2 + 1.
  • 10000100 128 + 4.
  • 10000101 128 + 4 + 1.
  • 10000110 128 + 4 + 2.
  • 10000111 128 + 4 + 2 + 1.
  • 10001000 128 + 8.
  • 10001001 128 + 8 + 1.
  • 10001010 128 + 8 + 2.
  • 10001011 128 + 8 + 2 + 1.
  • 10001100 128 + 8 + 4.
  • 10001101 128 + 8 + 4 + 1.
  • 10001110 128 + 8 + 4 + 2.
  • 10001111 128 + 8 + 4 + 2 + 1.
  • 10010000 128 + 16.
  • 10010001 128 + 16 + 1.
  • 10010010 128 + 16 + 2.
  • 10010011 128 + 16 + 2 + 1.
  • 10010100 128 + 16 + 4.
  • 10010101 128 + 16 + 4 + 1.
  • 10010110 128 + 16 + 4 + 2.
  • 10010111 128 + 16 + 4 + 2 + 1.
  • 10011000 128 + 16 + 8.
  • 10011001 128 + 16 + 8 + 1.
  • 10011010 128 + 16 + 8 + 2.
  • 10011011 128 + 16 + 8 + 2 + 1.
  • 10011100 128 + 16 + 8 + 4.
  • 10011101 128 + 16 + 8 + 4 + 1.
  • 10011110 128 + 16 + 8 + 4 + 2.
  • 10011111 128 + 16 + 8 + 4 + 2 + 1.
  • 10100000 128 + 32.
  • 10100001 128 + 32 + 1.
  • 10100010 128 + 32 + 2.
  • 10100011 128 + 32 + 2 + 1.
  • 10100100 128 + 32 + 4.
  • 10100101 128 + 32 + 4 + 1.
  • 10100110 128 + 32 + 4 + 2.
  • 10100111 128 + 32 + 4 + 2 + 1.
  • 10101000 128 + 32 + 8.
  • 10101001 128 + 32 + 8 + 1.
  • 10101010 128 + 32 + 8 + 2.
  • 10101011 128 + 32 + 8 + 2 + 1.
  • 10101100 128 + 32 + 8 + 4.
  • 10101101 128 + 32 + 8 + 4 + 1.
  • 10101110 128 + 32 + 8 + 4 + 2.
  • 10101111 128 + 32 + 8 + 4 + 2 + 1.
  • 10110000 128 + 32 + 16.
  • 10110001 128 + 32 + 16 + 1.
  • 10110010 128 + 32 + 16 + 2.
  • 10110011 128 + 32 + 16 + 2 + 1.
  • 10110100 128 + 32 + 16 + 4.
  • 10110101 128 + 32 + 16 + 4 + 1.
  • 10110110 128 + 32 + 16 + 4 + 2.
  • 10110111 128 + 32 + 16 + 4 + 2 + 1.
  • 10111000 128 + 32 + 16 + 8.
  • 10111001 128 + 32 + 16 + 8 + 1.
  • 10111010 128 + 32 + 16 + 8 + 2.
  • 10111011 128 + 32 + 16 + 8 + 2 + 1.
  • 10111100 128 + 32 + 16 + 8 + 4.
  • 10111101 128 + 32 + 16 + 8 + 4 + 1.
  • 10111110 128 + 32 + 16 + 8 + 4 + 2.
  • 10111111 128 + 32 + 16 + 8 + 4 + 2 + 1.
  • 11000000 128 + 64.
  • 11000001 128 + 64 + 1.
  • 11000010 128 + 64 + 2.
  • 11000011 128 + 64 + 2 + 1.
  • 11000100 128 + 64 + 4.
  • 11000101 128 + 64 + 4 + 1.
  • 11000110 128 + 64 + 4 + 2.
  • 11000111 128 + 64 + 4 + 2 + 1.
  • 11001000 128 + 64 + 8.
  • 11001001 128 + 64 + 8 + 1.
  • 11001010 128 + 64 + 8 + 2.
  • 11001011 128 + 64 + 8 + 2 + 1.
  • 11001100 128 + 64 + 8 + 4.
  • 11001101 128 + 64 + 8 + 4 + 1.
  • 11001110 128 + 64 + 8 + 4 + 2.
  • 11001111 128 + 64 + 8 + 4 + 2 + 1.
  • 11010000 128 + 64 + 16.
  • 11010001 128 + 64 + 16 + 1.
  • 11010010 128 + 64 + 16 + 2.
  • 11010011 128 + 64 + 16 + 2 + 1.
  • 11010100 128 + 64 + 16 + 4.
  • 11010101 128 + 64 + 16 + 4 + 1.
  • 11010110 128 + 64 + 16 + 4 + 2.
  • 11010111 128 + 64 + 16 + 4 + 2 + 1.
  • 11011000 128 + 64 + 16 + 8.
  • 11011001 128 + 64 + 16 + 8 + 1.
  • 11011010 128 + 64 + 16 + 8 + 2.
  • 11011011 128 + 64 + 16 + 8 + 2 + 1.
  • 11011100 128 + 64 + 16 + 8 + 4.
  • 11011101 128 + 64 + 16 + 8 + 4 + 1.
  • 11011110 128 + 64 + 16 + 8 + 4 + 2.
  • 11011111 128 + 64 + 16 + 8 + 4 + 2 + 1.
  • 11100000 128 + 64 + 32.
  • 11100001 128 + 64 + 32 + 1.
  • 11100010 128 + 64 + 32 + 2.
  • 11100011 128 + 64 + 32 + 2 + 1.
  • 11100100 128 + 64 + 32 + 4.
  • 11100101 128 + 64 + 32 + 4 + 1.
  • 11100110 128 + 64 + 32 + 4 + 2.
  • 11100111 128 + 64 + 32 + 4 + 2 + 1.
  • 11101000 128 + 64 + 32 + 8.
  • 11101001 128 + 64 + 32 + 8 + 1.
  • 11101010 128 + 64 + 32 + 8 + 2.
  • 11101011 128 + 64 + 32 + 8 + 2 + 1.
  • 11101100 128 + 64 + 32 + 8 + 4.
  • 11101101 128 + 64 + 32 + 8 + 4 + 1.
  • 11101110 128 + 64 + 32 + 8 + 4 + 2.
  • 11101111 128 + 64 + 32 + 8 + 4 + 2 + 1.
  • 11110000 128 + 64 + 32 + 16.
  • 11110001 128 + 64 + 32 + 16 + 1.
  • 11110010 128 + 64 + 32 + 16 + 2.
  • 11110011 128 + 64 + 32 + 16 + 2 + 1.
  • 11110100 128 + 64 + 32 + 16 + 4.
  • 11110101 128 + 64 + 32 + 16 + 4 + 1.
  • 11110110 128 + 64 + 32 + 16 + 4 + 2.
  • 11110111 128 + 64 + 32 + 16 + 4 + 2 + 1.
  • 11111000 128 + 64 + 32 + 16 + 8.
  • 11111001 128 + 64 + 32 + 16 + 8 + 1.
  • 11111010 128 + 64 + 32 + 16 + 8 + 2.
  • 11111011 128 + 64 + 32 + 16 + 8 + 2 + 1.
  • 11111100 128 + 64 + 32 + 16 + 8 + 4.
  • 11111101 128 + 64 + 32 + 16 + 8 + 4 + 1.
  • 11111110 128 + 64 + 32 + 16 + 8 + 4 + 2.
  • 11111111 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1.

Past 255: nine bits and more

  • 100000000 The 256 place alone. 9 bits.
  • 100101100 256 + 32 + 8 + 4. 9 bits.
  • 101101101 256 + 64 + 32 + 8 + 4 + 1. 9 bits.
  • 111110100 256 + 128 + 64 + 32 + 16 + 4. 9 bits.
  • 111111111 256 + 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1. 9 bits.
  • 1000000000 The 512 place alone. 10 bits.
  • 1111101000 512 + 256 + 128 + 64 + 32 + 8. 10 bits.
  • 1111111111 512 + 256 + 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1. 10 bits.
  • 10000000000 The 1,024 place alone. 11 bits.
  • 11111101010 1,024 + 512 + 256 + 128 + 64 + 32 + 8 + 2. 11 bits.
  • 11111111111 1,024 + 512 + 256 + 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1. 11 bits.
  • 100000000000 The 2,048 place alone. 12 bits.
  • 111111111111 2,048 + 1,024 + 512 + 256 + 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1. 12 bits.
  • 1000000000000 The 4,096 place alone. 13 bits.
  • 1111111111111 4,096 + 2,048 + 1,024 + 512 + 256 + 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1. 13 bits.
  • 10000000000000 The 8,192 place alone. 14 bits.
  • 11111111111111 8,192 + 4,096 + 2,048 + 1,024 + 512 + 256 + 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1. 14 bits.
  • 100000000000000 The 16,384 place alone. 15 bits.
  • 111111111111111 16,384 + 8,192 + 4,096 + 2,048 + 1,024 + 512 + 256 + 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1. 15 bits.
  • 1000000000000000 The 32,768 place alone. 16 bits.
  • 1111111111111111 32,768 + 16,384 + 8,192 + 4,096 + 2,048 + 1,024 + 512 + 256 + 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1. 16 bits.
  • 10000000000000000 The 65,536 place alone. 17 bits.

How this list was compiled: Every row was computed: the binary number, the places that hold a 1 and their sum. Each was then run through the converter both ways, and all agree. The range 0 to 255, eight bits, and the rule that leading zeros change nothing (11010 is the same as 00011010) are those of the GCSE (9-1) Computer Science specification J277, version 3.1, section 1.2.4 (ocr.org.uk), read on November 30, 2026. That base ten is called decimal and denary is in en.wikipedia.org, read the same day. Which numbers past 255 stand here is this page’s own choice: the powers of two, the number before each, and a few others.

How it works

Converting binary to denary means adding up the place values that hold a 1. 101101 is 32 + 8 + 4 + 1 = 45. Denary is the everyday base ten, also called decimal.

Read the full guide

Binary to denary by hand

Write the place values over the bits, from the right: 1, 2, 4, 8, 16, 32, 64, 128. Each is double the one before. Add those that stand over a 1. For 11010011 that is 128 + 64 + 16 + 2 + 1 = 211.

Denary to binary by hand

For a number up to 255, start at 128. If it fits, write 1 and take it away. If not, write 0. Go on with 64, 32, 16, 8, 4, 2 and 1. For 77: 128 no, 64 yes (13 left), 32 no, 16 no, 8 yes (5 left), 4 yes (1 left), 2 no, 1 yes. So 01001101.

  • The last bit tells odd from even: a number that ends in 1 is odd.
  • Zeros in front change nothing: 00101101 is still 45.

Questions and answers

What is denary?

Denary is base ten: the digits 0 to 9, with places worth 1, 10, 100 and so on. Binary is base two: 0 and 1, with places worth 1, 2, 4, 8.

What is the largest denary number in 8 bits?

255, which is 11111111. Eight bits give 256 different numbers, 0 to 255. Nibbles, four bits, stop at 15.

How many bits does a number need?

Find the largest place value that fits into it and count the places down to 1. In 200 the largest is 128, the eighth place, so 200 needs eight bits. 256 needs nine.

Why does my answer not match a binary translator?

A binary translator reads ones and zeros as letters: 01000001 is A. Here it is a number, 65. Use the binary translator for a message.