242 in Binary

242 in binary is 1111 0010 (11110010).

Result 11110010.

Binary (base 2)1111 0010

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    242 ÷ 21210
    121 ÷ 2601
    60 ÷ 2300
    30 ÷ 2150
    15 ÷ 271
    7 ÷ 231
    3 ÷ 211
    1 ÷ 201
  2. Read the remainders from bottom to top: 1111 0010
binary (base 2)1111 0010
octal (base 8)362
decimal (base 10)242
hexadecimal (base 16)F2
Bits needed8 bits (fits in 1 byte)
8-bit form1111 0010
16-bit form0000 0000 1111 0010
32-bit form0000 0000 0000 0000 0000 0000 1111 0010

Quick method for 242

Find the powers of 2 that add up to 242: 128 + 64 + 32 + 16 + 2. Put a 1 in those places and 0 elsewhere: 11110010.

242 in other forms

  • Place values: 128 + 64 + 32 + 16 + 2 = 242
  • Hex: F2
  • Octal: 362
  • 8 bits — fits in one byte
  • 5 one-bits (odd parity)
  • Padded: 1111 0010
  • 16-bit: 0000 0000 1111 0010
  • One's complement (8-bit): 0000 1101
  • As a signed byte (two's complement): -14
  • Between 27 = 128 and 28 = 256

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

242 in binary: questions

What is 242 in binary?

11110010.

What is 242 in hex?

F2.

How many bits is 242?

8.