What is 10101 in octal?
10101₂ converted to octal is 25₈. Octal digits are just binary in groups of three — the working is below, and the binary to octal converter does any other bits live.
Try it yourself — instant converter
See the steps for your number
How to convert 10101 to octal, step by step
Split 10101 into groups of 3 bits from the right. The left-hand group gets a leading 0 to fill it out: 010 | 101. Then read each group as a single octal digit.
| Bits | Octal digit |
|---|---|
| 010 | 2 |
| 101 | 5 |
Joining the digits gives 25, so 10101₂ = 25₈. Check: 10101₂ = 21₁₀, and 25₈ = 2 × 8 + 5 = 21 too.
In short: 10101 → groups from the right: 10 | 101 → pad the first group: 010 | 101 → 010 = 2, 101 = 5 → join: 25₈
Frequently asked questions
What is 10101 binary in octal?
10101 in octal is 25. Group the bits in threes from the right (010 | 101) and read each group as one octal digit: 010 is 2, 101 is 5.
What is 10101 in decimal?
10101 in decimal is 21: the 1 bits sit at place values 16, 4 and 1, and 16 + 4 + 1 = 21. That is also a handy check on the octal answer, since 25₈ = 21₁₀.