Base 8 to base 2

Convert Octal to Binary

Convert base 8 values to base 2. Integers remain exact even when they exceed JavaScript's ordinary safe-number limit.

528 = 1010102

Same value in common bases

BaseValue

Method

How to convert base 8 to base 2

Each octal digit is evaluated by its power of 8. The exact value is then repeatedly divided by 2 to produce the destination digits.

value10 = sum(digit x 8position)

For fractional digits, the converter keeps an exact rational numerator and denominator, then generates up to 32 destination digits. An ellipsis marks a repeating or longer expansion.

Examples

Octal to Binary table

Octal (base 8)Binary (base 2)
11
210
121010
52101010
1441100100
37711111111
200010000000000

Related

Continue converting