Gray Code To Octal

Convert Gray code values to octal (base 8) numbers.




NAN

Reverse Conversion

Octal to Gray Code

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