124 in Binary
124 in binary is 111 1100 (1111100).
Result 1111100.
Binary (base 2)111 1100
Step by step
- Divide by 2 repeatedly and write down the remainders:
Division Quotient Remainder 124 ÷ 2 62 0 62 ÷ 2 31 0 31 ÷ 2 15 1 15 ÷ 2 7 1 7 ÷ 2 3 1 3 ÷ 2 1 1 1 ÷ 2 0 1 - Read the remainders from bottom to top: 111 1100
| binary (base 2) | 111 1100 |
|---|---|
| octal (base 8) | 174 |
| decimal (base 10) | 124 |
| hexadecimal (base 16) | 7C |
| Bits needed | 7 bits (fits in 1 byte) |
| 8-bit form | 0111 1100 |
| 16-bit form | 0000 0000 0111 1100 |
| 32-bit form | 0000 0000 0000 0000 0000 0000 0111 1100 |
Quick method for 124
Find the powers of 2 that add up to 124: 64 + 32 + 16 + 8 + 4. Put a 1 in those places and 0 elsewhere: 1111100.
124 in other forms
- Place values: 64 + 32 + 16 + 8 + 4 = 124
- Hex: 7C
- Octal: 174
- 7 bits — fits in one byte
- 5 one-bits (odd parity)
- Padded: 0111 1100
- 16-bit: 0000 0000 0111 1100
- One's complement (8-bit): 1000 0011
- Between 26 = 64 and 27 = 128
- −124 in 8-bit two's complement: 1000 0100
- ASCII: “|” — ASCII table
Going back: binary to decimal.
More numbers in binary
124 in binary: questions
What is 124 in binary?
1111100.
What is 124 in hex?
7C.
How many bits is 124?
7.