90 in Binary

90 in binary is 101 1010 (1011010).

Result 1011010.

Binary (base 2)101 1010

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    90 ÷ 2450
    45 ÷ 2221
    22 ÷ 2110
    11 ÷ 251
    5 ÷ 221
    2 ÷ 210
    1 ÷ 201
  2. Read the remainders from bottom to top: 101 1010
binary (base 2)101 1010
octal (base 8)132
decimal (base 10)90
hexadecimal (base 16)5A
Bits needed7 bits (fits in 1 byte)
8-bit form0101 1010
16-bit form0000 0000 0101 1010
32-bit form0000 0000 0000 0000 0000 0000 0101 1010

Quick method for 90

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

90 in other forms

  • Place values: 64 + 16 + 8 + 2 = 90
  • Hex: 5A
  • Octal: 132
  • 7 bits — fits in one byte
  • 4 one-bits (even parity)
  • Padded: 0101 1010
  • 16-bit: 0000 0000 0101 1010
  • One's complement (8-bit): 1010 0101
  • Between 26 = 64 and 27 = 128
  • −90 in 8-bit two's complement: 1010 0110
  • ASCII: “Z” — ASCII table

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

90 in binary: questions

What is 90 in binary?

1011010.

What is 90 in hex?

5A.

How many bits is 90?

7.