Binary To Octal
How This Converter Works
Converts an unsigned binary integer to octal, ignores whitespace and underscores, and reports the binary digit count.
Formula or rule
Remove whitespace and underscores, validate binary digits, parse as base 2, and format in base 8.
Example
- Input
- 11010110
- Calculation
- 11010110₂ = 214₁₀; 214 = 3×64 + 2×8 + 6.
- Result
- 326