26 in Binary

26 in binary is 1 1010 (11010).

Result 11010.

Binary (base 2)1 1010

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    26 ÷ 2130
    13 ÷ 261
    6 ÷ 230
    3 ÷ 211
    1 ÷ 201
  2. Read the remainders from bottom to top: 1 1010
binary (base 2)1 1010
octal (base 8)32
decimal (base 10)26
hexadecimal (base 16)1A
Bits needed5 bits (fits in 1 byte)
8-bit form0001 1010
16-bit form0000 0000 0001 1010
32-bit form0000 0000 0000 0000 0000 0000 0001 1010

Quick method for 26

Find the powers of 2 that add up to 26: 16 + 8 + 2. Put a 1 in those places and 0 elsewhere: 11010.

26 in other forms

  • Place values: 16 + 8 + 2 = 26
  • Hex: 1A
  • Octal: 32
  • 5 bits — fits in one byte
  • 3 one-bits (odd parity)
  • Padded: 0001 1010
  • 16-bit: 0000 0000 0001 1010
  • One's complement (8-bit): 1110 0101
  • Between 24 = 16 and 25 = 32
  • −26 in 8-bit two's complement: 1110 0110
  • ASCII: SUB — ASCII table

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

26 in binary: questions

What is 26 in binary?

11010.

What is 26 in hex?

1A.

How many bits is 26?

5.