Binary to Octal
Binary (bin)
Octal (oct)
How it is calculated
The number is first converted to decimal as digits × radixⁿ, then to the selected base by division with remainder. Prefixes 0x, 0b, 0o and digit grouping with spaces or _ are allowed.
bin: digits 0 1, radix 2
oct: digits 0 1 2 3 4 5 6 7, radix 8