34 in binary
34 in binary is 100010. In hexadecimal it is 22 and in octal 42.
34 in binary
Pick any whole number from 1 to 10,000.
How to work it out
- 1
Divide 34 by 2 again and again, writing down the remainder each time, until you reach 0.
- 2
Read the remainders from the bottom up: 100010.
- 3
Check by adding powers of 2: 32 + 2 = 34.
LaTeX source of the formulas on this page
\[ 34_{10} = 100010_{2} \]Dividing 34 by 2
| Number | Division | Remainder |
|---|---|---|
| 34 | 34 ÷ 2 = 17 | 0 |
| 17 | 17 ÷ 2 = 8 | 1 |
| 8 | 8 ÷ 2 = 4 | 0 |
| 4 | 4 ÷ 2 = 2 | 0 |
| 2 | 2 ÷ 2 = 1 | 0 |
| 1 | 1 ÷ 2 = 0 | 1 |
Questions
What is 34 in binary?
100010.
What is 34 in hexadecimal?
22.
What is 34 in octal?
42.
How many bits does 34 need?
6 bits.