Gray Code To Octal
Reverse Conversion
How This Converter Works
Decodes Gray bits to an integer, then formats the value in octal.
Formula or rule
Cumulatively XOR Gray bits to get binary, parse base 2, and format base 8.
Example
- Input
- 111011
- Calculation
- Gray 111011 → binary 101101₂ = 45₁₀ = 5×8 + 5.
- Result
- 55