27 in Binary

27 in binary is 1 1011 (11011).

Result 11011.

Binary (base 2)1 1011

Step by step

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

Quick method for 27

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

27 in other forms

  • Place values: 16 + 8 + 2 + 1 = 27
  • Hex: 1B
  • Octal: 33
  • 5 bits — fits in one byte
  • 4 one-bits (even parity)
  • Padded: 0001 1011
  • 16-bit: 0000 0000 0001 1011
  • One's complement (8-bit): 1110 0100
  • Between 24 = 16 and 25 = 32
  • −27 in 8-bit two's complement: 1110 0101
  • ASCII: ESC (escape) — ASCII table

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

27 in binary: questions

What is 27 in binary?

11011.

What is 27 in hex?

1B.

How many bits is 27?

5.