2 in Binary
2 in binary is 10.
Result 10.
Binary (base 2)10
Step by step
- Divide by 2 repeatedly and write down the remainders:
Division Quotient Remainder 2 ÷ 2 1 0 1 ÷ 2 0 1 - Read the remainders from bottom to top: 10
| binary (base 2) | 10 |
|---|---|
| octal (base 8) | 2 |
| decimal (base 10) | 2 |
| hexadecimal (base 16) | 2 |
| Bits needed | 2 bits (fits in 1 byte) |
| 8-bit form | 0000 0010 |
| 16-bit form | 0000 0000 0000 0010 |
| 32-bit form | 0000 0000 0000 0000 0000 0000 0000 0010 |
Quick method for 2
Find the powers of 2 that add up to 2: 2. Put a 1 in those places and 0 elsewhere: 10.
2 in other forms
- Place values: 2 = 2
- Hex: 2
- Octal: 2
- 2 bits — fits in one byte
- 1 one-bit (odd parity)
- Padded: 0000 0010
- 16-bit: 0000 0000 0000 0010
- One's complement (8-bit): 1111 1101
- Power of two: 21
- −2 in 8-bit two's complement: 1111 1110
- ASCII: STX — ASCII table
Going back: binary to decimal.
More numbers in binary
2 in binary: questions
What is 2 in binary?
10.
What is 2 in hex?
2.
How many bits is 2?
2.