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