**The Binary to Gray code converter is a logical circuit that is used to convert the binary code into its equivalent Gray code. By putting the MSB of 1 below the axis and the MSB of 1 above the axis and reflecting the (n-1) bit code about an axis after 2 ^{n-1 }rows, we can obtain the n-bit gray code.**

**In 4-bit gray code, the 3-bit code is reflected against the axis drawn after the 2 ^{4-1}-1^{th} =8^{th} row.**

** **

**Just like Binary to Gray code conversion; it is also a very simple process. There are the following steps used to convert the Gray code into binary.**

**Just like binary to gray, in gray to binary, the 1**^{st}bit of the binary number is similar to the MSB of the Gray code.**The 2**^{nd}bit of the binary number is the same as the 1^{st}bit of the binary number when the 2^{nd}bit of the Gray code is 0; otherwise, the 2^{nd}bit is altered bit of the 1^{st}bit of binary number. It means if the 1^{st}bit of the binary is 1, then the 2^{nd}bit is 0, and if it is 0, then the 2^{nd}bit be 1.**The 2**^{nd}step continues for all the bits of the binary number.

** **