245 in Binary

245 in binary is 1111 0101 (11110101).

Result 11110101.

Binary (base 2)1111 0101

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    245 ÷ 21221
    122 ÷ 2610
    61 ÷ 2301
    30 ÷ 2150
    15 ÷ 271
    7 ÷ 231
    3 ÷ 211
    1 ÷ 201
  2. Read the remainders from bottom to top: 1111 0101
binary (base 2)1111 0101
octal (base 8)365
decimal (base 10)245
hexadecimal (base 16)F5
Bits needed8 bits (fits in 1 byte)
8-bit form1111 0101
16-bit form0000 0000 1111 0101
32-bit form0000 0000 0000 0000 0000 0000 1111 0101

Quick method for 245

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

245 in other forms

  • Place values: 128 + 64 + 32 + 16 + 4 + 1 = 245
  • Hex: F5
  • Octal: 365
  • 8 bits — fits in one byte
  • 6 one-bits (even parity)
  • Padded: 1111 0101
  • 16-bit: 0000 0000 1111 0101
  • One's complement (8-bit): 0000 1010
  • As a signed byte (two's complement): -11
  • Between 27 = 128 and 28 = 256

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

245 in binary: questions

What is 245 in binary?

11110101.

What is 245 in hex?

F5.

How many bits is 245?

8.