248 in Binary

248 in binary is 1111 1000 (11111000).

Result 11111000.

Binary (base 2)1111 1000

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    248 ÷ 21240
    124 ÷ 2620
    62 ÷ 2310
    31 ÷ 2151
    15 ÷ 271
    7 ÷ 231
    3 ÷ 211
    1 ÷ 201
  2. Read the remainders from bottom to top: 1111 1000
binary (base 2)1111 1000
octal (base 8)370
decimal (base 10)248
hexadecimal (base 16)F8
Bits needed8 bits (fits in 1 byte)
8-bit form1111 1000
16-bit form0000 0000 1111 1000
32-bit form0000 0000 0000 0000 0000 0000 1111 1000

Quick method for 248

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

248 in other forms

  • Place values: 128 + 64 + 32 + 16 + 8 = 248
  • Hex: F8
  • Octal: 370
  • 8 bits — fits in one byte
  • 5 one-bits (odd parity)
  • Padded: 1111 1000
  • 16-bit: 0000 0000 1111 1000
  • One's complement (8-bit): 0000 0111
  • As a signed byte (two's complement): -8
  • Between 27 = 128 and 28 = 256

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

248 in binary: questions

What is 248 in binary?

11111000.

What is 248 in hex?

F8.

How many bits is 248?

8.