Decimal To Octal
Reverse Conversion
How This Converter Works
Converts a signed decimal integer to an unpadded base-8 numeral.
Formula or rule
Remove whitespace and underscores, validate signed decimal digits, parse in base 10, then format in base 8.
Example
- Input
- 83
- Calculation
- 83 = 1×64 + 2×8 + 3.
- Result
- 123