670 in binary
670 in binary is 1010011110. In hexadecimal it is 29E and in octal 1236.
670 in binary
Pick any whole number from 1 to 10,000.
How to work it out
- 1
Divide 670 by 2 again and again, writing down the remainder each time, until you reach 0.
- 2
Read the remainders from the bottom up: 1010011110.
- 3
Check by adding powers of 2: 512 + 128 + 16 + 8 + 4 + 2 = 670.
LaTeX source of the formulas on this page
\[ 670_{10} = 1010011110_{2} \]Dividing 670 by 2
| Number | Division | Remainder |
|---|---|---|
| 670 | 670 ÷ 2 = 335 | 0 |
| 335 | 335 ÷ 2 = 167 | 1 |
| 167 | 167 ÷ 2 = 83 | 1 |
| 83 | 83 ÷ 2 = 41 | 1 |
| 41 | 41 ÷ 2 = 20 | 1 |
| 20 | 20 ÷ 2 = 10 | 0 |
| 10 | 10 ÷ 2 = 5 | 0 |
| 5 | 5 ÷ 2 = 2 | 1 |
| 2 | 2 ÷ 2 = 1 | 0 |
| 1 | 1 ÷ 2 = 0 | 1 |
Questions
What is 670 in binary?
1010011110.
What is 670 in hexadecimal?
29E.
What is 670 in octal?
1236.
How many bits does 670 need?
10 bits.