Octal To Binary
Reverse Conversion
How This Converter Works
Converts an unsigned octal integer to an unpadded binary numeral.
Formula or rule
Remove whitespace and underscores, validate digits 0-7, parse as base 8, and format in base 2.
Example
- Input
- 157
- Calculation
- 157₈ = 111₁₀ = 64 + 32 + 8 + 4 + 2 + 1.
- Result
- 1101111