Use the below octal to gray converter to convert any Octal number to gray code:

 Octal Number Gray Code

Also Try:

## Octal Number

Octal numbers use digits from 0-7 only. It is known as base-8 number. The place value of each digits of an octal number varies as the whole number powers of 8 starting from the right (Least Significant Digit). The first single digit number in octal system is 0 and the last is 7. Similarly, the first two digit octal number is 10 and the last is 77 and so on. Octal number system was widely used in early computers.

## Gray code

Gray code, also known as reflected binary code, is a code having digits 0 and 1. Gray code do not have place value for its digits. Any successive codes in Gray code system have only one bit changes.

## Octal to Gray code conversion with example

### Convert 7678 to Gray code.

7678 = 100001100

Octal NumberBinary NumberGray Code
000000000
100010001
200100011
300110010
401000110
501010111
601100101
701110100
1010001100
1110011101
1210101111
1310111110
1411001010
1511011011
1611101001
1711111000

Also Try: