This website uses cookies to ensure you get the best experience on our website. Privacy Policy OK

Converting Between Gray and Binary Codes


Learners follow steps to convert numbers from Gray code to binary code. They then view steps to change binary values to Gray code numbers.

You may also like

 Start a new Discussion

Thank you for this flash content. It is very easy to understand.

Posted by Pulak Mondal on 8/19/2012 1:00:58 PM Reply

This is the greatest and easiest method to understand gray/binary interconversion....thumbs up guys. Am impressed!

Posted by Simbarashe Vhovha on 8/24/2013 3:25:48 AM Reply

what a explanation.......!

this has become my favourite website

Posted by jahangeer badar soomro on 3/29/2014 11:14:52 AM Reply

thanks for the effort made by u to clearly understand the concept with great illusion.please continue to help the people like us.

Posted by srikanth reddy on 5/20/2009 12:00:00 AM Reply

I would like to give a special thanks to your very useful website.

In fact, I was surfing the web to find good information to teach me Gray codes & the way of converting binary to those codes, i should confess the only websites which taught it well to me was your good website, thank you very much and i learned Gray code from you,

Posted by Amin Shamsollahi on 12/29/2012 6:55:46 AM Reply

Terry, the logic diagram showing 3 XOR gates connected to convert from binary to gray code is not correct. It shows the same diagram as the gray to binary conversion. However, as explained in the narrative, the XOR gates in the binary to gray code conversion should be connected only to the binary input values, not to any of the XOR output values. Other than this, I have to say that this is the best explanation of the binary to gray code conversion that I've seen! Thank you!

Posted by randylcain on 10/24/2014 9:07:13 AM Reply

Creative Commons Attribution-NonCommercial 4.0 International License.

Learn more about the license »