238 in Binary

238 in binary is 1110 1110 (11101110).

Result 11101110.

Binary (base 2)1110 1110

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    238 ÷ 21190
    119 ÷ 2591
    59 ÷ 2291
    29 ÷ 2141
    14 ÷ 270
    7 ÷ 231
    3 ÷ 211
    1 ÷ 201
  2. Read the remainders from bottom to top: 1110 1110
binary (base 2)1110 1110
octal (base 8)356
decimal (base 10)238
hexadecimal (base 16)EE
Bits needed8 bits (fits in 1 byte)
8-bit form1110 1110
16-bit form0000 0000 1110 1110
32-bit form0000 0000 0000 0000 0000 0000 1110 1110

Quick method for 238

Find the powers of 2 that add up to 238: 128 + 64 + 32 + 8 + 4 + 2. Put a 1 in those places and 0 elsewhere: 11101110.

238 in other forms

  • Place values: 128 + 64 + 32 + 8 + 4 + 2 = 238
  • Hex: EE
  • Octal: 356
  • 8 bits — fits in one byte
  • 6 one-bits (even parity)
  • Padded: 1110 1110
  • 16-bit: 0000 0000 1110 1110
  • One's complement (8-bit): 0001 0001
  • As a signed byte (two's complement): -18
  • Between 27 = 128 and 28 = 256

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

238 in binary: questions

What is 238 in binary?

11101110.

What is 238 in hex?

EE.

How many bits is 238?

8.