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