Home > Pre-Algebra calculators > Binary To Gray code conversion example

Binary To Gray Code converter example ( Enter your problem )
  1. Examples
Other related methods
  1. Decimal To Binary converter
  2. Decimal To Octal converter
  3. Decimal To Hexadecimal converter
  4. Binary To Decimal converter
  5. Binary To Octal converter
  6. Binary To Hexadecimal converter
  7. Octal To Decimal converter
  8. Octal To Binary converter
  9. Octal To Hexadecimal converter
  10. Hexadecimal To Decimal converter
  11. Hexadecimal To Binary converter
  12. Hexadecimal To Octal converter
  13. Decimal To BCD converter
  14. Binary To BCD converter
  15. Octal To BCD converter
  16. Hexadecimal To BCD converter
  17. BCD To Decimal converter
  18. BCD To Binary converter
  19. BCD To Octal converter
  20. BCD To Hexadecimal converter
  21. BCD To Excess 3 converter
  22. Decimal To Excess 3 converter
  23. Binary To Excess 3 converter
  24. Octal To Excess 3 converter
  25. Hexadecimal To Excess 3 converter
  26. Excess 3 To Decimal converter
  27. Excess 3 To Binary converter
  28. Excess 3 To Octal converter
  29. Excess 3 To Hexadecimal converter
  30. Excess 3 To BCD converter
  31. Decimal To Gray Code converter
  32. Binary To Gray Code converter
  33. Octal To Gray Code converter
  34. Hexadecimal To Gray Code converter
  35. Gray Code To Decimal converter
  36. Gray Code To Binary converter
  37. Gray Code To Octal converter
  38. Gray Code To Hexadecimal converter

1. Examples





1. (10011)2 = (      ?      )Gray Code

Solution:
Binary code : 10011

Method-1: (Binary to Gray code)
g_4=b_4=1

g_3=b_4 o+ b_3=1 o+ 0=1

g_2=b_3 o+ b_2=0 o+ 0=0

g_1=b_2 o+ b_1=0 o+ 1=1

g_0=b_1 o+ b_0=1 o+ 1=0

:. Gray code : 11010


Method-2: (Binary to Gray code)
b_4
1
b_3
0
b_2
0
b_1
1
b_0
1
Binary code
b_4
1
b_4 o+ b_3
1 o+ 0
b_3 o+ b_2
0 o+ 0
b_2 o+ b_1
0 o+ 1
b_1 o+ b_0
1 o+ 1
darrdarrdarrdarrdarr
1
g_4
1
g_3
0
g_2
1
g_1
0
g_0
Gray code


:. Gray code : 11010
1. (1011001)2 = (      ?      )Gray Code

Solution:
Binary code : 1011001

Method-1: (Binary to Gray code)
g_6=b_6=1

g_5=b_6 o+ b_5=1 o+ 0=1

g_4=b_5 o+ b_4=0 o+ 1=1

g_3=b_4 o+ b_3=1 o+ 1=0

g_2=b_3 o+ b_2=1 o+ 0=1

g_1=b_2 o+ b_1=0 o+ 0=0

g_0=b_1 o+ b_0=0 o+ 1=1

:. Gray code : 1110101


Method-2: (Binary to Gray code)
b_6
1
b_5
0
b_4
1
b_3
1
b_2
0
b_1
0
b_0
1
Binary code
b_6
1
b_6 o+ b_5
1 o+ 0
b_5 o+ b_4
0 o+ 1
b_4 o+ b_3
1 o+ 1
b_3 o+ b_2
1 o+ 0
b_2 o+ b_1
0 o+ 0
b_1 o+ b_0
0 o+ 1
darrdarrdarrdarrdarrdarrdarr
1
g_6
1
g_5
1
g_4
0
g_3
1
g_2
0
g_1
1
g_0
Gray code


:. Gray code : 1110101


This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here



Number system conversion table from 1 to 15
Decimal Number
Base-10
Binary Number
Base-2
Octal Number
Base-8
Hexadecimal Number
Base-16
1111
21022
31133
410044
510155
611066
711177
81000108
91001119
10101012A
11101113B
12110014C
13110115D
14111016E
15111117F




Share this solution or page with your friends.
 
 
Copyright © 2025. All rights reserved. Terms, Privacy
 
 

.