Gray Code Binary Conversion Calculator


result:

Gray code is a quasi-weight code. If the lowest bit of the Gray code is n=1, the absolute value of the Gray code weight is (2^n)-1, and its sign alternates between positive and negative from left to right. A typical Gray code is a single-step self-complementary code with reflection and cyclic characteristics. Its cyclic and single-step characteristics eliminate the possibility of major errors when randomly taking numbers, and its reflection and self-complementary characteristics make it very convenient to find the inverse. Gray code belongs to reliability coding and is a coding method that minimizes errors.

DecimalNatural binary numbersGray code
000000000
100010001
200100011
300110010
401000110
501010111
601100101
701110100
810001100
910011101
1010101111
1110111110
1211001010
1311011011
1411101001
1511111000