125 in Binary
125 in binary is 111 1101 (1111101).
Result 1111101.
Binary (base 2)111 1101
Step by step
- Divide by 2 repeatedly and write down the remainders:
Division Quotient Remainder 125 ÷ 2 62 1 62 ÷ 2 31 0 31 ÷ 2 15 1 15 ÷ 2 7 1 7 ÷ 2 3 1 3 ÷ 2 1 1 1 ÷ 2 0 1 - Read the remainders from bottom to top: 111 1101
| binary (base 2) | 111 1101 |
|---|---|
| octal (base 8) | 175 |
| decimal (base 10) | 125 |
| hexadecimal (base 16) | 7D |
| Bits needed | 7 bits (fits in 1 byte) |
| 8-bit form | 0111 1101 |
| 16-bit form | 0000 0000 0111 1101 |
| 32-bit form | 0000 0000 0000 0000 0000 0000 0111 1101 |
Quick method for 125
Find the powers of 2 that add up to 125: 64 + 32 + 16 + 8 + 4 + 1. Put a 1 in those places and 0 elsewhere: 1111101.
125 in other forms
- Place values: 64 + 32 + 16 + 8 + 4 + 1 = 125
- Hex: 7D
- Octal: 175
- 7 bits — fits in one byte
- 6 one-bits (even parity)
- Padded: 0111 1101
- 16-bit: 0000 0000 0111 1101
- One's complement (8-bit): 1000 0010
- Between 26 = 64 and 27 = 128
- −125 in 8-bit two's complement: 1000 0011
- ASCII: “}” — ASCII table
Going back: binary to decimal.
More numbers in binary
125 in binary: questions
What is 125 in binary?
1111101.
What is 125 in hex?
7D.
How many bits is 125?
7.