25 in Binary

25 in binary is 1 1001 (11001).

Result 11001.

Binary (base 2)1 1001

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    25 ÷ 2121
    12 ÷ 260
    6 ÷ 230
    3 ÷ 211
    1 ÷ 201
  2. Read the remainders from bottom to top: 1 1001
binary (base 2)1 1001
octal (base 8)31
decimal (base 10)25
hexadecimal (base 16)19
Bits needed5 bits (fits in 1 byte)
8-bit form0001 1001
16-bit form0000 0000 0001 1001
32-bit form0000 0000 0000 0000 0000 0000 0001 1001

Quick method for 25

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

25 in other forms

  • Place values: 16 + 8 + 1 = 25
  • Hex: 19
  • Octal: 31
  • 5 bits — fits in one byte
  • 3 one-bits (odd parity)
  • Padded: 0001 1001
  • 16-bit: 0000 0000 0001 1001
  • One's complement (8-bit): 1110 0110
  • Between 24 = 16 and 25 = 32
  • −25 in 8-bit two's complement: 1110 0111
  • ASCII: EM — ASCII table

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

25 in binary: questions

What is 25 in binary?

11001.

What is 25 in hex?

19.

How many bits is 25?

5.