BroHelp.me

Gray Code To Binary

Convert gray code value to binary (base 2) number.




NAN

Reverse Conversion

Binary to Gray Code

How This Converter Works

Decodes reflected binary Gray bits to a binary word of the same width.

Formula or rule

The first binary bit equals the first Gray bit; each later binary bit is the previous decoded binary bit XOR the current Gray bit.

Example

Input
111011
Calculation
Cumulative XOR gives 1, 1⊕1=0, 0⊕1=1, 1⊕0=1, 1⊕1=0, 0⊕1=1.
Result
101101
© BroHelp.me 2026 - 2026 is provided without warranty of any kind.